firefox-profile-switcher icon indicating copy to clipboard operation
firefox-profile-switcher copied to clipboard

Profile Switcher no longer working after firefox update to version 124.0

Open mlloydprogramming opened this issue 1 year ago • 40 comments

When attempting to switch profiles following updating to firefox version 124.0 it no longer opens a new browser with the selected profile. This is still able to be accomplished by navigating to about:profiles and selecting to launch profile in new browser.

mlloydprogramming avatar Mar 19 '24 14:03 mlloydprogramming

I'm having the same issue

maxmazal avatar Mar 19 '24 18:03 maxmazal

The issue seems to be the same as https://github.com/null-dev/firefox-profile-switcher-connector/issues/14 Workarounds are written there.

DubyaDude avatar Mar 19 '24 21:03 DubyaDude

Same here. Was working perfectly like it has since... forever, then after updating to 124.0 it will no longer launch other profiles from the extension drop-down like it used to.

0x6A7232 avatar Mar 20 '24 02:03 0x6A7232

The issue seems to be the same as null-dev/firefox-profile-switcher-connector#14 Workarounds are written there.

Copied here for convenience:

Manually set the browser binary path by creating a file ~/.config/firefoxprofileswitcher/config.json with the following content:

{"browser_binary": "/usr/bin/firefox"}

Firefox Developer Edition:

{"browser_binary": "/usr/bin/firefox_devedition"}

For Windows users, the config file would be %APPDATA%\nulldev\FirefoxProfileSwitcher\config\config.json.

