So I didn't log into omv webinterface for quite a while. I previously upgraded from jessie to stretch.
Now I need to set up new hdd and logging into webif I'm greeted with this message:
Code
Error #0: OMV\Rpc\Exception: Invalid RPC response. Please check the syslog for more information. in /usr/share/php/openmediavault/rpc/rpc.inc:186 Stack trace: #0 /usr/share/php/openmediavault/rpc/proxy/json.inc(95): OMV\Rpc\Rpc::call('System', 'getInformation', Array, Array, 3) #1 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle() #2 {main}
Now choosing "disks" or "filesystems" tab it's just loading and not showing anything.
Looking into syslog I see following errors:
Code
Nov 13 21:35:56 localhost omv-engined[2678]: PHP Fatal error: Uncaught Error: Call to undefined function bccomp() in /usr/share/php/openmediavault/functions.inc:689#012Stack trace:#012#0 /usr/share/openmediavault/engined/rpc/system.inc(428): binary_format('2093920256')#012#1 [internal function]: OMVRpcServiceSystem->getInformation(Array, Array)#012#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#012#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getInformation', Array, Array)#012#4 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('System', 'getInformation', Array, Array, 1)#012#5 {main}#012 thrown in /usr/share/php/openmediavault/functions.inc on line 689
Nov 13 21:36:06 localhost omv-engined[2725]: PHP Fatal error: Uncaught Error: Call to undefined function OMV\System\Filesystem\bcmul() in /usr/share/php/openmediavault/system/filesystem/filesystem.inc:643#012Stack trace:#012#0 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(155): OMV\System\Filesystem\Filesystem->getStatistics()#012#1 [internal function]: OMVRpcServiceFileSystemMgmt->enumerateFilesystems(NULL, Array)#012#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#012#3 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(311): OMV\Rpc\ServiceAbstract->callMethod('enumerateFilesy...', NULL, Array)#012#4 [internal function]: OMVRpcServiceFileSystemMgmt->getList(Array, Array)#012#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#012#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('getList', Array, Array)#012#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusrS...', '/tmp in /usr/share/php/openmediavault/system/filesystem/filesystem.inc on line 643
Nov 13 21:36:35 localhost omv-engined[2768]: PHP Fatal error: Uncaught Error: Call to undefined function OMV\System\Filesystem\bcmul() in /usr/share/php/openmediavault/system/filesystem/filesystem.inc:643#012Stack trace:#012#0 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(155): OMV\System\Filesystem\Filesystem->getStatistics()#012#1 [internal function]: OMVRpcServiceFileSystemMgmt->enumerateFilesystems(NULL, Array)#012#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#012#3 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(311): OMV\Rpc\ServiceAbstract->callMethod('enumerateFilesy...', NULL, Array)#012#4 [internal function]: OMVRpcServiceFileSystemMgmt->getList(Array, Array)#012#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#012#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('getList', Array, Array)#012#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusx9...', '/tmp in /usr/share/php/openmediavault/system/filesystem/filesystem.inc on line 643
Nov 13 21:36:49 localhost omv-engined[2800]: PHP Fatal error: Uncaught Error: Call to undefined function bccomp() in /usr/share/php/openmediavault/functions.inc:689#012Stack trace:#012#0 /usr/share/php/openmediavault/system/storage/storagedevice.inc(72): binary_format('2000398934016')#012#1 /usr/share/openmediavault/engined/rpc/smart.inc(96): OMV\System\Storage\StorageDevice->getDescription()#012#2 [internal function]: OMVRpcServiceSmart->enumerateDevices(NULL, Array)#012#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#012#4 /usr/share/openmediavault/engined/rpc/smart.inc(165): OMV\Rpc\ServiceAbstract->callMethod('enumerateDevice...', NULL, Array)#012#5 [internal function]: OMVRpcServiceSmart->getList(Array, Array)#012#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#012#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('getList', Array, Array)#012#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp in /usr/share/php/openmediavault/functions.inc on line 689
Nov 13 21:36:52 localhost omv-engined[2814]: PHP Fatal error: Uncaught Error: Call to undefined function bccomp() in /usr/share/php/openmediavault/functions.inc:689#012Stack trace:#012#0 /usr/share/php/openmediavault/system/storage/storagedevice.inc(72): binary_format('2000398934016')#012#1 /usr/share/openmediavault/engined/rpc/smart.inc(96): OMV\System\Storage\StorageDevice->getDescription()#012#2 [internal function]: OMVRpcServiceSmart->enumerateDevices(NULL, Array)#012#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#012#4 /usr/share/openmediavault/engined/rpc/smart.inc(165): OMV\Rpc\ServiceAbstract->callMethod('enumerateDevice...', NULL, Array)#012#5 [internal function]: OMVRpcServiceSmart->getList(Array, Array)#012#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#012#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('getList', Array, Array)#012#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp in /usr/share/php/openmediavault/functions.inc on line 689
Nov 13 21:36:57 localhost omv-engined[2836]: PHP Fatal error: Uncaught Error: Call to undefined function bccomp() in /usr/share/php/openmediavault/functions.inc:689#012Stack trace:#012#0 /usr/share/php/openmediavault/system/storage/storagedevice.inc(72): binary_format('31914983424')#012#1 /usr/share/openmediavault/engined/rpc/diskmgmt.inc(85): OMV\System\Storage\StorageDevice->getDescription()#012#2 [internal function]: OMVRpcServiceDiskMgmt->enumerateDevices(NULL, Array)#012#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#012#4 /usr/share/openmediavault/engined/rpc/diskmgmt.inc(119): OMV\Rpc\ServiceAbstract->callMethod('enumerateDevice...', NULL, Array)#012#5 [internal function]: OMVRpcServiceDiskMgmt->getList(Array, Array)#012#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#012#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('getList', Array, Array)#012#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{clos in /usr/share/php/openmediavault/functions.inc on line 689
Display More
I read that omv requires php 7.0. I guess I somwhere updated to php 7.2
But I still have php 7.0 installed.
Now via update-alternatives --config php I saw that default php version is 7.2. So I changed it to 7.0 and rebooted.
Unfortunatly this did not solve the issue How can I force omv to use php 7.0?
Or maybe I should install php 5.6 and try that??