vip-cli icon indicating copy to clipboard operation
vip-cli copied to clipboard

run-parts: can't execute '/scripts/100-proxy-certs': Exec format error

Open sjinks opened this issue 1 year ago • 4 comments

Heisenbug :-(

 ⠿ Container viplocal-wordpress-1  Error while Killing                                                                                                                                                                                 0.2s
Error response from daemon: Cannot kill container: 0a997f0ff01116217b598e3ceeca9c2f161afff22ce10840719dbc217cf4a721: Container 0a997f0ff01116217b598e3ceeca9c2f161afff22ce10840719dbc217cf4a721 is not running
$ docker logs 0a997f0ff01116217b598e3ceeca9c2f161afff22ce10840719dbc217cf4a721



                         STARTING UP                            

         ██       █████  ███    ██ ██████   ██████             
         ██      ██   ██ ████   ██ ██   ██ ██    ██            
         ██      ███████ ██ ██  ██ ██   ██ ██    ██            
         ██      ██   ██ ██  ██ ██ ██   ██ ██    ██            
         ███████ ██   ██ ██   ████ ██████   ██████             

       The best local development tool in the galaxy!                     


===============================================================


userperms 04:13:04.INFO  ==> This is a alpine container
userperms 04:13:04.INFO  ==> user-perms.sh kicking off as user uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video)
userperms 04:13:04.DEBUG ==> Lando ENVVARS set at
userperms 04:13:04.DEBUG ==> 
userperms 04:13:04.DEBUG ==> ========================================
userperms 04:13:04.DEBUG ==> LANDO_WEBROOT_USER      : www-data
userperms 04:13:04.DEBUG ==> LANDO_WEBROOT_GROUP     : www-data
userperms 04:13:04.DEBUG ==> LANDO_WEBROOT_UID       : 
userperms 04:13:04.DEBUG ==> LANDO_WEBROOT_GID       : 
userperms 04:13:04.DEBUG ==> LANDO_HOST_UID          : 1000
userperms 04:13:04.DEBUG ==> LANDO_HOST_GID          : 1000
userperms 04:13:04.DEBUG ==> ========================================
userperms 04:13:04.DEBUG ==> 
userperms 04:13:04.INFO  ==> Making sure correct user:group (www-data:www-data) exists...
userperms 04:13:04.INFO  ==> Remapping ownership to handle docker volume sharing...
userperms 04:13:04.INFO  ==> Resetting www-data:www-data from : to 1000:1000
userperms 04:13:04.INFO  ==> www-data:www-data is now running as uid=1000(www-data) gid=82(www-data) groups=82(www-data),82(www-data)!
userperms 04:13:04.INFO  ==> And here. we. go.
userperms 04:13:04.INFO  ==> Doing the permission sweep.
run-parts: can't execute '/scripts/100-proxy-certs': Exec format error
$ docker exec -it 2ec3180f3341 /bin/sh
/ # ls /scripts/100-proxy-certs 
/scripts/100-proxy-certs
/ # ls -lha /scripts/100-proxy-certs 
-rwxr-xr-x    1 root     root           0 May  6 04:11 /scripts/100-proxy-certs

The script is 0 bytes long, and this causes an error.

sjinks avatar May 06 '23 04:05 sjinks