[SOLVED] The property 'path' does not exist in the model 'conf.system.backup'

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • [SOLVED] The property 'path' does not exist in the model 'conf.system.backup'

      I've upgraded from 2.0 to 3.0 to 4.0 (Arrakis) recently and ended up with an error in the Backup plugin. When I access the entry for from the web interface I get:

      The property 'path' does not exist in the model 'conf.system.backup'.

      Details:

      Error #0:OMV\AssertException: The property 'path' does not exist in the model 'conf.system.backup'. in /usr/share/php/openmediavault/config/configobject.inc:71Stack trace:#0 /usr/share/php/openmediavault/config/configobject.inc(186): OMV\Config\ConfigObject->assertExists('path')#1 /usr/share/php/openmediavault/config/configobject.inc(271): OMV\Config\ConfigObject->set('path', '/media/aca4f31f...', false)#2 /usr/share/php/openmediavault/config/configobject.inc(233): OMV\Config\ConfigObject->setFlatAssoc(Array, false, false)#3 /usr/share/php/openmediavault/config/database.inc(90): OMV\Config\ConfigObject->setAssoc(Array, false)#4 /usr/share/openmediavault/engined/rpc/backup.inc(41): OMV\Config\Database->get('conf.system.bac...')#5 [internal function]: OMVRpcServiceBackup->get(NULL, Array)#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#7 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('get', NULL, Array)#8 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Backup', 'get', NULL, Array, 1)#9 {main}


      I've tried uninstalling/reinstalling omvextras and backup plugin several times, no luck. Also, not some kind of browser cache issue as was the case with a few other upgrade error messages I received from the web interface.

      Can manually edit conf.system.backup if necessary, but not sure what to add. Not an expert with linux, but not a newbie either. Please let me know what you think.
    • Purge the plugin (apt-get purge openmediavault-backup) otherwise the database config doesn't get removed which is causing the message. Then re-install. If that doesn't work, remove the path element from /etc/openmediavault/config.xml (back it up first).
      omv 4.1.17 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryanprice638 wrote:

      Am I missing something?
      Not sure. What is the output of: omv-showkey backup
      omv 4.1.17 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • <backup>
      <sharedfolderref>8086fc0d-c039-4f6a-adec-ac9a147f0e4e</sharedfolderref>
      <path>/media/aca4f31f-6c7b-483c-b092-df5e853b8b0c/omvbackup</path>
      <photorec>
      <freespace>1</freespace>
      <everything>1</everything>
      </photorec>
      <partedmagic></partedmagic>
      <extundelete></extundelete>
      <extraoptions></extraoptions>
      <root></root>
      </backup>
    • That config is old. It should look like this:

      XML Source Code

      1. <backup>
      2. <sharedfolderref>3af71432-aa9a-450f-909b-979443fd0493</sharedfolderref>
      3. <root></root>
      4. <extraoptions/>
      5. </backup>
      omv 4.1.17 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryanprice638 wrote:

      Can a force a regeneration? If not, where is the native file so I can manually edit it?
      Figured it out.

      1) Ran locate conf.system.backup and found below:

      /omvbackup/usr/share/openmediavault/confdb/create.d/conf.system.backup.sh
      /omvbackup/usr/share/openmediavault/confdb/delete.d/conf.system.backup.sh
      /omvbackup/usr/share/openmediavault/confdb/migrations.d/conf.system.backup_3.2.sh
      /omvbackup/usr/share/openmediavault/confdb/migrations.d/conf.system.backup_3.4.sh
      /omvbackup/usr/share/openmediavault/confdb/migrations.d/conf.system.backup_3.7.sh
      /omvbackup/usr/share/openmediavault/datamodels/conf.system.backup.json
      /usr/share/openmediavault/confdb/create.d/conf.system.backup.sh
      /usr/share/openmediavault/confdb/delete.d/conf.system.backup.sh
      /usr/share/openmediavault/confdb/migrations.d/conf.system.backup_3.2.sh
      /usr/share/openmediavault/confdb/migrations.d/conf.system.backup_3.4.sh
      /usr/share/openmediavault/confdb/migrations.d/conf.system.backup_3.7.sh
      /usr/share/openmediavault/datamodels/conf.system.backup.json


      2) run /omvbackup/usr/share/openmediavault/confdb/delete.d/conf.system.backup.sh - deletes current backup config
      3) omv-showkey backup now yields nothing...
      4) run /omvbackup/usr/share/openmediavault/confdb/create.d/conf.system.backup.sh - creates new backup config
      5) omv-showkey backup now yields :

      <backup><sharedfolderref/><root/><extraoptions/></backup></system

      Going to the 'Backup' selection from the web gui now yields no error, can configure as before.

      Thanks for the assistance and hope this helps someone else with the same problem after upgrading.
    • ryanprice638 wrote:

      Thanks for the assistance and hope this helps someone else with the same problem after upgrading.
      Glad it is working. Once I fix the plugin, someone in the same position would just need to uninstall and reinstall the plugin.
      omv 4.1.17 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • New

      Hi,
      i had this problem on OMV 3 and today i upgraded to OMV 4.1.17 and still have same problem.

      I tried the solution here, but had no success.
      I deinstalled the plugin and reinstalled, but still got this error.

      Then i tried the commands pasted 2 posts below, but i got error when i use them...

      also tried apt-get purge openmediavault-backup and then reinstalled it, but no success, still same error message :(

      here is my error message when i go to the backup tab:

      Source Code

      1. Error: The property 'path' does not exist in the model 'conf.system.backup'.
      2. Detail:
      3. Fehler #0:OMV\AssertException: The property 'path' does not exist in the model 'conf.system.backup'. in /usr/share/php/openmediavault/config/configobject.inc:71Stack trace:
      4. #0 /usr/share/php/openmediavault/config/configobject.inc(186): OMV\Config\ConfigObject->assertExists('path')
      5. #1 /usr/share/php/openmediavault/config/configobject.inc(271): OMV\Config\ConfigObject->set('path', '', false)
      6. #2 /usr/share/php/openmediavault/config/configobject.inc(233): OMV\Config\ConfigObject->setFlatAssoc(Array, false, false)
      7. #3 /usr/share/php/openmediavault/config/database.inc(90): OMV\Config\ConfigObject->setAssoc(Array, false)
      8. #4 /usr/share/openmediavault/engined/rpc/backup.inc(41): OMV\Config\Database->get('conf.system.bac...')
      9. #5 [internal function]: OMVRpcServiceBackup->get(NULL, Array)
      10. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      11. #7 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('get', NULL, Array)
      12. #8 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Backup', 'get', NULL, Array, 1)
      13. #9 {main}
      Display All

      The post was edited 1 time, last by W0RSCHD ().

    • New

      W0RSCHD wrote:

      here is my error message when i go to the backup tab:
      This has been fixed but you need to manually fix your system. Purge the plugin and then remove the backup section from /etc/openmediavault/config.xml (make a backup first).
      omv 4.1.17 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • New

      Thank you for answering. I purged the plugin already, with no success. What exactly do i have to delete in the backupsection? Can you describe it please for "dummies" that i know what i have to delete.
      So like you write i have to edit the config.xml file and there delete the "backup section", i understand right?

      best regards
    • New

      W0RSCHD wrote:

      Thank you for answering. I purged the plugin already, with no success. What exactly do i have to delete in the backupsection? Can you describe it please for "dummies" that i know what i have to delete.
      So like you write i have to edit the config.xml file and there delete the "backup section", i understand right?
      Yes, I know you purged it but it needs to be purged when editing the config.xml.

      As root:

      source /usr/share/openmediavault/scripts/helper-functions
      omv_config_delete "/config/services/backup"
      omv_config_delete "/config/system/backup"

      Confirm it is gone with:
      omv-showkey backup
      omv 4.1.17 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!