How to trigger app reboot on a schedule
-
The Wekan app has performance issues with things like copying cards from one board to another and the process gets slower and slower the longer the Wekan app is running.
Our work around is to reboot the Wekan app before doing the card copies which helps dramatically.
Is there a command I can enter into the Cron section of the Cloudron's app configuration that will reboot the app on a set schedule, or said another way, is there a command that can be run from an app's terminal that will restart the app?
I tried
rebootin the app's terminal and get the following:System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down Failed to talk to init daemon. -
This might be worth reporting upstream for a start.
Apps on cloudron are not rebooted but restarted, there is no way an app itself restarts itself unless the main container process gets killed (which is probably possible).
Cloudron has APIs for this though https://docs.cloudron.io/api.html#tag/Apps/paths/~1apps~1{appid}~1restart/post
-
N nebulon marked this topic as a question on
-
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