kiranshila / Doplarr

An *arr request bot for Discord
MIT License
407 stars 30 forks source link

Doplarr bot fails to come online after system restart #131

Open ghost opened 7 months ago

ghost commented 7 months ago

Describe the bug Hi all - when I reboot my computer running Ubuntu 23.10 (x86-64), Doplarr bot does not automatically come online. I have waited up to 15 minutes to see if it comes online after a reboot and it does not. However, if I run "sudo systemctl restart doplarr," my Doplarr bot comes online in Discord within 30 seconds and all works as expected (can make requests as expected). This same issue also happened to me before when I was running Doplarr on Ubuntu 23.04 ARM, but that system has since been wiped and I do not have any logs from it.

Expected behavior I expect the Doplarr daemon to load and get the Discord bot online automatically after a system restart.

Logs sudo systemctl status doplarr doplarr.service - Doplarr Daemon Loaded: loaded (/etc/systemd/system/doplarr.service; enabled; preset: enabled) Active: active (running) since Thu 2023-11-16 13:33:55 EST; 4min 35s ago Main PID: 1094 (java) Tasks: 28 (limit: 18916) Memory: 241.2M CPU: 8.071s CGroup: /system.slice/doplarr.service └─1094 /usr/bin/java -jar /opt/Doplarr/doplarr.jar -Dconfig=config.edn

Nov 16 13:33:55 ProDesk400G4 systemd[1]: Started doplarr.service - Doplarr Daemon. Nov 16 13:33:58 ProDesk400G4 java[1094]: 2023-11-16T18:33:58.411Z ProDesk400G4 INFO [doplarr.config:66] - Configuration is valid Nov 16 13:33:58 ProDesk400G4 java[1094]: 2023-11-16T18:33:58.600Z ProDesk400G4 INFO [discljord.messaging.impl:?] - Starting messaging process

Additional context I believe I've provided everything needed, but I can certainly provide more logs or context if needed. Thank you for your time in developing Doplarr!