This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Unknown sync error: services.logins is undefined

  • 5 replies
  • 1 has this problem
  • 18 views
  • Last reply by 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.

Modified by Mordimer

All Replies (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?