User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
services:jellyfin [2024/09/10 13:19] willyservices:jellyfin [2025/08/07 07:53] (current) willy
Line 6: Line 6:
  
 A brief summary: A brief summary:
-  * JellyFin is open-source, you have full control on your media collection and vieweing.+  * JellyFin is open-source, you have full control on your media collection and viewing.
   * Emby used to be open-source, so i will pass on that. The only positive thing might be more clients (es: Samsung TV) than JellyFin.   * Emby used to be open-source, so i will pass on that. The only positive thing might be more clients (es: Samsung TV) than JellyFin.
   * Plex is a proprietary solution that uses it's own servers to stream to you your collection. It's a hard pass for me.   * Plex is a proprietary solution that uses it's own servers to stream to you your collection. It's a hard pass for me.
Line 12: Line 12:
 ===== Installation ===== ===== Installation =====
  
-You are lucky and the JellyFin mediaserver can be easily installed on Gentoo linux. You need to unmask it first:+You are lucky and the JellyFin media-server can be easily installed on Gentoo linux. You need to unmask it first:
 <code bash> <code bash>
 echo www-apps/jellyfin ~amd64 >> /etc/portage/package.accept_keywords/servarr echo www-apps/jellyfin ~amd64 >> /etc/portage/package.accept_keywords/servarr
Line 36: Line 36:
   * the cache folder under /var/cache/jellyfin   * the cache folder under /var/cache/jellyfin
   * the configuration folder under /etc/jellyfin/   * the configuration folder under /etc/jellyfin/
-  * the logs folder under /var/logs/jellyfin+  * the logs folder under /var/logs/jellyfin, which is just fine
  
 which i don't like for a few reasons: which i don't like for a few reasons:
Line 48: Line 48:
 mv /var/cache/jellyfin /data/daemons/jellyfin/cache mv /var/cache/jellyfin /data/daemons/jellyfin/cache
 mv /etc/jellyfin /data/daemons/jellyfin/config mv /etc/jellyfin /data/daemons/jellyfin/config
-mv /var/logs/jellyfin /data/daemons/jellyfin/logs 
 </code> </code>
  
Line 55: Line 54:
 # This is the directory that will hold all Jellyfin data, and is also used as a default base directory for some other paths below. # This is the directory that will hold all Jellyfin data, and is also used as a default base directory for some other paths below.
 JELLYFIN_DATA_DIR=/data/daemons/jellyfin/data JELLYFIN_DATA_DIR=/data/daemons/jellyfin/data
- 
-# This is the directory where the Jellyfin logs will be stored. 
-JELLYFIN_LOG_DIR=/data/daemons/jellyfin/logs 
  
 # This is the directory containing the server cache. # This is the directory containing the server cache.
Line 66: Line 62:
 </code> </code>
  
-That's is, JellyFin is installed.+That's is, JellyFin is installed, now setup logrotation... 
 + 
 +Create the file **/etc/logrotata.d/jellyfin**: 
 +<file - jellyfin> 
 +/var/logs/jellyfin/*.log { 
 +    missingok 
 +    notifempty 
 +
 +</file> 
 + 
 +that's it.
  
 ==== SSO Configuration ==== ==== SSO Configuration ====

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information