Exact same errors here after upgrading.
I did check my snapraid.conf file. It was not touched in any way. All the exclusions, including those I added myself are still there.
My conf files were wiped and started issuing errors to do with the exclusions. As above with Usblaidas, I copied from another .conf file in /Srv/dev-disk-by-label-X/snapraid.conf and added in my exclusion lines to the file in /etc/snapraid.conf. This let the OMV UI see my exclusions again but did not fix the error message:
Error #0:
OMV\AssertException: The property 'updthresh' does not exist in the model 'conf.service.snapraid'. in /usr/share/php/openmediavault/config/configobject.inc:71
Stack trace:
#0 /usr/share/php/openmediavault/config/configobject.inc(186): OMV\Config\ConfigObject->assertExists('updthresh')
#1 /usr/share/php/openmediavault/config/configobject.inc(271): OMV\Config\ConfigObject->set('updthresh', '0', 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/snapraid.inc(61): OMV\Config\Database->get('conf.service.sn...')
#5 [internal function]: OMVRpcServiceSnapRaid->getSettings(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('getSettings', NULL, Array)
#8 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('SnapRaid', 'getSettings', NULL, Array, 1)
#9 {main}
Alles anzeigen
and the Diff script gives an error:
Error #0:
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export SHELL=/bin/sh; sudo --shell --non-interactive --user=root -- /usr/sbin/omv-snapraid-diff 2>&1' with exit code '2': /usr/sbin/omv-snapraid-diff: line 490: syntax error near unexpected token `else'
/usr/sbin/omv-snapraid-diff: line 490: `else' in /usr/share/openmediavault/engined/rpc/cron.inc:175
Stack trace:
#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMVRpcServiceCron->{closure}('/tmp/bgstatusWx...', '/tmp/bgoutputHN...')
#1 /usr/share/openmediavault/engined/rpc/cron.inc(179): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#2 [internal function]: OMVRpcServiceCron->execute(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('execute', Array, Array)
#5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Cron', 'execute', Array, Array, 1)
#6 {main}
Alles anzeigen
Trying to run an apt-get update/upgrade manually gives an error for the new snapraid install:
(Every time you run this your exclusions vanish from the GUI in Snapraid > config section)
Setting up openmediavault-snapraid (3.7.4) ...
Updating configuration database ...
Running migration conf.service.snapraid_3.7.4
cat: /etc/default/omv_snapraid_excludes: No such file or directory
dpkg: error processing package openmediavault-snapraid (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for openmediavault (4.1.23-1) ...
Updating locale files ...
Updating file permissions ...
Purging internal cache ...
Restarting engine daemon ...
Cannot create socket to [localhost]:2812 -- Connection refused
Errors were encountered while processing:
openmediavault-snapraid
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@openmediavault:~#
Alles anzeigen
Hope some of this is useful. Luckily Snapraid still seems to function but with manual syncs/dif syncs in the meantime if you manually re-add your exclusions.