Backup restore brocken - wrong file owner "yellowtent" instead of "www-data" in /app/data Lamp Stack
-
Description
I had some no related issues in an application installed in the LAMP stack. When I tried to restore an earlier manual and automatic backup from today, the app failed to start after the restore. I found out, that all restored files are owned by "yellowtent" instead of "www-data". Unfortunately the shell doesn't start so I can't manually fix it recursively.
Steps to reproduce
- restore LAMP App from backup
- files are owned by "yellowtent"
Logs
Jan 22 20:43:48 ==> Do not override existing index file Jan 22 20:43:48 ==> PHP version set to 8.3 Jan 22 20:43:48 ==> Source custom startup script Jan 22 20:43:48 touch: cannot touch '/app/data/tmp/.npmrc': Permission deniedTroubleshooting Already Performed
- tried to enter terminal to change owner of the files
System Details
Generate Diagnostics Data
Cloudron Version
Cloudron version - 9.0.17Ubuntu Version
Ubuntu version - Ubuntu 24.04 LTS Linux 6.8.0-90-genericCloudron installation method
Options:
- Manual with
./cloudron-setup
Output of
cloudron-support --troubleshootVendor: Hetzner Product: vServer Linux: 6.8.0-90-generic Ubuntu: noble 24.04 Execution environment: kvm Processor: AMD EPYC-Milan Processor BIOS NotSpecified CPU @ 2.0GHz x 8 RAM: 32087112KB Disk: /dev/sda1 21G [OK] node version is correct [OK] IPv6 is enabled and public IPv6 address is working [OK] docker is running [OK] docker version is correct [OK] MySQL is running [OK] netplan is good [OK] DNS is resolving via systemd-resolved [OK] unbound is running [OK] nginx is running [OK] dashboard cert is valid [OK] dashboard is reachable via loopback [OK] No pending database migrations [OK] Service 'mysql' is running and healthy [OK] Service 'postgresql' is running and healthy [OK] Service 'mongodb' is running and healthy [OK] Service 'mail' is running and healthy [OK] Service 'graphite' is running and healthy [OK] Service 'sftp' is running and healthy [OK] box v9.0.17 is running [OK] Dashboard is reachable via domain name -
Description
I had some no related issues in an application installed in the LAMP stack. When I tried to restore an earlier manual and automatic backup from today, the app failed to start after the restore. I found out, that all restored files are owned by "yellowtent" instead of "www-data". Unfortunately the shell doesn't start so I can't manually fix it recursively.
Steps to reproduce
- restore LAMP App from backup
- files are owned by "yellowtent"
Logs
Jan 22 20:43:48 ==> Do not override existing index file Jan 22 20:43:48 ==> PHP version set to 8.3 Jan 22 20:43:48 ==> Source custom startup script Jan 22 20:43:48 touch: cannot touch '/app/data/tmp/.npmrc': Permission deniedTroubleshooting Already Performed
- tried to enter terminal to change owner of the files
System Details
Generate Diagnostics Data
Cloudron Version
Cloudron version - 9.0.17Ubuntu Version
Ubuntu version - Ubuntu 24.04 LTS Linux 6.8.0-90-genericCloudron installation method
Options:
- Manual with
./cloudron-setup
Output of
cloudron-support --troubleshootVendor: Hetzner Product: vServer Linux: 6.8.0-90-generic Ubuntu: noble 24.04 Execution environment: kvm Processor: AMD EPYC-Milan Processor BIOS NotSpecified CPU @ 2.0GHz x 8 RAM: 32087112KB Disk: /dev/sda1 21G [OK] node version is correct [OK] IPv6 is enabled and public IPv6 address is working [OK] docker is running [OK] docker version is correct [OK] MySQL is running [OK] netplan is good [OK] DNS is resolving via systemd-resolved [OK] unbound is running [OK] nginx is running [OK] dashboard cert is valid [OK] dashboard is reachable via loopback [OK] No pending database migrations [OK] Service 'mysql' is running and healthy [OK] Service 'postgresql' is running and healthy [OK] Service 'mongodb' is running and healthy [OK] Service 'mail' is running and healthy [OK] Service 'graphite' is running and healthy [OK] Service 'sftp' is running and healthy [OK] box v9.0.17 is running [OK] Dashboard is reachable via domain name@dsp76 said in Backup restore brocken - wrong file owner "yellowtent" instead of "www-data" in /app/data Lamp Stack:
Jan 22 20:43:48 ==> Source custom startup script
Jan 22 20:43:48 touch: cannot touch '/app/data/tmp/.npmrc': Permission deniedDo you have a custom /app/data/run.sh ? It seems that script is causing this error. That script runs as root though, so I am not sure why it gets permission denied.