Closed cb3inco closed 2 years ago
Potentially related to https://github.com/linuxserver/docker-bookstack/issues/107#issuecomment-927134415
i have the same issue. since i use bookstack mainly as a documentation platform, i change some spellings via the template mount into the container and setting the environment variable (docker-compose).
environment:
...
# Theme
- APP_THEME='<name>'
...
volumes:
...
- '/path/to/themes-data/de:/var/www/html/themes/<name>/lang/de'
- '/path/to/themes-data/de_informal:/var/www/html/themes/<name>/lang/de_informal'
...
removing this - solves the "File not found!" issue.
As a workaround, I was able to put this in a file I called 91-themes
under the custom-cont-init.d
folder. This is called as a final step in setting up the container.
rm -r /var/www/html/themes
ln -s /config/www/themes /var/www/html/themes
ETA: after further testing, this doesn't work.
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.
Hello, did you find any viable workaround for such problem while we wait for #111 to be merged?
Desired Behavior
Prior to 28.0.1 I was able to manually mount /var/www/html/themes in my docker-compose file to modify certain files to update the default template. I would like this ability in subsequent versions.
Current Behavior
As of 28.0.2 and 28.0.3 it seems to be no longer possible to mount this path as a volume and make custom template changes.
Alternatives Considered
Not sure other than compiling my own image.