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

Restored file ownership #16

@rinze24

Description

@rinze24
./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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions