Jellyfin Forum
SMB Mount ( IPv6), JF Cleanup Too Early - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SMB Mount ( IPv6), JF Cleanup Too Early (/t-smb-mount-ipv6-jf-cleanup-too-early)

Pages: 1 2


RE: SMB Mount ( IPv6), JF Cleanup Too Early - pixel24 - 2024-06-10

And as mentioned, on another VM with JF 10.8.13, the shares are mounted in the same way. This problem has never occurred there.


RE: SMB Mount ( IPv6), JF Cleanup Too Early - TheDreadPirate - 2024-06-10

See my prior post. RequiresMountFor does not go in a separate .conf file. It goes in jellyfin.server. I provided you with a direct copy and paste example in the post.


RE: SMB Mount ( IPv6), JF Cleanup Too Early - pixel24 - 2024-06-11

Okay, I added it to the file:
/etc/systemd/system/multi-user.target.wants/jellyfin.service

Code:
[Unit]
Description = Jellyfin Media Server
After = network-online.target

[Service]
RequiresMountsFor=/data01/Musik2
Type = simple
EnvironmentFile = /etc/default/jellyfin
User = jellyfin
Group = jellyfin
WorkingDirectory = /var/lib/jellyfin
ExecStart = /usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPTS
Restart = on-failure
TimeoutSec = 15
SuccessExitStatus=0 143

[Install]
WantedBy = multi-user.target


However, the behavior remains the same even after refilling the playlist.


RE: SMB Mount ( IPv6), JF Cleanup Too Early - TheDreadPirate - 2024-06-11

On the command line, su to the jellyfin user with a temp bash shell.

sudo su jellyfin -s /bin/bash

Are you able to access your SMB mount as Jellyfin?


RE: SMB Mount ( IPv6), JF Cleanup Too Early - pixel24 - 2024-06-11

Yes, no problem:

Code:
root@media02:~# su jellyfin -s /bin/bash
jellyfin@media02:/root$ cd /data01/Musik2/10cc/The\ Very\ Best\ Of\ 10cc/
jellyfin@media02:/data01/Musik2/10cc/The Very Best Of 10cc$ touch test.txt
jellyfin@media02:/data01/Musik2/10cc/The Very Best Of 10cc$ rm test.txt
jellyfin@media02:/data01/Musik2/10cc/The Very Best Of 10cc$



RE: SMB Mount ( IPv6), JF Cleanup Too Early - pixel24 - 2024-06-12

It definitely has nothing to do with the SMB mount! I created a new playlist and added a few albums.
Played the songs in the playlist, no problem. Navigated through the mount in the console, no problem. Then...



