OpenMediaVault-Plugin-Developers / openmediavault-apttool

openmediavault plugin for apt tools
6 stars 2 forks source link

error in omv7 when try to install with xpath query #5

Open mckaygerhard opened 1 day ago

mckaygerhard commented 1 day ago

this pluing after upgrade to ovm7 and debiaqn to debian 12 gives me errors like Failed to execute XPath query '//services/apttool/packages'. the package openmediavault-apt 7.0-2 works prefectly but the openmediavault-apttool 7.1.1 does not

Failed to execute XPath query '//services/apttool/packages'.

OMV\Config\DatabaseException: Failed to execute XPath query '//services/apttool/packages'. in /usr/share/php/openmediavault/config/database.inc:272
Stack trace:
#0 /usr/share/openmediavault/engined/rpc/apttool.inc(173): OMV\Config\Database->set()
#1 [internal function]: OMVRpcServiceAptTool->setPackage()
#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()
#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod()
#4 /usr/sbin/omv-engined(544): OMV\Rpc\Rpc::call()
#5 {main}
ryecoaaron commented 1 day ago

Sounds like your upgrade did not go well. What is the output of: dpkg -l | grep openme

mckaygerhard commented 1 hour ago

i put the output but i know it does not makes sense, cos i said that the openmediavault-apt works perfectly... cos such command will only show that package deb is just installed

ii  openmediavault                            7.4.12-3                            all          openmediavault - The open network attached storage solution
ii  openmediavault-apt                        7.0-2                               all          openmediavault APT management plugin
ii  openmediavault-apttool                    7.1.1                               all          apt tool plugin for OpenMediaVault.
ii  openmediavault-autoshutdown               7.0.1                               all          OpenMediaVault AutoShutdown Plugin
ii  openmediavault-cputemp                    7.0.2                               all          cpu temperature plugin for openmediavault
ii  openmediavault-diskclone                  7.0                                 all          disk clone plugin for OpenMediaVault.
ii  openmediavault-diskstats                  7.0.1-2                             all          openmediavault disk monitoring plugin
ii  openmediavault-downloader                 7.0                                 all          OpenMediaVault downloader plugin
ii  openmediavault-fail2ban                   7.0.1                               all          OpenMediaVault Fail2ban plugin
ii  openmediavault-ftp                        7.0-5                               all          openmediavault FTP-Server plugin
ii  openmediavault-hosts                      7.0-3                               all          openmediavault hosts plugin
ii  openmediavault-keyring                    1.0.2-2                             all          GnuPG archive keys of the openmediavault archive
ii  openmediavault-locate                     7.0                                 all          locate plugin for OpenMediaVault.
ii  openmediavault-lvm2                       7.0-2                               all          openmediavault Logical Volume Manager (LVM2) plugin
ii  openmediavault-md                         7.0.2-1                             all          openmediavault Linux MD (Multiple Device) plugin
ii  openmediavault-mounteditor                7.0.2                               all          openmediavault mount editor plugin
ii  openmediavault-omvextrasorg               7.0                                 all          OMV-Extras.org Package Repositories for OpenMediaVault
ii  openmediavault-onedrive                   7.1.2-1                             all          openmediavault OneDrive plugin
ii  openmediavault-sftp                       7.0.3                               all          sftp server
ii  openmediavault-sharerootfs                7.0-1                               all          openmediavault share root filesystem plugin
ii  openmediavault-snmp                       7.0-2                               all          openmediavault SNMP (Simple Network Management Protocol) plugin
ii  openmediavault-symlinks                   7.0                                 all          OpenMediaVault symlinks plugin
ii  openmediavault-wireguard                  7.0.7                               all          openmediavault WireGuard plugin

same happened in fresh install like issue https://github.com/OpenMediaVault-Plugin-Developers/openmediavault-downloader/issues/27

ryecoaaron commented 55 minutes ago

what is the output of: sudo omv-showkey downloader