update_code error in Deployer v7 #3011
Replies: 2 comments 4 replies
-
Problem is with
try to figure out what is wrong here. Run this command manually via dep run. |
Beta Was this translation helpful? Give feedback.
-
Sorry. I just don't know what to do. I've already spent 10 hours trying to get this to work before I posted here, now another 4 hours today and all of the errors are pointing to stuff that doesn't make sense to me... I mean, it was all working perfectly on v6. The logs show that the SSH login is going through fine. ##[debug]Evaluating: secrets.ENV_PRODUCTION
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'ENV_PRODUCTION'
##[debug]=> '***
[xx.xxx.xx.xxx] ssh: is master running?
[xx.xxx.xx.xxx] ssh -O check -p 5555 -A -o ControlMaster=auto -o ControlPersist=60 -o ControlPath=/dev/shm/%C echo
[xx.xxx.xx.xxx] Control socket connect(/dev/shm/d57f3541f6d67f505f8fa0b9f2280f3bfc42c434): No such file or directory
[xx.xxx.xx.xxx] ssh: multiplexing initialization
[xx.xxx.xx.xxx] ssh -N -p 5555 -A -o ControlMaster=auto -o ControlPersist=60 -o ControlPath=/dev/shm/%C [email protected]
[xx.xxx.xx.xxx] Hosting VPS
[xx.xxx.xx.xxx] ============================================================================
[xx.xxx.xx.xxx] Some Company
[xx.xxx.xx.xxx] server03.hosting.com
[xx.xxx.xx.xxx] ============================================================================
[xx.xxx.xx.xxx] UPTIME..: 11:42:25 up 50 days, 4:54, 1 user, load average: 1.09, 1.15, 1.20
[xx.xxx.xx.xxx] KERNEL..: 3.10.0-1160.53.1.el7.x86_64
[xx.xxx.xx.xxx] DIST....: CentOS Linux release 7.9.2009 (Core)
[xx.xxx.xx.xxx] Recent Logins:
[xx.xxx.xx.xxx] myuser pts/0 xxx.xxx.xxx.xx Sat Mar 12 09:32 still logged in
[xx.xxx.xx.xxx] myuser pts/0 xxx.xxx.xxx.xx Sat Mar 12 01:09 - 03:21 (02:11)
[xx.xxx.xx.xxx] Current Users:
[xx.xxx.xx.xxx] myuser pts/0 2022-03-12 09:32 (xxx.xxx.xxx.xx)
[xx.xxx.xx.xxx] =============================================================================
[xx.xxx.xx.xxx] ssh '-p' '5555' '-A' '-o' 'ControlMaster=auto' '-o' 'ControlPersist=60' '-o' 'ControlPath=/dev/shm/%C' '[email protected]' ': 2fac38f93cfc2a35bea2; bash -ls'
[xx.xxx.xx.xxx] run rm -f /home/myusere/.dep/deploy.lock
[xx.xxx.xx.xxx] /etc/profile: line 94: GNU: command not found
[xx.xxx.xx.xxx] Hosting VPS
[xx.xxx.xx.xxx] ============================================================================
[xx.xxx.xx.xxx] Some Company
[xx.xxx.xx.xxx] server03.hosting.com
[xx.xxx.xx.xxx] ============================================================================
[xx.xxx.xx.xxx] TERM environment variable not set.
[xx.xxx.xx.xxx] UPTIME..: 11:42:25 up 50 days, 4:54, 1 user, load average: 1.09, 1.15, 1.20
[xx.xxx.xx.xxx] KERNEL..: 3.10.0-1160.53.1.el7.x86_64
[xx.xxx.xx.xxx] DIST....: CentOS Linux release 7.9.2009 (Core)
[xx.xxx.xx.xxx] Recent Logins:
[xx.xxx.xx.xxx] myuser pts/0 xxx.xxx.xxx.xx Sat Mar 12 09:32 still logged in
[xx.xxx.xx.xxx] myuser pts/0 xxx.xxx.xxx.xx Sat Mar 12 01:09 - 03:21 (02:11)
[xx.xxx.xx.xxx] Current Users:
[xx.xxx.xx.xxx] myuser pts/0 2022-03-12 09:32 (xxx.xxx.xxx.xx)
[xx.xxx.xx.xxx] =============================================================================
done on xx.xxx.xx.xxx
::endgroup::
Error: Failed: dep deploy stage=prod --tag= -vvv
##[debug]Node Action run completed with exit code 1
##[debug]SSH_AUTH_SOCK='/tmp/ssh-auth.sock'
##[debug]Finishing: Deploy I've tried switching from atymic/deployer-php-action to deployphp/action and the errors are identical. I'm just at a super frustrating wall now and have no clue what to try next. The Github Build is working, the SSH login is working. It's just that deployer can't seem to move A to B anymore. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Having an issue getting a v7 of deployer up and running. Using Laravel 9 with PHP 8 via Github Actions
composer.json
Github Action log
.github/workflows/deploy.yml
deploy.php
I figure there's something wrong in my deploy.php file, but I can't find what's going wrong. The line referenced in update_code.php seems to be something to do with
$repository = get('repository');
but I'm not sure if it's relevant.Beta Was this translation helpful? Give feedback.
All reactions