Can't install any extension in Chromium Browser on FreeBSD 13

Installing arbitrary extensions from the Google Chrome Store leads to:

An error has occurred

Could not install package: 'FAILED_TO_COPY_EXTENSION_FILE_TO_TEMP_DIRECTORY'

Anyone also getting this? Also, does anyone know a fix/workaround by any chance? Thx! ;-)

Posted Dec 12, 2021, 1:33 PM UTC

79
Echo8ERA•

Existing Bug Report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258573

If you don't mind manually patching and building it yourself, comment #21 for another bug report has a workaround.

You could also try putting Chromium into developer mode and manually installing the extension yourself.

10
shellmachineOP•

Nice, this lead me to the solution in the end, thanks again!

1
shellmachineOP•

Funky, this turned out to be a zfs mount vs. a classical mount issue. Removed the zfs volume and tada!

3
Lokalaskurar•

Would you mind sharing some details? I have the same exact issue and I like running all-zfs.

I'm about to try out the Chromium developer fix in the bug report link, and see what happens.

2
shellmachineOP•

Oh! Even more funky, a slight update: I was mislead in my previous post and still have that issue, too. Did you try the fix? From what I've seen that would involve re-building Chromium from source, is that correct?

1
Echo8ERA•

I can confirm rebuilding Chromium with the patch works.

The second method (manually extracting the extension and installing it with Chromium in Developer mode) should work fine with the binaries you get when installing with pkg.

2
Lokalaskurar•

The developer fix for me is not working, I'm getting

´Failed to load extension from: /usr/home/myname/Downloads/blabla.zip. Could not unzip extension for install.´

I'll try the recompilation things soon.

2
shellmachineOP•

What you could try is unzip it yourself and try to "load unpacked extension" or something from the extensions page in Chromium (you might have to enable "developer options" on the top right, not sure. That worked for me to be able to install UBlock Origin at least! Good luck!

1
istarian•

Maybe it’s a permissions issue?

2