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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Ownership of the /app/data directory not set to cloudron:cloudron

    Prometheus
    2
    3
    247
    Loading More Posts
    • 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.
    • ChristopherMag
      ChristopherMag last edited by

      The cloudron user and group are not set as the owner of the /app/data directory and subdirectories which results in the following error being logged and the app to keep restarting:

      Dec 10 09:08:05 => Creating config file on first run
      Dec 10 09:08:05 cp: cannot create regular file '/app/data/config/prometheus.yml': Permission denied
      

      Changing the ownership manually resolved the issue and allowed the app to start.

      girish 2 Replies Last reply Reply Quote 0
      • girish
        girish Staff @ChristopherMag last edited by

        @christophermag Thanks, I will fix the package. I was going to add authentication to it today, add tests and make it stable.

        1 Reply Last reply Reply Quote 1
        • girish
          girish Staff @ChristopherMag last edited by

          @christophermag This should be fixed now.

          1 Reply Last reply Reply Quote 3
          • First post
            Last post
          Powered by NodeBB