adminExitium 356 Posted February 21 Posted February 21 Just realized that may be a bit pricey compared to MediaFire, so I have also had good experiences with Pixeldrain: https://pixeldrain.com/
ISeeTWizard 29 Posted March 17 Posted March 17 (edited) I reinstalled my Emby Server from scratch and my libraries are now connected via smb only I let run the task and saw errors in my log: 2026-03-17 07:57:01.207 Info App: Movie Theme Songs - Found movie theme song for The 6th Day 2026-03-17 07:57:01.208 Info HttpClient: GetTempFileResponse url: http://download1586.mediafire.com/jc7nvo42vjogvlZx0XJ-z5jbE2WEsWAlfaWdJJk0iJKBdD1T5AaleFuI9A04lVq-Y0Da01zmW_3TSt1X9SwP162XWI7lZ4gcUQUdMWO2fm9pmctEBLntwTsvp_Qub5PzXmkpNwAP78LdZ3wWinIzr-r2VXNuhyU-F3yn4cfuiiDg/98n56zip5kh830f/8452 2026-03-17 07:57:01.208 Info HttpClient: GET http://download1586.mediafire.com/jc7nvo42vjogvlZx0XJ-z5jbE2WEsWAlfaWdJJk0iJKBdD1T5AaleFuI9A04lVq-Y0Da01zmW_3TSt1X9SwP162XWI7lZ4gcUQUdMWO2fm9pmctEBLntwTsvp_Qub5PzXmkpNwAP78LdZ3wWinIzr-r2VXNuhyU-F3yn4cfuiiDg/98n56zip5kh830f/8452 2026-03-17 07:57:01.453 Info HttpClient: Http response 200 from http://download1586.mediafire.com/jc7nvo42vjogvlZx0XJ-z5jbE2WEsWAlfaWdJJk0iJKBdD1T5AaleFuI9A04lVq-Y0Da01zmW_3TSt1X9SwP162XWI7lZ4gcUQUdMWO2fm9pmctEBLntwTsvp_Qub5PzXmkpNwAP78LdZ3wWinIzr-r2VXNuhyU-F3yn4cfuiiDg/98n56zip5kh830f/8452 after 246ms 2026-03-17 07:57:06.153 Info App: Movie Theme Songs - Moving /mnt/emby.cache/cache/temp/17652b64-aa1d-4b68-af62-084bf0e667e9.tmp to smb:/192.168.178.20/Media/Movies/german/The 6th Day (2000)/theme.mp3 2026-03-17 07:57:06.157 Error App: Movie Theme Songs - Error downloading file from host *** Error Report *** Version: 4.9.3.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 6.8.0-106-generic (buildd@lcy02-amd64-074) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0, GNU ld (GNU Binutils for Ub OS/Process: x64/x64 Framework: .NET 8.0.22 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 8 Data path: /var/lib/emby Application path: /opt/emby-server/system System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/opt/emby-server/smb:' is denied. ---> System.IO.IOException: Permission denied --- End of inner exception stack trace --- at System.IO.FileSystem.CreateParentsAndDirectory(String fullPath, UnixFileMode unixCreateMode) at System.IO.FileSystem.CreateDirectory(String fullPath, UnixFileMode unixCreateMode) at System.IO.Directory.CreateDirectory(String path) at MovieThemeSongs.Search.LocalMovieThemeSongDownloader.DownloadMovieThemeSongForItem(BaseItem item, CancellationToken cancellationToken, String html, String data, String uploadedhtml, ILibraryManager libraryManager) Source: System.Private.CoreLib Do you have any idea what I can do about that? Here how the library is integrated The user used has full rights to this folder - I have for the moment no idea as emby can create it's nfo files and images etc. So the rights should be correct. In the log he writes that he moves the file to smb:/192.168.178.20 - so there is a missing / or am I wrong? By the way it's for all 4 plugins the same... Edited March 17 by ISeeTWizard additional info
radeon 759 Posted 3 hours ago Author Posted 3 hours ago Nah, sorry pal, just really busy with work at the min. Your logs show Access to the path '/opt/emby-server/smb:' is denied. ---> System.IO.IOException: Permission denied --- End of inner exception stack trace So you're running into permissions there pal.
ISeeTWizard 29 Posted 3 hours ago Posted 3 hours ago (edited) 30 minutes ago, radeon said: Nah, sorry pal, just really busy with work at the min. Your logs show Access to the path '/opt/emby-server/smb:' is denied. ---> System.IO.IOException: Permission denied --- End of inner exception stack trace So you're running into permissions there pal. No problem if your are busy - Now I know Yeah, rights, I would say too but it's just your plugin(s) who are throwing this messages and who don't work after the smb settings instead of local mapped swap. All the other can save (images, nfo files) without issues on my server over smb collection settings - else I wouldn't ask and would look somewhere else... The collections is even configured with the main admin user to be sure that it's not a hidden issue somewhere with permissions but nothing changed with that option - and more rights like the main admin I don't think there is... When I map the network drive locally it works too but I don't want that as if I ever have to change the Emby Server it would lead into rebuilding the collections and over smb directly on my Media NAS this isn't the case (I recently swapped and saw how easy it was compared to what I had before) I asked AI about it: That is fatal. The plugin is trying to treat the SMB path as if it were a local filesystem path starting with “smb:/...”, which Linux does not recognize. This means: The plugin is not using proper SMB mounts It tries to write to /opt/emby-server/smb: …which is obviously invalid. Edited 3 hours ago by ISeeTWizard
radeon 759 Posted 3 hours ago Author Posted 3 hours ago I call the mount points from emby, I don't map any so whatever your emby is configured with is what my plugin will use. The user it runs up in is the one emby is using as it's invoked from there I run emby in a docker on unraid and don't have any of those issues with the plugins
ISeeTWizard 29 Posted 1 hour ago Posted 1 hour ago 1 hour ago, radeon said: I call the mount points from emby, I don't map any so whatever your emby is configured with is what my plugin will use. The user it runs up in is the one emby is using as it's invoked from there I run emby in a docker on unraid and don't have any of those issues with the plugins So why does Emby successfully write posters and nfo files in the movie folder as example but theme.mp3 as example doesn't work and just throws an error... I suppose I've added the path correctly - the credentials are correct I even recreated the library but nothing Just when I mount the folder locally it works but I wanted to avoid this So maybe I need to swap back to this or simply give up and use another third party app to get the songs etc.
radeon 759 Posted 1 hour ago Author Posted 1 hour ago Yeah, you'll likely be right then. I'm not in front of my machine until next week now but from memory it'll just using standard standard file operations to save the themes. As you say, because your Emby server is running on Linux, it cannot write directly to raw smb:// network paths. To fix this in the short term you would need to mount your network share directly in Linux (e.g., using fstab to mount it to a folder like /mnt/movies) and then update your Emby library to use that local /mnt/movies path instead of the smb:// path. Then when I'm back i'll look to see what I can sort
ISeeTWizard 29 Posted 44 minutes ago Posted 44 minutes ago 32 minutes ago, radeon said: Yeah, you'll likely be right then. I'm not in front of my machine until next week now but from memory it'll just using standard standard file operations to save the themes. As you say, because your Emby server is running on Linux, it cannot write directly to raw smb:// network paths. To fix this in the short term you would need to mount your network share directly in Linux (e.g., using fstab to mount it to a folder like /mnt/movies) and then update your Emby library to use that local /mnt/movies path instead of the smb:// path. Then when I'm back i'll look to see what I can sort Yeah - now stress If you find something this would be great I'm changing the weekend all my libraries back to the mnt system - Just did a test with a smaller library and it work so for the moment I have a solution...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now