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 Unsolved PocketBase
10 Posts 4 Posters 702 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.
  • S Offline
    S Offline
    shrey
    wrote on last edited by shrey
    #1

    Fresh install.

    Dec 25 22:50:44 ==> Creating directories
    Dec 25 22:50:44 ==> Initialise database
    Dec 25 22:50:44 panic: registerHooks: too many open files
    Dec 25 22:50:44 2024-12-25T17:20:44Z
    Dec 25 22:50:44 goroutine 1 [running]:
    Dec 25 22:50:44 github.com/pocketbase/pocketbase/plugins/jsvm.MustRegister(...)
    Dec 25 22:50:44 /home/runner/work/pocketbase/pocketbase/plugins/jsvm/jsvm.go:106
    Dec 25 22:50:44 main.main()
    Dec 25 22:50:44 /home/runner/work/pocketbase/pocketbase/examples/base/main.go:96 +0x6ce
    Dec 25 22:50:46 => Waiting for app to come up
    Dec 25 22:50:47 => Waiting for app to come up
    Dec 25 22:50:48 => Waiting for app to come up
    Dec 25 22:50:49 => Waiting for app to come up
    Dec 25 22:50:50 => Healtheck error: Error: connect ECONNREFUSED 172.18.16.223:8090
    Dec 25 22:50:50 => Waiting for app to come up
    Dec 25 22:50:51 => Waiting for app to come up
    Dec 25 22:50:52 => Waiting for app to come up
    Dec 25 22:50:53 => Waiting for app to come up
    Dec 25 22:50:54 => Waiting for app to come up
    Dec 25 22:50:55 => Waiting for app to come up
    Dec 25 22:50:56 => Waiting for app to come up
    Dec 25 22:50:57 => Waiting for app to come up
    Dec 25 22:50:58 => Waiting for app to come up
    Dec 25 22:50:59 => Waiting for app to come up
    Dec 25 22:51:00 => Healtheck error: Error: connect ECONNREFUSED 172.18.16.223:8090
    Dec 25 22:51:00 => Waiting for app to come up
    Dec 25 22:51:01 => Waiting for app to come up
    Dec 25 22:51:02 => Waiting for app to come up
    Dec 25 22:51:03 => Waiting for app to come up
    Dec 25 22:51:04 => Waiting for app to come up
    Dec 25 22:51:05 => Waiting for app to come up
    Dec 25 22:51:06 => Waiting for app to come up
    Dec 25 22:51:07 => Waiting for app to come up
    Dec 25 22:51:08 => Waiting for app to come up
    Dec 25 22:51:09 => Waiting for app to come up
    Dec 25 22:51:10 => Healtheck error: Error: connect ECONNREFUSED 172.18.16.223:8090
    Dec 25 22:51:10 => Waiting for app to come up
    Dec 25 22:51:12 => Waiting for app to come up
    Dec 25 22:51:13 => Waiting for app to come up
    Dec 25 22:51:14 => Waiting for app to come up
    Dec 25 22:51:15 => Waiting for app to come up
    Dec 25 22:51:16 => Waiting for app to come up
    Dec 25 22:51:17 => Waiting for app to come up
    Dec 25 22:51:18 => Waiting for app to come up
    Dec 25 22:51:19 => Waiting for app to come up
    Dec 25 22:51:20 => Waiting for app to come up
    Dec 25 22:51:20 => Healtheck error: Error: connect ECONNREFUSED 172.18.16.223:8090
    Dec 25 22:51:21 => Waiting for app to come up
    Dec 25 22:51:22 => Waiting for app to come up
    Dec 25 22:51:23 => Waiting for app to come up
    Dec 25 22:51:24 => Waiting for app to come up
    Dec 25 22:51:25 => Waiting for app to come up
    Dec 25 22:51:26 => Waiting for app to come up
    Dec 25 22:51:27 => Waiting for app to come up
    Dec 25 22:51:28 => Waiting for app to come up
    

    9d8699e6-7d76-4bab-b62f-e3efaac618d0-image.png

    1 Reply Last reply
    0
    • 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 Online
                  avatar1024A Online
                  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
                      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