Docker basset storage:link not working #1168
-
hello all, Just did the upgrade from backpack 5 to version 6. I see basset added a post-install-cmd script in composer.json to run but on deployment I get this then it fails: @php artisan storage:link --quiet936 | What is the best way to fix this issue? Is there a way to upgrade to backpack 6 without basset? Its causing me more troubles than its worth. thank you all |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
also when running RUN composer run-script post-install-cmd:
|
Beta Was this translation helpful? Give feedback.
-
Hello @Read2uk What version of "backpack/generators" did you install? Can you share all versions:
What kind of server and versions did you run in your docker container? Cheers. |
Beta Was this translation helpful? Give feedback.
Hi @jcastroa87 I kind of managed to get it working by adding this in the dockerfile:
RUN rm -rf /var/www/html/bootstrap/cache/*.php
Not sure if there is a better solution but this seems to work
thanks for your help