Commerzpunk 5 Posted May 1, 2017 Posted May 1, 2017 (edited) Hello everybody, i have tried it for hours now, i need your help. Here is my setup: Running Emby server 3.2.13.0 in a docker package inside Open Media Vault 3.0.70. I have a Synology NAS running DSM 6.1. There is a shared folder called "Filme" on the NAS which i can access from Windows fine using "\\NAS-27\Filme". Of course i have to authenticate with my user. When try to do the same inside the Emby configuration and put "\\NAS-27\Filme" as a folder in the library i dont get access. After i activated the "guest" and gave the guest full access to "Filme" the file/folder structure shows up in Emby. But scanning takes a second or 2 with no result and no error. I read a lot "give emby access to the shared folder". But i cant find HOW?! Who can help me how to set up this? Thanks Edited May 3, 2017 by Commerzpunk
Deathsquirrel 745 Posted May 1, 2017 Posted May 1, 2017 Are you running Emby as a service or under your user account? Sounds like a case of running as a service when the service account has no rights to that volume. Running as a user I just logged into the share, told Windows to remember my PW, and then added the path to the relevant library. Scan picked everything up just fine.
Commerzpunk 5 Posted May 1, 2017 Author Posted May 1, 2017 Hi, thanks for answering. I dont know how Emby is running, i just picked the docker container, started it and all looks good. How can i find out how it is running? If it is running as a service: What is the user name and the password i have to set in my Synology shared folder?
Deathsquirrel 745 Posted May 1, 2017 Posted May 1, 2017 Nevermind then, you don't appear to be running the Windows server. The questions aren't directly relevant. I don't use your version of the server. You may want to post in that forum.
Commerzpunk 5 Posted May 1, 2017 Author Posted May 1, 2017 Ah, ok, thanks! I see that now, i thought i should ask in the general section, didnt see its more for Windows. Would any moderator please move this to "Linux"? I guess my question belongs there. Sorry for disturbing.
Luke 42078 Posted May 2, 2017 Posted May 2, 2017 @@Commerzpunk, can you please run a library scan, and then attach the emby server log to this posting. you can learn how to do that here: https://emby.media/community/index.php?/topic/739-how-to-report-a-problem/ Thanks !
Commerzpunk 5 Posted May 2, 2017 Author Posted May 2, 2017 Hello, here are my logs. There are 2 Versions. Both come from a file that i open from Adminstration-Panel -> Logs. The most recent file was called "server-63629260718.txt" there. I made 2 Versions of it. 1. embylog_full.txt which is basicly the full file. 2. embylog.txt which starts from today right after waking up the VM and performing a library scan. Hope this helps. embylog.txt embylog_full.txt
Luke 42078 Posted May 3, 2017 Posted May 3, 2017 is this actually a valid path? /run/s6/services/emby-server/nfs:/nas-27:/volume1/Filme
Commerzpunk 5 Posted May 3, 2017 Author Posted May 3, 2017 Hi Luke. No, its not. But its not what i have written and can review in the library path section. See: There is only "\\nas-27\Filme". I guess i have to know what kind of permissions i have to create on my shared folder on the NAS to make it availible for emby. Because when i start a library scan i can hear the NAS drive make some sound like there is at least the try to access it. Any more information you need?
Luke 42078 Posted May 4, 2017 Posted May 4, 2017 hi @@Commerzpunk, this is resolved for the next release of emby server. thanks !
Commerzpunk 5 Posted May 9, 2017 Author Posted May 9, 2017 (edited) Hello Luke! Thanks a lot, I updated my test-docker to Version 3.2.15.0. Adding the directory worked fine, the database did scan and got results, i can see all my movies in the library. But there are a lot of errors in the log and i cant play any movies. See attached log, here are some of the errors: System.IO.DirectoryNotFoundException: Directory 'smb:/nas-27/Filme/Jesus liebt mich (2012)' not found. ^^ this comes for basically every movie, so a lot of times. 2017-05-09 19:44:19.1065 Info App: Profile: Unknown Profile, Path: smb://nas-27/Filme/Alien - Die Wiedergeburt (1997)/Alien - Die Wiedergeburt (1997).m4v, isEligibleForDirectPlay: False, isEligibleForDirectStream: False 2017-05-09 19:44:19.1067 Info App: Cannot DirectPlay due to unknown content bitrate 2017-05-09 19:44:19.1067 Info App: Cannot DirectStream due to unknown content bitrate ^^ This seems to happen for every movie too. 2017-05-09 19:44:19.4615 Error HttpServer: Error processing request *** Error Report *** Version: 3.2.15.0 Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /config -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh Operating system: Unix 4.8.0.0 64-Bit OS: True 64-Bit Process: True Mono: 4.6.2 (Stable 4.6.2.7/08fd525 Mon Jan 30 13:12:40 UTC 2017) Processor count: 2 Program data path: /config Application directory: /usr/lib/emby-server/bin System.NullReferenceException: Object reference not set to an instance of an object at MediaBrowser.Controller.MediaEncoding.EncodingHelper.GetOutputSizeParam (MediaBrowser.Controller.MediaEncoding.EncodingJobInfo state, System.String outputVideoCodec, System.Boolean allowTimeStampCopy) [0x0007d] in <043a9e29b01240bda8f64665ec0748fc>:0 at MediaBrowser.Api.Playback.Hls.DynamicHlsService.GetVideoArguments (MediaBrowser.Api.Playback.StreamState state) [0x0013f] in <cee1c6bf67814642a9777e72c45b8239>:0 at MediaBrowser.Api.Playback.Hls.DynamicHlsService.GetCommandLineArguments (System.String outputPath, MediaBrowser.Api.Playback.StreamState state, System.Boolean isEncoding) [0x00181] in <cee1c6bf67814642a9777e72c45b8239>:0 at MediaBrowser.Api.Playback.BaseStreamingService.GetOutputFilePath (MediaBrowser.Api.Playback.StreamState state, System.String outputFileExtension) [0x00011] in <cee1c6bf67814642a9777e72c45b8239>:0 at MediaBrowser.Api.Playback.BaseStreamingService+<GetState>c__async2.MoveNext () [0x009e9] in <cee1c6bf67814642a9777e72c45b8239>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at MediaBrowser.Api.Playback.Hls.DynamicHlsService+<GetMasterPlaylistInternal>c__async2.MoveNext () [0x00079] in <cee1c6bf67814642a9777e72c45b8239>:0 --- End of stack trace from previous location where exception was thrown --- ^^ whatever Is there something i can do? Thanks embylog.txt Edited May 9, 2017 by Commerzpunk
Commerzpunk 5 Posted May 9, 2017 Author Posted May 9, 2017 Update: It seems to be a problem with the shared folder. For testing, i copied a movie into the "config" path assigned to the container and set up a new library with this one movie. Backdrop and movie information is shiny and nice, clicked "play" and the movie showed up in the browser just fine. But whats with my shared folder? :-o 2017-05-09 20:23:52.0212 Info HttpServer: HTTP Response 200 to 192.168.178.47. Time: 7ms. http://omv-media:8096/emby/Users/0b5b4ab20ada4ec2a7b9357d889485b6/Items/b7e4fafb8c10b93b3f870cf5f2cdbabc/Intros 2017-05-09 20:23:52.0283 Info HttpServer: HTTP POST http://omv-media:8096/emby/Items/b7e4fafb8c10b93b3f870cf5f2cdbabc/PlaybackInfo?UserId=0b5b4ab20ada4ec2a7b9357d889485b6&StartTimeTicks=0&ForceDirectPlayRemoteMediaSource=true&MaxStreamingBitrate=140000000. UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36 2017-05-09 20:23:52.0424 Info App: Profile: Unknown Profile, Path: /config/F2/Absolute Giganten (1999)/Absolute Giganten (1999).avi, isEligibleForDirectPlay: True, isEligibleForDirectStream: True 2017-05-09 20:23:52.0424 Info App: Profile: Unknown Profile, No direct play profiles found for Path: /config/F2/Absolute Giganten (1999)/Absolute Giganten (1999).avi 2017-05-09 20:23:52.0426 Info App: Profile: Unknown Profile, Path: /config/F2/Absolute Giganten (1999)/Absolute Giganten (1999).avi, isEligibleForDirectPlay: True, isEligibleForDirectStream: True 2017-05-09 20:23:52.0426 Info App: Profile: Unknown Profile, No direct play profiles found for Path: /config/F2/Absolute Giganten (1999)/Absolute Giganten (1999).avi 2017-05-09 20:23:52.0426 Info App: Profile: Unknown Profile, Path: /config/F2/Absolute Giganten (1999)/Absolute Giganten (1999).avi, isEligibleForDirectPlay: True, isEligibleForDirectStream: True 2017-05-09 20:23:52.0426 Info App: Profile: Unknown Profile, No direct play profiles found for Path: /config/F2/Absolute Giganten (1999)/Absolute Giganten (1999).avi 2017-05-09 20:23:52.0463 Info HttpServer: HTTP Response 200 to 192.168.178.47. Time: 18ms. http://omv-media:8096/emby/Items/b7e4fafb8c10b93b3f870cf5f2cdbabc/PlaybackInfo?UserId=0b5b4ab20ada4ec2a7b9357d889485b6&StartTimeTicks=0&ForceDirectPlayRemoteMediaSource=true&MaxStreamingBitrate=140000000 2017-05-09 20:23:52.3769 Info HttpServer: HTTP GET http://omv-media:8096/emby/videos/b7e4fafb8c10b93b3f870cf5f2cdbabc/master.m3u8?DeviceId=92a413120f8131f086b6089d1d86a97d2a2a0d87&MediaSourceId=b7e4fafb8c10b93b3f870cf5f2cdbabc&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=139808008&AudioBitrate=191992&Level=51&Profile=high&PlaySessionId=c6ca7c827fe1407cbf3aa3f4c903f4f5&CopyTimestamps=false&TranscodingMaxAudioChannels=6&EnableSubtitlesInManifest=false&Tag=8dbe1f976254f0f00743db63766b38fb&RequireAvc=true&RequireNonAnamorphic=false&DeInterlace=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=False. UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36 2017-05-09 20:23:52.3932 Info HttpServer: HTTP Response 200 to 192.168.178.47. Time: 17ms. http://omv-media:8096/emby/videos/b7e4fafb8c10b93b3f870cf5f2cdbabc/master.m3u8?DeviceId=92a413120f8131f086b6089d1d86a97d2a2a0d87&MediaSourceId=b7e4fafb8c10b93b3f870cf5f2cdbabc&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=139808008&AudioBitrate=191992&Level=51&Profile=high&PlaySessionId=c6ca7c827fe1407cbf3aa3f4c903f4f5&CopyTimestamps=false&TranscodingMaxAudioChannels=6&EnableSubtitlesInManifest=false&Tag=8dbe1f976254f0f00743db63766b38fb&RequireAvc=true&RequireNonAnamorphic=false&DeInterlace=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=False 2017-05-09 20:23:52.4031 Info HttpServer: HTTP GET http://omv-media:8096/emby/videos/b7e4fafb8c10b93b3f870cf5f2cdbabc/main.m3u8?DeviceId=92a413120f8131f086b6089d1d86a97d2a2a0d87&MediaSourceId=b7e4fafb8c10b93b3f870cf5f2cdbabc&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=139808008&AudioBitrate=191992&Level=51&Profile=high&PlaySessionId=c6ca7c827fe1407cbf3aa3f4c903f4f5&CopyTimestamps=false&TranscodingMaxAudioChannels=6&EnableSubtitlesInManifest=false&Tag=8dbe1f976254f0f00743db63766b38fb&RequireAvc=true&RequireNonAnamorphic=false&DeInterlace=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=False. UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36 2017-05-09 20:23:52.5033 Info HttpServer: HTTP Response 200 to 192.168.178.47. Time: 101ms. http://omv-media:8096/emby/videos/b7e4fafb8c10b93b3f870cf5f2cdbabc/main.m3u8?DeviceId=92a413120f8131f086b6089d1d86a97d2a2a0d87&MediaSourceId=b7e4fafb8c10b93b3f870cf5f2cdbabc&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=139808008&AudioBitrate=191992&Level=51&Profile=high&PlaySessionId=c6ca7c827fe1407cbf3aa3f4c903f4f5&CopyTimestamps=false&TranscodingMaxAudioChannels=6&EnableSubtitlesInManifest=false&Tag=8dbe1f976254f0f00743db63766b38fb&RequireAvc=true&RequireNonAnamorphic=false&DeInterlace=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=False 2017-05-09 20:23:52.5231 Info HttpServer: HTTP GET http://omv-media:8096/emby/videos/b7e4fafb8c10b93b3f870cf5f2cdbabc/hls1/main/0.ts?DeviceId=92a413120f8131f086b6089d1d86a97d2a2a0d87&MediaSourceId=b7e4fafb8c10b93b3f870cf5f2cdbabc&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=139808008&AudioBitrate=191992&Level=51&Profile=high&PlaySessionId=c6ca7c827fe1407cbf3aa3f4c903f4f5&CopyTimestamps=false&TranscodingMaxAudioChannels=6&EnableSubtitlesInManifest=false&Tag=8dbe1f976254f0f00743db63766b38fb&RequireAvc=true&RequireNonAnamorphic=false&DeInterlace=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=False. UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36 2017-05-09 20:23:52.5328 Info App: /bin/ffmpeg -f avi -codec:0 msmpeg4v3 -codec:1 mp3 -i file:"/config/F2/Absolute Giganten (1999)/Absolute Giganten (1999).avi" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 1023810 -bufsize 2047620 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -copyts -vsync -1 -codec:a:0 aac -strict experimental -ac 2 -ab 191992 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/config/transcoding-temp/f6f6dcdbc53aa79979a9df916795d735.m3u8" -y "/config/transcoding-temp/f6f6dcdbc53aa79979a9df916795d735%d.ts" 2017-05-09 20:23:56.2151 Info App: returning /config/transcoding-temp/f6f6dcdbc53aa79979a9df916795d7350.ts 2017-05-09 20:23:56.2263 Info HttpResultFactory: Transmit file /config/transcoding-temp/f6f6dcdbc53aa79979a9df916795d7350.ts 2017-05-09 20:23:56.2592 Info HttpServer: HTTP Response 200 to 192.168.178.47. Time: 3737ms (slow). http://omv-media:8096/emby/videos/b7e4fafb8c10b93b3f870cf5f2cdbabc/hls1/main/0.ts?DeviceId=92a413120f8131f086b6089d1d86a97d2a2a0d87&MediaSourceId=b7e4fafb8c10b93b3f870cf5f2cdbabc&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=139808008&AudioBitrate=191992&Level=51&Profile=high&PlaySessionId=c6ca7c827fe1407cbf3aa3f4c903f4f5&CopyTimestamps=false&TranscodingMaxAudioChannels=6&EnableSubtitlesInManifest=false&Tag=8dbe1f976254f0f00743db63766b38fb&RequireAvc=true&RequireNonAnamorphic=false&DeInterlace=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=False 2017-05-09 20:23:56.2769 Info HttpServer: HTTP GET http://omv-media:8096/emby/videos/b7e4fafb8c10b93b3f870cf5f2cdbabc/hls1/main/1.ts?DeviceId=92a413120f8131f086b6089d1d86a97d2a2a0d87&MediaSourceId=b7e4fafb8c10b93b3f870cf5f2cdbabc&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=139808008&AudioBitrate=191992&Level=51&Profile=high&PlaySessionId=c6ca7c827fe1407cbf3aa3f4c903f4f5&CopyTimestamps=false&TranscodingMaxAudioChannels=6&EnableSubtitlesInManifest=false&Tag=8dbe1f976254f0f00743db63766b38fb&RequireAvc=true&RequireNonAnamorphic=false&DeInterlace=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=False. UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36 2017-05-09 20:23:56.3470 Info HttpServer: HTTP POST http://omv-media:8096/emby/Sessions/Playing. UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36
Commerzpunk 5 Posted May 10, 2017 Author Posted May 10, 2017 Hello Luke, i am sure you are right. Look at my librarysetup, the directory: As you see, i never use smb, simply the UNC path to the shared folder. I guess the error is somewhere in the software.
Commerzpunk 5 Posted May 10, 2017 Author Posted May 10, 2017 I manually changed the path to smb:// But there is no effect, see the attached log. It starts today when the server waked up, i deleted the library and set it up new with smb:// embylog2.txt
Luke 42078 Posted May 10, 2017 Posted May 10, 2017 Ok, I see the issue. It's resolved for the next release, thanks.
flort 2 Posted May 14, 2017 Posted May 14, 2017 Ok, I see the issue. It's resolved for the next release, thanks. What release number would this be? Thanks.
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