On Mac OS, when I upgrade to Tor Browser 6.0a5 from an older version, it does not go well. After applying the MAR update and restarting, tor is not started and Tor Launcher displays this error:
Unable to start tor
The Tor executable is missing
Quitting and restarting a second time seems to fix the problem.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
Trac: Description: On Mac OS, when I upgrade to Tor Browser 6.0a5 from an older version, it does not go well. After applying the MAR update and restarting, tor is not started and Tor Launcher displays this error:
Unable to start tor
The Tor executable is missing
Quitting and restarting a second time seems to fix the problem.
to
On Mac OS, when I upgrade to Tor Browser 6.0a5 from an older version, it does not go well. After applying the MAR update and restarting, tor is not started and Tor Launcher displays this error:
Unable to start tor
The Tor executable is missing
Quitting and restarting a second time seems to fix the problem.
Kathy and I will have to do more debugging later, but it looks like the existing profile is not migrated at the time that the error message is displayed. I guess it must be using the old profile until the second restart.
During the failed startup, a TorBrowser-Data directory is created but it is nearly empty:
TorBrowser-Data/ Browser/ Caches/
My current guess at what is happening: the restart-after-update passes the location of the old profile via an env var (which causes it to be used when we do not want it to be), and that env var is cleared before the second restart (which causes a new profile to be created and our profile migration code to be executed).
I know we tested this, but maybe not correctly and probably not with an ESR45-based browser.
The right fix is probably to ignore the XRE_PROFILE_PATH env variable if it contains the path of the old default profile location (.../TorBrowser.app/TorBrowser/Data/Browser/profile.default).
gk or boklm: We should add something to the TB 6.0a5 blog post to let people know to expect this problem (they should quit and start TB again to fix things).