lemmy_ynh
lemmy_ynh copied to clipboard
Lemmy fails to start up automatically after server boots
Describe the bug
This issue is a crosspost from Lemmy fails to start up automatically after server boots. Basically, every time I (re)start my server, I have to start Lemmy manually, either from the services page in the Yunohost admin or the command line. It does not start automatically. It has been at least three weeks since it has started automatically. Start on boot is enabled; at least, that's what it says on the Lemmy service page.
Context
- Hardware: Virtualbox on an old desktop running Ubuntu
- YunoHost version: 11.2.4
- I have access to my server: Through the webadmin and direct access via keyboard / screen.
- Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: No
- Using: Lemmy 0.18.2~ynh1
Steps to reproduce
- Reboot server or start from shut down
Expected behavior
The Lemmy service should start on boot just like the other services.
Logs
Here's an updated log, compared to what I originally shared on the Yunohost forms. I actually restored a 9/20 backup because I was having stability issues since then if you noticed the discrepancy in the dates. Not sure if that problem is related. Anyway, I think this part is the relevant sequence:
-- Boot 56a8946f82314737a3d20ad163f4419f --
Oct 02 19:53:09 systemd[1]: Started Lemmy: Link aggregator.
Oct 02 19:53:16 systemd[1]: lemmy.service: Main process exited, code=exited, status=101/n/a
Oct 02 19:53:16 systemd[1]: lemmy.service: Failed with result 'exit-code'.
Oct 02 20:04:27 systemd[1]: Started Lemmy: Link aggregator.