OpenMediaVault-Plugin-Developers / openmediavault-sensors

openmediavault-sensors
11 stars 5 forks source link

Plugin doesn't work with OMV4 #10

Closed artiomn closed 6 years ago

artiomn commented 6 years ago
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; omv-mkconf sensors balls 2>&1' with exit code '2': sed: can't read /usr/sbin/omv-mkgraph: No such file or directory in /usr/share/php/openmediavault/system/process.inc:175
Stack trace:
#0 /usr/share/openmediavault/engined/module/sensors.inc(33): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(168): OMVModuleSensors->applyConfig()
#2 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(536): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusG5...', '/tmp/bgoutputH9...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#8 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
#11 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#12 {main}
ryecoaaron commented 6 years ago

This is known and why the plugin is not in the OMV 4.x repo. There is a thread on the forum about this.

artiomn commented 6 years ago

I have seen commit for the "OMV4 compatibility" and thought, that plugin works with it, but building and installation showed, that not.

lukasmrtvy commented 5 years ago

Any progress for porting this to OMV4?

ryecoaaron commented 5 years ago

Nope. No one is working on it.

DavidBerdik commented 5 years ago

Porting this to OMV 4 is on my list of things I want to do but will likely never find the time to do, so no unfortunately. 🙁

dremeier commented 5 years ago

If you have time, please, we all realy appreciate. :-)