mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Fix ownership of cache directory
Snipe-IT was waiting to load because /var/www/html/storage/framework/cache/ and its contet were owned by root:root, but docker needed to be able to write to them This change recursively chowns that path to docker:root, and now it loads.
This commit is contained in:
parent
89e650f842
commit
22313711d5
|
@ -40,6 +40,7 @@ done
|
||||||
chown -R docker:root /var/lib/snipeit/data/*
|
chown -R docker:root /var/lib/snipeit/data/*
|
||||||
chown -R docker:root /var/lib/snipeit/dumps
|
chown -R docker:root /var/lib/snipeit/dumps
|
||||||
chown -R docker:root /var/lib/snipeit/keys
|
chown -R docker:root /var/lib/snipeit/keys
|
||||||
|
chown -R docker:root /var/www/html/storage/framework/cache
|
||||||
|
|
||||||
# Fix php settings
|
# Fix php settings
|
||||||
if [ -v "PHP_UPLOAD_LIMIT" ]
|
if [ -v "PHP_UPLOAD_LIMIT" ]
|
||||||
|
|
Loading…
Reference in a new issue