can't activate subsonic plugin

  • Hi,
    i have omv 1.0.7 and omv-extras 1.0.2.
    when i aktivate subsonic i have a error like thees:

    Code
    Fehler #4000: exception 'OMVException' with message 'Failed to execute command 'export LANG=C; update-rc.d 'subsonic' disable 2>&1': update-rc.d: error: no runlevel symlinks to modify, aborting! update-rc.d: using dependency based boot sequencing' in /usr/share/php/openmediavault/initscript.inc:90 Stack trace: #0 /usr/share/php/openmediavault/initscript.inc(56): OMVSysVInitScript->update(true) #1 /usr/share/openmediavault/engined/module/subsonic.inc(99): OMVSysVInitScript->exec() #2 /usr/share/openmediavault/engined/rpc/config.inc(164): OMVModuleSubsonic->stopService() #3 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array) #4 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array) #5 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array) #6 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array) #7 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array) #8 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array) #9 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array) #10 /usr/sbin/omv-engined(495): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1) #11 {main}


    everybody help me?

    omv 6.x | 64 bit | omvextrasorg 6.x |
    used plugins: omv-extras | portainer | rsnapshot | antivirus
    used container: portainer/portainer | nextcloud/all-in-one | linuxserver/swag | paperless-ngx | jellyfin/jellyfin | lmscommunity/logitechmediaserver | adguard/adguardhome |

  • Did you install either the latest or beta version? You have to click one of the boxes to actually install subsonic then you can enable the service.

    [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

  • Hi,


    i have use the plugin 1.0.3 and updat it, but on the last i have this error.
    and then i have deinstalled the plugin and install it again. On the install window the prozess stops:


    i can't close the window. one houer i wait. nothing. Everyone a idea?

    omv 6.x | 64 bit | omvextrasorg 6.x |
    used plugins: omv-extras | portainer | rsnapshot | antivirus
    used container: portainer/portainer | nextcloud/all-in-one | linuxserver/swag | paperless-ngx | jellyfin/jellyfin | lmscommunity/logitechmediaserver | adguard/adguardhome |

  • reload the page - go to susonic - aktivate - save - aplay changes - -->and than is the same error like on first post

    omv 6.x | 64 bit | omvextrasorg 6.x |
    used plugins: omv-extras | portainer | rsnapshot | antivirus
    used container: portainer/portainer | nextcloud/all-in-one | linuxserver/swag | paperless-ngx | jellyfin/jellyfin | lmscommunity/logitechmediaserver | adguard/adguardhome |

  • The deinstallation have an error too,

    Code
    Failed to execute command 'export LANG=C; apt-get --yes --auto-remove --purge remove openmediavault-subsonic 2>&1': Reading package lists... Building dependency tree... Reading state information... The following packages will be REMOVED: ca-certificates-java* java-common* libatk-wrapper-java* libatk-wrapper-java-jni* libdrm2* libgif4* libgl1-mesa-glx* libglapi-mesa* libgtk2.0-0* libgtk2.0-common* libnspr4* libnss3* libxcb-glx0* libxxf86vm1* openjdk-7-jre* openjdk-7-jre-headless* openmediavault-subsonic* tzdata-java* 0 upgraded, 0 newly installed, 18 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 92.0 MB disk space will be freed. (Reading database ... 72475 files and directories currently installed.) Removing openmediavault-subsonic ... Purging configuration files for openmediavault-subsonic ... userdel: subsonic mail spool (/var/mail/subsonic) not found dpkg: error: dpkg status database is locked by another process dpkg: error processing openmediavault-subsonic (--purge): subprocess installed post-removal script returned error exit status 2 Removing openjdk-7-jre:amd64 ... Removing libatk-wrapper-java-jni:amd64 ... Purging configuration files for libatk-wrapper-java-jni:amd64 ... Removing libatk-wrapper-java ... Removing libgl1-mesa-glx:amd64 ... Purging configuration files for libgl1-mesa-glx:amd64 ... Removing libdrm2:amd64 ... Purging configuration files for libdrm2:amd64 ... Removing libgif4 ... Purging configuration files for libgif4 ... Removing libglapi-mesa:amd64 ... Purging configuration files for libglapi-mesa:amd64 ... Removing libgtk2.0-0:amd64 ... Purging configuration files for libgtk2.0-0:amd64 ... Removing libgtk2.0-common ... Purging configuration files for libgtk2.0-common ... Removing libxcb-glx0:amd64 ... Purging configuration files for libxcb-glx0:amd64 ... Removing libxxf86vm1:amd64 ... Purging configuration files for libxxf86vm1:amd64 ... Removing openjdk-7-jre-headless:amd64 ... Purging configuration files for openjdk-7-jre-headless:amd64 ... Removing java-common ... Purging configuration files for java-common ... Removing tzdata-java ... Removing ca-certificates-java ... Purging configuration files for ca-certificates-java ... Removing libnss3:amd64 ... Purging configuration files for libnss3:amd64 ... Removing libnspr4:amd64 ... Purging configuration files for libnspr4:amd64 ... Processing triggers for openmediavault ... Restarting engine daemon ... Processing triggers for hicolor-icon-theme ... Processing triggers for man-db ... Processing triggers for ca-certificates ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d.... done. Errors were encountered while processing: openmediavault-subsonic Creating index of upgradeable packages ... Creating index of OpenMediaVault plugins ... E : Sub-process /usr/bin/dpkg returned an error code (1)


    Code
    Fehler #4000: exception 'OMVException' with message 'Failed to execute command 'export LANG=C; apt-get --yes --auto-remove --purge remove openmediavault-subsonic 2>&1': Reading package lists... Building dependency tree... Reading state information... The following packages will be REMOVED: ca-certificates-java* java-common* libatk-wrapper-java* libatk-wrapper-java-jni* libdrm2* libgif4* libgl1-mesa-glx* libglapi-mesa* libgtk2.0-0* libgtk2.0-common* libnspr4* libnss3* libxcb-glx0* libxxf86vm1* openjdk-7-jre* openjdk-7-jre-headless* openmediavault-subsonic* tzdata-java* 0 upgraded, 0 newly installed, 18 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 92.0 MB disk space will be freed. (Reading database ... 72475 files and directories currently installed.) Removing openmediavault-subsonic ... Purging configuration files for openmediavault-subsonic ... userdel: subsonic mail spool (/var/mail/subsonic) not found dpkg: error: dpkg status database is locked by another process dpkg: error processing openmediavault-subsonic (--purge): subprocess installed post-removal script returned error exit status 2 Removing openjdk-7-jre:amd64 ... Removing libatk-wrapper-java-jni:amd64 ... Purging configuration files for libatk-wrapper-java-jni:amd64 ... Removing libatk-wrapper-java ... Removing libgl1-mesa-glx:amd64 ... Purging configuration files for libgl1-mesa-glx:amd64 ... Removing libdrm2:amd64 ... Purging configuration files for libdrm2:amd64 ... Removing libgif4 ... Purging configuration files for libgif4 ... Removing libglapi-mesa:amd64 ... Purging configuration files for libglapi-mesa:amd64 ... Removing libgtk2.0-0:amd64 ... Purging configuration files for libgtk2.0-0:amd64 ... Removing libgtk2.0-common ... Purging configuration files for libgtk2.0-common ... Removing libxcb-glx0:amd64 ... Purging configuration files for libxcb-glx0:amd64 ... Removing libxxf86vm1:amd64 ... Purging configuration files for libxxf86vm1:amd64 ... Removing openjdk-7-jre-headless:amd64 ... Purging configuration files for openjdk-7-jre-headless:amd64 ... Removing java-common ... Purging configuration files for java-common ... Removing tzdata-java ... Removing ca-certificates-java ... Purging configuration files for ca-certificates-java ... Removing libnss3:amd64 ... Purging configuration files for libnss3:amd64 ... Removing libnspr4:amd64 ... Purging configuration files for libnspr4:amd64 ... Processing triggers for openmediavault ... Restarting engine daemon ... Processing triggers for hicolor-icon-theme ... Processing triggers for man-db ... Processing triggers for ca-certificates ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d.... done. Errors were encountered while processing: openmediavault-subsonic Creating index of upgradeable packages ... Creating index of OpenMediaVault plugins ... E : Sub-process /usr/bin/dpkg returned an error code (1) ' in /usr/share/openmediavault/engined/rpc/pluginmgmt.inc:174 Stack trace: #0 [internal function]: OMVRpcServicePluginMgmt->remove(Array, Array) #1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array) #2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('remove', Array, Array) #3 /usr/sbin/omv-engined(495): OMVRpc::exec('Plugin', 'remove', Array, Array, 1) #4 {main}

    omv 6.x | 64 bit | omvextrasorg 6.x |
    used plugins: omv-extras | portainer | rsnapshot | antivirus
    used container: portainer/portainer | nextcloud/all-in-one | linuxserver/swag | paperless-ngx | jellyfin/jellyfin | lmscommunity/logitechmediaserver | adguard/adguardhome |

  • I have fixed it so that it will not error if a user selects enable before installing a subsonic version.


    I am having trouble figuring out how to uninstall subsonic when you uninstall openmediavault-subsonic :(
    I could remove all files installed but this is a very dirty and would prefer to find a clean way of doing it.

    [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

  • These issues SHOULD be fixed in the next version (1.0.4)
    When it is released please test and let me know if you get any problems


    Miller

    [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

    • Offizieller Beitrag

    1.0.4 is in the repo.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | 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!

  • deinstalling works but installing have an error at the end:



    ... and on the pluginside thes error:

    Code
    Fehler #4000: exception 'OMVException' with message 'Failed to execute command 'omv-mkconf subsonic getsettings': /etc/openmediavault/config.xml:1.1: Document is empty ^ /etc/openmediavault/config.xml:1.1: Start tag expected, '<' not found ^' in /usr/share/openmediavault/engined/rpc/subsonic.inc:70 Stack trace: #0 [internal function]: OMVRpcServiceSubsonic->getSettings(NULL, Array) #1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array) #2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getSettings', NULL, Array) #3 /usr/sbin/omv-engined(495): OMVRpc::exec('Subsonic', 'getSettings', NULL, Array, 1) #4 {main}

    omv 6.x | 64 bit | omvextrasorg 6.x |
    used plugins: omv-extras | portainer | rsnapshot | antivirus
    used container: portainer/portainer | nextcloud/all-in-one | linuxserver/swag | paperless-ngx | jellyfin/jellyfin | lmscommunity/logitechmediaserver | adguard/adguardhome |

  • Happyracer, please provide a full supportinfo: Go to Diganostics | System Information | Support Info and press Send + Start.


    Then post the ID of your Support Info (e.g. 'hs6Bn8h2'") here.


    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!

  • Zitat
    Code
    Restarting engine daemon ...
    Setting up subsonic (4.9) ...
    chmod: cannot access `/var/subsonic': No such file or directory
    dpkg: error processing subsonic (--configure):
     subprocess installed post-installation script returned error exit status 1


    It looks to me as if it is retrying to install subsonic along with the plugin (openmediavault-subsonic) It is most likely that your first attempt to install subsonic failed and so it got stuck in limbo and keeps trying to install.


    Zitat
    Code
    execute command 'omv-mkconf subsonic getsettings': /etc/openmediavault/config.xml:1.1: Document is empty ^ /etc/openmediavault/config.xml:1.1: Start tag expected, '<' not found ^'


    This has me concerned, so please do as david suggests.


    You can also try uninstalling the plugin and run

    Code
    apt-get install -f


    This may help getting rid of the broken subsonic install.

    [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

  • Kh7SGKOa

    omv 6.x | 64 bit | omvextrasorg 6.x |
    used plugins: omv-extras | portainer | rsnapshot | antivirus
    used container: portainer/portainer | nextcloud/all-in-one | linuxserver/swag | paperless-ngx | jellyfin/jellyfin | lmscommunity/logitechmediaserver | adguard/adguardhome |

  • config.xml is intact, nothing weird in it. Subsonic part seems also to be correct for me. Not sure why mkconf throws an error that the config would be empty.


    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!

  • and now?

    omv 6.x | 64 bit | omvextrasorg 6.x |
    used plugins: omv-extras | portainer | rsnapshot | antivirus
    used container: portainer/portainer | nextcloud/all-in-one | linuxserver/swag | paperless-ngx | jellyfin/jellyfin | lmscommunity/logitechmediaserver | adguard/adguardhome |

  • Wait for miller or aaron to get back to you.


    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!

  • Did you try what I suggested above?

    [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

  • davidh2k
    Okay, no prob.


    jhmiller
    yes, i type "apt-get install -f" an the output:

    omv 6.x | 64 bit | omvextrasorg 6.x |
    used plugins: omv-extras | portainer | rsnapshot | antivirus
    used container: portainer/portainer | nextcloud/all-in-one | linuxserver/swag | paperless-ngx | jellyfin/jellyfin | lmscommunity/logitechmediaserver | adguard/adguardhome |

  • Code
    mv /var/lib/dpkg/info/subsonic.* /tmp/
    dpkg --remove --force-remove-reinstreq subsonic
    dpkg --purge subsonic


    You could give the above a try, I am no Linux expert but found the above on another forum.

    [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

  • okay i do these... install without errors.
    i go to the plugin and new error:

    Code
    Fehler #3003: exception 'OMVException' with message 'Failed to get configuration (xpath=//services/subsonic)' in /usr/share/openmediavault/engined/rpc/subsonic.inc:86 Stack trace: #0 [internal function]: OMVRpcServiceSubsonic->getSettings(NULL, Array) #1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array) #2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getSettings', NULL, Array) #3 /usr/sbin/omv-engined(495): OMVRpc::exec('Subsonic', 'getSettings', NULL, Array, 1) #4 {main}

    omv 6.x | 64 bit | omvextrasorg 6.x |
    used plugins: omv-extras | portainer | rsnapshot | antivirus
    used container: portainer/portainer | nextcloud/all-in-one | linuxserver/swag | paperless-ngx | jellyfin/jellyfin | lmscommunity/logitechmediaserver | adguard/adguardhome |

  • That looks like it fixed the broken subsonic but it still can't find the subsonic entries in the config.xml file.


    Try uninstalling and reinstalling the plugin now the other problem has been fixed.

    [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

Jetzt mitmachen!

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