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

    Custom app- App installation error: Installation failed: (HTTP code 500) server error - unable to find user www

    App Packaging & Development
    6
    9
    66
    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.
    • jordanurbs
      jordanurbs last edited by

      App installation error: Installation failed: (HTTP code 500) server error - unable to find user www: no matching entries in passwd file
      

      Any idea why this is happening?

      murgero girish 2 Replies Last reply Reply Quote 0
      • murgero
        murgero App Dev @jordanurbs last edited by

        @jordanurbs said in Custom app- App installation error: Installation failed: (HTTP code 500) server error - unable to find user www:

        unable to find user www

        If I had to take a guess.. The app you are making requires there to be a www user.

        --
        https://urgero.org
        ~ Professional Nerd. Freelance Programmer. ~
        Matrix: @murgero:urgero.org

        fbartels 1 Reply Last reply Reply Quote 1
        • fbartels
          fbartels App Dev @murgero last edited by

          @murgero or you’re using a base image other than the Cloudron one and therefore some internal scripting fails (because the user it expects does not exist).

          murgero 1 Reply Last reply Reply Quote 2
          • girish
            girish Staff @jordanurbs last edited by

            @jordanurbs need more info to help. What did you install? And how? Link to custom app's dockerfile etc

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

              Yep Yep, need more info.

              But here is the is:

              You installed a custom app that is trying to use the www user in the Docker Container.
              That user does not exists.

              But please, provide more details.
              Step by step with the resources.

              Like my work? Consider donating a beer 🍻 Cheers!

              1 Reply Last reply Reply Quote 0
              • murgero
                murgero App Dev @fbartels last edited by

                @fbartels Yes, could be that too - I was just going off the limited information provided. πŸ™‚

                --
                https://urgero.org
                ~ Professional Nerd. Freelance Programmer. ~
                Matrix: @murgero:urgero.org

                fbartels 1 Reply Last reply Reply Quote 0
                • fbartels
                  fbartels App Dev @murgero last edited by

                  @murgero yes, and sorry for accidentally mentioning you instead of op πŸ˜…

                  1 Reply Last reply Reply Quote 1
                  • jordanurbs
                    jordanurbs last edited by jordanurbs

                    OK thanks everyone! So we removed the 'www' user and made some progress. Now getting this error:

                    App is being installed.
                    
                     => Cleaning up old install 
                     => Downloading image ........
                     => Waiting for DNS propagation 
                     => Configuring reverse proxy ....
                     => Wait for health check ...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
                    
                    App installation error: connect ENETUNREACH 104.21.58.253:443
                    

                    That is not the IP of the cloudron server, and my dev says his IP is dynamic but he doesn't think its his either.

                    nebulon 1 Reply Last reply Reply Quote 0
                    • Moved from Support by  girish girish 
                    • nebulon
                      nebulon Staff @jordanurbs last edited by

                      @jordanurbs the ENETUNREACH error is something else here, the cli would wait for the health check endlessly.

                      So for the app itself, make sure to set healthCheckPath in the manifest and also make sure the app responds with an OK http code (some 200 http status code)

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