docker-bookstack icon indicating copy to clipboard operation
docker-bookstack copied to clipboard

failed to upgrade to v21.08.2

Open iml885203 opened this issue 4 years ago • 6 comments

linuxserver.io


Steps to Reproduce

  1. edit docker-compose.yaml change image from v21.08.1 to v21.08.2
  2. run docker-compose up -d
  3. show nginx page: not found.

Docker logs

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-config: executing...
[cont-init.d] 20-config: exited 0.
[cont-init.d] 30-keygen: executing...
using keys found in /config/keys
[cont-init.d] 30-keygen: exited 0.
[cont-init.d] 50-config: executing...
New container detected. Setting up app folder and fixing permissions.
ln: failed to create symbolic link '/var/www/html/storage/uploads/files': No such file or directory
ln: failed to create symbolic link '/var/www/html/storage/uploads/images': No such file or directory
ln: failed to create symbolic link '/var/www/html/storage/logs/laravel.log': No such file or directory
App Key found - setting variable for seds
Running config - db_user set
/var/run/s6/etc/cont-init.d/50-config: line 97: warning: command substitution: ignored null byte in input
/var/run/s6/etc/cont-init.d/50-config: line 97: warning: command substitution: ignored null byte in input
Could not open input file: /var/www/html/artisan
[cont-init.d] 50-config: exited 0.
[cont-init.d] 90-custom-folders: executing...
[cont-init.d] 90-custom-folders: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.

iml885203 avatar Sep 15 '21 09:09 iml885203

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

github-actions[bot] avatar Sep 15 '21 09:09 github-actions[bot]

@iml885203 I've run into this problem too. By chance, are you making custom template changes? That was my problem and I had to remove that to get things working.

cb3inco avatar Sep 24 '21 09:09 cb3inco

@cb3inco I have mounted the icon to the container before.

volumes:
  - ~/bookstack/config:/config
  - ./favicon.ico:/var/www/html/public/favicon.ico

When I comment it, it worked!

iml885203 avatar Sep 24 '21 10:09 iml885203

Yes, I've opened a feature request to be able to customize things. I've asked the developer if security changes in v21.08.2 would have broken this. Might be a specific Linuxserver container issue.

cb3inco avatar Sep 24 '21 10:09 cb3inco

Can't think of anything on the BookStack side that would cause such issues.

Looking at a comparison of the latest v21.08.1 and v21.08.2 states of this repo: https://github.com/linuxserver/docker-bookstack/compare/v21.08.1-ls156...v21.08.2-ls158

There seems to be a overlay-fs bug workaround added that moves files in and out of /var/www via a temp directory. Possibly this causes issues and conflicts when a /var/www/* folder is manually mounted?

ssddanbrown avatar Sep 25 '21 15:09 ssddanbrown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Oct 26 '21 02:10 github-actions[bot]

OP did not fully fill out the issue template which prevents recreation of the issue within the team. As a note, based on the conversation, our containers expect our readme to be followed. If an advanced user is doing unexpected things, they are expected to resolve them OR submit a fully tested PR and justification for the changes to be merged.

drizuid avatar Oct 08 '22 17:10 drizuid