Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

touch: cannot touch '/var/www/html/releases/20220809134142/pub/static/deployed_version.txt' No such file or directory #162

Open
andek85 opened this issue Aug 9, 2022 · 1 comment

Comments

@andek85
Copy link

andek85 commented Aug 9, 2022

Hi,
I´m getting an error when I deploy to my stage enviroment. Does anybody have any clue why this error shows up?
Thanks in advance for your ideas!

DEBUG [ced9d344] Magento CLI 2.4.3 DEBUG [ced9d344] Finished in 0.438 seconds with exit status 0 (successful). DEBUG [9927b544] Running if test ! -d /var/www/html/releases/20220809134142; then echo "Directory does not exist '/var/www/html/releases/20220809134142'" 1>&2; false; fi as root@xxx.xxx.xx.xxx DEBUG [9927b544] Command: if test ! -d /var/www/html/releases/20220809134142; then echo "Directory does not exist '/var/www/html/releases/20220809134142'" 1>&2; false; fi DEBUG [9927b544] Finished in 0.140 seconds with exit status 0 (successful). INFO [d9bb4f40] Running /usr/bin/env touch /var/www/html/releases/20220809134142/pub/static/deployed_version.txt as root@xxx.xxx.xx.xxx DEBUG [d9bb4f40] Command: cd /var/www/html/releases/20220809134142 && ( export MAGE_MODE="production" ; /usr/bin/env touch /var/www/html/releases/20220809134142/pub/static/deployed_version.txt ) DEBUG [d9bb4f40] touch: cannot touch '/var/www/html/releases/20220809134142/pub/static/deployed_version.txt' DEBUG [d9bb4f40] : No such file or directory

@PascalBrouwers
Copy link

If it's not reproducible it's not something that can be fixed. Try to figure out what you did wrong as normal use of davidalger/capistrano-magento2 does not give this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants