logins.json is being randomly deleted in XenApp UPM profile
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)
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?
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.
I looked through the code and can't find any reason why this file would get deleted.