Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Backup restore brocken - wrong file owner "yellowtent" instead of "www-data" in /app/data Lamp Stack

Backup restore brocken - wrong file owner "yellowtent" instead of "www-data" in /app/data Lamp Stack

Scheduled Pinned Locked Moved Unsolved Support
backuprestorepermissions
3 Posts 2 Posters 21 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • dsp76D Offline
    dsp76D Offline
    dsp76
    wrote last edited by dsp76
    #1

    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 denied
    

    Troubleshooting Already Performed

    • tried to enter terminal to change owner of the files

    System Details

    Generate Diagnostics Data

    Cloudron Version

    Cloudron version - 9.0.17
    

    Ubuntu Version

    Ubuntu version - Ubuntu 24.04 LTS Linux 6.8.0-90-generic
    

    Cloudron installation method

    Options:

    • Manual with ./cloudron-setup

    Output of cloudron-support --troubleshoot

    Vendor: 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
    

    (Ask me about B2B marketing automation & low code business solutions, if thats interesting for you.)

    J 1 Reply Last reply
    0
    • dsp76D Offline
      dsp76D Offline
      dsp76
      wrote last edited by
      #2

      OK - managed to enter the terminal with recovery modus and changed ownership of the files. App is now running again. But still - whats the issue with the backup restore?

      (Ask me about B2B marketing automation & low code business solutions, if thats interesting for you.)

      1 Reply Last reply
      0
      • dsp76D dsp76

        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 denied
        

        Troubleshooting Already Performed

        • tried to enter terminal to change owner of the files

        System Details

        Generate Diagnostics Data

        Cloudron Version

        Cloudron version - 9.0.17
        

        Ubuntu Version

        Ubuntu version - Ubuntu 24.04 LTS Linux 6.8.0-90-generic
        

        Cloudron installation method

        Options:

        • Manual with ./cloudron-setup

        Output of cloudron-support --troubleshoot

        Vendor: 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
        
        J Online
        J Online
        joseph
        Staff
        wrote last edited by
        #3

        @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 denied

        Do 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.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search