Posts by viald

    Sure, but it's not easy to find what's wrong.And I already installed the plugins many times.
    Thanks again for your help.

    I know about the security matter about noexec option. But It seems that the /opt/plexcodec not really works. Removing noexec in fstab option solves all my sync issue.

    One of my issue regarding transcoding which can be solve with the new release of Plex is to remove the noexec option in fstab. See https://goo.gl/UcMjK2
    I have to do it manually, I think that noexec is a default option used by OMV when setting volume in fstab.

    So moving the original plex library before new installation of plex plugin has solved this issue. It seems that the plugins dislikes having the plexmediaserver folder already exists on the selected volume.


    But I have to get back to my first issue now, I'm still not able to sync media with smartphones. The error logs are now not the same :S

    Code
    Jul 26, 2016 11:20:34.451 [0x7f4bcc3ff700] ERROR - LPE: unknown item 76651.
    Jul 26, 2016 11:20:34.452 [0x7f4bcc3ff700] ERROR - Sync: failed to generate query for path library://ec7d8abe-d970-4360-8b20-29c781
    d827bb/item/%2Flibrary%2Fmetadata%2F76651 in sync item 9945255
    Jul 26, 2016 11:20:34.452 [0x7f4bcc3ff700] ERROR - Sync: skipping items for sync list 6386909, sync item 9945255: unable to generate sync set query

    I did not delete /media/11a74c65-d873-4583-8b0c-20a4ec7e38e2/plexmediaserver because this is my original plex library. But I have deleted the symlink /var/lib/plexmediaserver to my library just after.

    Here it is :)

    I also tried my others volumes, but the plex user home directory remains the same.
    I'm not sure it's related to the D5 volume.


    Is it possible to have debug level for the plex plugin ?

    Extract from fstab

    Code
    UUID=11a74c65-d873-4583-8b0c-20a4ec7e38e2 /media/11a74c65-d873-4583-8b0c-20a4ec7e38e2 ext4 defaults,nofail,acl,user_xattr,noexec,us
    rjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 2



    Code
    root@NAS:~# df -h
    /dev/sdg1 1,8T 556G 1,2T 32% /media/11a74c65-d873-4583-8b0c-20a4ec7e38e2
    Code
    root@NAS:~# ls -al /media/11a74c65-d873-4583-8b0c-20a4ec7e38e2/plexmediaserver/
    total 12
    drwxr-xr-x 3 plex plex 4096 juil. 18 15:11 .
    drwxr-xr-x 11 root root 4096 juil. 18 15:16 ..
    drwxr-xr-x 3 plex plex 4096 juil. 18 16:37 Library

    apt-get purge openmediavault-plexmediaserver
    apt-get purge plexmediaserver
    rm /var/lib/plexmediaserver
    userdel plex
    rm -rf /etc/systemd/system/plexmediaserver.service.d


    Done.


    Then install Plex plugins from OMV GUI.


    Done.


    Plex user settings before configuring the plugin

    Code
    root@NAS:/var/lib# grep plex /etc/passwd
    plex:x:113:119::/var/lib/plexmediaserver:/bin/bash


    Set the Plex plugin and apply it



    Plex user settings after configuring the plugin

    Code
    root@NAS:/var/lib# grep plex /etc/passwd
    plex:x:113:119::/var/lib/plexmediaserver:/bin/bash


    Still the same home directory :/


    Not sure the plugin is working well on my system.


    Release information

    Code
    ii openmediavault-plexmediaserver 1.0.15 all OpenMediaVault Plex Media Server plugin
    ii plexmediaserver 1.0.0.2261-a17e99e-debian amd64 Plex Media Server for Linux
    ii openmediavault-plexmediaserver 1.0.15 all OpenMediaVault Plex Media

    @viald


    Check and see if you have anything in location:


    ls -la /var/lib/plexmediaserver

    I know that /var/lib/plexmediaserver is the default folder used by plex server.


    Code
    root@NAS:~# ls -la /var/lib/plexmediaserver
    lrwxrwxrwx 1 plex plex 59 juil. 18 16:18 /var/lib/plexmediaserver -> /media/11a74c65-d873-4583-8b0c-20a4ec7e38e2/plexmediaserver


    I did the symlink to my plex library used before the plex update, because the plex OMV plugin was not able to take into account this "old" setting

    plexcodecs folder is available but empty

    Code
    root@NAS:/opt# find /opt/plexcodecs/ -print
    /opt/plexcodecs/
    /opt/plexcodecs/Codecs
    /opt/plexcodecs/Codecs/.device-id
    /opt/plexcodecs/Codecs/2c361e4-1071-linux-ubuntu-x86_64
    root@NAS:/opt#


    Code
    root@NAS:~# ls -la /opt
    total 24
    drwxrwxr-x 6 root users 4096 juil. 18 15:48 .
    drwxr-xr-x 25 root root 4096 juin 2 16:52 ..
    drwxr-xr-x 3 plex plex 4096 juil. 18 15:48 plexcodecs
    drwxr-xr-x 16 root root 4096 juin 2 19:38 SABnzbd

    Thanks a lot all for your suggestions, but in my case the folder /opt/plexcodecs exists, but I still have the same issue.

    plexcodecs folder is available but empty

    Code
    root@NAS:/opt# find /opt/plexcodecs/ -print
    /opt/plexcodecs/
    /opt/plexcodecs/Codecs
    /opt/plexcodecs/Codecs/.device-id
    /opt/plexcodecs/Codecs/2c361e4-1071-linux-ubuntu-x86_64
    root@NAS:/opt#


    Code
    root@NAS:~# ls -la /opt
    total 24
    drwxrwxr-x 6 root users 4096 juil. 18 15:48 .
    drwxr-xr-x 25 root root 4096 juin 2 16:52 ..
    drwxr-xr-x 3 plex plex 4096 juil. 18 15:48 plexcodecs
    drwxr-xr-x 16 root root 4096 juin 2 19:38 SABnzbd

    Here it is

    Code
    root@NAS:~# cat /proc/cpuinfo |grep model
    model : 4
    model name : AMD Phenom(tm) II X4 965 Processor
    model : 4
    model name : AMD Phenom(tm) II X4 965 Processor
    model : 4
    model name : AMD Phenom(tm) II X4 965 Processor
    model : 4
    model name : AMD Phenom(tm) II X4 965 Processor
    root@NAS:~#


    Code
    root@NAS:~# dpkg -l | grep plex
    ii libmpc2:amd64 0.9-4 amd64 multiple precision complex floating-point library
    ii openmediavault-plexmediaserver 1.0.15 all OpenMediaVault Plex Media Server plugin
    ii plexmediaserver 1.0.0.2261-a17e99e-debian amd64 Plex Media Server for Linux
    root@NAS:~#

    Hi,
    I still have an issue with the plex server. Not sure it comes from OMV.
    I tried a fresh plex installation using:

    Code
    apt-get purge openmediavault-plexmediaserver
    apt-get purge plexmediaserver
    userdel plex
    rm -rf /etc/systemd/system/plexmediaserver.service.d
    Install Plex on Application Tab


    But I still can't synchronise musics from smartphone

    Code
    Jul 18, 2016 16:39:57.303 [0x7f7e4ebfc700] ? - [Transcoder] Unknown encoder 'libmp3lame'
    Jul 18, 2016 16:39:57.303 [0x7f7e61bff700] ERROR - JobManager: child process returned: 1 (Operation not permitted)
    Jul 18, 2016 16:39:57.344 [0x7f7e653ff700] ERROR - Error writing media: 104 - Connection reset by peer
    Jul 18, 2016 16:39:57.361 [0x7f7e54bfe700] ? - [Transcoder] Unknown decoder 'mp3'
    Jul 18, 2016 16:39:57.362 [0x7f7e61bff700] ERROR - JobManager: child process returned: 1 (Operation not permitted)
    Jul 18, 2016 16:39:57.362 [0x7f7e64bfe700] ERROR - Error writing media: 104 - Connection reset by peer


    Thanks for your help.

    Solved !
    My system already maps the port 8080 and this is the port number used by OMV sabnzbd plugins as well.
    When applying settings from OMV it changes default port 8085 to 8080 in /var/opt/sabnzbd/sabnzbd.ini
    So it was not possible to start the daemon using '/etc/init.d/sabnzbd start' Notice, that there no return error code when the daemon could not starts.
    Freeing the port 8080 solves the 4000 error popup from OMV as well.
    Thanks all for your help.