{"browser_binary": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"}

EDIT: Confirmed, workaround above works for this issue. EDIT2: thx @callumgare For MacOS:

config file: ~/Library/Preferences/ax.nd.nulldev.FirefoxProfileSwitcher/config.json

{"browser_binary": "/Applications/Firefox.app/Contents/MacOS/firefox"}

echo '{"browser_binary": "/Applications/Firefox.app/Contents/MacOS/firefox"}' >~/Library/Preferences/ax.nd.nulldev.FirefoxProfileSwitcher/config.json

0x6A7232 avatar Mar 20 '24 02:03 0x6A7232

The issue seems to be the same as null-dev/firefox-profile-switcher-connector#14 Workarounds are written there.

Copied here for convenience:

Manually set the browser binary path by creating a file ~/.config/firefoxprofileswitcher/config.json with the following content:

{"browser_binary": "/usr/bin/firefox"}

Firefox Developer Edition:

{"browser_binary": "/usr/bin/firefox_devedition"}

For Windows users, the config file would be %APPDATA%\nulldev\FirefoxProfileSwitcher\config\config.json.

{"browser_binary": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"}

EDIT: Confirmed, workaround above works for this issue.

I did it on Ubuntu here and it worked like a charm! Thanks!

jckhiga avatar Mar 20 '24 16:03 jckhiga

Path for Windows local installations is "C:\Users\%USERNAME%\AppData\Local\Mozilla Firefox\firefox.exe" so config file should be

{"browser_binary": "C:\\Users\\%USERNAME%\\AppData\\Local\\Mozilla Firefox\\firefox.exe"}

itsatraaaaap avatar Mar 20 '24 19:03 itsatraaaaap

My rust knowledge is ... non-existent, but this must be an issue with the get_parent_proc_path function in the connector: https://github.com/null-dev/firefox-profile-switcher-connector/blob/master/src/process.rs#L179-L181

I wonder whether 124.0 changed the MOZ_CRASHREPORTER_RESTART_ARG_0 env variable that it uses to autodetect the binary?

bnjns avatar Mar 20 '24 21:03 bnjns

The issue seems to be the same as null-dev/firefox-profile-switcher-connector#14 Workarounds are written there.

Copied here for convenience:

Manually set the browser binary path by creating a file ~/.config/firefoxprofileswitcher/config.json with the following content:

{"browser_binary": "/usr/bin/firefox"}

Firefox Developer Edition:

{"browser_binary": "/usr/bin/firefox_devedition"}

For Windows users, the config file would be %APPDATA%\nulldev\FirefoxProfileSwitcher\config\config.json.

{"browser_binary": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"}

EDIT: Confirmed, workaround above works for this issue.

Confirmed this works on Windows 11, Firefox v124.

rapdactyl avatar Mar 21 '24 00:03 rapdactyl

The issue seems to be the same as null-dev/firefox-profile-switcher-connector#14 Workarounds are written there.

Copied here for convenience:

Manually set the browser binary path by creating a file ~/.config/firefoxprofileswitcher/config.json with the following content:

{"browser_binary": "/usr/bin/firefox"}

Firefox Developer Edition:

{"browser_binary": "/usr/bin/firefox_devedition"}

For Windows users, the config file would be %APPDATA%\nulldev\FirefoxProfileSwitcher\config\config.json.

{"browser_binary": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"}

EDIT: Confirmed, workaround above works for this issue.

This is not working for mac. Any other solution?

yasircodingcrafts avatar Mar 21 '24 18:03 yasircodingcrafts

This is not working for mac. Any other solution?

Check here

Looks like it could be: /Applications/Firefox.app/Contents/MacOS/firefox-bin Or perhaps you can put the open command instead: open -a Firefox

To search yourself you can try: locate firefox | grep 'firefox$'

Have a look at that thread though,

0x6A7232 avatar Mar 21 '24 23:03 0x6A7232

The issue seems to be the same as null-dev/firefox-profile-switcher-connector#14 Workarounds are written there.

Copied here for convenience:

Manually set the browser binary path by creating a file ~/.config/firefoxprofileswitcher/config.json with the following content:

{"browser_binary": "/usr/bin/firefox"}

Firefox Developer Edition:

{"browser_binary": "/usr/bin/firefox_devedition"}

For Windows users, the config file would be %APPDATA%\nulldev\FirefoxProfileSwitcher\config\config.json.

{"browser_binary": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"}

EDIT: Confirmed, workaround above works for this issue.

This didn't work for me unfortunately. I'm on windows 11. Any ideas what could be wrong?

morphinpink avatar Mar 22 '24 02:03 morphinpink

For MacOS:

echo '{"browser_binary": "/Applications/Firefox.app/Contents/MacOS/firefox"}' >~/Library/Preferences/ax.nd.nulldev.FirefoxProfileSwitcher/config.json

callumgare avatar Mar 22 '24 02:03 callumgare

The issue seems to be the same as null-dev/firefox-profile-switcher-connector#14 Workarounds are written there.

Copied here for convenience: Manually set the browser binary path by creating a file ~/.config/firefoxprofileswitcher/config.json with the following content: {"browser_binary": "/usr/bin/firefox"} Firefox Developer Edition: {"browser_binary": "/usr/bin/firefox_devedition"} For Windows users, the config file would be %APPDATA%\nulldev\FirefoxProfileSwitcher\config\config.json. {"browser_binary": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"} EDIT: Confirmed, workaround above works for this issue.

This didn't work for me unfortunately. I'm on windows 11. Any ideas what could be wrong?

Make sure you put it in the correct folder. I put it in C:\Users\xxxxx\AppData\Local\nulldev\FirefoxProfileSwitcher\config\ first which didn't work, but it worked with C:\Users\xxxxx\AppData\Roaming\nulldev\FirefoxProfileSwitcher\config\ If you just paste %APPDATA%\nulldev\FirefoxProfileSwitcher\config\ into file explorer as it is it should lead you to the correct one.

kamping22 avatar Mar 22 '24 12:03 kamping22

This did work for me as well. Appreciate the work around

mlloydprogramming avatar Mar 22 '24 13:03 mlloydprogramming

For MacOS:

echo '{"browser_binary": "/Applications/Firefox.app/Contents/MacOS/firefox"}' >~/Library/Preferences/ax.nd.nulldev.FirefoxProfileSwitcher/config.json

Now it is working. Thanks

yasircodingcrafts avatar Mar 22 '24 14:03 yasircodingcrafts

Path for Windows local installations is "C:\Users%USERNAME%\AppData\Local\Mozilla Firefox\firefox.exe" so config file should be

{"browser_binary": "C:\\Users\\%USERNAME%\\AppData\\Local\\Mozilla Firefox\\firefox.exe"}

Not working for me in Windows 10 - tried replacing %USERNAME% with my username, as I'd expect, and also tried leaving it verbatim. Neither worked. I restarted Firefox each time. Advice?

CaspianMacky avatar Mar 22 '24 16:03 CaspianMacky

The issue seems to be the same as null-dev/firefox-profile-switcher-connector#14 Workarounds are written there.

Copied here for convenience: Manually set the browser binary path by creating a file ~/.config/firefoxprofileswitcher/config.json with the following content: {"browser_binary": "/usr/bin/firefox"} Firefox Developer Edition: {"browser_binary": "/usr/bin/firefox_devedition"} For Windows users, the config file would be %APPDATA%\nulldev\FirefoxProfileSwitcher\config\config.json. {"browser_binary": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"} EDIT: Confirmed, workaround above works for this issue.

This didn't work for me unfortunately. I'm on windows 11. Any ideas what could be wrong?

Make sure you put it in the correct folder. I put it in C:\Users\xxxxx\AppData\Local\nulldev\FirefoxProfileSwitcher\config\ first which didn't work, but it worked with C:\Users\xxxxx\AppData\Roaming\nulldev\FirefoxProfileSwitcher\config\ If you just paste %APPDATA%\nulldev\FirefoxProfileSwitcher\config\ into file explorer as it is it should lead you to the correct one.

The Profile switcher folder location was correct but the location of the firefox.exe wasn't! After fixing that it worked!

If anyone else is having issues double check that you're using the correct location in the config.json file.

morphinpink avatar Mar 22 '24 16:03 morphinpink

Path for Windows local installations is "C:\Users%USERNAME%\AppData\Local\Mozilla Firefox\firefox.exe" so config file should be {"browser_binary": "C:\\Users\\%USERNAME%\\AppData\\Local\\Mozilla Firefox\\firefox.exe"}

Not working for me in Windows 10 - tried replacing %USERNAME% with my username, as I'd expect, and also tried leaving it verbatim. Neither worked. I restarted Firefox each time. Advice?

Do you perhaps have both a local and a universal Firefox install? Which one does the icon point to, \Program Files or \Users ? (Open Start Menu, search for Firefox, right-click, open file location, right-click shortcut and hit "properties")

Heck, or you can skip all of this. Download Voidtools Everything (portable if you don't want to install it but it's heck of useful) and after it indexes your drive (take 10 seconds to a minute depending on the drive and how full it is) just type firefox.exe - you can even right-click a result and copy full path to clipboard.

EDIT: Also, have a look at @kamping22 's response, this might be your issue.

0x6A7232 avatar Mar 25 '24 06:03 0x6A7232

Thanks for sharing a workaround! I hope the dev hasn't abandoned the project, this has been a great extension and I'd like to see a fix implemented directly eventually. I've been having this same issue with the latest Firefox on Windows 11 for the past week or so. Since it's not just me, hopefully an update to the extension will make sure I don't have this problem on all my other devices using Firefox.

Majoraslayer avatar Mar 25 '24 16:03 Majoraslayer

The fix didn't work for me to begin with, but as of now, the profile switcher seems to be working. I'm not sure if the dev fixed this issue or if the fix worked.

Aurora00001 avatar Mar 27 '24 23:03 Aurora00001

I cant get the fix to work for me, could someone help. Am I doing the above correct, and am i pointing things to the right directory:

Checking locations: (Open Start Menu, search for Firefox, right-click, open file location, right-click shortcut and hit "properties") gives:

"C:\Program Files\Mozilla Firefox\firefox.exe"

I created a new document using Notepad++.

and saved it in: C:\Users\USERNAME\AppData\Roaming\nulldev\FirefoxProfileSwitcher\config

and named it: ~.configfirefoxprofileswitcherconfig.json

With just the content: {"browser_binary": "C:\Program Files\Mozilla Firefox\firefox.exe"}

FF Troubleshooting Info shows the profile folder as: C:\Users\USERNAME\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxxx.default-release

porkyfork avatar Mar 28 '24 09:03 porkyfork

Yes, apparently we got rid of MOZ_CRASHREPORTER_RESTART_ARG_0

https://searchfox.org/mozilla-central/source/toolkit/crashreporter/client/app/src/config.rs#110

// We no longer use don't use MOZ_CRASHREPORTER_RESTART_ARG_0, see bug 1872920.

mkaply avatar Mar 29 '24 16:03 mkaply

The issue seems to be the same as null-dev/firefox-profile-switcher-connector#14 Workarounds are written there.

Copied here for convenience: Manually set the browser binary path by creating a file ~/.config/firefoxprofileswitcher/config.json with the following content: {"browser_binary": "/usr/bin/firefox"} Firefox Developer Edition: {"browser_binary": "/usr/bin/firefox_devedition"} For Windows users, the config file would be %APPDATA%\nulldev\FirefoxProfileSwitcher\config\config.json. {"browser_binary": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"} EDIT: Confirmed, workaround above works for this issue.

This didn't work for me unfortunately. I'm on windows 11. Any ideas what could be wrong?

Make sure you put it in the correct folder. I put it in C:\Users\xxxxx\AppData\Local\nulldev\FirefoxProfileSwitcher\config\ first which didn't work, but it worked with *C:\Users\xxxxx\AppData\Roaming\nulldev\FirefoxProfileSwitcher\config* If you just paste %APPDATA%\nulldev\FirefoxProfileSwitcher\config\ into file explorer as it is it should lead you to the correct one.

My config was in ...\AppData\Roaming... Thanks a bunch!

johnnysolsson avatar Apr 03 '24 08:04 johnnysolsson

I cant get the fix to work for me, could someone help. Am I doing the above correct, and am i pointing things to the right directory:

Checking locations: (Open Start Menu, search for Firefox, right-click, open file location, right-click shortcut and hit "properties") gives:

"C:\Program Files\Mozilla Firefox\firefox.exe"

I created a new document using Notepad++.

and saved it in: C:\Users\USERNAME\AppData\Roaming\nulldev\FirefoxProfileSwitcher\config

and named it: ~.configfirefoxprofileswitcherconfig.json

With just the content: {"browser_binary": "C:\Program Files\Mozilla Firefox\firefox.exe"}

FF Troubleshooting Info shows the profile folder as: C:\Users\USERNAME\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxxx.default-release

Name it config.json

0x6A7232 avatar Apr 06 '24 17:04 0x6A7232

Hi guys, does anyone have a fix for FireFox flatpak edition?

or if anyone has the setup script for flatpak plz send me :)

NL-TCH avatar Apr 11 '24 17:04 NL-TCH

Hi guys, does anyone have a fix for FireFox flatpak edition?

or if anyone has the setup script for flatpak plz send me :)

For Flatpak, you should put the config file at ~/.var/app/org.mozilla.firefox/config/firefoxprofileswitcher/config.json

{"browser_binary": "/app/bin/firefox"}

Otherwise, run this in your commandline: echo "{"browser_binary": "/app/bin/firefox"}" > "~/.var/app/org.mozilla.firefox/config/firefoxprofileswitcher/config.json"

Noxellar avatar Apr 14 '24 04:04 Noxellar

Hi guys, does anyone have a fix for FireFox flatpak edition? or if anyone has the setup script for flatpak plz send me :)

For Flatpak, you should put the config file at ~/.var/org.mozilla.firefox/config/firefoxprofileswitcher/config.json

{"browser_binary": "/app/bin/firefox"}

Otherwise, run this in your commandline: echo "{"browser_binary": "/app/bin/firefox"}" > "~/.var/org.mozilla.firefox/config/firefoxprofileswitcher/config.json"

Thanks a lot ! For me the config file path for flatpak edition was ~/.var/app/org.mozilla.firefox/config/firefoxprofileswitcher/config.json

gui-morel avatar Apr 24 '24 18:04 gui-morel

Ah, whoops. That's correct. I missed the app folder. Fixed!

Noxellar avatar Apr 25 '24 04:04 Noxellar

Anyone have any thoughts as to why the fix isn't working for me?

I have confirmed the firefox.exe path: "C:\Program Files\Mozilla Firefox\firefox.exe"

I have created a config.json file in: C:\Users%username%\AppData\Roaming\nulldev\FirefoxProfileSwitcher\config\

I have added the single line to the config.json file: {"browser_binary": "C:\Program Files\Mozilla Firefox\firefox.exe"}

Restarted Firefox but now the extension icon is invisible and when I click it nothing opens.

Reynbow avatar May 27 '24 00:05 Reynbow

Anyone have any thoughts as to why the fix isn't working for me?

I have confirmed the firefox.exe path: "C:\Program Files\Mozilla Firefox\firefox.exe"

I have created a config.json file in: C:\Users%username%\AppData\Roaming\nulldev\FirefoxProfileSwitcher\config\

I have added the single line to the config.json file: {"browser_binary": "C:\Program Files\Mozilla Firefox\firefox.exe"}

Restarted Firefox but now the extension icon is invisible and when I click it nothing opens.

Try using two slashes in the path (\\): {"browser_binary": "C:\\Program Files\\Mozilla Firefox\\firefox.exe"}

0x6A7232 avatar Jun 07 '24 15:06 0x6A7232