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.
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.