Maybe somebody else has an idea. Otherwise you have to do a fresh install.
Execute: systemctl unmask openmediavault-beep-down.service and retry.
I did a fresh install yesterday, thank you both for your effort and the instant replies.
Maybe somebody else has an idea. Otherwise you have to do a fresh install.
Execute: systemctl unmask openmediavault-beep-down.service and retry.
I did a fresh install yesterday, thank you both for your effort and the instant replies.
root@NAS:/# wget -O - https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install | sudo bash
--2022-02-06 21:03:04-- https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18565 (18K) [text/plain]
Saving to: ‘STDOUT’
- 100%[======================================================================>] 18.13K --.-KB/s in 0.004s
2022-02-06 21:03:04 (4.81 MB/s) - written to stdout [18565/18565]
Current / permissions = 755
New / permissions = 755
Forcing IPv4 only for apt...
Updating repos before installing...
Get:1 file:/var/cache/openmediavault/archives InRelease
Ign:1 file:/var/cache/openmediavault/archives InRelease
Get:2 file:/var/cache/openmediavault/archives Release
Ign:2 file:/var/cache/openmediavault/archives Release
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Hit:5 http://httpredir.debian.org/debian buster-backports InRelease
Hit:6 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:7 http://packages.openmediavault.org/public usul InRelease
Hit:8 http://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done
Installing lsb_release...
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/27.8 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 60332 files and directories currently installed.)
Preparing to unpack .../lsb-release_10.2019051400+rpi1_all.deb ...
Unpacking lsb-release (10.2019051400+rpi1) over (10.2019051400+rpi1) ...
Setting up lsb-release (10.2019051400+rpi1) ...
Setting up openmediavault (5.6.24-1) ...
Creating users/groups ...
Updating local package archive ...
Updating service units ...
systemd-journald.service is a disabled or a static unit, not starting it.
Created symlink /etc/systemd/system/multi-user.target.wants/openmediavault-beep-up.service → /lib/systemd/system/openmediavault-beep-up.service.
Failed to preset unit: Unit file /etc/systemd/system/openmediavault-beep-down.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on openmediavault-beep-down.service: No such file or directory
dpkg: error processing package openmediavault (--configure):
installed openmediavault package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.8.5-2) ...
Errors were encountered while processing:
openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
Supported architecture
Debian :: buster
usul :: 5
Adding Debian signing keys...
Executing: /tmp/apt-key-gpghome.n7PSUDRH8q/gpg.1.sh --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 648ACFD622F3D138
gpg: key DC30D7C23CBBABEE: "Debian Archive Automatic Signing Key (10/buster) <ftpmaster@debian.org>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
Executing: /tmp/apt-key-gpghome.Wdgz4B5yKO/gpg.1.sh --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 112695A0E562B32A
gpg: key 4DFAB270CAA96DFA: "Debian Security Archive Automatic Signing Key (10/buster) <ftpmaster@debian.org>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
Installing monit from raspberrypi repo...
Reading package lists... Done
Building dependency tree
Reading state information... Done
monit is already the newest version (1:5.26.0-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up openmediavault (5.6.24-1) ...
Creating users/groups ...
Updating local package archive ...
Updating service units ...
systemd-journald.service is a disabled or a static unit, not starting it.
Failed to preset unit: Unit file /etc/systemd/system/openmediavault-beep-down.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on openmediavault-beep-down.service: No such file or directory
dpkg: error processing package openmediavault (--configure):
installed openmediavault package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
Install prerequisites...
Reading package lists... Done
Building dependency tree
Reading state information... Done
dirmngr is already the newest version (2.2.12-1+rpi1+deb10u1).
gnupg is already the newest version (2.2.12-1+rpi1+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up openmediavault (5.6.24-1) ...
Creating users/groups ...
Updating local package archive ...
Updating service units ...
systemd-journald.service is a disabled or a static unit, not starting it.
Failed to preset unit: Unit file /etc/systemd/system/openmediavault-beep-down.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on openmediavault-beep-down.service: No such file or directory
dpkg: error processing package openmediavault (--configure):
installed openmediavault package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
Installing openmediavault required packages...
Reading package lists... Done
Building dependency tree
Reading state information... Done
postfix is already the newest version (3.4.14-0+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up openmediavault (5.6.24-1) ...
Creating users/groups ...
Updating local package archive ...
Updating service units ...
systemd-journald.service is a disabled or a static unit, not starting it.
Failed to preset unit: Unit file /etc/systemd/system/openmediavault-beep-down.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on openmediavault-beep-down.service: No such file or directory
dpkg: error processing package openmediavault (--configure):
installed openmediavault package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
failed installing postfix
Display More
No backups, at the moment i don't have accesses to omv to start a backup
root@NAS:/# apt install --reinstall openmediavault
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for openmediavault:armhf
root@NAS:/# systemctl unmask openmediavault-beep-up.service
Removed /etc/systemd/system/openmediavault-beep-up.service.
root@NAS:/# dpkg -l | grep openmedia
iF openmediavault 5.6.24-1 all openmediavault - The open network attached storage solution
ic openmediavault-autoshutdown 5.1.21 all OpenMediaVault AutoShutdown Plugin
ic openmediavault-flashmemory 5.0.9 all folder2ram plugin for OpenMediaVault
ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
ic openmediavault-lvm2 5.0.3-1 all openmediavault Logical Volume Manager (LVM2) plugin
ic openmediavault-minidlna 5.0.5 all OpenMediaVault miniDLNA (DLNA server) plugin
ic openmediavault-omvextrasorg 5.6.5 all OMV-Extras.org Package Repositories for OpenMediaVault
ic openmediavault-usbbackup 5.0.9-1 all openmediavault USB/eSATA backup plugin
Display More
root@NAS:/# systemctl unmask lvm2-lvmpolld.socket
root@NAS:/# wget -O - https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install | sudo bash
--2022-02-06 19:33:50-- https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.108.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18565 (18K) [text/plain]
Saving to: ‘STDOUT’
- 100%[======================================================================>] 18.13K --.-KB/s in 0.005s
2022-02-06 19:33:50 (3.52 MB/s) - written to stdout [18565/18565]
Current / permissions = 755
New / permissions = 755
Forcing IPv4 only for apt...
Updating repos before installing...
Hit:1 http://httpredir.debian.org/debian buster-backports InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 http://packages.openmediavault.org/public usul InRelease
Hit:4 http://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done
Installing lsb_release...
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/27.8 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 60332 files and directories currently installed.)
Preparing to unpack .../lsb-release_10.2019051400+rpi1_all.deb ...
Unpacking lsb-release (10.2019051400+rpi1) over (10.2019051400+rpi1) ...
Setting up lvm2 (2.03.02-3) ...
update-initramfs: deferring update (trigger activated)
Setting up lsb-release (10.2019051400+rpi1) ...
Setting up openmediavault (5.6.24-1) ...
Configuration file '/etc/default/openmediavault'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
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.
*** openmediavault (Y/I/N/O/D/Z) [default=N] ? Creating users/groups ...
Updating local package archive ...
Updating service units ...
systemd-journald.service is a disabled or a static unit, not starting it.
Failed to preset unit: Unit file /etc/systemd/system/openmediavault-beep-up.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on openmediavault-beep-up.service: No such file or directory
dpkg: error processing package openmediavault (--configure):
installed openmediavault package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for initramfs-tools (0.133+deb10u1) ...
Processing triggers for rsyslog (8.1901.0-1) ...
Errors were encountered while processing:
openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
bash: line 131: --fix-broken: command not found
omv-extras failed to install correctly. Trying to fix with omv-salt deploy run ...
ERROR: The state 'omvextras' does not exist
omv-salt deploy run failed and openmediavault-omvextrasorg is in a bad state.
root@NAS:/# systemctl unmask lvm2-lvmpolld.socket
root@NAS:/#
Display More
I did this
root@NAS:/# systemctl unmask lvm2-lvmpolld.socket
Removed /etc/systemd/system/lvm2-lvmpolld.socket.
Strange. Then you executed some commands on the host that are supposed to be executed in docker.
Can you post the link to the guide you followed?
yes, i deployed the stack, the stack cause nginx to listen at port 80, so i deleted the stack but nginx was still listening on port 80, thats why i uninstalled it. I was thinking, that i never installed nginx on the pi (not that i was aware of) so deleting it wouldnt do any harm.
The Guide is on Youtube in german:
following those instuctions: https://docs.google.com/docume…eavUB4-fCMg9ZqTOUYYo/edit
I bet apt told you it would uninstall omv when you asked it to uninstall nginx.
I was not paying attention because i was not expecting it to delete anything else.
Yes, i use container and i was installing nextcloud via a stack in portainer.
here is the output:
root@NAS:/# wget -O - https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install | sudo bash
--2022-02-06 18:50:03-- https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18565 (18K) [text/plain]
Saving to: ‘STDOUT’
- 100%[======================================================================>] 18.13K --.-KB/s in 0.005s
2022-02-06 18:50:04 (3.44 MB/s) - written to stdout [18565/18565]
Current / permissions = 755
New / permissions = 755
Forcing IPv4 only for apt...
Updating repos before installing...
Hit:1 http://httpredir.debian.org/debian buster-backports InRelease
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Hit:3 http://packages.openmediavault.org/public usul InRelease
Hit:4 http://archive.raspberrypi.org/debian buster InRelease
Fetched 15.0 kB in 2s (9084 B/s)
Reading package lists... Done
Installing lsb_release...
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/27.8 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 60332 files and directories currently installed.)
Preparing to unpack .../lsb-release_10.2019051400+rpi1_all.deb ...
Unpacking lsb-release (10.2019051400+rpi1) over (10.2019051400+rpi1) ...
Setting up lvm2 (2.03.02-3) ...
update-initramfs: deferring update (trigger activated)
Failed to restart lvm2-lvmpolld.service: Unit lvm2-lvmpolld.socket is masked.
invoke-rc.d: initscript lvm2-lvmpolld, action "restart" failed.
● lvm2-lvmpolld.service - LVM2 poll daemon
Loaded: loaded (/lib/systemd/system/lvm2-lvmpolld.service; static; vendor preset: enabled)
Active: active (exited) since Sun 2022-02-06 17:25:52 CET; 1h 24min ago
Docs: man:lvmpolld(8)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/lvm2-lvmpolld.service
Feb 06 17:25:52 NAS systemd[1]: Starting LSB: LVM2 poll daemon...
Feb 06 17:25:52 NAS systemd[1]: Started LSB: LVM2 poll daemon.
dpkg: error processing package lvm2 (--configure):
installed lvm2 package post-installation script subprocess returned error exit status 1
Setting up lsb-release (10.2019051400+rpi1) ...
dpkg: dependency problems prevent configuration of openmediavault:
openmediavault depends on lvm2; however:
Package lvm2 is not configured yet.
dpkg: error processing package openmediavault (--configure):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for initramfs-tools (0.133+deb10u1) ...
Errors were encountered while processing:
lvm2
openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
Supported architecture
Debian :: buster
usul :: 5
Adding Debian signing keys...
Executing: /tmp/apt-key-gpghome.tx8j1xYmIb/gpg.1.sh --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 648ACFD622F3D138
gpg: key DC30D7C23CBBABEE: "Debian Archive Automatic Signing Key (10/buster) <ftpmaster@debian.org>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
Executing: /tmp/apt-key-gpghome.WpdUDqkVPD/gpg.1.sh --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 112695A0E562B32A
gpg: key 4DFAB270CAA96DFA: "Debian Security Archive Automatic Signing Key (10/buster) <ftpmaster@debian.org>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
Installing monit from raspberrypi repo...
Reading package lists... Done
Building dependency tree
Reading state information... Done
monit is already the newest version (1:5.26.0-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up lvm2 (2.03.02-3) ...
update-initramfs: deferring update (trigger activated)
Failed to restart lvm2-lvmpolld.service: Unit lvm2-lvmpolld.socket is masked.
invoke-rc.d: initscript lvm2-lvmpolld, action "restart" failed.
● lvm2-lvmpolld.service - LVM2 poll daemon
Loaded: loaded (/lib/systemd/system/lvm2-lvmpolld.service; static; vendor preset: enabled)
Active: active (exited) since Sun 2022-02-06 17:25:52 CET; 1h 24min ago
Docs: man:lvmpolld(8)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/lvm2-lvmpolld.service
Feb 06 17:25:52 NAS systemd[1]: Starting LSB: LVM2 poll daemon...
Feb 06 17:25:52 NAS systemd[1]: Started LSB: LVM2 poll daemon.
dpkg: error processing package lvm2 (--configure):
installed lvm2 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of openmediavault:
openmediavault depends on lvm2; however:
Package lvm2 is not configured yet.
dpkg: error processing package openmediavault (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.133+deb10u1) ...
Errors were encountered while processing:
lvm2
openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
Install prerequisites...
Reading package lists... Done
Building dependency tree
Reading state information... Done
dirmngr is already the newest version (2.2.12-1+rpi1+deb10u1).
gnupg is already the newest version (2.2.12-1+rpi1+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up lvm2 (2.03.02-3) ...
update-initramfs: deferring update (trigger activated)
Failed to restart lvm2-lvmpolld.service: Unit lvm2-lvmpolld.socket is masked.
invoke-rc.d: initscript lvm2-lvmpolld, action "restart" failed.
● lvm2-lvmpolld.service - LVM2 poll daemon
Loaded: loaded (/lib/systemd/system/lvm2-lvmpolld.service; static; vendor preset: enabled)
Active: active (exited) since Sun 2022-02-06 17:25:52 CET; 1h 24min ago
Docs: man:lvmpolld(8)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/lvm2-lvmpolld.service
Feb 06 17:25:52 NAS systemd[1]: Starting LSB: LVM2 poll daemon...
Feb 06 17:25:52 NAS systemd[1]: Started LSB: LVM2 poll daemon.
dpkg: error processing package lvm2 (--configure):
installed lvm2 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of openmediavault:
openmediavault depends on lvm2; however:
Package lvm2 is not configured yet.
dpkg: error processing package openmediavault (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.133+deb10u1) ...
Errors were encountered while processing:
lvm2
openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
Installing openmediavault required packages...
Reading package lists... Done
Building dependency tree
Reading state information... Done
postfix is already the newest version (3.4.14-0+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up lvm2 (2.03.02-3) ...
update-initramfs: deferring update (trigger activated)
Failed to restart lvm2-lvmpolld.service: Unit lvm2-lvmpolld.socket is masked.
invoke-rc.d: initscript lvm2-lvmpolld, action "restart" failed.
● lvm2-lvmpolld.service - LVM2 poll daemon
Loaded: loaded (/lib/systemd/system/lvm2-lvmpolld.service; static; vendor preset: enabled)
Active: active (exited) since Sun 2022-02-06 17:25:52 CET; 1h 24min ago
Docs: man:lvmpolld(8)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/lvm2-lvmpolld.service
Feb 06 17:25:52 NAS systemd[1]: Starting LSB: LVM2 poll daemon...
Feb 06 17:25:52 NAS systemd[1]: Started LSB: LVM2 poll daemon.
dpkg: error processing package lvm2 (--configure):
installed lvm2 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of openmediavault:
openmediavault depends on lvm2; however:
Package lvm2 is not configured yet.
dpkg: error processing package openmediavault (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.133+deb10u1) ...
Errors were encountered while processing:
lvm2
openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
failed installing postfix
Display More
It gives:
root@NAS:/# dpkg -l | grep openmedi
iU openmediavault 5.6.24-1 all openmediavault - The open network attached storage solution
ic openmediavault-autoshutdown 5.1.21 all OpenMediaVault AutoShutdown Plugin
ic openmediavault-flashmemory 5.0.9 all folder2ram plugin for OpenMediaVault
ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
ic openmediavault-lvm2 5.0.3-1 all openmediavault Logical Volume Manager (LVM2) plugin
ic openmediavault-minidlna 5.0.5 all OpenMediaVault miniDLNA (DLNA server) plugin
ic openmediavault-omvextrasorg 5.6.5 all OMV-Extras.org Package Repositories for OpenMediaVault
ic openmediavault-usbbackup 5.0.9-1 all openmediavault USB/eSATA backup plugin
i followed a guide to install nextcloud. In addition to nextcloud, mariadb and swag had to be installed. For installing swag the guide explicitly mentioned to first change OMV port to something else then 80. I didn't do it because i thought i could change it later anyway, turns out it broke everything.
Next, i found out that nginx was listening on port 80, so i uninstalled it, well then omv stoped working, so installed omv via this: wget -O - https://raw.githubusercontent.…tallScript/master/install | sudo bash . Now im stuck
i cant accesses omv on port 80 anymore
I installed omv on RPi4 which has his ip: 192.168.0.166
if i connect to https://192.168.0.166:80/ via Firefox i get this error "SSL_ERROR_RX_RECORD_TOO_LONG"
if i connect to http://192.168.0.166:80/, this time http instead of https, its telling me nginx server is running
if i try to change the port of omv via omv-firstaid -> configure web control panel , i get this error " ERROR: Failed to connect /var/lib/openmediavault/engined.sock: [Errno 2] No such file or directory"
How to resolve this ? I dont need/want nginx right now. I dont know how it is connected to omv.
Yes, thank you this was super helpfull.
can be closed
My omv version is: 5.6.24-1
i have no backups, as far as i know there are no options to make backups.
I am missing the '/etc/default/openmediavault' folder with all the "environment variable" like :
'OMV_CONFIG_FILE'
'OMV_ENGINED_SO_ADDRESS'
because of this i get errors when using omv-firstaid. How to set up this folder ?
explain please.
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 systemd-networkd 2>&1' with exit code '1': raspberrypi: ---------- ID: remove_systemd_networkd_config_files Function: module.run Result: True Comment: file.find: [] Started: 14:15:26.681681 Duration: 3.899 ms Changes: ---------- file.find: ---------- ID: remove_empty_systemd_networkd_config_files Function: module.run Result: True Comment: file.find: [] Started: 14:15:26.685942 Duration: 6.085 ms Changes: ---------- file.find: ---------- ID: remove_netplan_config_files Function: module.run Result: True Comment: file.find: ['/etc/netplan/10-openmediavault-default.yaml', '/etc/netplan/20-openmediavault-eth0.yaml', '/etc/netplan/30-openmediavault-wlan0.yaml'] Started: 14:15:26.692390 Duration: 4.161 ms Changes: ---------- file.find: - /etc/netplan/10-openmediavault-default.yaml - /etc/netplan/20-openmediavault-eth0.yaml - /etc/netplan/30-openmediavault-wlan0.yaml ---------- ID: configure_etc_network_interfaces Function: file.managed Name: /etc/network/interfaces Result: True Comment: File /etc/network/interfaces is in the correct state Started: 14:15:26.701707 Duration: 86.304 ms Changes: ---------- ID: symlink_systemd_resolvconf Function: file.symlink Name: /etc/resolv.conf Result: True Comment: Symlink /etc/resolv.conf is present and owned by root:root Started: 14:15:26.788371 Duration: 4525.545 ms Changes: ---------- ID: configure_netplan_default Function: file.managed Name: /etc/netplan/10-openmediavault-default.yaml Result: True Comment: File /etc/netplan/10-openmediavault-default.yaml updated Started: 14:15:31.314566 Duration: 38.691 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: configure_netplan_ethernet_eth0 Function: file.managed Name: /etc/netplan/20-openmediavault-eth0.yaml Result: True Comment: File /etc/netplan/20-openmediavault-eth0.yaml updated Started: 14:15:31.353678 Duration: 86.032 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: configure_netplan_wifi_wlan0 Function: file.managed Name: /etc/netplan/30-openmediavault-wlan0.yaml Result: True Comment: File /etc/netplan/30-openmediavault-wlan0.yaml updated Started: 14:15:31.440186 Duration: 77.967 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: apply_netplan_config Function: cmd.run Name: netplan apply Result: False Comment: Command "netplan apply" run Started: 14:15:31.518548 Duration: 341.84 ms Changes: ---------- pid: 2497 retcode: 1 stderr: Traceback (most recent call last): File "/sbin/netplan", line 23, in <module> netplan.main() File "/usr/share/netplan/netplan/cli/core.py", line 50, in main self.run_command() File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command self.func() File "/usr/share/netplan/netplan/cli/commands/apply.py", line 43, in run self.run_command() File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command self.func() File "/usr/share/netplan/netplan/cli/commands/apply.py", line 93, in command_apply stderr=subprocess.DEVNULL) File "/usr/lib/python3.7/subprocess.py", line 347, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['udevadm', 'test-builtin', 'net_setup_link', '/sys/class/net/lo']' returned non-zero exit status 1. stdout: Summary for raspberrypi ------------ Succeeded: 8 (changed=7) Failed: 1 ------------ Total states run: 9 Total run time: 5.171 s
Hi, i have difficulties removing/adding a wlan0 interface in OMV5. Bevorehand i followed the guides linked below to enable wlan on my rpi4 and it helped but my guess is that those changes won't work well with omv5.
https://www.raspberrypi.org/do…/wireless/wireless-cli.md
https://www.raspberrypi.org/do…ss/access-point-routed.md
I reverted all changes to the best of my abilities but now i get this error whenever i try to remove the wlan0 interface.
I dont think i made any changes to the direcotries or files listed in the error message
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 systemd-networkd 2>&1' with exit code '1': raspberrypi:
----------
ID: remove_systemd_networkd_config_files
Function: module.run
Result: True
Comment: file.find: []
Started: 09:24:44.904407
Duration: 3.833 ms
Changes:
----------
file.find:
----------
ID: remove_empty_systemd_networkd_config_files
Function: module.run
Result: True
Comment: file.find: []
Started: 09:24:44.908605
Duration: 6.112 ms
Changes:
----------
file.find:
----------
ID: remove_netplan_config_files
Function: module.run
Result: True
Comment: file.find: ['/etc/netplan/10-openmediavault-default.yaml', '/etc/netplan/20-openmediavault-eth0.yaml']
Started: 09:24:44.915078
Duration: 4.002 ms
Changes:
----------
file.find:
- /etc/netplan/10-openmediavault-default.yaml
- /etc/netplan/20-openmediavault-eth0.yaml
----------
ID: configure_etc_network_interfaces
Function: file.managed
Name: /etc/network/interfaces
Result: True
Comment: File /etc/network/interfaces is in the correct state
Started: 09:24:44.924289
Duration: 86.454 ms
Changes:
----------
ID: symlink_systemd_resolvconf
Function: file.symlink
Name: /etc/resolv.conf
Result: True
Comment: Symlink /etc/resolv.conf is present and owned by root:root
Started: 09:24:45.011122
Duration: 4593.996 ms
Changes:
----------
ID: configure_netplan_default
Function: file.managed
Name: /etc/netplan/10-openmediavault-default.yaml
Result: True
Comment: File /etc/netplan/10-openmediavault-default.yaml updated
Started: 09:24:49.605782
Duration: 39.866 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: configure_netplan_ethernet_eth0
Function: file.managed
Name: /etc/netplan/20-openmediavault-eth0.yaml
Result: True
Comment: File /etc/netplan/20-openmediavault-eth0.yaml updated
Started: 09:24:49.646016
Duration: 78.94 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: configure_netplan_wifi_wlan0
Function: file.managed
Name: /etc/netplan/30-openmediavault-wlan0.yaml
Result: True
Comment: File /etc/netplan/30-openmediavault-wlan0.yaml updated
Started: 09:24:49.725326
Duration: 74.071 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: apply_netplan_config
Function: cmd.run
Name: netplan apply
Result: False
Comment: Command "netplan apply" run
Started: 09:24:49.799784
Duration: 326.483 ms
Changes:
----------
pid:
25478
retcode:
1
stderr:
Traceback (most recent call last):
File "/sbin/netplan", line 23, in <module>
netplan.main()
File "/usr/share/netplan/netplan/cli/core.py", line 50, in main
self.run_command()
File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command
self.func()
File "/usr/share/netplan/netplan/cli/commands/apply.py", line 43, in run
self.run_command()
File "/usr/share/netplan/netplan/cli/utils.py", line 130, in run_command
self.func()
File "/usr/share/netplan/netplan/cli/commands/apply.py", line 93, in command_apply
stderr=subprocess.DEVNULL)
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['udevadm', 'test-builtin', 'net_setup_link', '/sys/class/net/lo']' returned non-zero exit status 1.
stdout:
Summary for raspberrypi
------------
Succeeded: 8 (changed=7)
Failed: 1
------------
Total states run: 9
Total run time: 5.214 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/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatus4l...', '/tmp/bgoutputDZ...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#8 [internal function]: Engined\Rpc\Config->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(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#12 {main}
Display More
can noone interprete these errors ?
Thank you for the reply.
Soma: Yes, i flashed the ISO to a 16gb sd card so Rpi4 (not5) can boot omv. For the ISO i picked the lite version.
i also followed the guide but the guide dont explain how to deal with error messages. i read the guide and repeated the steps like 5 times.
cubemin : Yes, the 1Tb is not the OS system drive. When i try to reformat the 1TB card from the OMV GUI i get this progress:
and when im try to mount it i get this error:
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 fstab 2>&1' with exit code '1': raspberrypi: ---------- ID: create_filesystem_mountpoint_201a8f16-a628-4fd3-bc2f-3a930ee59d69 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_201a8f16-a628-4fd3-bc2f-3a930ee59d69 for file /etc/fstab was charged by text Started: 10:45:55.977803 Duration: 2.379 ms Changes: ---------- ID: mount_filesystem_mountpoint_201a8f16-a628-4fd3-bc2f-3a930ee59d69 Function: mount.mounted Name: /srv/dev-disk-by-uuid-EA24-365E Result: True Comment: Started: 10:45:55.983436 Duration: 413.481 ms Changes: ---------- ID: create_filesystem_mountpoint_fe6c9b56-5335-47fd-b943-0c1fcacc49b2 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_fe6c9b56-5335-47fd-b943-0c1fcacc49b2 for file /etc/fstab was charged by text Started: 10:45:56.397654 Duration: 3.156 ms Changes: ---------- ID: mount_filesystem_mountpoint_fe6c9b56-5335-47fd-b943-0c1fcacc49b2 Function: mount.mounted Name: /srv/dev-disk-by-uuid-e1ca5d9d-a66a-4190-bf20-845aa5c78ea0 Result: False Comment: mount: /srv/dev-disk-by-uuid-e1ca5d9d-a66a-4190-bf20-845aa5c78ea0: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error. Started: 10:45:56.401195 Duration: 133.678 ms Changes: ---------- ID: append_fstab_entries Function: file.blockreplace Name: /etc/fstab Result: True Comment: Changes were made Started: 10:45:56.537801 Duration: 23.561 ms Changes: ---------- diff: --- +++ @@ -5,4 +5,5 @@ # use dphys-swapfile swap[on|off] for that # >>> [openmediavault] /dev/disk/by-uuid/EA24-365E /srv/dev-disk-by-uuid-EA24-365E vfat defaults,nofail 0 2 +/dev/disk/by-uuid/e1ca5d9d-a66a-4190-bf20-845aa5c78ea0 /srv/dev-disk-by-uuid-e1ca5d9d-a66a-4190-bf20-845aa5c78ea0 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2 # <<< [openmediavault] Summary for raspberrypi ------------ Succeeded: 4 (changed=1) Failed: 1 ------------ Total states run: 5 Total run time: 576.255 ms
and this details:
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 fstab 2>&1' with exit code '1': raspberrypi:
----------
ID: create_filesystem_mountpoint_201a8f16-a628-4fd3-bc2f-3a930ee59d69
Function: file.accumulated
Result: True
Comment: Accumulator create_filesystem_mountpoint_201a8f16-a628-4fd3-bc2f-3a930ee59d69 for file /etc/fstab was charged by text
Started: 10:45:55.977803
Duration: 2.379 ms
Changes:
----------
ID: mount_filesystem_mountpoint_201a8f16-a628-4fd3-bc2f-3a930ee59d69
Function: mount.mounted
Name: /srv/dev-disk-by-uuid-EA24-365E
Result: True
Comment:
Started: 10:45:55.983436
Duration: 413.481 ms
Changes:
----------
ID: create_filesystem_mountpoint_fe6c9b56-5335-47fd-b943-0c1fcacc49b2
Function: file.accumulated
Result: True
Comment: Accumulator create_filesystem_mountpoint_fe6c9b56-5335-47fd-b943-0c1fcacc49b2 for file /etc/fstab was charged by text
Started: 10:45:56.397654
Duration: 3.156 ms
Changes:
----------
ID: mount_filesystem_mountpoint_fe6c9b56-5335-47fd-b943-0c1fcacc49b2
Function: mount.mounted
Name: /srv/dev-disk-by-uuid-e1ca5d9d-a66a-4190-bf20-845aa5c78ea0
Result: False
Comment: mount: /srv/dev-disk-by-uuid-e1ca5d9d-a66a-4190-bf20-845aa5c78ea0: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.
Started: 10:45:56.401195
Duration: 133.678 ms
Changes:
----------
ID: append_fstab_entries
Function: file.blockreplace
Name: /etc/fstab
Result: True
Comment: Changes were made
Started: 10:45:56.537801
Duration: 23.561 ms
Changes:
----------
diff:
---
+++
@@ -5,4 +5,5 @@
# use dphys-swapfile swap[on|off] for that
# >>> [openmediavault]
/dev/disk/by-uuid/EA24-365E /srv/dev-disk-by-uuid-EA24-365E vfat defaults,nofail 0 2
+/dev/disk/by-uuid/e1ca5d9d-a66a-4190-bf20-845aa5c78ea0 /srv/dev-disk-by-uuid-e1ca5d9d-a66a-4190-bf20-845aa5c78ea0 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
# <<< [openmediavault]
Summary for raspberrypi
------------
Succeeded: 4 (changed=1)
Failed: 1
------------
Total states run: 5
Total run time: 576.255 ms 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/filesystemmgmt.inc(911): OMV\Rpc\Rpc::call('Config', 'applyChanges', Array, Array)
#6 [internal function]: Engined\Rpc\OMVRpcServiceFileSystemMgmt->mount(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('mount', Array, Array)
#9 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('FileSystemMgmt', 'mount', Array, Array, 1)
#10 {main}
Display More