deployphp / deployer

The PHP deployment tool with support for popular frameworks out of the box
https://deployer.org
MIT License
10.41k stars 1.47k forks source link

Ubunutu System Restart message is preventing rsync command running #3850

Open teuma86 opened 1 week ago

teuma86 commented 1 week ago

Using the rsync deployer receipe, trying to deploy magento onto a ubuntu server keeps failing saying that the remote directory could not be found.

I checked and can confirm the directory exists.

Running with debug, I belive this is due the the ubuntu system reboot message.

Rebooting the system resolved this issue till the system message showed again

Output Result

php deployer.phar rsync staging  -v
task rsync
[staging] run if [ -h /var/www/magento/staging/release ]; then echo +right; fi
[staging] Kernel: 5.15.0-112-generic was installed on 06/07/2024  6:49:31 am BST or 12 day(s) ago.
[staging] Please reboot the server at your earliest convenience to apply this kernel update.
[staging] +right
[staging]  Deployer\Exception\Exception  in rsync.php on line 228:
[staging]
[staging]   The "release_path" (/var/www/magento/staging/release) does not exist.
[staging]
ERROR: Task rsync failed!

Any suggestions on how to resolve this would be appreciated as we cant have a server reboot holding up deployments.

Upvote & Fund

Fund with Polar