搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Unknown sync error: services.logins is undefined

  • 5 回覆
  • 1 有這個問題
  • 18 次檢視
  • 最近回覆由 cor-el

more options

I have a problem with passwords sync (it's not working from the beginning). This instance of Firefox works under Lubuntu. Problem does not appears on Windows based machine.

Failed to clear login data: TypeError: Services.logins is undefined (resource://gre/modules/FxAccounts.jsm:1480:6) 

log: https://pastebin.mozilla.org/8842264

Also very common: passwords failed: TypeError: Services.logins is undefined (resource://gre/modules/services-sync/engines/passwords.js:144:8)

https://pastebin.mozilla.org/8842265

Already tried to disconnect account, name changing and Places Maintenance did not find anything wrong.

I have a problem with passwords sync (it's not working from the beginning). This instance of Firefox works under Lubuntu. Problem does not appears on Windows based machine. Failed to clear login data: TypeError: Services.logins is undefined (resource://gre/modules/FxAccounts.jsm:1480:6) log: https://pastebin.mozilla.org/8842264 Also very common: passwords failed: TypeError: Services.logins is undefined (resource://gre/modules/services-sync/engines/passwords.js:144:8) https://pastebin.mozilla.org/8842265 Already tried to disconnect account, name changing and Places Maintenance did not find anything wrong.

由 Mordimer 於 修改

所有回覆 (5)

more options

Update.

I think that problem might be related to built-in password manager. Reason? Unable to change master password (previously not set). However troubleshooting and renaming files not helps (firefox is not creating new).

more options

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.

  • Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
  • Do NOT click the Reset button on the Safe Mode start window

You can open the Browser Console (Firefox/Tools > Web Developer). Paste the JavaScript code in the command line and press the Enter key to evaluate the code.

Paste the lines one at a time to see the response.

Services.logins.getAllLogins().length
Services.logins.countLogins("", "", "")
more options

Thanks for reply.

So, safe mode on, hardware support in preferences off, problem still occurs (add-ons and themes disabled). When sync is enabled for everything except tabs and passwords there is no errors. When it's enabled just for passwords, error appears (no surprise here).

Both commands gives the same result (regardless of safe mode status): ReferenceError: Services is not defined

There is a tip, but that might be a side effect - when FF stars with Sync on at the begging there is login/password error and I need to sign in (so he can't store even sync password) - except situation when sync account is disconnected.

more options

Are you using a Firefox version from the Mozilla server or a version from the Linux repositories that is possibly modified?

Try the version from the official Mozilla server if you currently use a version from the repositories of your Linux distribution.

Does the Firefox Password Manager work properly?

Did you make sure that your are logged on to the software security device by entering the master password when prompted?