cachethq / cachet

🚦 The open-source status page system.
https://cachethq.io
MIT License
13.79k stars 1.55k forks source link

Trying to build docker image - chmod: storage: No such file or directory #4325

Closed trmcorp closed 2 years ago

trmcorp commented 2 years ago

When running the docker-compose build command, it nearly completes, but fails at 28/29 with the aforementioned error:

Step 28/29 : RUN chmod g+rwx /var/run/nginx.pid && chmod -R g+rw /var/www /usr/share/nginx/cache /var/cache/nginx /var/lib/nginx/ /etc/php7/php-fpm.d storage ---> Running in 5a450df5adf8

chmod: storage: No such file or directory ERROR: Service 'cachet' failed to build: The command '/bin/sh -c chmod g+rwx /var/run/nginx.pid && chmod -R g+rw /var/www /usr/share/nginx/cache /var/cache/nginx /var/lib/nginx/ /etc/php7/php-fpm.d storage' returned a non-zero code: 1

I'm more or less at a loss as to how to fix this. Has anyone else seen this?

welcome[bot] commented 2 years ago

:wave: Thank you for opening your first issue. I'm just an automated bot that's here to help you get the information you need quicker, so please ignore this message if it doesn't apply to your issue. If you're looking for support, you should try the Slack group by registering your email address at https://cachethq-slack.herokuapp.com. Alternatively, email support@alt-three.com for our Professional support service (please note, this a paid service.) If you're issue is with documentation, you can suggest edits by clicking the Suggest Edits link on any page, or open an issue at https://github.com/CachetHQ/Docs