borgbackup UI error "Failed to execute Path Query"

  • I can't use the UI options for borgbackup plugin any more. I get the repo list but the archives list is always empty after this error:


    Failed to execute XPath query '//services/borgbackup/repos/repo[uuid='<long hex string here>']'.

    Code
    Error #0:OMV\Config\DatabaseException: Failed to execute XPath query '//services/borgbackup/repos/repo[uuid='<long hex string here>']'. in /usr/share/php/openmediavault/config/database.inc:78Stack trace:#0 /usr/share/openmediavault/engined/rpc/borgbackup.inc(312): OMV\Config\Database->get('conf.service.bo...', 'c0be7f20-10ad-4...')#1 [internal function]: OMVRpcServiceBorgBackup->getArchiveList(Array, Array)#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getArchiveList', Array, Array)#4 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('BorgBackup', 'getArchiveList', Array, Array, 1)#5 {main}

    Otherwise the system seems healthy. I did a Borg check using the OS and it came back clean. Backups seem to be working.


    EDIT: Confirmed - removing the bad repo entry from /etc/openmediavault/config.xml fixed the issue.

    Einmal editiert, zuletzt von phunksta () aus folgendem Grund: Confirmed fix

  • I'm also having a similar problem, but I am unable to create repos from the UI.


    Code
    Error #0:
    OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; BORG_PASSPHRASE='' /usr/bin/borg init --encryption=none '/srv/91a3222a-9b2c-485f-a600-1fb2c93d3b3a/Docker/'' with exit code '2':  in /usr/share/php/openmediavault/system/process.inc:182
    Stack trace:
    #0 /usr/share/openmediavault/engined/rpc/borgbackup.inc(152): OMV\System\Process->execute(Array)
    #1 [internal function]: OMVRpcServiceBorgBackup->setRepo(Array, Array)
    #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('setRepo', Array, Array)
    #4 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('BorgBackup', 'setRepo', Array, Array, 1)
    #5 {main}

    OMV7 | Xeon W-1250 | 48 GB | Linux 6.5 PVE

    • Offizieller Beitrag

    The first post probably deleted the repo that the archive is referencing. The archive will have to be cleaned up from /etc/openmediavault/config.xml


    The second post is completely different. It doesn't like the path you are using. Is it empty?

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

Jetzt mitmachen!

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