Jump to content

Other permission problem (ACL Flag)


danyboy666

Recommended Posts

danyboy666

******Don't fuse this with the other guys topic this time it has nothing to do with his issue******

/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.

Edited by danyboy666
Link to comment
Share on other sites

danyboy666

The issue seem to be codec related.

 

I've manually inspected the files i had problems with and they have all the same codecs.

General
Complete name                            : \\HOMESHARE\Anonymous\library\Videos\TV Shows\Wonders of the Monsoon (2014)\Season 1\Wonders of the Monsoon - S01E05 - People of the Monsoon.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 594 MiB
Duration                                 : 58mn 57s
Overall bit rate mode                    : Variable
Overall bit rate                         : 1 409 Kbps

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 58mn 57s
Bit rate                                 : 1 279 Kbps
Width                                    : 720 pixels
Height                                   : 404 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.176
Stream size                              : 539 MiB (91%)
Writing library                          : x264 core 142 r2479 dd79a61
Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=21.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 58mn 57s
Bit rate mode                            : Variable
Bit rate                                 : 124 Kbps
Maximum bit rate                         : 140 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 52.2 MiB (9%)

General
Complete name                            : \\HOMESHARE\Anonymous\library\Videos\TV Shows\Simpsons - The (1989)\Season 26\The Simpsons - S26E05 - Opposites A-Frack.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 116 MiB
Duration                                 : 21mn 53s
Overall bit rate mode                    : Variable
Overall bit rate                         : 743 Kbps
Encoded date                             : UTC 2014-11-03 01:57:45
Tagged date                              : UTC 2014-11-03 01:57:45

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 21mn 53s
Bit rate                                 : 640 Kbps
Maximum bit rate                         : 6 696 Kbps
Width                                    : 720 pixels
Height                                   : 404 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.092
Stream size                              : 100 MiB (86%)
Writing library                          : x264 core 142 r2479 dd79a61
Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : UTC 2014-11-03 01:57:45
Tagged date                              : UTC 2014-11-03 01:57:46
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 21mn 53s
Bit rate mode                            : Variable
Bit rate                                 : 98.8 Kbps
Maximum bit rate                         : 145 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 15.5 MiB (13%)
Encoded date                             : UTC 2014-11-03 01:57:46
Tagged date                              : UTC 2014-11-03 01:57:46

General
Complete name                            : \\HOMESHARE\Anonymous\library\Videos\TV Shows\Canada's Worst Driver\Season 10\Canada's Worst Driver - S10E01 - Episode 1.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 396 MiB
Duration                                 : 44mn 52s
Overall bit rate mode                    : Variable
Overall bit rate                         : 1 233 Kbps
Encoded date                             : UTC 2014-10-28 22:35:30
Tagged date                              : UTC 2014-10-28 22:35:30


Video
ID                                       : 2
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 44mn 52s
Bit rate                                 : 1 110 Kbps
Maximum bit rate                         : 3 976 Kbps
Width                                    : 720 pixels
Height                                   : 404 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 29.970 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.127
Stream size                              : 356 MiB (90%)
Writing library                          : x264 core 142 r2479 dd79a61
Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=21.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : UTC 2014-10-28 22:35:31
Tagged date                              : UTC 2014-10-28 22:35:40
Matrix coefficients                      : BT.709


Audio
ID                                       : 1
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 44mn 52s
Bit rate mode                            : Variable
Bit rate                                 : 118 Kbps
Maximum bit rate                         : 150 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 37.9 MiB (10%)
Encoded date                             : UTC 2014-10-28 22:35:30
Tagged date                              : UTC 2014-10-28 22:35:40
Edited by danyboy666
Link to comment
Share on other sites

danyboy666

ok i've installed libav-tools and some other codecs i was missing just to be certain but still the same problem.

/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/8af5d014556be6216556b052c32eba8a.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

Enough time spent on this I'll just stick to what works.

Link to comment
Share on other sites

danyboy666

I've never went to a forum the first day i installed a software before this is a first. I've used MCM and installed lots of other metadata providers and media centers before but never i needed help the first day. What's going on with this software?

 It's supose to run without any issues? Maybe my setup isn't optimized? I honestly don't know now. It's not some permission issue since it's able so play 95% of my library.

 

Need some guidance here.

Link to comment
Share on other sites

thefirstofthe300

This problem is weird.

 

To help, I am going to need some more information:

 

What user is the MB server currently running as? 

What groups is the MB server user a part of (if running as mediabrowser user, what is the output of "groups mediabrowser")?

What is the output of "getfacl $FILE" of a file that has the acl enabled?

Link to comment
Share on other sites

danyboy666

@DaBungalow 

 

I'll just copy in this thread what i've written down in the other thread.

 

 
 

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.

 

post #2

 

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.

 

 

 

 

 

 

Sry for the rant I'm alwais jumping too soon to conclusions when i get fustrated over debugging stuff like this.

 

 

I tried to clean up the post as i could sorry if it's hard reading.

Edited by danyboy666
Link to comment
Share on other sites

danyboy666

This problem is weird.

 

To help, I am going to need some more information:

 

What user is the MB server currently running as? 

What groups is the MB server user a part of (if running as mediabrowser user, what is the output of "groups mediabrowser")?

What is the output of "getfacl $FILE" of a file that has the acl enabled?

 

 

@DaBungalow 

 

I'll just copy in this thread what i've written down in the other thread.

 

 
 

 

 

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.

 

Sry for the rant I'm alwais jumping too soon to conclusions when i get fustrated over debugging stuff like this.

 

 

Here's the group membership of mediabrowser

dferron@homeshare:~$ groups mediabrowser
mediabrowser : mediabrowser root nogroup dferron apps

 

As for the getfile cmd i'm trying to find a news opisode with that flag since i did a setacl -b -R on whole library the other night. 

 

I'll just add the getfacl out on a file a have trouble reading 

dferron@homeshare:/samba/anonymous/library/Videos/TV Shows/Simpsons - The (1989)/Season 26$ getfacl -a  The\ Simpsons\ -\ S26E05\ -\ Opposites\ A-Frack.mp4
# file: The Simpsons - S26E05 - Opposites A-Frack.mp4
# owner: nobody
# group: nogroup
user::rwx
group::-w-
other::rwx

There is a possibility that those files were corrupted somehow. I've redownloaded the same release again and let sickbeard do its thing. The media showed up imediatly in MB3 and i was able to play it without any issues this time. Too many possibilities and probable source i'll have to keep an eye on this closely. Anywais with this issue i've rechecked and redid some of my configs downloaded som codecs and video libs i was missing and made sure MB3 had the proper permissions. I'm  pretty sure everything will be stable from now on. I'm still wondering why that acl flag was set though. It might something to do with the different library fetchers and downloaders working in the same watch folder :/ I will have to check to scripting to help me organize the watch folder properly i guess that would be a good start.

Edited by danyboy666
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...