I upgraded to omv6 from omv5
Upon boot, the web browser or login screen is not working
I get error: 403 forbidden, nginx
I have cleared my browser cache
Tried two different browser - chrome and edge
I have tried to reboot
No success
Please help
jim
I upgraded to omv6 from omv5
Upon boot, the web browser or login screen is not working
I get error: 403 forbidden, nginx
I have cleared my browser cache
Tried two different browser - chrome and edge
I have tried to reboot
No success
Please help
jim
dpkg -l | grep openm
dpkg -l | grep usrme
And in addition ls -lah usr/share/nginx and ls -lah usr/share/nginx/html
Forbidden could mean nginx is not allowed to read the files.
This was an upgrade attempt from omv5 to omv6
I used command > omv-release-upgrade
After nginx gave the error, i simply went back to omv5
I am not sure if basic bugs have been worked out yet
Not looking for science project, sorry
root> dpkg -l | grep openm
ii openmediavault 5.6.26-1 all openmediavault - The open network attached storage solution
ii openmediavault-apttool 3.6 all apt tool plugin for OpenMediaVault.
ii openmediavault-autoshutdown 5.1.21 all OpenMediaVault AutoShutdown Plugin
iF openmediavault-clamav 5.0.13-1 all openmediavault ClamAV plugin
ii openmediavault-diskstats 5.1.1-2 all openmediavault disk monitoring plugin
ii openmediavault-fail2ban 5.0.5 all OpenMediaVault Fail2ban plugin
ii openmediavault-flashmemory 5.0.9 all folder2ram plugin for OpenMediaVault
ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
ii openmediavault-kvm 5.1.7 all kvm plugin for OpenMediaVault.
ii openmediavault-locate 3.5 all locate plugin for OpenMediaVault.
ii openmediavault-omvextrasorg 5.6.6 all OMV-Extras.org Package Repositories for OpenMediaVault
ii openmediavault-openvpn 5.1 all OpenVPN plugin for OpenMediaVault.
ii openmediavault-remotemount 5.0.3 all Remote mount plugin for OpenMediaVault.
ii openmediavault-resetperms 5.0 all Reset Permissions
ii openmediavault-sharerootfs 5.0.2-1 all openmediavault share root filesystem plugin
ii openmediavault-symlinks 5.0 all OpenMediaVault symlinks plugin
ii openmediavault-wol 3.4.2 all OpenMediaVault WOL plugin
root> dpkg -l | grep usrme
no output
root@omv:~# ls -lah /usr/share/nginx
total 16K
drwxr-xr-x 4 root root 4.0K Mar 16 2021 .
drwxr-xr-x 151 root root 4.0K May 15 09:24 ..
drwxr-xr-x 2 root root 4.0K May 28 2021 html
lrwxrwxrwx 1 root root 23 Mar 16 2021 modules -> ../../lib/nginx/modules
drwxr-xr-x 2 root root 4.0K May 28 2021 modules-available
root@omv:~# ls -lah /usr/share/nginx/html
total 12K
drwxr-xr-x 2 root root 4.0K May 28 2021 .
drwxr-xr-x 4 root root 4.0K Mar 16 2021 ..
-rw-r--r-- 1 root root 612 Dec 4 2018 index.html
Here is the error where i am having issues>
Restarting engine daemon ...
/etc/monit/conf.d/openmediavault-filesystem.conf:2: Service name conflict, rootfs already defined '/'
/etc/monit/conf.d/openmediavault-filesystem.conf:7: Service name conflict, filesystem_srv_dev-disk-by-uuid-8b9faf75-fe0f-447f-a7cd-94702912f80c already defined '"/srv/dev-disk-by-uuid-8b9faf75-fe0f-447f-a7cd-94702912f80c"'
/etc/monit/conf.d/openmediavault-filesystem.conf:12: Service name conflict, mountpoint_srv_dev-disk-by-uuid-8b9faf75-fe0f-447f-a7cd-94702912f80c already defined ''/srv/dev-disk-by-uuid-8b9faf75-fe0f-447f-a7cd-94702912f80c''
/etc/monit/conf.d/openmediavault-filesystem.conf:15: Service name conflict, filesystem_srv_dev-disk-by-uuid-46ad8112-31d1-4381-a4c0-2a1cee2d84a9 already defined '"/srv/dev-disk-by-uuid-46ad8112-31d1-4381-a4c0-2a1cee2d84a9"'
/etc/monit/conf.d/openmediavault-filesystem.conf:20: Service name conflict, mountpoint_srv_dev-disk-by-uuid-46ad8112-31d1-4381-a4c0-2a1cee2d84a9 already defined ''/srv/dev-disk-by-uuid-46ad8112-31d1-4381-a4c0-2a1cee2d84a9''
/etc/monit/conf.d/openmediavault-filesystem.conf:23: Service name conflict, filesystem_srv_dev-disk-by-uuid-9efc6f78-edff-d501-80d8-6e78edffd501 already defined '"/srv/dev-disk-by-uuid-9efc6f78-edff-d501-80d8-6e78edffd501"'
/etc/monit/conf.d/openmediavault-filesystem.conf:28: Service name conflict, mountpoint_srv_dev-disk-by-uuid-9efc6f78-edff-d501-80d8-6e78edffd501 already defined ''/srv/dev-disk-by-uuid-9efc6f78-edff-d501-80d8-6e78edffd501''
/etc/monit/conf.d/openmediavault-filesystem.conf:31: Service name conflict, filesystem_srv_dev-disk-by-uuid-06841915-8e40-4409-9fd4-a306675da78c already defined '"/srv/dev-disk-by-uuid-06841915-8e40-4409-9fd4-a306675da78c"'
/etc/monit/conf.d/openmediavault-filesystem.conf:36: Service name conflict, mountpoint_srv_dev-disk-by-uuid-06841915-8e40-4409-9fd4-a306675da78c already defined ''/srv/dev-disk-by-uuid-06841915-8e40-4409-9fd4-a306675da78c''
/etc/monit/conf.d/openmediavault-filesystem.conf:39: Service name conflict, filesystem_srv_dev-disk-by-uuid-6972e9ff-b51d-4a14-9fe6-bd4750042a82 already defined '"/srv/dev-disk-by-uuid-6972e9ff-b51d-4a14-9fe6-bd4750042a82"'
/etc/monit/conf.d/openmediavault-filesystem.conf:44: Service name conflict, mountpoint_srv_dev-disk-by-uuid-6972e9ff-b51d-4a14-9fe6-bd4750042a82 already defined ''/srv/dev-disk-by-uuid-6972e9ff-b51d-4a14-9fe6-bd4750042a82''
Errors were encountered while processing:
openmediavault-clamav
E: Sub-process /usr/bin/dpkg returned an error code (1)
i uninstalled openmediavault-clamav
now the upgrade is running (it did run last night too but there was no webgui login after reboot)
This is when i posted my issue
So we can call this resolved?
The upgrade 5 to 6 works flawless when the install of omv5 is in proper shape and has no foreign components on it which do not upgrade.
No it is not resolved.
On the second try, i had to uninstall ALL plugins.
It still gave me the same problems
I am stuck
I am not sure, how to determine if the omv5 is in proper shape.
I run updates regularly and have the latest kernel.
After nginx gave the error, i simply went back to omv5
Can you explain how you did that? If you restored a backup, you should be in the state before the upgrade.
Before i started upgrade from 5 to 6, i used clonezilla to image the current omv5
This is failsafe, in case upgrade didn't work
I don't use backups as they take long time to restore. Instead i keep images of the system.
Nonetheless, is there a help guide for upgrade from omv5 to omv6?
Nonetheless, is there a help guide for upgrade from omv5 to omv6?
Make sure that OMV is fully updated.
Check that the plugins you use are ported to omv6.
Run omv-upgrade-release
Like i said, i removed all plugins thereby getting a barebones omv5
I do have a Nvidia update to the kernel so that i can use NVIDIA GPU
I rebooted and then ran "omv-release-upgrade"
This procedure didn't work, so not sure what to do
root> dpkg -l | grep usrme
no output
I would start over again and install usrmerge before running the omv-release-upgrade
apt install usrmerge
then
omv-update --> should give no error
then
omv-release-upgrade --> post the output in case there are errors
Is #6 on OMV5 or OMV6?
I get these errors when running omv-update
I have uninstalled all plugins and all samba shares
root@omv:~# omv-update
WARNING: omv-update is deprecated, please use omv-upgrade instead.
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://deb.debian.org/debian buster InRelease
Get:6 http://httpredir.debian.org/debian buster-backports InRelease [46.7 kB]
Get:7 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:8 http://deb.debian.org/debian buster-backports InRelease [46.7 kB]
Hit:9 https://openmediavault.github.io/packages usul InRelease
Hit:10 https://nvidia.github.io/libnv…ner/stable/debian10/amd64 InRel ease
Hit:11 https://nvidia.github.io/nvidi…ime/stable/debian10/amd64 InRelease
Hit:12 https://nvidia.github.io/nvidia-docker/debian10/amd64 InRelease
Get:13 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Hit:14 http://packages.openmediavault.org/public usul InRelease
Get:15 http://security.debian.org/debian-security buster/updates/main Sources [2 35 kB]
Get:16 http://security.debian.org/debian-security buster/updates/main amd64 Pack ages [324 kB]
Get:17 http://security.debian.org/debian-security buster/updates/main Translatio n-en [176 kB]
Fetched 945 kB in 2s (404 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
dpkg dpkg-dev libdpkg-perl
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 5412 kB of archives.
After this operation, 7168 B of additional disk space will be used.
Get:1 http://security.debian.org/debian-security buster/updates/main amd64 dpkg amd64 1.19.8 [2210 kB]
Get:2 http://security.debian.org/debian-security buster/updates/main amd64 dpkg- dev all 1.19.8 [1776 kB]
Get:3 http://security.debian.org/debian-security buster/updates/main amd64 libdp kg-perl all 1.19.8 [1415 kB]
Get:4 http://packages.openmediavault.org/public usul/main amd64 openmediavault-d iskstats all 5.1.1-2 [10.4 kB]
Fetched 5412 kB in 0s (17.5 MB/s)
(Reading database ... 170378 files and directories currently installed.)
Preparing to unpack .../archives/dpkg_1.19.8_amd64.deb ...
Unpacking dpkg (1.19.8) over (1.19.7) ...
Setting up dpkg (1.19.8) ...
(Reading database ... 170378 files and directories currently installed.)
Preparing to unpack .../dpkg-dev_1.19.8_all.deb ...
Unpacking dpkg-dev (1.19.8) over (1.19.7) ...
Preparing to unpack .../libdpkg-perl_1.19.8_all.deb ...
Unpacking libdpkg-perl (1.19.8) over (1.19.7) ...
Setting up libdpkg-perl (1.19.8) ...
Setting up dpkg-dev (1.19.8) ...
Processing triggers for libc-bin (2.28-10+deb10u1) ...
Processing triggers for openmediavault (5.6.26-1) ...
Updating file permissions ...
Purging internal cache ...
Restarting engine daemon ...
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export DEBIAN_FRONTEND=noninteractive;
apt-get --yes --auto-remove --purge remove openmediavault-diskstats 2>&1' with exit code '100':
Reading package lists... Building dependency tree... Reading state information... The following packages will be REMOVED: openmediavault-diskstats 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 114 kB disk space will be freed. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 170376 files and directories currently installed.) Removing openmediavault-diskstats (5.1.1-2) ...
dpkg: error processing package openmediavault-diskstats (--remove): installed openmediavault-diskstats package post-removal script subprocess returned error exit status 1 Errors were encountered while processing: openmediavault-diskstats E: Sub-process /usr/bin/dpkg returned an error code (1)
what is the result of dpkg --audit
root@omv:~# dpkg --audit
The following packages are only half installed, due to problems during
installation. The installation can probably be completed by retrying it;
the packages can be removed using dselect or dpkg --remove:
openmediavault-diskstats openmediavault disk monitoring plugin
root@omv:~# dpkg --remove openmediavault-diskstats
(Reading database ... 170377 files and directories currently installed.)
Removing openmediavault-diskstats (5.1.1-2) ...
dpkg: error processing package openmediavault-diskstats (--remove):
installed openmediavault-diskstats package post-removal script subprocess retur ned error exit status 1
Processing triggers for openmediavault (5.6.26-1) ...
Restarting engine daemon ...
/etc/monit/conf.d/openmediavault-filesystem.conf:2: Service name conflict, rootf s already defined '/'
/etc/monit/conf.d/openmediavault-filesystem.conf:7: Service name conflict, files ystem_srv_dev-disk-by-uuid-8b9faf75-fe0f-447f-a7cd-94702912f80c already defined '"/srv/dev-disk-by-uuid-8b9faf75-fe0f-447f-a7cd-94702912f80c"'
/etc/monit/conf.d/openmediavault-filesystem.conf:12: Service name conflict, moun tpoint_srv_dev-disk-by-uuid-8b9faf75-fe0f-447f-a7cd-94702912f80c already defined ''/srv/dev-disk-by-uuid-8b9faf75-fe0f-447f-a7cd-94702912f80c''
/etc/monit/conf.d/openmediavault-filesystem.conf:15: Service name conflict, file system_srv_dev-disk-by-uuid-46ad8112-31d1-4381-a4c0-2a1cee2d84a9 already defined '"/srv/dev-disk-by-uuid-46ad8112-31d1-4381-a4c0-2a1cee2d84a9"'
/etc/monit/conf.d/openmediavault-filesystem.conf:20: Service name conflict, moun tpoint_srv_dev-disk-by-uuid-46ad8112-31d1-4381-a4c0-2a1cee2d84a9 already defined ''/srv/dev-disk-by-uuid-46ad8112-31d1-4381-a4c0-2a1cee2d84a9''
/etc/monit/conf.d/openmediavault-filesystem.conf:23: Service name conflict, file system_srv_dev-disk-by-uuid-9efc6f78-edff-d501-80d8-6e78edffd501 already defined '"/srv/dev-disk-by-uuid-9efc6f78-edff-d501-80d8-6e78edffd501"'
/etc/monit/conf.d/openmediavault-filesystem.conf:28: Service name conflict, moun tpoint_srv_dev-disk-by-uuid-9efc6f78-edff-d501-80d8-6e78edffd501 already defined ''/srv/dev-disk-by-uuid-9efc6f78-edff-d501-80d8-6e78edffd501''
/etc/monit/conf.d/openmediavault-filesystem.conf:31: Service name conflict, file system_srv_dev-disk-by-uuid-06841915-8e40-4409-9fd4-a306675da78c already defined '"/srv/dev-disk-by-uuid-06841915-8e40-4409-9fd4-a306675da78c"'
/etc/monit/conf.d/openmediavault-filesystem.conf:36: Service name conflict, moun tpoint_srv_dev-disk-by-uuid-06841915-8e40-4409-9fd4-a306675da78c already defined ''/srv/dev-disk-by-uuid-06841915-8e40-4409-9fd4-a306675da78c''
Errors were encountered while processing:
openmediavault-diskstats
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!