-
Notifications
You must be signed in to change notification settings - Fork 44
Upgrade Password Manager
Jeffery (Zeyu) Zhao edited this page Aug 5, 2020
·
3 revisions
Password-Manager can't upgrade itself automatically because password key is not stored in server. You can upgrade your Password-Manager as follows:
You don't want to keep files uploaded for accounts
- Open your old password manager and take a screenshot of all your accounts and passwords. (If your version is later than 5.0, you can use backup function and then go to recovery page to recover it. You'll get all your accounts and passwords on screen there.)
- Drop your tables in database and import
initial.sql
- Replace the old password manager files with the new version on your server (don't forget to modify
config.php
) - Register a new account for password manager
- Create all your accounts back
- Login to your old password manager. Go to [settings -> Export CSV]
- The CSV is in raw format, open it and check if there's any error (For special character (non-English), you may find they dispaly weird in softwares like Office. That's because the CSV generated is in UTF-8 encoding. You can check its correctness by opening it in plain-text editor. When you import the csv, it shall work normally in password manager)
- Drop your tables in database and import
initial.sql
- Deploy new password manager to your server (don't forget to modify
config.php
) - Create an account in new password manager.
- Login and find the [Import accounts] section. Select the CSV file you just exported. Click [Submit].
- All your password should be on your new password manager now.
- If some error occurs, you can clear your database and redo the previous steps. This may take long time if you have many accounts. Find a good computer with good Internet access to do it!
This section is only for versions newer than v9.09 since file is introduced in v9.09.
- Login to Password Manager, create a backup and choose include files when you generate backup.
- Logout, and at the login page, go to password recovery. At the recovery page, recover your passwords from the backup you just created.
- The recovery result will show up in a table, check if there're any errors. If not, click Export Raw button. This button will show up once recovery is done.
- Save the .raw file generated.
- Drop all tables in your database and import
initial.sql
. Download newest version and editsrc/function/config.php
and then upload it to your server (overwrite all old files). - Register an account in new Password-Manager. After login, import .raw file you saved.
- IMPORTANT: Delete .raw file afterwards for safety