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. Support
  3. Not found: Unable to find container postgresql

Not found: Unable to find container postgresql

Scheduled Pinned Locked Moved Solved Support
9 Posts 3 Posters 1.6k Views 3 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.
    • saikarthikS Offline
      saikarthikS Offline
      saikarthik
      wrote on last edited by
      #1

      I moved my cloudron instance from one ec2 instance to another in another AWS account. I was able to setup the new instance using the cloudron backup. But when trying to recover a custom app, I get this error:

      Not found: Unable to find container postgresql
      

      The custom app uses its own postgresql container. How can I fix this?

      girishG 1 Reply Last reply
      0
      • saikarthikS saikarthik

        I moved my cloudron instance from one ec2 instance to another in another AWS account. I was able to setup the new instance using the cloudron backup. But when trying to recover a custom app, I get this error:

        Not found: Unable to find container postgresql
        

        The custom app uses its own postgresql container. How can I fix this?

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

        @saikarthik Is the service running under Services? Is Postgresql green there?

        Also, when you say the app uses it's own postgresql container, do you mean you wrote a custom app that has postgresql inside it?

        saikarthikS 1 Reply Last reply
        1
        • girishG girish

          @saikarthik Is the service running under Services? Is Postgresql green there?

          Also, when you say the app uses it's own postgresql container, do you mean you wrote a custom app that has postgresql inside it?

          saikarthikS Offline
          saikarthikS Offline
          saikarthik
          wrote on last edited by saikarthik
          #3

          @girish

          1. postgresql service was off. I clicked on restart and started the recovery from backup option again and I got a new error:
          An error occurred during the import operation: External Error: EPERM: operation not permitted, utime '/home/yellowtent/appsdata/42aecba7-1aa8-43c5-a183-8a27d2c3a6d8/'
          

          From the logs:

          Nov 23 16:45:16 box:backuptask tarExtract: extract stream error. [Error: EPERM: operation not permitted, utime '/home/yellowtent/appsdata/42aecba7-1aa8-43c5-a183-8a27d2c3a6d8/'] {
          errno: -1,
          code: 'EPERM',
          syscall: 'utime',
          path: '/home/yellowtent/appsdata/42aecba7-1aa8-43c5-a183-8a27d2c3a6d8/'
          

          Quick follow-up, how should I access what services need to be on in the services section?

          1. No, the custom app uses the PostgreSQL addon.
          nebulonN 1 Reply Last reply
          0
          • saikarthikS saikarthik

            @girish

            1. postgresql service was off. I clicked on restart and started the recovery from backup option again and I got a new error:
            An error occurred during the import operation: External Error: EPERM: operation not permitted, utime '/home/yellowtent/appsdata/42aecba7-1aa8-43c5-a183-8a27d2c3a6d8/'
            

            From the logs:

            Nov 23 16:45:16 box:backuptask tarExtract: extract stream error. [Error: EPERM: operation not permitted, utime '/home/yellowtent/appsdata/42aecba7-1aa8-43c5-a183-8a27d2c3a6d8/'] {
            errno: -1,
            code: 'EPERM',
            syscall: 'utime',
            path: '/home/yellowtent/appsdata/42aecba7-1aa8-43c5-a183-8a27d2c3a6d8/'
            

            Quick follow-up, how should I access what services need to be on in the services section?

            1. No, the custom app uses the PostgreSQL addon.
            nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #4

            @saikarthik if an app (in this case your custom app) wants to use any of the available addons, then they have to be added to the services section of the CoudronManifest.json see https://docs.cloudron.io/packaging/addons/ for all addons

            Regarding the permissions, this seems to be now related to the app itself. Can you check if this folder is owned by the user yellowtent ?

            saikarthikS 1 Reply Last reply
            1
            • nebulonN nebulon

              @saikarthik if an app (in this case your custom app) wants to use any of the available addons, then they have to be added to the services section of the CoudronManifest.json see https://docs.cloudron.io/packaging/addons/ for all addons

              Regarding the permissions, this seems to be now related to the app itself. Can you check if this folder is owned by the user yellowtent ?

              saikarthikS Offline
              saikarthikS Offline
              saikarthik
              wrote on last edited by
              #5

              @nebulon Yes, this was a working app. Still works in the old instance. I am just trying to move it to another instance using backups and facing these issues.

              I do not recognize yellowtent. Is this something internally used by cloudron? I don't have a user called yellowtent for the app itself.

              nebulonN 1 Reply Last reply
              0
              • saikarthikS saikarthik

                @nebulon Yes, this was a working app. Still works in the old instance. I am just trying to move it to another instance using backups and facing these issues.

                I do not recognize yellowtent. Is this something internally used by cloudron? I don't have a user called yellowtent for the app itself.

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

                @saikarthik yellowtent is just the name of the unix user for the Cloudron related processes (it used to be the codename of our first prototype 😉 ). It is not available to the app, but in this case you have to ensure the permissions on the system itself for that folder are correct. So do this via SSH.

                1 Reply Last reply
                1
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by girish
                  #7

                  Would be good to know what the permissions of /home/yellowtent/appsdata/42aecba7-1aa8-43c5-a183-8a27d2c3a6d8/ are as it stands right now. Strange to see EPERM error there. The restore logic usually cleans up the old directory content (as root) and then restores as a "normal" user (the yellowtent user).

                  (I have a task to rename the 'yellowtent' user to 'cloudron' at some point, but it requires some work. And unfortunately, some users have already created a 'cloudron' user in some of their installations.)

                  saikarthikS 1 Reply Last reply
                  1
                  • girishG girish

                    Would be good to know what the permissions of /home/yellowtent/appsdata/42aecba7-1aa8-43c5-a183-8a27d2c3a6d8/ are as it stands right now. Strange to see EPERM error there. The restore logic usually cleans up the old directory content (as root) and then restores as a "normal" user (the yellowtent user).

                    (I have a task to rename the 'yellowtent' user to 'cloudron' at some point, but it requires some work. And unfortunately, some users have already created a 'cloudron' user in some of their installations.)

                    saikarthikS Offline
                    saikarthikS Offline
                    saikarthik
                    wrote on last edited by
                    #8

                    @girish said in Not found: Unable to find container postgresql:

                    (I have a task to rename the 'yellowtent' user to 'cloudron' at some point, but it requires some work. And unfortunately, some users have already created a 'cloudron' user in some of their installations.)

                    The owner was ubuntu. I manually changed the owner and group to yellowtent and that fixed the issues, and the app is running fine now. However, the old postgres data is missing. Is there some manual process required to move the postgres data from old instance to new instance? How can I achieve this?

                    saikarthikS 1 Reply Last reply
                    0
                    • saikarthikS saikarthik

                      @girish said in Not found: Unable to find container postgresql:

                      (I have a task to rename the 'yellowtent' user to 'cloudron' at some point, but it requires some work. And unfortunately, some users have already created a 'cloudron' user in some of their installations.)

                      The owner was ubuntu. I manually changed the owner and group to yellowtent and that fixed the issues, and the app is running fine now. However, the old postgres data is missing. Is there some manual process required to move the postgres data from old instance to new instance? How can I achieve this?

                      saikarthikS Offline
                      saikarthikS Offline
                      saikarthik
                      wrote on last edited by
                      #9

                      Followed this guide and everything is back to normal. Thanks guys!
                      https://docs.cloudron.io/guides/import-postgresql/

                      1 Reply Last reply
                      1
                      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