2024-04-14, 01:16 PM
(2024-04-14, 01:09 AM)TheDreadPirate Wrote: How long did you run it as a command? Is starting over not an option?
You could try moving the files it created in your home directory to /var/lib/jellyfin and /etc/jellyfin. Making sure to change ownership to jellyfin.
Nowadays I progress pretty slowly with these things (hard to find the time) so at some point a couple of weeks ago or so I finally got around installing jellyfin and then run it as a command to test if it worked and how it worked.
Took me a few days to get time to investigate why I could connect in the same laptop but not externally in the same network. Of course it was the port not being open but it was a new install of endeavourOS to try it out so I wasn't aware it has a firewall running, once I realized, it was easy to fix. After that I left it running for a few days until I had the chance this weekend to make sure it starts when restarting the laptop.
Wasn't sure how to answer your question about how long I run it, so I thought I'd just provide some generic background instead.
I have moved the two folders in ~/.local/share and ~/.config to the respective folders in /var/lib and /etc, changed the permissions for everything to jellyfin:jellyfin. When I start jellyfin using systemctl it still fails. I think there's some other folder missing?
Of course I could start over everything but it feels like it would be more work than solving it as everything is done and installed and configured correctly. It works if run as a process for the user logged in, but not as a system process...? Kinda strange. Do you think caching could be an issue? I didn't bother removing it. The other folders in the configuration page of the documentation didn't seem to be related to the user.
For added details, this is the error it throws when trying to start it using systemctl:
Quote:jellyfin.service: Failed to load environment files: No such file or directory
jellyfin.service: Failed to spawn 'start' task: No such file or directory
jellyfin.service: Failed with result 'resources'.
Does that indicate what is actually missing? What is the resources it fails to load?