Sync doesn't fetch passwords from the server even though they exist there
Today I realized I only have 2 stored passwords locally, whereas I had dozens before. I checked Sync and it was disconnected. I reconnected it, but the passwords didn't arrive.
I installed the "About Sync" plugin to check the server data, and indeed the server has all my passwords, but the plugin reports (rightly) that the client is missing them. Yet, they don't get synced, even after manually click "Sync now"
I opened my Sync account (https://accounts.firefox.com/settings/clients?service=sync) and there is a duplicate of my current machine there. However, I don't feel comfortable with deleting the duplicate, as it might be perceived to be the one storing the missing passwords and deleting it might result in them being lost forever. The whole think looks like a bug, so I'm stepping lightly.
I renamed the current machine in the accounts.firefox.com/settings, tried syncing again, didn't work.
Here's the latest log file from the about sync plugin:
1498236348740 Sync.LogManager DEBUG Flushing file log 1498236348744 browserwindow.syncui DEBUG loginFailed has sync state=success.login 1498236348745 browserwindow.syncui DEBUG observed: weave:ui:clear-error 1498236348762 Sync.LogManager DEBUG Log cleanup threshold time: 1497372348762 1498236348986 Sync.LogManager DEBUG Done deleting files. 1498236733495 Sync.Service DEBUG User-Agent: Firefox/54.0 (Windows NT 10.0; WOW64) FxSync/1.56.0.20170608105825.desktop 1498236733496 Sync.Service INFO Starting sync at 2017-06-23 19:52:13 in browser session VD487fZc-wtz 1498236733496 Sync.Service DEBUG In sync: should login. 1498236733496 browserwindow.syncui DEBUG observed: weave:service:login:start 1498236733498 Sync.Status DEBUG Status.service: success.status_ok => success.status_ok 1498236733498 Sync.Service INFO Logging in the user. 1498236733499 Sync.BrowserIDManager INFO initializeWithCurrentIdentity has no user logged in 1498236733499 browserwindow.syncui DEBUG loginFailed has sync state=success.login 1498236733501 Sync.BrowserIDManager ERROR Could not authenticate: no user is logged in 1498236733502 browserwindow.syncui DEBUG loginFailed has sync state=success.login 1498236733504 browserwindow.syncui DEBUG observed: weave:service:login:error 1498236733504 browserwindow.syncui DEBUG onLoginError: login=success.login, sync=success.sync 1498236733505 Sync.SyncScheduler DEBUG Clearing sync triggers and the global score. 1498236733507 Sync.SyncScheduler DEBUG Next sync in 3600000 ms. 1498236733508 Sync.ErrorHandler ERROR Sync encountered a login error 1498236733511 Sync.Service DEBUG Exception calling WrappedLock: no user is logged in 1498236733511 Sync.Service DEBUG Not syncing: login returned false. 1498236733521 browserwindow.syncui DEBUG loginFailed has sync state=success.login 1498236733523 Sync.ErrorHandler DEBUG Addons installed: 5 [...]
Looks like login is failing, even though firefox reports that I'm successfully logged in.
Gekozen oplossing
In case of issues with Sync you can try this: Disconnect from Sync and Reconnect to Sync again. You can disconnect from Sync by clicking the e-mail address in the "3-bar" Firefox menu button drop-down list or go to "Options/Preferences > Sync". Delete the signedInUser.json file in the Firefox profile folder and delete the Weave folder (Sync was formerly named Weave). Remove an existing chrome://FirefoxAccounts entry in the Firefox Password Manager. If that isn't enough then delete the prefs.js files to reset all prefs and maybe also delete the compatibility.ini file to reinitialize the profile.
You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.
- Help -> Troubleshooting Information -> Profile Directory:
Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder - http://kb.mozillazine.org/Profile_folder_-_Firefox
Alle antwoorden (3)
Gekozen oplossing
In case of issues with Sync you can try this: Disconnect from Sync and Reconnect to Sync again. You can disconnect from Sync by clicking the e-mail address in the "3-bar" Firefox menu button drop-down list or go to "Options/Preferences > Sync". Delete the signedInUser.json file in the Firefox profile folder and delete the Weave folder (Sync was formerly named Weave). Remove an existing chrome://FirefoxAccounts entry in the Firefox Password Manager. If that isn't enough then delete the prefs.js files to reset all prefs and maybe also delete the compatibility.ini file to reinitialize the profile.
You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.
- Help -> Troubleshooting Information -> Profile Directory:
Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder - http://kb.mozillazine.org/Profile_folder_-_Firefox
Thanks. Deleting the signedInUser fixed the problem. Two comments: - I have a firefox profile folder in both AppData/Local and AppData/Roaming - the active one is Roaming, but I first checked in Local
- the signedInUser.json contained "null" - if that helps resolve future problems
Firefox uses two locations for the Firefox profile folder. Location used for the main profile in "AppData\Roaming" that keeps your personal data.
- C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>\
Location used for the disk cache and other temporary files in "AppData\Local".
- C:\Users\<user>\AppData\Local\Mozilla\Firefox\Profiles\<profile>\
In most cases you need the "AppData\Roaming" location since there is where your personal data is stored.