-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bookstack-system-cli restore fails #5489
Comments
Hi @wiknesta,
|
Hi @ssddanbrown The database is running and connectable during this attempted restore.
If an older docker-image is used for bookstack, there is no error. In this case, the restore is carried out correctly |
Okay, the backup command was not taking the environment into account when testing/validating config files. Thanks @wiknesta for reporting. |
Describe the Bug
Use the system cli to execute a restore. For example:
/app/www/bookstack-system-cli restore /backups/bookstack.zip
Now the process fails with the following message:
_Extracting ZIP into temporary directory...
Restoring and merging .env file...
An error occurred when attempting to run a command:
Could not find a working database configuration_
Steps to Reproduce
Use the system cli to execute a restore
For example: /app/www/bookstack-system-cli restore /backups/bookstack.zip
Expected Behaviour
The restore ends with the message: "Restore operation complete"
Screenshots or Additional Context
We use a Docker installation (lscr.io/linuxserver/bookstack). The restore is executed in the docker container of bookstack.
If bookstack is reset to version 24.05.3, the same restore works without any problems.
Browser Details
No response
Exact BookStack Version
v24.12.1
The text was updated successfully, but these errors were encountered: