Hello there,
I just installed my first instance of OMV today on my Raspi 4B. Everything went smoothly as I followed the guide for Raspi installation. However after I logged in to UI and went to System->OMV-Extras --- tick box --- > Extras repo ---click ---> Save.
When the Save action is running I get 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; omv-salt deploy run --no-color omvextras 2>&1' with exit code '1': raspberrypi:
----------
ID: omvextrasbaserepo
Function: pkgrepo.managed
Name: deb https://openmediavault-plugin-developers.github.io/packages/debian usul main
Result: True
Comment: Package repo 'deb https://openmediavault-plugin-developers.github.io/packages/debian usul main' already configured
Started: 22:35:47.805016
Duration: 268.127 ms
Changes:
----------
ID: deb https://openmediavault-plugin-developers.github.io/packages/debian usul-testing main
Function: pkgrepo.absent
Result: True
Comment: Package repo deb https://openmediavault-plugin-developers.github.io/packages/debian usul-testing main is absent
Started: 22:35:48.073545
Duration: 124.08 ms
Changes:
----------
ID: deb https://openmediavault-plugin-developers.github.io/packages/debian usul-extras main
Function: pkgrepo.managed
Result: True
Comment: Configured package repo 'deb https://openmediavault-plugin-developers.github.io/packages/debian usul-extras main'
Started: 22:35:48.198021
Duration: 16686.614 ms
Changes:
----------
repo:
deb https://openmediavault-plugin-developers.github.io/packages/debian usul-extras main
----------
ID: deb [arch=armhf] https://download.docker.com/linux/debian buster stable
Function: pkgrepo.managed
Result: True
Comment: Package repo 'deb [arch=armhf] https://download.docker.com/linux/debian buster stable' already configured
Started: 22:36:04.885201
Duration: 268.28 ms
Changes:
----------
ID: deb http://linux.teamviewer.com/deb stable main
Function: pkgrepo.absent
Result: True
Comment: Package repo deb http://linux.teamviewer.com/deb stable main is absent
Started: 22:36:05.153881
Duration: 135.422 ms
Changes:
----------
ID: configure_apt_pref_omvextras
Function: file.managed
Name: /etc/apt/preferences.d/omvextras.pref
Result: True
Comment: File /etc/apt/preferences.d/omvextras.pref is in the correct state
Started: 22:36:05.295737
Duration: 136.533 ms
Changes:
----------
ID: refresh_database_apt
Function: module.run
Name: pkg.refresh_db
Result: False
Comment: No function provided.
Started: 22:36:05.434354
Duration: 1.669 ms
Changes:
Summary for raspberrypi
------------
Succeeded: 6 (changed=1)
Failed: 1
------------
Total states run: 7
Total run time: 17.621 s in /usr/share/php/openmediavault/system/process.inc:195
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
#2 [internal function]: Engined\Rpc\Config->applyChanges(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('applyChanges', Array, Array)
#5 /usr/share/openmediavault/engined/rpc/omvextras.inc(81): OMV\Rpc\Rpc::call('Config', 'applyChanges', Array, Array)
#6 [internal function]: OMVRpcServiceOmvExtras->setSettings(Array, Array)
#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#8 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('setSettings', Array, Array)
#9 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('OmvExtras', 'setSettings', Array, Array, 1)
#10 {main}
Display More
Can anybody please help me out to debug that one in order to fix it? I will be grateful for any hints.
EDIT:
Oh, and before I run the `apt full-upgrade with the following output:
The following packages will be upgraded:
apt apt-utils libapt-inst2.0 libapt-pkg5.0 monit wpasupplicant
6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/4,126 kB of archives.
After this operation, 55.3 kB disk space will be freed.
Do you want to continue? [Y/n] y
Reading changelogs... Done
(Reading database ... 61688 files and directories currently installed.)
Preparing to unpack .../libapt-pkg5.0_1.8.2.3_armhf.deb ...
Unpacking libapt-pkg5.0:armhf (1.8.2.3) over (1.8.2.2) ...
Setting up libapt-pkg5.0:armhf (1.8.2.3) ...
(Reading database ... 61688 files and directories currently installed.)
Preparing to unpack .../libapt-inst2.0_1.8.2.3_armhf.deb ...
Unpacking libapt-inst2.0:armhf (1.8.2.3) over (1.8.2.2) ...
Preparing to unpack .../archives/apt_1.8.2.3_armhf.deb ...
Unpacking apt (1.8.2.3) over (1.8.2.2) ...
Setting up apt (1.8.2.3) ...
(Reading database ... 61688 files and directories currently installed.)
Preparing to unpack .../apt-utils_1.8.2.3_armhf.deb ...
Unpacking apt-utils (1.8.2.3) over (1.8.2.2) ...
Preparing to unpack .../monit_1%3a5.26.0-1_armhf.deb ...
Unpacking monit (1:5.26.0-1) over (1:5.25.2-3) ...
Preparing to unpack .../wpasupplicant_2%3a2.7+git20190128+0c1e29f-6+deb10u3_armhf.deb ...
Unpacking wpasupplicant (2:2.7+git20190128+0c1e29f-6+deb10u3) over (2:2.7+git20190128+0c1e29f-6+deb10u2) ...
Setting up monit (1:5.26.0-1) ...
Configuration file '/etc/monit/monitrc'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** monitrc (Y/I/N/O/D/Z) [default=N] ? N
Setting up libapt-inst2.0:armhf (1.8.2.3) ...
Setting up wpasupplicant (2:2.7+git20190128+0c1e29f-6+deb10u3) ...
Setting up apt-utils (1.8.2.3) ...
Processing triggers for systemd (241-7~deb10u7+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for dbus (1.12.20-0+deb10u1) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
W: Operation was interrupted before it could finish
Display More
EDIT2:
I just uninstalled OMV-Extras using System->Plugins and the errors seems to go away.