Skip to content
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

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant