Upgrade from 2.2.13 to 3.0xx - Login not working

  • I have preformed the upgrade and have the GUI screen open at the login screen.
    My original user name and password generates this message:

    Code
    Failed to connect to socket: No such file or directory


    When I click more info


    Code
    Error #0:
    exception 'OMV\Rpc\Exception' with message 'Failed to connect to socket: No such file or directory' in /usr/share/php/openmediavault/rpc/rpc.inc:138
    Stack trace:
    #0 /var/www/openmediavault/rpc/session.inc(56): OMV\Rpc\Rpc::call('UserMgmt', 'authUser', Array, Array, 2, true)
    #1 [internal function]: OMVRpcServiceSession->login(Array, Array)
    #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/rpc.inc(84): OMV\Rpc\ServiceAbstract->callMethod('login', Array, Array)
    #4 /usr/share/php/openmediavault/rpc/proxy/json.inc(95): OMV\Rpc\Rpc::call('Session', 'login', Array, Array, 3)
    #5 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()
    #6 {main}

    I also tried using the default user name: admin pw: openmediavault
    Still nothing...


    Any ideas?

  • Doing some research on this forum I tried

    Code
    omv-engined -df


    Then received this error. looks like Plex is causing an issue


    Code
    PHP Fatal error:  require_once(): Failed opening required 'openmediavault/object.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/openmediavault/engined/rpc/plexmediaserver.inc on line 22
    ct.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/openmediavault/engined/rpc/plexmediaserver.inc on line 22
    -bash: syntax error near unexpected token `('

    Any ideas?


    Thanks

    • Offizieller Beitrag

    You probably have an old version of the plex plugin. What is the output of: dpkg -l | grep openm

    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!

  • Could this old plugin prevent me from login into the OMV GUI?

    • Offizieller Beitrag

    Could this old plugin prevent me from login into the OMV GUI?

    Yes. It breaks OMV. I would remove it apt-get remove openmediavault-plexmediaserver or try apt-get install openmediavault-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!

  • So I tried the second command because I prefer not to loose all my settings and this is what I got


    Code
    apt-get install openmediavault-plexmediaserver
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    openmediavault-plexmediaserver is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.

    If plex is already the newest version, not sure how this caused a problem. I guess I will try and remove it later today and see if that works, unless you have another option before removing it.

    • Offizieller Beitrag

    omv-aptclean
    apt-cache policy openmediavault-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!

  • Thanks I ran the code above omv-aptclean and then ran the


    Code
    apt-cache policy openmediavault-plexmediaserver

    This is what I got.

    Code
    apt-cache policy openmediavault-plexmediaserver
    openmediavault-plexmediaserver:
      Installed: 1.0.14
      Candidate: 1.0.14
      Version table:
     *** 1.0.14 0
            100 /var/lib/dpkg/status

    I rebooted the system and attempted to login to the GUI again and I still get this error:


    Failed to connect to socket: No such file or directory

    Code
    Error #0:
    exception 'OMV\Rpc\Exception' with message 'Failed to connect to socket: No such file or directory' in /usr/share/php/openmediavault/rpc/rpc.inc:138
    Stack trace:
    #0 /var/www/openmediavault/rpc/session.inc(56): OMV\Rpc\Rpc::call('UserMgmt', 'authUser', Array, Array, 2, true)
    #1 [internal function]: OMVRpcServiceSession->login(Array, Array)
    #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/rpc.inc(84): OMV\Rpc\ServiceAbstract->callMethod('login', Array, Array)
    #4 /usr/share/php/openmediavault/rpc/proxy/json.inc(95): OMV\Rpc\Rpc::call('Session', 'login', Array, Array, 3)
    #5 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()
    #6 {main}
    • Offizieller Beitrag

    I rebooted the system and attempted to login to the GUI again and I still get this error

    Those commands weren't supposed to fix it. They were just informational for me to determine where to go next. Now, do the following:


    omv-changerepo Plexmediaserver
    omv-mkconf omvextras aptclean


    Then post the output of: apt-cache policy openmediavault-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!

  • Okay ran the commands and this is what came up


    • Offizieller Beitrag

    Now, apt-get install openmediavault-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!

  • Okay I ran the command it looks like I can now login into the GUI. Thanks for your help.


    I'm now getting this error message once the GUI loads

    Every time I click OK it pops back up.

    • Offizieller Beitrag

    You might have to uninstall the transmission plugin. It changed a lot between 2.x and 3.x.

    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!

  • Okay thanks that looks like it fixed it.


    I'm now getting this error from couchpotato

    I tried to uninstalled it and then reinstalled it and I'm still getting this error.

    • Offizieller Beitrag

    I don't much about couchpotato. @jhmiller

    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!

  • Okay I will keep it uninstalled until I hear back from @jhmiller


    Now that I'm running OMV3 which is running on Jessie, can I update Plex using the Ubuntu version from the plex.tv site? I seem to be having a problem with their latest issue and want to downgrade.

    • Offizieller Beitrag

    can I update Plex using the Ubuntu version from the plex.tv site?

    I don't think so but I don't use it and haven't tried in a long time. Probably still some weird things in it that differ between Ubuntu and Debian.

    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!

  • Thanks just as I suspected. Plex ended up installing on top of my old version. All the previous settings were lost. No biggie just a pain.


    One thing I have noticed is that Sonarr is enabling in the GUI but won't launch. When I attempt to visit the web page it has page cannot be displayed. Also in the GUI there's a red dot beside Sonarr.


    Any suggestions to figure out why it won't launch/load?


    I really appreciate your help! Thanks

  • I will look into the CouchPotato error, might be worth setting the group as users on the plugin page for now.


    Sonarr rely's heavily on mono so that might be your problem.
    You could try running start-stop-daemon -d /opt/Sonarr -c sonarr --start --pidfile /var/run/sonarr/sonarr.pid --exec /usr/bin/mono -- /opt/Sonarr/NzbDrone.exe this will show Sonarr running/starting and maybe shed some light on why it is not starting.

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • Thanks @jhmiller


    I uninstalled Sonarr and reinstalled it. I had a backup of the database so I didn't lose any settings. Everything seems to be running properly in Sonarr.


    The couchpotato issue is strange. When I attempt to install it via the plugins the dialog box pops up and it shows that it's installing, then all of a sudden I start to see an <----------------Error-----------------> continually scrolling. I can't stop it to copy and paste or to see what it said before the error message came up. When I uninstall it afterwards there is no error message showing.


    Is there a log file I can look at that will show where the error originates from?

Jetzt mitmachen!

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