Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrating profile data issue when upgrading to a new version #20

Open
dbarev opened this issue Jan 28, 2020 · 4 comments
Open

Migrating profile data issue when upgrading to a new version #20

dbarev opened this issue Jan 28, 2020 · 4 comments

Comments

@dbarev
Copy link

dbarev commented Jan 28, 2020

Behaviour

With latest version phyrox-portable-win64-72.0.2-35 upgrade from an old version messes up the profile data and leads to an unusable profile.

Steps to reproduce this issue

  1. Clean install an earlier release of phyrox portable e.g. phyrox-portable-win64-72.0.1-34
  2. Install addons, open a few different websites in tabs, set session restore on startup, save some favourites
  3. Shut down the app.
  4. Download the latest version phyrox-portable-win64-72.0.2-35 and migrate the profile from the older one by copying the 'data' folder over.
  5. Start the new release phyrox-portable-win64-72.0.2-35. At first site all works fine, session, favourites, history, addons are restored correctly. Do some changes: delete addons, add/delete favourites, open new tabs, close old tabs, change UI/toolbar settings. Shutdown the app.
  6. Upon new start of the app the changes from last session are gone, you are back to the profile state just before migrating/updating. Seems like the profile is currently read-only, any changes are not saved whatsoever.

Expected behaviour

The app should work fine with the migrated profile and all changes shall be saved between sessions.

Actual behaviour

See steps to reproduce

Configuration

**App release: phyrox-portable-win64-72.0.2-35 ** :

Operating system: Windows 10 Pro 64 bits :

Winver screenshot :
image

Screenshots

N/A

Logs

Join the log file log\[appname]-portable.log to this issue.
phyrox-portable.log

@dbarev
Copy link
Author

dbarev commented Jan 28, 2020

Workarounds:

a) Re-create profile and manually migrate important data following this guide
http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

or

b) After launching the new version for the first time with copied data folder, close it and do the following:

In the profile folder under /data/profile/default/ rename the following files by removing the .tmp at the end:
addonStartup.json.lz4.tmp
broadcast-listeners.json.tmp
extensions.json.tmp
extension-settings.json.tmp
search.json.mozlz4.tmp
sessionCheckpoints.json.tmp
sessionstore.jsonlz4.tmp
xulstore.json.tmp

Overwrite existing files.

Clear the following folders from any files if existing:
/data/profile/default/sessionstore-backups/.
/data/profile/default/crashes/.
/data/profile/default/datareporting/.
/data/profile/default/startupCache/.

Make backup before modifying anything in case something goes wrong.

After a restart the profile should work fine.

@dbarev dbarev changed the title Migrating profile data issue when upgrading toa new version Migrating profile data issue when upgrading to a new version Jan 28, 2020
@crazy-max
Copy link
Member

@dbarev Thank you very much for the diagnosis, I'll take a look at it soon.

@crazy-max
Copy link
Member

@dbarev Mozilla has taken into account this issue related to relocation of profile directory. See https://phabricator.services.mozilla.com/D72348 for more info.

@psmiths1974
Copy link

C:\Users\You\AppData\Roaming\Mozilla = active script.ui profile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants