Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Restored file ownership #16

Open
rinze24 opened this issue Apr 4, 2024 · 0 comments
Open

Restored file ownership #16

rinze24 opened this issue Apr 4, 2024 · 0 comments

Comments

@rinze24
Copy link

rinze24 commented Apr 4, 2024

./bookstack-system-cli restore ~/my-backup.zip

Restore will use the command executor user group and will lead to file permission problem if the previous installation is in different user group. You will encounter:

File path /uploads/images/cover_book/date/file.jpg could not be uploaded to. Ensure it is writable to the server
or
It will say file uploaded but not display the cover image.

Workaround is to chown -R user:group /path/to/bookstack

In my setup i use TurnkeyBookstack for installation, they use www-data:www-data user:group.
I use root to restore my bookstack which leads to above situation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant