2024-07-10, 03:20 PM
Hi, I installed jellyfin on a k3s server (similar to docker). The movies are stored on a NAS, but the problem is that the library shows me only one movie, while the folder contains several... I can search for the movies and then they will be displayed. If I search for 'Top Gun', it will show me Top Gun, but if I search for 'T', it won't show me all the films that start with 'T' but only one.
Here's my configuration for Kubernetes:
Here are the movies that are found in jellyfin :
They're all there. Here are the permissions on the files on the NAS:
Here are the permissions for files in the Jellyfin container :
Here are the logs I get when I scan the library :
I've noticed that throughout the scan, the scan remains at 0%, from start to finish.
Here's my configuration for Kubernetes:
Code:
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: media
name: dep-jellyfin
namespace: media
spec:
progressDeadlineSeconds: 600
replicas: 1
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
selector:
matchLabels:
app: jellyfin
template:
metadata:
labels:
app: jellyfin
spec:
containers:
- image: jellyfin/jellyfin
imagePullPolicy: Always
name: jellyfin
securityContext:
runAsUser: 1000
runAsGroup: 1000
env:
- name: JELLYFIN_PublishedServerUrl
value: http://media.myjellyfin.fr
ports:
- containerPort: 8096
name: http-tcp
protocol: TCP
volumeMounts:
- mountPath: /config
name: pv-jellyfin
- mountPath: /cache
name: pv-media
- mountPath: /media
name: pv-media
subPath: media
restartPolicy: Always
volumes:
- name: pv-jellyfin
persistentVolumeClaim:
claimName: pvc-jellyfin
- name: pv-media
persistentVolumeClaim:
claimName: pvc-media
They're all there. Here are the permissions on the files on the NAS:
Code:
total 99
drwxrwxrwx 6 1000 1000 6 Jul 9 21:08 .
drwxrwxrwx 3 1000 1000 3 Jul 9 22:25 ..
drwxr-xr-x 2 1000 1000 3 Jun 13 20:08 'Elemental (2023)'
drwxr-xr-x 2 1000 1000 3 Jul 9 21:08 'Now You See Me (2013)'
drwxr-xr-x 2 1000 1000 3 Jun 13 19:56 'The Super Mario Bros. Movie (2023)'
drwxr-xr-x 2 1000 1000 3 Jun 13 23:34 'Top Gun Maverick (2022)'
'./Elemental (2023)':
total 7518746
drwxr-xr-x 2 1000 1000 3 Jun 13 20:08 .
drwxrwxrwx 6 1000 1000 6 Jul 9 21:08 ..
-rw-r--r-- 1 1000 1000 7693540929 Jun 13 20:07 '[ Torrent911.io ] Elemental.2023.TRUEFRENCH.1080p.WEB.H264-ONLYMOViE.mkv'
'./Now You See Me (2013)':
total 3381414
drwxr-xr-x 2 1000 1000 3 Jul 9 21:08 .
drwxrwxrwx 6 1000 1000 6 Jul 9 21:08 ..
-rw-r--r-- 1 1000 1000 3461412428 Jul 9 20:51 'Now You See Me (2013).mkv'
'./The Super Mario Bros. Movie (2023)':
total 12789154
drwxr-xr-x 2 1000 1000 3 Jun 13 19:56 .
drwxrwxrwx 6 1000 1000 6 Jul 9 21:08 ..
-rw-r--r-- 1 1000 1000 13087119065 Jun 13 19:55 '[ Torrent911.me ] The.Super.Mario.Bros.Movie.2023.MULTi.1080p.BluRay.x264-ONLYMOViE.mkv'
'./Top Gun Maverick (2022)':
total 11637222
drwxr-xr-x 2 1000 1000 3 Jun 13 23:34 .
drwxrwxrwx 6 1000 1000 6 Jul 9 21:08 ..
-rw-r--r-- 1 1000 1000 11909056140 Jun 13 23:34 '[ Torrent911.cc ] Top.Gun.Maverick.2022.MULTi.TRUEFRENCH.1080p.BluRay.x264.AC3-EXTREME.mkv'
admin@truenas[...d-45d9-bea4-e2e1b308bdc8/media/movies]$ ll
total 99
drwxrwxrwx 6 1000 6 Jul 9 21:08 ./
drwxrwxrwx 3 1000 3 Jul 9 22:25 ../
drwxr-xr-x 2 1000 3 Jun 13 20:08 'Elemental (2023)'/
drwxr-xr-x 2 1000 3 Jul 9 21:08 'Now You See Me (2013)'/
drwxr-xr-x 2 1000 3 Jun 13 19:56 'The Super Mario Bros. Movie (2023)'/
drwxr-xr-x 2 1000 3 Jun 13 23:34 'Top Gun Maverick (2022)'/
Code:
total 99
drwxrwxrwx 6 1000 1000 6 Jul 9 19:08 .
drwxrwxrwx 3 1000 1000 3 Jul 9 20:25 ..
drwxr-xr-x 2 1000 1000 3 Jun 13 18:08 'Elemental (2023)'
drwxr-xr-x 2 1000 1000 3 Jul 9 19:08 'Now You See Me (2013)'
drwxr-xr-x 2 1000 1000 3 Jun 13 17:56 'The Super Mario Bros. Movie (2023)'
drwxr-xr-x 2 1000 1000 3 Jun 13 21:34 'Top Gun Maverick (2022)'
'./Elemental (2023)':
total 7518746
drwxr-xr-x 2 1000 1000 3 Jun 13 18:08 .
drwxrwxrwx 6 1000 1000 6 Jul 9 19:08 ..
-rw-r--r-- 1 1000 1000 7693540929 Jun 13 18:07 '[ Torrent911.io ] Elemental.2023.TRUEFRENCH.1080p.WEB.H264-ONLYMOViE.mkv'
'./Now You See Me (2013)':
total 3381414
drwxr-xr-x 2 1000 1000 3 Jul 9 19:08 .
drwxrwxrwx 6 1000 1000 6 Jul 9 19:08 ..
-rw-r--r-- 1 1000 1000 3461412428 Jul 9 18:51 'Now You See Me (2013).mkv'
'./The Super Mario Bros. Movie (2023)':
total 12789154
drwxr-xr-x 2 1000 1000 3 Jun 13 17:56 .
drwxrwxrwx 6 1000 1000 6 Jul 9 19:08 ..
-rw-r--r-- 1 1000 1000 13087119065 Jun 13 17:55 '[ Torrent911.me ] The.Super.Mario.Bros.Movie.2023.MULTi.1080p.BluRay.x264-ONLYMOViE.mkv'
'./Top Gun Maverick (2022)':
total 11637222
drwxr-xr-x 2 1000 1000 3 Jun 13 21:34 .
drwxrwxrwx 6 1000 1000 6 Jul 9 19:08 ..
-rw-r--r-- 1 1000 1000 11909056140 Jun 13 21:34 '[ Torrent911.cc ] Top.Gun.Maverick.2022.MULTi.TRUEFRENCH.1080p.BluRay.x264.AC3-EXTREME.mkv'
Code:
[15:17:10] [INF] [118] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path /media/movies
[15:17:10] [INF] [118] Emby.Server.Implementations.Library.LibraryManager: Validating media library
[15:17:10] [WRN] [118] MediaBrowser.Controller.Entities.BaseItem: Library folder /config/data/playlists is inaccessible or empty, skipping
[15:17:10] [WRN] [118] MediaBrowser.Controller.Entities.BaseItem: Library folder /config/data/playlists is inaccessible or empty, skipping
[15:17:10] [INF] [128] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting /usr/lib/jellyfin-ffmpeg/ffprobe with args -analyzeduration 200M -probesize 1G -i file:"/media/movies/Top Gun Maverick (2022)/[ Torrent911.cc ] Top.Gun.Maverick.2022.MULTi.TRUEFRENCH.1080p.BluRay.x26
4.AC3-EXTREME.mkv" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format
[15:17:10] [INF] [118] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting /usr/lib/jellyfin-ffmpeg/ffprobe with args -analyzeduration 200M -probesize 1G -i file:"/media/movies/Elemental (2023)/[ Torrent911.io ] Elemental.2023.TRUEFRENCH.1080p.WEB.H264-ONLYMOViE.mkv" -threa
ds 0 -v warning -print_format json -show_streams -show_chapters -show_format
[15:17:10] [INF] [127] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting /usr/lib/jellyfin-ffmpeg/ffprobe with args -analyzeduration 200M -probesize 1G -i file:"/media/movies/The Super Mario Bros. Movie (2023)/[ Torrent911.me ] The.Super.Mario.Bros.Movie.2023.MULTi.1080p.
BluRay.x264-ONLYMOViE.mkv" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format
[15:17:10] [INF] [131] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting /usr/lib/jellyfin-ffmpeg/ffprobe with args -analyzeduration 200M -probesize 1G -i file:"/media/movies/Now You See Me (2013)/Now You See Me (2013).mkv" -threads 0 -v warning -print_format json -show_s
treams -show_chapters -show_format
[matroska,webm @ 0x559db67c0ec0] Could not find codec parameters for stream 6 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (200000000) and 'probesize' (1000000000) options
[15:18:53] [INF] [118] Emby.Server.Implementations.ScheduledTasks.TaskManager: Scan Media Library Completed after 1 minute(s) and 42 seconds
[15:18:53] [INF] [127] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /media/movies