Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

logins.json is being randomly deleted in XenApp UPM profile

  • 3 replies
  • 1 has this problem
  • 10 views
  • Last reply by Mike Kaply

more options

We are migrating users to a new XenApp 7.15 farm utilizing User Profile Management group policies. I'm using this article to move the users' profiles https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles.

This works great except that I have to manually configure permissions on the key3.db, key4.db and logins.json and add the user with full control on just those three files for some reason which isn't a big deal.

However, occasionally and intermittently I'll get a user that has the logins.json file delete itself from their profile for no apparent reason. I can recover and restore the file and the user will be fine for a few days and then it all of the sudden deletes itself again which is very frustrating for the both of us. This doesn't happen to all of the users we have migrated, only a few here and there all using the exact same group policies and servers.

Does anyone have any thoughts as to why this might be happening and how we can troubleshoot further?

We have FireFox Enterprise ESR 60.5.2 (64-bit) installed on Windows Server 2016 across all servers in the farm.

Thank you in advance for anything that could assist us with this very problematic issue and please let me know if any additional information is needed.

We are migrating users to a new XenApp 7.15 farm utilizing User Profile Management group policies. I'm using this article to move the users' profiles https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles. This works great except that I have to manually configure permissions on the key3.db, key4.db and logins.json and add the user with full control on just those three files for some reason which isn't a big deal. However, occasionally and intermittently I'll get a user that has the logins.json file delete itself from their profile for no apparent reason. I can recover and restore the file and the user will be fine for a few days and then it all of the sudden deletes itself again which is very frustrating for the both of us. This doesn't happen to all of the users we have migrated, only a few here and there all using the exact same group policies and servers. Does anyone have any thoughts as to why this might be happening and how we can troubleshoot further? We have FireFox Enterprise ESR 60.5.2 (64-bit) installed on Windows Server 2016 across all servers in the farm. Thank you in advance for anything that could assist us with this very problematic issue and please let me know if any additional information is needed.

All Replies (3)

more options

In current Firefox releases you only need logins.json and key4.db, so best is to leave out key3.db. Key4.db is a SQLite database and the previously used key3.db (DBM) is only needed when you would want to import passwords from an older Firefox version that didn't use key4.db, in that case you need to remove key4.db to make Firefox use key3.db to create a new key4.db. I'm not sure why Firefox would delete logins.json because in case of issues the file would be renamed to logins.json.corrupt.

Are you certain that no other (cleanup) software is responsible for the removal of logins.json? Did you make sure that all files in the profile folder have full read/write permission for the current user and have the owner set correctly and that no other software keep a handle/lock on files?

more options

No, there is no other "cleanup" software or scripts in place. I stated above that I'm manually having to add the user with Full Control and no other software would have a lock on it, other wise it wouldn't get deleted if it did.

I have verified, with the users login and password, that this file gets deleted during the logoff process.

I went through every single server in the farm and deleted any locally cached copies (which should get deleted at logoff via GPO), and completely rebuilt her Citrix profile. This worked for several logins. I came in today to check that the file was still in her profile, and verified that the file has been deleted again.

My only option at this point is to open a ticket with Citrix unless there's anything else to look at. Thanks for your recommendation.

more options

I looked through the code and can't find any reason why this file would get deleted.