Closed JanJenicek closed 4 years ago
I wrote this issue after several attempts to install OVM. After many more attempts and several SD cards I managed to install it. The problem was not in the installer. I did not use old SD cards, most of them was barely used. But still cause problems. Please close the issue.
Probably not an installer issue but still I am experiencing lot of troubles after installation.
When I try to add interface in Network section:
{"response":null,"error":{"code":0,"message":"The property 'options' does not exist in the model 'conf.system.network.interface'.","trace":"OMV\\AssertException: The property 'options' does not exist in the model 'conf.system.network.interface'. in \/usr\/share\/php\/openmediavault\/config\/configobject.inc:71\nStack trace:\n#0 \/usr\/share\/php\/openmediavault\/config\/configobject.inc(186): OMV\\Config\\ConfigObject->assertExists('options')\n#1 \/usr\/share\/php\/openmediavault\/config\/configobject.inc(271): OMV\\Config\\ConfigObject->set('options', '', true)\n#2 \/usr\/share\/php\/openmediavault\/config\/configobject.inc(233): OMV\\Config\\ConfigObject->setFlatAssoc(Array, true, false)\n#3 \/usr\/share\/openmediavault\/engined\/rpc\/network.inc(135): OMV\\Config\\ConfigObject->setAssoc(Array)\n#4 \/usr\/share\/openmediavault\/engined\/rpc\/network.inc(542): Engined\\Rpc\\Network->setInterfaceConfig(Array, Array)\n#5 [internal function]: Engined\\Rpc\\Network->setEthernetIface(Array, Array)\n#6 \/usr\/share\/php\/openmediavault\/rpc\/serviceabstract.inc(123): call_user_func_array(Array, Array)\n#7 \/usr\/share\/php\/openmediavault\/rpc\/rpc.inc(86): OMV\\Rpc\\ServiceAbstract->callMethod('setEthernetIfac...', Array, Array)\n#8 \/usr\/sbin\/omv-engined(537): OMV\\Rpc\\Rpc::call('Network', 'setEthernetIfac...', Array, Array, 1)\n#9 {main}"}}
Via firstaid I was able to configure it.
But still getting similar error while trying to enable samba:
{"response":null,"error":{"code":0,"message":"The property 'localmaster' does not exist in the model 'conf.service.smb'.","trace":"OMV\\AssertException: The property 'localmaster' does not exist in the model 'conf.service.smb'. in \/usr\/share\/php\/openmediavault\/config\/configobject.inc:71\nStack trace:\n#0 \/usr\/share\/php\/openmediavault\/config\/configobject.inc(186): OMV\\Config\\ConfigObject->assertExists('localmaster')\n#1 \/usr\/share\/php\/openmediavault\/config\/configobject.inc(271): OMV\\Config\\ConfigObject->set('localmaster', true, true)\n#2 \/usr\/share\/php\/openmediavault\/config\/configobject.inc(233): OMV\\Config\\ConfigObject->setFlatAssoc(Array, true, false)\n#3 \/usr\/share\/openmediavault\/engined\/rpc\/smb.inc(81): OMV\\Config\\ConfigObject->setAssoc(Array)\n#4 [internal function]: Engined\\Rpc\\Smb->setSettings(Array, Array)\n#5 \/usr\/share\/php\/openmediavault\/rpc\/serviceabstract.inc(123): call_user_func_array(Array, Array)\n#6 \/usr\/share\/php\/openmediavault\/rpc\/rpc.inc(86): OMV\\Rpc\\ServiceAbstract->callMethod('setSettings', Array, Array)\n#7 \/usr\/sbin\/omv-engined(537): OMV\\Rpc\\Rpc::call('SMB', 'setSettings', Array, Array, 1)\n#8 {main}"}}
Error occurs also when entering Notification section:
{"response":null,"error":{"code":0,"message":": The value is not an object.","trace":"OMV\\Json\\SchemaValidationException: : The value is not an object. in \/usr\/share\/php\/openmediavault\/json\/schema.inc:391\nStack trace:\n#0 \/usr\/share\/php\/openmediavault\/json\/schema.inc(285): OMV\\Json\\Schema->validateObject(Array, Array, '')\n#1 \/usr\/share\/php\/openmediavault\/json\/schema.inc(257): OMV\\Json\\Schema->validateType(Array, Array, '')\n#2 \/usr\/share\/php\/openmediavault\/rpc\/paramsvalidator.inc(59): OMV\\Json\\Schema->validate(Array)\n#3 \/usr\/share\/php\/openmediavault\/rpc\/serviceabstract.inc(179): OMV\\Rpc\\ParamsValidator->validate('[]')\n#4 \/usr\/share\/openmediavault\/engined\/rpc\/notification.inc(149): OMV\\Rpc\\ServiceAbstract->validateMethodParams(Array, 'rpc.common.obje...')\n#5 [internal function]: Engined\\Rpc\\Notification->get(Array, Array)\n#6 \/usr\/share\/php\/openmediavault\/rpc\/serviceabstract.inc(123): call_user_func_array(Array, Array)\n#7 \/usr\/share\/php\/openmediavault\/rpc\/rpc.inc(86): OMV\\Rpc\\ServiceAbstract->callMethod('get', Array, Array)\n#8 \/usr\/sbin\/omv-engined(537): OMV\\Rpc\\Rpc::call('Notification', 'get', Array, Array, 1)\n#9 {main}"}}
Clear your browser cache.
Thank You! It seems to work fine now.
SBC: Odroid-HC2 Running: Armbian_19.11.7_Odroidxu4_buster_current_5.4.3_minimal.7z Script output: