Jellyfin Forum
Autostarting - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Autostarting (/t-autostarting)



Autostarting - rayfield - 2023-11-26

Installation on the new NUC went smoothly as could be expected, basically all is working real well - only a couple issues with Portainer and Docker: first, I couldn't find a way to not have to log in to Portainer at bootup, so running headless means I have to have another computer switched on to get it running. When I do log in, invariably while Portainer itself is chugging along, Jellyfin has exited, meaning I have to click on it and restart it.

Also, somewhere along the line I started over again with Jellyfin configuration, so as a result I have two server instances I have to choose from when I log in. How do I delete the other one? Definitely would have to get rid of that if I'm ever going to be able to start the server without turning another device on.


RE: Autostarting - tmsrxzar - 2023-11-26

honestly 2 seconds on google

https://docs.docker.com/config/containers/start-containers-automatically

https://docs.portainer.io/user/docker/containers/remove


RE: Autostarting - rayfield - 2023-11-26

Thanks sorry but I wasn't even aware of an option in Portainer to add to Docker scripts, still not sure how to add that parameter to Portainer but at least that's a start. I may possibly be a little burnt out from having spent most of yesterday googling every detail of setting up a headless server and having it do everything I need it to do.

I'm not trying to delete a container I'm trying to delete one of the two Jellyfin servers I created.


RE: Autostarting - tmsrxzar - 2023-11-26

how have you created 2 jellyfin servers if not in 2 separate containers??

in portainer, open the docker for the jellyfin you want to autostart
click duplicate/edit
scoll down to advanced container settings
click restart policy
click unless stopped

then click "Deploy Container" to save changes


RE: Autostarting - rayfield - 2023-11-26

(2023-11-26, 05:53 PM)tmsrxzar Wrote: how have you created 2 jellyfin servers if not in 2 separate containers??
Wasn't easy! I believe at some point during the dull, grinding frenzy of setting everything up I thought I was renaming the server to something recognizable instead of a bunch of letters and numbers. Didn't mind redoing it, in fact after having used JF for a few years I realized the workflow needed revising, which is why I didn't just reinstall the backup I'd made.

(2023-11-26, 05:53 PM)tmsrxzar Wrote: in portainer, open the docker for the jellyfin you want to autostart
click duplicate/edit
scoll down to advanced container settings
click restart policy
click unless stopped

then click "Deploy Container" to save changes

Thanks much, that sorted it.


RE: Autostarting - rayfield - 2023-11-27

Just in case someone else manages to do this: on startup, if/when you are presented with two (or more?) servers, click on each one you don't want and you will be offered the choice to either start or delete it.