backrest
backrest copied to clipboard
Unable to upgrade from pre-1.0 to 1.3.1 directly
Note: if you have a question or need support please post in the discussions area.
Describe the bug A clear and concise description of what the bug is. I updated from pre-1.0 (I couldn't remember which version exactly) to the latest one 1.3.1 and it doesn't start the server for setting the instance ID in the UI as expected.
To Reproduce Steps to reproduce the behavior:
- Download latest releast (1.3.1)
- Untar
- sh ./install.sh
- View error from systemctl
2024-07-15T13:00:40.762+0800 WARN ACTION REQUIRED: instance ID is empty, will be required in a future update. Please open the backrest UI to set a unique instance ID. Until fixed this warning (and related errors) will print periodically.
2024-07-15T13:00:40.763+0800 DEBUG loading auth secret from file
2024-07-15T13:00:40.763+0800 INFO applying oplog migration {"migration_no": 0}
2024-07-15T13:00:40.763+0800 ERROR failed to apply migration {"migration_no": 0, "error": "create operation: validating operation: operation.instance_id is required"}
2024-07-15T13:00:40.763+0800 FATAL timeout while waiting to open database, is the database open elsewhere?
exited status 1
Expected behavior It starts the server and shows the Web UI for setting instance ID.
** Temporary fixes ** Screenshots If applicable, add screenshots to help explain your problem.
Platform Info
- OS and Architecture [e.g. Windows 10 x64, Darwin arm64]: Ubuntu x64 22.04
- Backrest Version [e.g. 0.0.0]
Additional context
- Upgrading to 1.0.0 first would show the web UI for instance ID update and then upgrading to 1.3.1 afterwards