Thanks!
Yes I had two rsync processes that was hanging. I killed them and the issue was solved.
Thanks!
Yes I had two rsync processes that was hanging. I killed them and the issue was solved.
Hi!
I have a rsync job running on an Raspberry Pi which fetches files from another OMV server. After last minor upgrade (7.4.x on both machines), rsync now fails with
QuoteFailed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LC_ALL=C.UTF-8; export LANGUAGE=; export SHELL=/bin/sh; sudo --shell --non-interactive -- /var/lib/openmediavault/cron.d/rsync-0f4d2bd2-32d0-4d46-a56f-801b3f8738ee 2>&1' with exit code '1'
For debug reason I have added set -x after shebang on /var/lib/openmediavault/cron.d/rsync-0f4d2bd2-32d0-4d46-a56f-801b3f8738ee but I not able to understand what is wrong. I have attached the output in this post.
Could someone please help me understand the problem?
BR,
Simmarn
Hi!
Is there a way to disable performance statistics? I.e. stop OMV from collecting and storing statistics?
BR,
Simmarn
Hi!
What is the recommended procedure to migrate OMV configuration from an OMV5 installation to a fresh OMV6?
/Simmarn
Hi.
I got it working by updating config.xml and restart.
/etc/systemd/system/sharedfolders-XXXX.mount was re-generated by just doing config change in gui on one of the Shared Folders.
In config.xml sharedfolder section the uuid for <mntentref> is wrong. Shall be same as uuid for <mntent> in the fstab section.
...
<mntent>
<uuid>c4431442-91bd-4d6b-8e90-8a67a76d9209</uuid>
<fsname>diskarray</fsname>
<dir>/diskarray</dir>
<type>zfs</type>
<opts>rw,relatime,xattr,noacl</opts>
<freq>0</freq>
<passno>0</passno>
<hidden>1</hidden>
</mntent>
...
<sharedfolder>
<uuid>ecce0323-afa5-40bd-b56d-f00fde698798</uuid>
<name>openmediavault</name>
<comment>Main NAS share</comment>
<mntentref>e3da46f5-f3d0-41c0-856b-d15fd355b8e8</mntentref>
<reldirpath>openmediavault/</reldirpath>
<privileges>
<privilege>
<type>user</type>
<name>martin</name>
<perms>7</perms>
</privilege>
</privileges>
</sharedfolder>
...
Can I fix it by just updating config.xml and restart?
Will the /etc/systemd/system/sharedfolders-XXXX.mount be re-generated?
BR,
-Martin
Sounds like the same problem. I am hoping that there is a easier way than to re-create all shares.
Also. I get the following error message for each of the shares.
martin@openmediavault:~$ systemctl status sharedfolders-ArrayShare.mount
● sharedfolders-ArrayShare.mount - Mount shared folder ArrayShare to /sharedfolders/ArrayShare
Loaded: error (Reason: Bad message)
Active: inactive (dead)
Where: /sharedfolders/ArrayShare
martin@openmediavault:~$ sudo journalctl -u sharedfolders-ArrayShare.mount
-- Logs begin at Fri 2019-08-09 08:28:25 CEST, end at Fri 2019-08-09 08:46:40 CEST. --
Aug 09 08:28:29 openmediavault systemd[1]: sharedfolders-ArrayShare.mount: Cannot add dependency job, ignoring: Unit sharedfolders-ArrayShare.mount is not loaded properly: Bad message.
Aug 09 08:28:29 openmediavault systemd[1]: sharedfolders-ArrayShare.mount: Cannot add dependency job, ignoring: Unit sharedfolders-ArrayShare.mount is not loaded properly: Bad message.
Aug 09 08:34:02 openmediavault systemd[1]: sharedfolders-ArrayShare.mount: Cannot add dependency job, ignoring: Unit sharedfolders-ArrayShare.mount is not loaded properly: Bad message.
Aug 09 08:39:00 openmediavault systemd[1]: sharedfolders-ArrayShare.mount: Cannot add dependency job, ignoring: Unit sharedfolders-ArrayShare.mount is not loaded properly: Bad message.
Aug 09 08:44:25 openmediavault systemd[1]: sharedfolders-ArrayShare.mount: What= setting is missing. Refusing.
Aug 09 08:44:25 openmediavault systemd[1]: sharedfolders-ArrayShare.mount: Cannot add dependency job, ignoring: Unit sharedfolders-ArrayShare.mount is not loaded properly: Bad message.
Aug 09 08:44:25 openmediavault systemd[1]: sharedfolders-ArrayShare.mount: Cannot add dependency job, ignoring: Unit sharedfolders-ArrayShare.mount is not loaded properly: Bad message.
martin@openmediavault:~$
Hi,
After update all Shared Folders on my ZFS array shows device=n/a.
If I try to edit the shared folder I get: Failed to execute XPath query '//system/fstab/mntent[uuid='e3da46f5-f3d0-41c0-856b-d15fd355b8e8']'.
See attached screen dump.
What could be the problem? How to resolve?
I do not experience any problems with my NFS shares. But the SMB/CIFS share is not working.
BR,
-Martin
I hope omv is not using insserv for anything. I also got ZFS working after I did
sudo apt purge insserv sysv-rc initscripts openrc
After reboot I was able to reinstall ZFS from GUI.
Hi,
Upgrade from 4.1.22-1 to latest (4.1.23) failed. I do not understand what the problem is.
I have rolled back to 4.1.22-1. How can I resolve this?
martin@openmediavault:~$ sudo omv-update
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
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Hit:5 http://security.debian.org stretch/updates InRelease
Ign:6 http://ftp.se.debian.org/debian stretch InRelease
Hit:7 http://ftp.se.debian.org/debian stretch-updates InRelease
Hit:8 http://ftp.se.debian.org/debian stretch Release
Hit:10 http://packages.openmediavault.org/public arrakis InRelease
Hit:9 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease
Hit:11 https://openmediavault.github.io/packages arrakis InRelease
Ign:12 https://dl.bintray.com/openmed…plugin-developers/arrakis stretch InRelease
Get:13 https://dl.bintray.com/openmed…plugin-developers/arrakis stretch Release [4 389 B]
Hit:13 https://dl.bintray.com/openmed…plugin-developers/arrakis stretch Release
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7fa587587950>
Traceback (most recent call last):
File "/usr/lib/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7fa587587950>
Traceback (most recent call last):
File "/usr/lib/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
linux-headers-4.19.0-0.bpo.2-amd64 linux-headers-4.19.0-0.bpo.2-common linux-image-4.19.0-0.bpo.2-amd64
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 317 MB disk space will be freed.
(Reading database ... 163130 files and directories currently installed.)
Removing linux-headers-4.19.0-0.bpo.2-amd64 (4.19.16-1~bpo9+1) ...
Removing linux-headers-4.19.0-0.bpo.2-common (4.19.16-1~bpo9+1) ...
Removing linux-image-4.19.0-0.bpo.2-amd64 (4.19.16-1~bpo9+1) ...
/etc/kernel/prerm.d/dkms:
dkms: removing: virtualbox 5.2.24 (4.19.0-0.bpo.2-amd64) (x86_64)
-------- Uninstall Beginning --------
Module: virtualbox
Version: 5.2.24
Kernel: 4.19.0-0.bpo.2-amd64 (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
vboxdrv.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-0.bpo.2-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
vboxnetadp.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-0.bpo.2-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
vboxnetflt.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-0.bpo.2-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
vboxpci.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-0.bpo.2-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...
DKMS: uninstall completed.
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.19.0-0.bpo.2-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.19.0-0.bpo.5-amd64
Found initrd image: /boot/initrd.img-4.19.0-0.bpo.5-amd64
Found linux image: /boot/vmlinuz-4.19.0-0.bpo.4-amd64
Found initrd image: /boot/initrd.img-4.19.0-0.bpo.4-amd64
Found linux image: /boot/vmlinuz-4.4.98-5-pve
Found initrd image: /boot/initrd.img-4.4.98-5-pve
done
Setting up samba (2:4.5.16+dfsg-1+deb9u2) ...
Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
insserv: warning: script 'savecache' missing LSB tags and overrides
insserv: There is a loop between service watchdog and savecache if stopped
insserv: loop involving service savecache at depth 2
insserv: loop involving service watchdog at depth 1
insserv: Stopping savecache depends on watchdog and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package samba (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up dbus (1.10.28-0+deb9u1) ...
A reboot is required to replace the running dbus-daemon.
Please reboot the system when convenient.
insserv: warning: script 'savecache' missing LSB tags and overrides
insserv: There is a loop between service watchdog and savecache if stopped
insserv: loop involving service savecache at depth 2
insserv: loop involving service watchdog at depth 1
insserv: Stopping savecache depends on watchdog and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package dbus (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of openmediavault:
openmediavault depends on samba; however:
Package samba is not configured yet.
dpkg: error processing package openmediavault (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Errors were encountered while processing:
samba
dbus
openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
martin@openmediavault:~$
BR,
-Martin
Hi,
When I upgraded from omv 2 -> 3 I saved the config.xml on omv 2. After installing omv 3 I clicked around in the webGUI to get the same configuration as in the backed up config.xml file.
Is there a way to configure omv using command line instead of webGUI? It would simplify upgrade a lot. Best would be if configuration could be extracted from omv 3, migrated to omv 4 and then applied.
/Simmarn