Skip to content

bookstack-system-cli restore fails #5489

@wiknesta

Description

@wiknesta

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions