Search the Community
Showing results for tags 'permission denied'.
Hi, I have recently upgrade my HTPC with Emby Server to better allow transcoding. I had an older ubuntu server that both hosted both the media and emby server. Now I have an intel based windows PC with an SSD. I initially set this up directly on the PC and connected to the old ubuntu server and use it for all storage (including cache to avoid too many read/write actions and shortening the lifespan). Once I had setup SAMBA on the ubuntu server and signed in I had no issue. However, I decided to install Emby Docker container and run it through a VPN given that I use Emby away from home (with appropriate port forwarding). However, since doing this, any write requirements to the ubuntu server fails (both transcoding and cache) fail. I have tried to redo all the users:groups to make sure that they are all correct and it would seem to be the case. However, everytime I try to stream something that needs a buffer or transcoding the logs show that this fails with 'permission denied'. I have tried a number of things (see the unanswered post on https://stackoverflow.com/questions/71417345/configuring-user-permissions-in-docker-compose for a more extensive summary). Any thoughts? (I can post logs if helpful but there would seem only to be a 'permission denied' error when I see the action failed).
Seeking so guidance on the best practice for setting up Emby on QNAP wherein I will be able to manage media from Windows explorer. I have setup Emby on my QNAP TS-453be in a Media share. I have two accounts within Emby, the admin & family account with view access. I am trying to understand permissions in that, a Qnap 'media' share has been added, and using the admin account, I selected to update the media info where art and subtitles have been updated, some correctly and some incorrect. (One entire series, had a folder duplicated during this process, added the wrong artwork and episode/season info.) Now, after realizing what happened and discovering the duplicated folder via browsing the volume/share through Windows explorer, I cannot copy/move/delete any of the directories that Emby modified, which is now my entire media share. Figuring that this was related to permissions (Emby does not see that admin account existing from my Windows machine) I then mapped a drive with from the same windows machine using and Admin level account on my QNAP. This account owns the volume/share so it should be able to manage the files right? Wrong to my surprise. Going a step further, I eliminate Windows credentials all together and attempt to move/copy/delete data using the QNAP file station and still cannot do anything? Does Emby now own the data exclusively it has been given access to on my Qnap share? If this is the case, and I have to create the same Emby admin account locally on my Windows machine, is this behavior exclusive to Emby + Qnap as opposed to Emby running on a Windows machine?
webpostkastl posted a topic in SynologyHi, I'm fighting with a really strange permission issue since one of the last server updates in folder /volume3/AUDIO/ALEX there are almost 300 sub folders (each a different artist) again with multiple subfolders (1 per album) e.g. /volume3/AUDIO/ALEX /THE DARKNESS / Hot Cakes - 01. Every Inch of You.mp3 - 02. Nothin's Gonna Stop Us.mp3 - etc. although everything was working fine before I can now only see 7 albums in my "ALEX" library - for all other folders I'm getting a System.IO.IOException: Permission denied error (see log below) I already tried to completely remove emby server and installed it from scratch - even tried with a different user name and gave read/write permission for user embysvr to folder AUDIO but that didn't work out either any idea why the library scan is only working for 7 random folders but not for the rest? (I'm running emby server on a Synology Diskstation) e.g. 2019-07-29 19:26:17.696 Error LibraryMonitor: Error watching path: /volume3/AUDIO/ALEX *** Error Report *** Version: 126.96.36.199 Command line: /volume1/@appstore/EmbyServer/releases/188.8.131.52/EmbyServer.dll -package synology -programdata /var/packages/EmbyServer/target/var -ffmpeg /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe -ffdetect /var/packages/EmbyServer/target/ffmpeg/bin/ffdetect -restartexitcode 121 -ignore_vaapi_enabled_flag Operating system: Unix 184.108.40.206 64-Bit OS: True 64-Bit Process: True User Interactive: True Runtime: file:///volume1/@appstore/EmbyServer/3rdparty/netcore/2.2.1/runtime/System.Private.CoreLib.dll Processor count: 4 Program data path: /var/packages/EmbyServer/target/var Application directory: /volume1/@appstore/EmbyServer/releases/220.127.116.11 System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/volume3/AUDIO/ALEX/THE DARKNESS' is denied. ---> System.IO.IOException: Permission denied --- End of inner exception stack trace --- at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound) at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, EnumerationOptions options) at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options) at System.IO.Enumeration.FileSystemEnumerableFactory.UserDirectories(String directory, String expression, EnumerationOptions options) at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options) at System.IO.FileSystemWatcher.RunningInstance.AddDirectoryWatchUnlocked(WatchedDirectory parent, String directoryName) in /source/corefx/src/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.Linux.cs:line 438 at System.IO.FileSystemWatcher.RunningInstance.AddDirectoryWatchUnlocked(WatchedDirectory parent, String directoryName) in /source/corefx/src/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.Linux.cs:line 445 at System.IO.FileSystemWatcher.RunningInstance..ctor(FileSystemWatcher watcher, SafeFileHandle inotifyHandle, String directoryPath, Boolean includeSubdirectories, NotifyFilters notifyFilters, CancellationToken cancellationToken) in /source/corefx/src/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.Linux.cs:line 306 at System.IO.FileSystemWatcher.StartRaisingEvents() in /source/corefx/src/System.IO.FileSystem.Watcher/src/System/IO/FileSystemWatcher.Linux.cs:line 77 at Emby.Server.Implementations.IO.LibraryMonitor.<>c__DisplayClass37_0.<StartWatchingPath>b__0() Source: System.IO.FileSystem TargetSite: IntPtr CreateDirectoryHandle(System.String, Boolean) InnerException: System.IO.IOException: Permission denied Source: TargetSite: