App not starting
-
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
-
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 .
-
Can you check
ulimit -aoutput? (or I thinkulimit -n) . I have 1024 for open files in my server and pocketbase runs fine here... -
@shrey thanks. can you also check
docker inspect <containerid> --format='{{json .HostConfig.Ulimits}}'. The containerid you can get fromdocker ps. The limit you posted above seems plenty. Maybe we have to ask this upstream since the error itself comes from the app. -
@shrey did you try to reboot your server?
-
@shrey thanks. can you also check
docker inspect <containerid> --format='{{json .HostConfig.Ulimits}}'. The containerid you can get fromdocker ps. The limit you posted above seems plenty. Maybe we have to ask this upstream since the error itself comes from the app. -
@shrey did you try to reboot your server?
@avatar1024 Since i've installed the app, yes...have rebooted Cloudron once.
-
J james has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login