plugin-usbbackup fail to start

  • I recently upgraded from 0.5 to 1.0.24 , and I'm (trying) to run usbbackup 1.0.2 .


    When I was running 0.5, I could run this plugin no problem, but after upgrade, it's failing with:
    /bin/sh: 0: Can't open /rsync-aac0b665-7d09-4053-9691-3336de60452d


    The file exists, just not under / (duh), but rather under the more sensible /var/lib/openmediavault/usbbackup.d


    I believe this is simply some sort of misconfig, like an envvar isn't being set.


    1) has anyone else seen this?
    2) where would the usbbackup script (the one running the stuff under /var/lib/omv/usbbackup.d live?


    thanks.

  • To answer my own question, yes it is a config issue. $GLOBALS['OMV_USBBACKUP_SCRIPTS_DIR'] isn't being set.
    Adding OMV_USBBACKUP_SCRIPTS_DIR="/var/lib/openmediavault/usbbackup.d" to /etc/default/openmediavault resolved the issue.

Jetzt mitmachen!

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