Code:
root@media02:~# systemctl restart jellyfin && journalctl -f
Jun 12 10:34:22 media02 jellyfin[818]: [10:34:22] [INF] Running query planner optimizations in the database... This might take a while
Jun 12 10:34:22 media02 jellyfin[818]: [10:34:22] [INF] Disposing CoreAppHost
Jun 12 10:34:22 media02 jellyfin[818]: [10:34:22] [INF] Disposing MusicBrainzArtistProvider
Jun 12 10:34:22 media02 jellyfin[818]: [10:34:22] [INF] Disposing MusicBrainzAlbumProvider
Jun 12 10:34:22 media02 jellyfin[818]: [10:34:22] [INF] Disposing PluginManager
Jun 12 10:34:22 media02 systemd[1]: jellyfin.service: Deactivated successfully.
Jun 12 10:34:22 media02 systemd[1]: Stopped jellyfin.service - Jellyfin Media Server.
Jun 12 10:34:22 media02 systemd[1]: jellyfin.service: Consumed 52min 56.234s CPU time.
Jun 12 10:34:22 media02 systemd[1]: Started jellyfin.service - Jellyfin Media Server.
Jun 12 10:34:22 media02 systemd[1]: Started sssd-nss.service - SSSD NSS Service responder.
Jun 12 10:34:22 media02 sssd_nss[60910]: Starting up
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Jellyfin version: 10.9.6
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Environment Variables: ["[JELLYFIN_ARGS, $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLFIN_ADDITIONAL_OPTS --datadir $JELLYFIN_DATA_DIR --configdir $JELLYFIN_CONFIG_DIR --logdir $JELLYFIN_LOG_DIR --cachedir $JELLYFIN_CACHE_DIR]", "[JELLYFIN_WEB_OPT, --webdir=/usr/share/jellyfin/web]", "[JELLYFIN_FFMPEG_OPT, --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_LOG_DIR, /var/log/jellyfin]", "[JELLYFIN_USER, jellyfin]", "[JELLYFIN_CONFIG_DIR, /etc/jellyfin]", "[JELLYFIN_CACHE_DIR, /var/cache/jellyfin]", "[JELLYFIN_ADDITIONAL_OPTS, ]", "[JELLYFIN_DATA_DIR, /var/lib/jellyfin]"]
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--webdir=/usr/share/jellyfin/web", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Operating system: Debian GNU/Linux 12 (bookworm)
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Architecture: X64
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] 64-Bit Process: True
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] User Interactive: True
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Processor count: 4
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Program data path: /var/lib/jellyfin
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Log directory path: /var/log/jellyfin
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Config directory path: /etc/jellyfin
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Cache path: /var/cache/jellyfin
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Web resources path: /usr/share/jellyfin/web
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Application directory: /usr/lib/jellyfin/bin/
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Setting cache path: /var/cache/jellyfin
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Loading assemblies
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Loaded assembly Jellyfin.Plugin.Discogs, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /var/lib/jellyfin/plugins/Discogs_1.0.0.0/Jellyfin.Plugin.Discogs.dll
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Loaded assembly Novell.Directory.Ldap.NETStandard, Version=3.6.0.0, Culture=neutral, PublicKeyToken=510c34e9dec7f86f from /var/lib/jellyfin/plugins/LDAP Authentication_19.0.0.0/Novell.Directory.Ldap.NETStandard.dll
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Loaded assembly LDAP-Auth, Version=19.0.0.0, Culture=neutral, PublicKeyToken=null from /var/lib/jellyfin/plugins/LDAP Authentication_19.0.0.0/LDAP-Auth.dll
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Defined LAN subnets: ["192.168.83.0/24", "fdd0:a044:f4c::/64"]
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Defined LAN exclusions: []
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Used LAN subnets: ["192.168.83.0/24", "fdd0:a044:f4c::/64"]
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Filtered interface addresses: ["127.0.0.1", "192.168.83.13", "::1", "fdd0:a044:f4c::f", "fe80::c40f:82ff:fe84:eb56%2"]
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Bind Addresses ["::"]
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Remote IP filter is Allowlist
Jun 12 10:34:23 media02 jellyfin[60908]: [10:34:23] [INF] Filtered subnets: []
Jun 12 10:34:32 media02 jellyfin[60908]: [10:34:32] [INF] Loaded plugin: Discogs 1.0.0.0
Jun 12 10:34:32 media02 jellyfin[60908]: [10:34:32] [INF] Loaded plugin: LDAP-Auth 19.0.0.0
Jun 12 10:34:32 media02 jellyfin[60908]: [10:34:32] [INF] Loaded plugin: TMDb 10.9.6.0
Jun 12 10:34:32 media02 jellyfin[60908]: [10:34:32] [INF] Loaded plugin: Studio Images 10.9.6.0
Jun 12 10:34:32 media02 jellyfin[60908]: [10:34:32] [INF] Loaded plugin: OMDb 10.9.6.0
Jun 12 10:34:32 media02 jellyfin[60908]: [10:34:32] [INF] Loaded plugin: MusicBrainz 10.9.6.0
Jun 12 10:34:32 media02 jellyfin[60908]: [10:34:32] [INF] Loaded plugin: AudioDB 10.9.6.0
Jun 12 10:34:32 media02 jellyfin[60908]: [10:34:32] [INF] Kestrel is listening on all interfaces
Jun 12 10:34:32 media02 jellyfin[60908]: [10:34:32] [WRN] No XML encryptor configured. Key {cba7b74e-1b71-45f2-ac4d-dcc69908ebe9} may be persisted to storage in unencrypted form.
Jun 12 10:34:33 media02 jellyfin[60908]: [10:34:33] [WRN] The WebRootPath was not found: /var/lib/jellyfin/wwwroot. Static files may be unavailable.
Jun 12 10:34:33 media02 jellyfin[60908]: [10:34:33] [INF] Running startup tasks
Jun 12 10:34:33 media02 jellyfin[60908]: [10:34:33] [INF] Daily trigger for Trickplay-Bilder generieren set to fire at 2024-06-13 03:00:00.000 +02:00, which is 16:25:26.2324243 from now.
Jun 12 10:34:33 media02 jellyfin[60908]: [10:34:33] [INF] Daily trigger for Extrahiere Kapitel-Bilder set to fire at 2024-06-13 02:00:00.000 +02:00, which is 15:25:26.2273139 from now.
Jun 12 10:34:33 media02 jellyfin[60908]: [10:34:33] [INF] Found ffmpeg version 6.0.1
Jun 12 10:34:33 media02 jellyfin[60908]: [10:34:33] [INF] Available decoders: ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp8_qsv", "vp9", "libvpx-vp9", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "dca", "flac", "mp3", "truehd"]
Jun 12 10:34:33 media02 jellyfin[60908]: [10:34:33] [INF] Available encoders: ["libsvtav1", "av1_nvenc", "av1_qsv", "av1_amf", "av1_vaapi", "libx264", "h264_amf", "h264_nvenc", "h264_qsv", "h264_v4l2m2m", "h264_vaapi", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "hevc_vaapi", "mjpeg_qsv", "mjpeg_vaapi", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "libfdk_aac", "ac3", "alac", "dca", "flac", "libmp3lame", "libopus", "truehd", "libvorbis", "srt"]
Jun 12 10:34:33 media02 jellyfin[60908]: [10:34:33] [INF] Available filters: ["deinterlace_qsv", "deinterlace_vaapi", "hwupload_cuda", "hwupload_vaapi", "libplacebo", "overlay_opencl", "overlay_qsv", "overlay_vaapi", "overlay_vulkan", "overlay_cuda", "procamp_vaapi", "scale_cuda", "scale_opencl", "scale_qsv", "scale_vaapi", "scale_vulkan", "tonemap_cuda", "tonemap_opencl", "tonemap_vaapi", "vpp_qsv", "yadif_cuda", "zscale", "alphasrc"]
Jun 12 10:34:34 media02 jellyfin[60908]: [10:34:34] [INF] Available hwaccel types: ["cuda", "vaapi", "qsv", "drm", "opencl", "vulkan"]
Jun 12 10:34:34 media02 jellyfin[60908]: [10:34:34] [INF] FFmpeg: /usr/lib/jellyfin-ffmpeg/ffmpeg
Jun 12 10:34:34 media02 jellyfin[60908]: [10:34:34] [INF] ServerId: eb172e79c3424bd38745e5804289240f
Jun 12 10:34:34 media02 jellyfin[60908]: [10:34:34] [INF] Core startup complete
Jun 12 10:34:34 media02 jellyfin[60908]: [10:34:34] [INF] Startup complete 0:00:11.3543132
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Bloodhound Gang/The Bad Touch (Single)/Bloodhound Gang - The Bad Touch (The KMFDM Mix).ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Bloodhound Gang/The Bad Touch (Single)/Bloodhound Gang - Along Comes Mary (The Bloodhoundgang Mix).ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Bloodhound Gang/The Bad Touch (Single)/Bloodhound Gang - The Bad Touch (LP).ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Bloodhound Gang/The Bad Touch (Single)/Bloodhound Gang - The Bad Touch (The God Lives Underwater Mix).ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Beginner/Bambule/Beginner - Showmaster.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Beginner/Bambule/Beginner - Hammerhart.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Beginner/Bambule/Beginner - Liebes Lied.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Beginner/Bambule/Beginner - Nicht Allein.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Beginner/Bambule/Beginner - Füchse.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Beginner/Bambule/Beginner - Rock On.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Beginner/Bambule/Beginner - Geht Was.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Beginner/Bambule/Beginner - Fahr’n.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Beginner/Bambule/Beginner - Nie Nett.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Beginner/Bambule/Beginner - Geh Bitte.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Beginner/Bambule/Beginner - Das Boot.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Beginner/Bambule/Beginner - Mikro In Der Hand.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Rage Against The Machine/The Battle Of Los Angeles/Rage Against The Machine - Born Of A Broken Man.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Rage Against The Machine/The Battle Of Los Angeles/Rage Against The Machine - Maria.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Rage Against The Machine/The Battle Of Los Angeles/Rage Against The Machine - Calm Like A Bomb.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Rage Against The Machine/The Battle Of Los Angeles/Rage Against The Machine - Ashes In The Fall.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Rage Against The Machine/The Battle Of Los Angeles/Rage Against The Machine - War Within A Breath.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Rage Against The Machine/The Battle Of Los Angeles/Rage Against The Machine - Mic Check.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Rage Against The Machine/The Battle Of Los Angeles/Rage Against The Machine - Testify.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Rage Against The Machine/The Battle Of Los Angeles/Rage Against The Machine - Born As Ghosts.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Rage Against The Machine/The Battle Of Los Angeles/Rage Against The Machine - New Millennium Homes.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Rage Against The Machine/The Battle Of Los Angeles/Rage Against The Machine - Sleep Now In The Fire.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Rage Against The Machine/The Battle Of Los Angeles/Rage Against The Machine - Guerrilla Radio.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Item in Test-001 cannot be found at /data01/Musik2/Rage Against The Machine/The Battle Of Los Angeles/Rage Against The Machine - Voice Of The Voiceless.ogg
Jun 12 10:34:36 media02 jellyfin[60908]: [10:34:36] [INF] Sammlungen und Playlisten aufräumen Completed after 0 minute(s) and 0 seconds
Jun 12 10:34:38 media02 jellyfin[60908]: [10:34:38] [INF] Aktualisiere Plugins Completed after 0 minute(s) and 1 seconds
Jun 12 10:34:48 media02 jellyfin[60908]: [10:34:48] [INF] WS 192.168.83.141 request
Jun 12 10:34:49 media02 jellyfin[60908]: [10:34:49] [INF] WS 192.168.83.141 closed
Jun 12 10:34:50 media02 jellyfin[60908]: [10:34:50] [INF] WS 192.168.83.141 request
Jun 12 10:34:56 media02 jellyfin[60908]: [10:34:56] [ERR] Error processing request. URL GET /Items/d0faf8e38d230c2125c711b10e39c955/Images/Primary.
Jun 12 10:34:56 media02 jellyfin[60908]: System.UnauthorizedAccessException: Access to the path '/data01/Musik2/Eros Ramazzotti/Dove C’è Musica/cover.jpg' is denied.
Jun 12 10:34:56 media02 jellyfin[60908]:  ---> System.IO.IOException: Permission denied
Jun 12 10:34:56 media02 jellyfin[60908]:    --- End of inner exception stack trace ---
Jun 12 10:34:56 media02 jellyfin[60908]:    at System.IO.FileStatus.GetAttributes(SafeFileHandle handle, ReadOnlySpan`1 path, ReadOnlySpan`1 fileName, Boolean continueOnError)
Jun 12 10:34:56 media02 jellyfin[60908]:    at System.IO.FileSystemInfo.get_Attributes()
Jun 12 10:34:56 media02 jellyfin[60908]:    at System.IO.FileInfo.get_Length()
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Server.Infrastructure.SymlinkFollowingPhysicalFileResultExecutor.GetFileInfo(String path)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.PhysicalFileResultExecutor.ExecuteAsync(ActionContext context, PhysicalFileResult result)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeNextResultFilterAsync[TFilter,TFilterAsync]()
Jun 12 10:34:56 media02 jellyfin[60908]: --- End of stack trace from previous location ---
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()
Jun 12 10:34:56 media02 jellyfin[60908]: --- End of stack trace from previous location ---
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
Jun 12 10:34:56 media02 jellyfin[60908]: --- End of stack trace from previous location ---
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
Jun 12 10:34:56 media02 jellyfin[60908]: [10:34:56] [ERR] Error processing request. URL GET /Items/44f4142c4b252ab91a92a12768670f83/Images/Primary.
Jun 12 10:34:56 media02 jellyfin[60908]: System.UnauthorizedAccessException: Access to the path '/data01/Musik2/Various Artists/Greatest Hits Of The 80’s/cover.jpg' is denied.
Jun 12 10:34:56 media02 jellyfin[60908]:  ---> System.IO.IOException: Permission denied
Jun 12 10:34:56 media02 jellyfin[60908]:    --- End of inner exception stack trace ---
Jun 12 10:34:56 media02 jellyfin[60908]:    at System.IO.FileStatus.GetAttributes(SafeFileHandle handle, ReadOnlySpan`1 path, ReadOnlySpan`1 fileName, Boolean continueOnError)
Jun 12 10:34:56 media02 jellyfin[60908]:    at System.IO.FileSystemInfo.get_Attributes()
Jun 12 10:34:56 media02 jellyfin[60908]:    at System.IO.FileInfo.get_Length()
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Server.Infrastructure.SymlinkFollowingPhysicalFileResultExecutor.GetFileInfo(String path)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.PhysicalFileResultExecutor.ExecuteAsync(ActionContext context, PhysicalFileResult result)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeNextResultFilterAsync[TFilter,TFilterAsync]()
Jun 12 10:34:56 media02 jellyfin[60908]: --- End of stack trace from previous location ---
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()
Jun 12 10:34:56 media02 jellyfin[60908]: --- End of stack trace from previous location ---
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
Jun 12 10:34:56 media02 jellyfin[60908]: --- End of stack trace from previous location ---
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
Jun 12 10:34:56 media02 jellyfin[60908]: [10:34:56] [ERR] Error processing request. URL GET /Items/cf343c3b3cb1fe2c11e465819b70928b/Images/Primary.
Jun 12 10:34:56 media02 jellyfin[60908]: System.UnauthorizedAccessException: Access to the path '/data01/Musik2/Katie Melua/Piece By Piece/cover.jpg' is denied.
Jun 12 10:34:56 media02 jellyfin[60908]:  ---> System.IO.IOException: Permission denied
Jun 12 10:34:56 media02 jellyfin[60908]:    --- End of inner exception stack trace ---
Jun 12 10:34:56 media02 jellyfin[60908]:    at System.IO.FileStatus.GetAttributes(SafeFileHandle handle, ReadOnlySpan`1 path, ReadOnlySpan`1 fileName, Boolean continueOnError)
Jun 12 10:34:56 media02 jellyfin[60908]:    at System.IO.FileSystemInfo.get_Attributes()
Jun 12 10:34:56 media02 jellyfin[60908]:    at System.IO.FileInfo.get_Length()
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Server.Infrastructure.SymlinkFollowingPhysicalFileResultExecutor.GetFileInfo(String path)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.PhysicalFileResultExecutor.ExecuteAsync(ActionContext context, PhysicalFileResult result)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeNextResultFilterAsync[TFilter,TFilterAsync]()
Jun 12 10:34:56 media02 jellyfin[60908]: --- End of stack trace from previous location ---
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()
Jun 12 10:34:56 media02 jellyfin[60908]: --- End of stack trace from previous location ---
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
Jun 12 10:34:56 media02 jellyfin[60908]: --- End of stack trace from previous location ---
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
Jun 12 10:34:56 media02 jellyfin[60908]:    at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)



