francisuk1989 4 Posted November 1, 2014 Share Posted November 1, 2014 (edited) Hi all. I am running Ubuntu Server 14.04.1 x64 and my Artwork/Poster photos dos not seem to apper even on the media servers webpage at http://localhost:8096/mediabrowser When i try and add a Photo of an Artwork under "Metadata Manager" i cant seem to add anything? I also get this error. Access to the path "/home/Francis/Videos/DVDS/KevinPGoLarge.mkv-poster.jpg" is denied Is not just the one files i get this errorr on all my Videos, They seem to Stream to my roku device ok but again not artwork or any images of any kind. Using Version 3.0.5395.0 - Also im all on Linux, I only know a few commands etc Edited November 1, 2014 by francisuk1989 Link to comment Share on other sites More sharing options...
danyboy666 0 Posted November 4, 2014 Share Posted November 4, 2014 welcome to permission hell. Link to comment Share on other sites More sharing options...
danyboy666 0 Posted November 4, 2014 Share Posted November 4, 2014 /var/lib/mediabrowser/ffmpeg/20140716/ffmpeg -fflags +genpts -i file:"/samba/anonymous/library/Videos/TV Shows/Simpsons - The (1989)/Season 26/The Simpsons - S26E05 - Opposites A-Frack.mp4" -sn -vcodec libvpx -force_key_frames expr:gte(t,n_forced*5) -vf "scale=min(iw\,1920):trunc(ow/dar/2)*2" -speed 16 -quality good -profile:v 0 -slices 8 -crf 10 -qmin 0 -qmax 50 -maxrate:v 29872000 -bufsize:v (29872000*2) -b:v 29872000 -vsync vfr -map_metadata -1 -threads 2 -acodec libvorbis -ac 2 -ab 128000 -af "aresample=async=1" -y "/var/lib/mediabrowser/transcoding-temp/77b74e29cf3a815954854705084e710b.webm" ffmpeg version N-63893-gc69defd Copyright (c) 2000-2014 the FFmpeg developers built on Jul 16 2014 05:38:01 with gcc 4.6 (Debian 4.6.3-1) configuration: --prefix=/root/ffmpeg-static/64bit --extra-cflags='-I/root/ffmpeg-static/64bit/include -static' --extra-ldflags='-L/root/ffmpeg-static/64bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx libavutil 52. 89.100 / 52. 89.100 libavcodec 55. 66.101 / 55. 66.101 libavformat 55. 43.100 / 55. 43.100 libavdevice 55. 13.101 / 55. 13.101 libavfilter 4. 8.100 / 4. 8.100 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 / 0. 19.100 libpostproc 52. 3.100 / 52. 3.100 file:/samba/anonymous/library/Videos/TV Shows/Simpsons - The (1989)/Season 26/The Simpsons - S26E05 - Opposites A-Frack.mp4: Permission denied I really don't know were it's coming from. It's doing that for only 5 or 6 shows recently added shows from sickbeard and movies added from couchpotato.. I've also noticed this weird acl thing added at the end of those videos files. dferron@homeshare:~$ ls -la /samba/anonymous/library/Videos/TV\ Shows/Last\ Week\ Tonight\ with\ John\ Oliver\ \(2014\)/Season\ 1/ total 1075644 drwxrwxrwx 3 nobody nogroup 4096 Nov 3 01:47 . drwxrwxrwx 4 nobody nogroup 4096 Oct 28 20:50 .. -rwxrwxrwx 1 nobody nogroup 85724 Oct 27 23:58 folder.jpg -rwxrwxrwx 1 nobody nogroup 848999297 Oct 27 06:11 Last Week Tonight with John Oliver - S01E22 - Sugar.mkv -rwxrwxrwx 1 nobody nogroup 748 Nov 1 21:57 Last Week Tonight with John Oliver - S01E22 - Sugar.nfo -rwxrwxrwx 1 nobody nogroup 38797 Oct 27 23:58 Last Week Tonight with John Oliver - S01E22 - Sugar-thumb.jpg -rw-rw-rw-+ 1 nobody nogroup 252185386 Nov 2 23:43 Last Week Tonight with John Oliver - S01E23 - Episode 23.mp4 -rw-rw-rw- 1 nobody nogroup 580 Nov 3 01:47 Last Week Tonight with John Oliver - S01E23 - Episode 23.nfo -rw-rw-rw- 1 nobody nogroup 112518 Nov 3 01:47 Last Week Tonight with John Oliver - S01E23 - Episode 23-thumb.jpg drwxrwxrwx 2 nobody nogroup 4096 Nov 3 01:47 metadata -rw-rw-rw-+ I never saw that + before when adding to my library is it media browser related? I've removes the + but still that same permission denied problem occur. idk where to look anymore. Besides that there are lots of unknown crashes idk this doesn't seem to be stable imo i really want to use this software but from the looks of it it's FAR from usable in a stable environment. Please prove me wrong. Should i dedicate a whole machine to this install or what?. I'm running this from the same wm as couchpotato and sickbeard and i see some memory peak at around 75% of 4GB ram available for this client and the install is running on a ssd datastore. I asume I'll have less peak once the program have completed its caching etc but still i was wondering if it was possible to run this with less that 4GB ram. Link to comment Share on other sites More sharing options...
danyboy666 0 Posted November 4, 2014 Share Posted November 4, 2014 (edited) why did you fuse my topic with this one?? It has nothing to do with his problem???? Edited November 4, 2014 by danyboy666 Link to comment Share on other sites More sharing options...
thefirstofthe300 291 Posted November 4, 2014 Share Posted November 4, 2014 A few things to consider when troubleshooting this problem: on what is the media located (external HD, samba share, nfs share, etc.) and what user is MBS running as? The ACL thing can be caused by having the media on an external HD and if the media is located on a samba share, the permissions will get very tricky if the users on the two machines are not exactly the same with the same user number in /etc/passwd. I would suggest looking at what the Arch wiki has in regards to permissions for you particular setup. While you may not be running Arch, everything in the wiki that doesn't relate to package specific things should work on Ubuntu also. Link to comment Share on other sites More sharing options...
danyboy666 0 Posted November 4, 2014 Share Posted November 4, 2014 A few things to consider when troubleshooting this problem: on what is the media located (external HD, samba share, nfs share, etc.) and what user is MBS running as? The ACL thing can be caused by having the media on an external HD and if the media is located on a samba share, the permissions will get very tricky if the users on the two machines are not exactly the same with the same user number in /etc/passwd. I would suggest looking at what the Arch wiki has in regards to permissions for you particular setup. While you may not be running Arch, everything in the wiki that doesn't relate to package specific things should work on Ubuntu also. Thanks for your response it is very apreciated. I wouldn't want to hijack this guys topic thats why i've started a new thread for this and try to figure out what's causing this. As for the samba share. All physical disk are mounted locally on that machine since it's the same as my samba share. Here's my fstab: #===================== Mounts for samba share=============================== UUID=531b311c-4657-446b-b0b5-30a51ea59d05 /samba/anonymous/user ext4 defaults 0 0 #UUID=acec06af-3893-43ab-9f3c-acf30fe5f8b4 /samba/GAMES ext4 defaults 0 0 #UUID=acec06af-3893-43ab-9f3c-acf30fe5f8b4 /samba/PS3 ext4 defaults 0 0 UUID=64d78624-de7c-4c13-b7aa-421df7792b45 /samba/PSX ext3 defaults 0 0 UUID=aa18f27b-61bc-4f9b-8dc0-4776e03a9e23 /samba/Movies ext4 defaults 0 0 UUID=ed280d98-71ca-48d0-a1d1-252908e0852f /samba/anonymous/library ext4 defaults 0 0 The mounts have a nobody:nogroup ownership with a 777 permission. Mediabrowser was setup initaly to run with its default user (mediabrowser) while sickbeard and couchpotato are running as the same user (dferron). I've chmoded the folders in question but i still can't play the content that i had trouble with. /var/lib/mediabrowser/ffmpeg/20140716/ffmpeg -fflags +genpts -i file:"/samba/anonymous/library/Videos/TV Shows/Mike Tyson Mysteries (2014)/Season 1/Mike Tyson Mysteries - S01E02 - Ultimate Judgment Day.mp4" -sn -vcodec libvpx -force_key_frames expr:gte(t,n_forced*5) -vf "scale=min(iw\,1920):trunc(ow/dar/2)*2" -speed 16 -quality good -profile:v 0 -slices 8 -crf 10 -qmin 0 -qmax 50 -maxrate:v 29872000 -bufsize:v (29872000*2) -b:v 29872000 -vsync vfr -map_metadata -1 -threads 2 -acodec libvorbis -ac 2 -ab 128000 -af "aresample=async=1" -y "/var/lib/mediabrowser/transcoding-temp/d1f3549a40505a8854fac3dbda553c3b.webm" ffmpeg version N-63893-gc69defd Copyright (c) 2000-2014 the FFmpeg developers built on Jul 16 2014 05:38:01 with gcc 4.6 (Debian 4.6.3-1) configuration: --prefix=/root/ffmpeg-static/64bit --extra-cflags='-I/root/ffmpeg-static/64bit/include -static' --extra-ldflags='-L/root/ffmpeg-static/64bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx libavutil 52. 89.100 / 52. 89.100 libavcodec 55. 66.101 / 55. 66.101 libavformat 55. 43.100 / 55. 43.100 libavdevice 55. 13.101 / 55. 13.101 libavfilter 4. 8.100 / 4. 8.100 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 / 0. 19.100 libpostproc 52. 3.100 / 52. 3.100 file:/samba/anonymous/library/Videos/TV Shows/Mike Tyson Mysteries (2014)/Season 1/Mike Tyson Mysteries - S01E02 - Ultimate Judgment Day.mp4: Permission denied All other users from those other pc can read/write on that samba share without any problems and the ACL flag only shows locally which confuse me a great deal. Locally there should be no problem to write in those locations since it's his own fs with correct permissions and so on. Link to comment Share on other sites More sharing options...
danyboy666 0 Posted November 4, 2014 Share Posted November 4, 2014 (edited) I also noticed that + right at the end of its PID name top - 15:08:48 up 13:21, 1 user, load average: 0.04, 0.04, 0.11 Tasks: 101 total, 2 running, 99 sleeping, 0 stopped, 0 zombie %Cpu(s): 2.6 us, 1.3 sy, 0.0 ni, 94.4 id, 1.6 wa, 0.0 hi, 0.2 si, 0.0 st KiB Mem: 4048252 total, 3931060 used, 117192 free, 138272 buffers KiB Swap: 2095100 total, 11828 used, 2083272 free. 2899248 cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 7806 mediabr+ 20 0 1277016 254080 20356 S 1.7 6.3 0:46.58 mono 1117 nobody 20 0 282464 7324 5292 S 0.7 0.2 6:46.34 smbd 32 root 20 0 0 0 0 S 0.3 0.0 0:17.49 kworker/0:1 1086 mysql 20 0 492632 41856 1812 S 0.3 1.0 0:30.82 mysqld 18487 dferron 20 0 24920 1628 1164 R 0.3 0.0 0:00.01 top 1 root 20 0 33496 2336 1264 S 0.0 0.1 0:01.13 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root 20 0 0 0 0 S 0.0 0.0 0:01.94 ksoftirqd/0 4 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0 5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H 7 root 20 0 0 0 0 R 0.0 0.0 0:38.40 rcu_sched 8 root 20 0 0 0 0 S 0.0 0.0 0:49.70 rcuos/0 9 root 20 0 0 0 0 S 0.0 0.0 0:27.07 rcuos/1 10 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcuob/0 12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcuob/1 13 root rt 0 0 0 0 S 0.0 0.0 0:00.11 migration/0 14 root rt 0 0 0 0 S 0.0 0.0 0:00.20 watchdog/0 15 root rt 0 0 0 0 S 0.0 0.0 0:00.17 watchdog/1 16 root rt 0 0 0 0 S 0.0 0.0 0:00.45 migration/1 17 root 20 0 0 0 0 S 0.0 0.0 0:00.03 ksoftirqd/1 19 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/1:0H 20 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper 21 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kdevtmpfs 22 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns 23 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 writeback 24 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd 25 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 bioset 26 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/u5:0 27 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kblockd 28 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 ata_sff and here ps aux | grep media mediabr+ 7806 2.6 6.2 1277000 254096 ? Sl 14:41 0:48 /usr/bin/mono MediaBrowser.Server.Mono.exe -programdata /var/lib/mediabrowser dferron 18623 0.0 0.0 8732 396 pts/0 D+ 15:11 0:00 grep --color=auto media Edit: weird i've added two new episode, one from existing show and a complete new show and it played without any issue. I'm starting to thing it's codec related. Edited November 4, 2014 by danyboy666 Link to comment Share on other sites More sharing options...
Dersch 0 Posted January 8, 2015 Share Posted January 8, 2015 I have almost the same issue after fresh installing from the repo. I'v running Zentyal 4.0 DC with Ubunut 14.04 and installed Mediabrowser on this machine. It is also my 24/7 machine and contains my SQL database for XBMC, is my Samba Server, and anything i want to. Anyway due to some weird permissions of Mediabrowser i can't access to the NFS, SMB and any shares. Please be aware due to Zentyal permissions are controled with ACL on my server. So i have added the user "mediabrowser" to my group "mediacenter" wich has ACL permissions on Media Shares mounted in my Server. To be sure i also added the use "mediabrowser" to my music share for example with setfacl. But i see just folders on mediabrowser. For exampel /mnt/secure <= Stop. My media is /mnt/secure/Music, /mnt/secure/Photos but i cant go to it. "Folder does not exists" In addition i can't access via //192.168.10.1/Folder to my other Fileserver with Sambashares. Seems Mediabrowser is not designed to run at Linux Environment. Please if you can help me i would give a chance to Mediabrowser to get it running because the features seems to be nice. Link to comment Share on other sites More sharing options...
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