Lost Password to Administrator Account
If you are using FogBugz On Demand, disregard this guide and contact us. This article is meant for Licensed FogBugz.
You will need direct database access to follow these instructions. You can find the location of your FogBugz database by opening the file application.data, which is in your FogBugz Accessories folder, and looking at the value for sConnectionString.
If you have lost the password to all the administrator accounts in FogBugz, follow these instructions to reset one of the passwords.
- On the FogBugz database server, look in the table called Setting.
- Find the row that has the sKey set to fPasswordEnable and set its sValue column to be 0 (zero).
At this point FogBugz will allow anyone to log on without a password.
- Using a web browser, log on to your FogBugz administrator account
- Back in the database, change the sValue column for fPasswordEnable back to 1.
- In your web browser, change the administrator password.
For older versions (pre 4.0.27) of FogBugz, fPasswordEnable is stored in the application.data file:
- On the FogBugz server, log on as root
- In the FogBugz accessories directory (usually /opt/fogbugz/Accessories), edit the file application.data
- Look for the setting fPasswordEnable and set the value data to 0 (zero).
At this point FogBugz will allow anyone to log on without a password.
- Using a web browser, log on to your FogBugz administrator account
- Back in the text editor, change fPasswordEnable back to 1.
- In your web browser, change the administrator password.
