can't start plexmediaserver

  • Hi all,
    I can't start plex media server. There's no way.. Installed, uninstalled.. Reinstalled again.. Try to start manually.. Every time the web ui is unreachable, 404, and plex isn't running.
    Can you help me please?

    • Offizieller Beitrag

    dpkg -l | grep openmediavault
    cat /etc/passwd | grep ^plex
    showkey plexmediaserver

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Code
    root@aki-nas:~# dpkg -l | grep openmediavault
    ii  openmediavault                     1.0.29                        all          Open network attached storage solution
    ii  openmediavault-jdownloader         1.0.6                         all          OpenMediaVault Jdownloader plugin
    ii  openmediavault-keyring             0.3                           all          GnuPG archive keys of the OpenMediaVault archive
    ii  openmediavault-nginx               1.0.9                         all          Nginx plugin for OpenMediaVault.
    ii  openmediavault-omvextrasorg        1.0.17                        all          OMV-Extras.org Package Repositories for OpenMediaVault
    ii  openmediavault-plexmediaserver     1.0.3                         all          OpenMediaVault Plex Media Server plugin
    ii  openmediavault-pyload              1.0.0                         all          OpenMediaVault pyLoad plugin
    ii  openmediavault-transmissionbt      1.0.8                         all          OpenMediaVault Transmission (BitTorrent client) plugin
    ii  openmediavault-usbbackup           1.0.2                         all          OpenMediaVault USB/eSATA backup plugin
    Code
    root@aki-nas:~# cat /etc/passwd | grep ^plex
    plex:x:112:65534::/media/1c59ca65-3fe5-4c5f-acb0-076b03c7460a/plexmediaserver:/bin/bash
    Code
    root@aki-nas:~# showkey plexmediaserver
        <plexmediaserver>
          <enable>1</enable>
          <db-folder>/media/1c59ca65-3fe5-4c5f-acb0-076b03c7460a/plexmediaserver</db-folder>
          <mntentref>bd073d81-7509-4f2c-b006-ecae0f24b3d0</mntentref>
          <showtab>1</showtab>
        </plexmediaserver>
    • Offizieller Beitrag

    How about: ls -al /media/1c59ca65-3fe5-4c5f-acb0-076b03c7460a/plexmediaserver/

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • root@aki-nas:~# ls -al /media/1c59ca65-3fe5-4c5f-acb0-076b03c7460a/plexmediaserver/
    totale 12
    drwxrwsrwx 3 plex nogroup 4096 ott 28 07:12 .
    drwxrws--- 14 root users 4096 ott 28 07:12 ..
    drwxr-sr-x 3 plex nogroup 4096 ott 26 05:17 Library
    root@aki-nas:~#

  • give results of the stat & id command:
    cd /media/1c59ca65-3fe5-4c5f-acb0-076b03c7460a
    stat plexmediaserver


    id plex


    Wie du immer denkst die UID wäre nicht die richtige :D


    Gruß
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • root@aki-nas:~# cd /media/1c59ca65-3fe5-4c5f-acb0-076b03c7460a
    root@aki-nas:/media/1c59ca65-3fe5-4c5f-acb0-076b03c7460a# stat plexmediaserver
    File: "plexmediaserver"
    Dim.: 4096 Blocchi: 8 Blocco di IO: 4096 directory
    Device: 97fh/2431d Inode: 350486529 Coll.: 3
    Accesso: (2777/drwxrwsrwx) Uid: ( 112/ plex) Gid: (65534/ nogroup)
    Accesso : 2014-10-29 20:20:05.288012582 +0100
    Modifica : 2014-10-28 07:12:10.888807769 +0100
    Cambio : 2014-10-28 07:13:56.792810308 +0100
    Creazione: -
    root@aki-nas:/media/1c59ca65-3fe5-4c5f-acb0-076b03c7460a# id plex
    uid=112(plex) gid=65534(nogroup) gruppi=65534(nogroup)
    root@aki-nas:/media/1c59ca65-3fe5-4c5f-acb0-076b03c7460a#

  • I better get a like for this. I had to upgrade an old vm to track down this problem:


    1) In command line:
    omv-mkconf fstab


    2) Then reboot.


    3) Then in command line again. All these are probably not needed but I want to be sure you get clean install:


    Code
    apt-get --purge remove openmediavault-plexmediaserver
    apt-get --purge remove plexmediaserver
    userdel plex
    rm -rf /media/1c59ca65-3fe5-4c5f-acb0-076b03c7460a/plexmediaserver


    4) Then reinstall the plugin again in OMV web gui....


    For some reason during the upgrade process the fstab file is removing the filesystem mounts for the data drives.

    Einmal editiert, zuletzt von WastlJ () aus folgendem Grund: fixed a typo. ;-)

  • everything good, but....
    when i try to install... this is what happened:


    Reading package lists...Building dependency tree...Reading state information...The following extra packages will be installed:plexmediaserverThe following NEW packages will be installed:openmediavault-plexmediaserver plexmediaserver0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.Need to get 91.3 MB of archives.After this operation, 205 kB of additional disk space will be used.WARNING: The following packages cannot be authenticated!plexmediaserver openmediavault-plexmediaserverAuthentication warning overridden.Get:1 http://dh2k.omv-extras.org/debian/ plex-wheezy-mirror/main plexmediaserver amd64 0.9.11.1.678-c48ffd2-debian [91.2 MB]Err http://packages.omv-extras.org/debian/ kralizec-plex/main openmediavault-plexmediaserver all 1.0.3404 Not FoundFailed to fetch http://packages.omv-extras.org…mediaserver_1.0.3_all.deb 404 Not FoundFetched 91.2 MB in 28s (3226 kB/s)Selecting previously unselected package plexmediaserver.(Reading database ... 37986 files and directories currently installed.)Unpacking plexmediaserver (from .../plexmediaserver_0.9.11.1.678-c48ffd2-debian_amd64.deb) ...Creating index of upgradeable packages ...Creating index of OpenMediaVault plugins



    ...and then the installation is hanging...

  • This is repo or dns server issue. Did you set dns server in OMV web gui?


    In OMV web gui @ /System/Netork/DNS Server
    primary should be: ip of your ROUTER
    secondary should be: 8.8.8.8


    Or the repo is down... see if aaron says anything about your post.

  • Run apt-get update, your apt-cache is out of date.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • dns OK, i did apt-get update, the install plex via web ui, this is the result:


    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following NEW packages will be installed:
    openmediavault-plexmediaserver
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    Need to get 17.7 kB of archives.
    After this operation, 61.4 kB of additional disk space will be used.
    WARNING: The following packages cannot be authenticated!
    openmediavault-plexmediaserver
    Authentication warning overridden.
    Get:1 http://packages.omv-extras.org/debian/ kralizec-plex/main openmediavault-plexmediaserver all 1.0.4 [17.7 kB]
    Fetched 17.7 kB in 0s (27.3 kB/s)
    Selecting previously unselected package openmediavault-plexmediaserver.
    (Reading database ... 41880 files and directories currently installed.)
    Unpacking openmediavault-plexmediaserver (from .../openmediavault-plexmediaserver_1.0.4_all.deb) ...
    Processing triggers for openmediavault ...
    Restarting engine daemon ...
    Setting up plexmediaserver (0.9.11.1.678-c48ffd2-debian) ...
    update-rc.d: using dependency based boot sequencing
    Plex Media Server is not running (no process found)...
    Starting Plex Media Server: done
    Setting up openmediavault-plexmediaserver (1.0.4) ...
    chown: changing ownership of `/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Media-Flags.bundle/Contents/Resources/Studio/.Porchlight.png.zq5HeF': No such file or directory
    dpkg: error processing openmediavault-plexmediaserver (--configure):
    subprocess installed post-installation script returned error exit status 1
    Processing triggers for openmediavault ...
    Restarting engine daemon ...
    Errors were encountered while processing:
    openmediavault-plexmediaserver

  • Well it installed. Can you start plex now???


    /etc/init.d/plexmediaserver start


    You might be able to start plexmediaserver even if the plugin is not correct...


    Also, do this:
    apt-get -f install


    Tell what it says.

  • root@aki-nas:~# /etc/init.d/plexmediaserver start
    Plex already running...
    root@aki-nas:~# apt-get -f install
    Lettura elenco dei pacchetti... Fatto
    Generazione albero delle dipendenze
    Lettura informazioni sullo stato... Fatto
    0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
    1 non completamente installati o rimossi.
    Dopo quest'operazione, verranno occupati 0 B di spazio su disco.
    Configurazione di openmediavault-plexmediaserver (1.0.4)...
    Initialize configuration
    Elaborazione dei trigger per openmediavault...
    Updating locale files ...
    Updating file permissions ...
    Restarting engine daemon ...
    Creating index of upgradeable packages ...
    Creating index of OpenMediaVault plugins ...


    Then I went to plex plugin page, enabled it, set the database volume location (automatically it changed the location of database directory), saved and applied all, tried to go to plex web client page.... 404..


    Tried
    root@aki-nas:~# /etc/init.d/plexmediaserver start


    It said:
    Starting Plex Media Server: done


    But still 404 on web client.

  • It is working:

    Zitat

    Plex already running...


    Try to connect at this address:

    Code
    http://ipofyouromv:32400/web


    There is some security (CSP) that needs to be disabled so it will show in the web client. But the button on the Settings TAB should be working. To disable the security so you can see it in the web client install the openmediavault-links plugin. Then then add a website and use a checkmark in the media check spot. Refressh your browser and that web client for the plex should be working too.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!