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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. App Packaging & Development
  3. Custom app- App installation error: Installation failed: (HTTP code 500) server error - unable to find user www

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

Scheduled Pinned Locked Moved Solved App Packaging & Development
12 Posts 6 Posters 1.3k Views 6 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.
  • murgeroM murgero

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

    fbartelsF Offline
    fbartelsF Offline
    fbartels
    App Dev
    wrote on last edited by
    #3

    @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).

    murgeroM 1 Reply Last reply
    2
    • jordanurbsJ jordanurbs
      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?

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #4

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

      BrutalBirdieB 1 Reply Last reply
      0
      • girishG girish

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

        BrutalBirdieB Offline
        BrutalBirdieB Offline
        BrutalBirdie
        Partner
        wrote on last edited by
        #5

        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 drink. Cheers!

        1 Reply Last reply
        0
        • fbartelsF fbartels

          @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).

          murgeroM Offline
          murgeroM Offline
          murgero
          App Dev
          wrote on last edited by
          #6

          @fbartels Yes, could be that too - I was just going off the limited information provided. 🙂

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

          fbartelsF 1 Reply Last reply
          0
          • murgeroM murgero

            @fbartels Yes, could be that too - I was just going off the limited information provided. 🙂

            fbartelsF Offline
            fbartelsF Offline
            fbartels
            App Dev
            wrote on last edited by
            #7

            @murgero yes, and sorry for accidentally mentioning you instead of op 😅

            1 Reply Last reply
            1
            • jordanurbsJ Offline
              jordanurbsJ Offline
              jordanurbs
              wrote on last edited by jordanurbs
              #8

              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.

              nebulonN 1 Reply Last reply
              0
              • girishG girish moved this topic from Support on
              • jordanurbsJ 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.

                nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #9

                @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
                1
                • jordanurbsJ Offline
                  jordanurbsJ Offline
                  jordanurbs
                  wrote on last edited by
                  #10

                  Sorry for the late reply but the developer finally figured it out. It was his first time working with Cloudron.

                  Thanks again for all the support.

                  nebulonN 1 Reply Last reply
                  1
                  • nebulonN nebulon marked this topic as a question on
                  • nebulonN nebulon has marked this topic as solved on
                  • jordanurbsJ jordanurbs

                    Sorry for the late reply but the developer finally figured it out. It was his first time working with Cloudron.

                    Thanks again for all the support.

                    nebulonN Offline
                    nebulonN Offline
                    nebulon
                    Staff
                    wrote on last edited by
                    #11

                    @jordanurbs was there any specific solution worth sharing?

                    jordanurbsJ 1 Reply Last reply
                    0
                    • nebulonN nebulon

                      @jordanurbs was there any specific solution worth sharing?

                      jordanurbsJ Offline
                      jordanurbsJ Offline
                      jordanurbs
                      wrote on last edited by
                      #12

                      @nebulon I wasn't told exactly but believe it had something to do with removing the www user

                      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