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. PocketBase
  3. App not starting

App not starting

Scheduled Pinned Locked Moved Solved PocketBase
12 Posts 5 Posters 842 Views 4 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.
  • nebulonN Offline
    nebulonN Offline
    nebulon
    Staff
    wrote on last edited by
    #2

    Looks like something in the app is using up too many file descriptors, as from the logs: "panic: registerHooks: too many open files"

    I would suggest to wait for a stable package release in this case.

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

      It seems to work on the demo cloudron and also on my test servers.

      https://github.com/pocketbase/pocketbase/discussions/3703 is an upstream report which suggests changing host's ulimit .

      S 1 Reply Last reply
      0
      • girishG girish

        It seems to work on the demo cloudron and also on my test servers.

        https://github.com/pocketbase/pocketbase/discussions/3703 is an upstream report which suggests changing host's ulimit .

        S Offline
        S Offline
        shrey
        wrote on last edited by
        #4

        @girish Hi. Is this something that needs to configured on my end?

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

          Can you check ulimit -a output? (or I think ulimit -n) . I have 1024 for open files in my server and pocketbase runs fine here...

          S 1 Reply Last reply
          0
          • girishG girish

            Can you check ulimit -a output? (or I think ulimit -n) . I have 1024 for open files in my server and pocketbase runs fine here...

            S Offline
            S Offline
            shrey
            wrote on last edited by
            #6

            @girish

            root@apps:~# ulimit -n
            1048576
            
            girishG 1 Reply Last reply
            0
            • S shrey

              @girish

              root@apps:~# ulimit -n
              1048576
              
              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #7

              @shrey thanks. can you also check docker inspect <containerid> --format='{{json .HostConfig.Ulimits}}' . The containerid you can get from docker ps . The limit you posted above seems plenty. Maybe we have to ask this upstream since the error itself comes from the app.

              S 1 Reply Last reply
              0
              • avatar1024A Offline
                avatar1024A Offline
                avatar1024
                wrote on last edited by
                #8

                @shrey did you try to reboot your server?

                S 1 Reply Last reply
                0
                • girishG girish

                  @shrey thanks. can you also check docker inspect <containerid> --format='{{json .HostConfig.Ulimits}}' . The containerid you can get from docker ps . The limit you posted above seems plenty. Maybe we have to ask this upstream since the error itself comes from the app.

                  S Offline
                  S Offline
                  shrey
                  wrote on last edited by
                  #9

                  @girish said in App not starting:

                  docker inspect <containerid> --format='{{json .HostConfig.Ulimits}}'

                  "Ulimits": null
                  
                  1 Reply Last reply
                  0
                  • avatar1024A avatar1024

                    @shrey did you try to reboot your server?

                    S Offline
                    S Offline
                    shrey
                    wrote on last edited by
                    #10

                    @avatar1024 Since i've installed the app, yes...have rebooted Cloudron once.

                    1 Reply Last reply
                    0
                    • jamesJ Offline
                      jamesJ Offline
                      james
                      Staff
                      wrote last edited by
                      #11

                      @shrey can this topic be marked as solved?

                      S 1 Reply Last reply
                      0
                      • jamesJ james

                        @shrey can this topic be marked as solved?

                        S Offline
                        S Offline
                        shrey
                        wrote last edited by
                        #12

                        @james Hi. Sorry, i didn't go ahead with PocketBase after this. So, can't say what's that current status.

                        1 Reply Last reply
                        0
                        • jamesJ james has marked this topic as solved
                        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