RE: SMB Mount ( IPv6), JF Cleanup Too Early - pixel24 - 2024-06-12

The message doesn't make sense to me:

Code:
Jun 12 10:34:56 media02 jellyfin[60908]: System.UnauthorizedAccessException: Access to the path '/data01/Musik2/Eros Ramazzotti/Dove C’è Musica/cover.jpg' is denied.

Jun 12 10:34:56 media02 jellyfin[60908]:  ---> System.IO.IOException: Permission denied

Because:

Code:
root@media02:~# su jellyfin -s /bin/bash
jellyfin@media02:/root$ cd /data01/Musik2/Eros\ Ramazzotti/Dove\ C’è\ Musica/
jellyfin@media02:/data01/Musik2/Eros Ramazzotti/Dove C’è Musica$ ls -l
insgesamt 169232
-rw-rw---- 1 administrator domain users    3320 11. Jun 11:18  album.nfo
-rw-rw---- 1 administrator domain users    80597  9. Jan 15:47  cover.jpg
-rw-rw---- 1 administrator domain users 11561987  9. Jan 15:46 'Eros Ramazzotti - Buona Vita.ogg'
-rw-rw---- 1 administrator domain users 14507125  9. Jan 15:37 'Eros Ramazzotti - Dove C’è Musica.ogg'
-rw-rw---- 1 administrator domain users 15379155  9. Jan 15:42 'Eros Ramazzotti - Io Amerò.ogg'
-rw-rw---- 1 administrator domain users 16354180  9. Jan 15:40 'Eros Ramazzotti - L’aurora.ogg'
-rw-rw---- 1 administrator domain users 14451611  9. Jan 15:45 'Eros Ramazzotti - Lei Però.ogg'
-rw-rw---- 1 administrator domain users 13138712  9. Jan 15:41 'Eros Ramazzotti - Lettera Al Futuro.ogg'
-rw-rw---- 1 administrator domain users 15354596  9. Jan 15:46 'Eros Ramazzotti - L’uragano Meri.ogg'
-rw-rw---- 1 administrator domain users 13409108  9. Jan 15:39 'Eros Ramazzotti - Più Bella Cosa.ogg'
-rw-rw---- 1 administrator domain users 15486096  9. Jan 15:43 'Eros Ramazzotti - Quasi Amore.ogg'
-rw-rw---- 1 administrator domain users 15680154  9. Jan 15:43 'Eros Ramazzotti - Questo Immenso Show.ogg'
-rw-rw---- 1 administrator domain users 13943905  9. Jan 15:38 'Eros Ramazzotti - Stella Gemella.ogg'
-rw-rw---- 1 administrator domain users 13863550  9. Jan 15:44 'Eros Ramazzotti - Yo Sin Ti.ogg'
jellyfin@media02:/data01/Musik2/Eros Ramazzotti/Dove C’è Musica$ cp cover.jpg cover.jpg.bak
jellyfin@media02:/data01/Musik2/Eros Ramazzotti/Dove C’è Musica$ rm cover.jpg
jellyfin@media02:/data01/Musik2/Eros Ramazzotti/Dove C’è Musica$ mv cover.jpg.bak cover.jpg
jellyfin@media02:/data01/Musik2/Eros Ramazzotti/Dove C’è Musica$



RE: SMB Mount ( IPv6), JF Cleanup Too Early - TheDreadPirate - 2024-06-12

What is running the SMB share? Another Debian VM? A Synology NAS or some other NAS appliance?

I wouldn't be surprised if the issue is on the other end. A service restarting or something.


RE: SMB Mount ( IPv6), JF Cleanup Too Early - pixel24 - 2024-06-17

The shares are provided by a Univention server (UCS 5.0.Nerd-face. These shares are used all day by multiple clients without any issues. No services are stopping.

I've mentioned multiple times that another VM with JF 10.8.13 mounts the shares in exactly the same way and has no problems with it.