Can't Access OMV After Attempting Update
-
- resolved
- claredad
-
-
-
-
-
There is something wong with your hard drives.
In the image in the first post it complained about /dev/sdc and now it complains about another drive /srv/... .
Did you touch the hardware in any way (i.e. unplugged disks, ...)?
-
Thanks for the reply Zoki.
I've just moved house. I moved the server and everything worked ok. 24 hours later there are issues. I've checked, and they are all connected ok.
I just moved across the road, and carried server in my hands.
-
Can you do a file system check on the drives?
And the error message says the target directory for mounting is not empty. Can you check this?
-
-
Can you do a file system check on the drives?
And the error message says the target directory for mounting is not empty. Can you check this?
Do I use fsck for the first part?
What command do I use to check the mounting point in the second part?
Sorry, not very experienced in Linux.
-
yes, fsck is the command to check the disks.
For the second part.
show us what cat /etc/fstab tells.
To check the directory use ls -la /srv/<the_long_UUID-here>
Use tab completion to enter the long UUID
-
I'm out of my depth here
yes, fsck is the command to check the disks.
For the second part.
show us what cat /etc/fstab tells.
To check the directory use ls -la /srv/<the_long_UUID-here>
Use tab completion to enter the long UUID
I'm out of my depth. Thought I might be able to muddle through, but not having success.
Attached are the commands I tried. If I got the right one, it was from luck 🙈
If I didn't, appreciate if you can take pity on me and give me the exact command I need to run
Thanks for the help!
-
-
I can not read the contents of /etc/fstab, do you have access to the oms vserver with ssh so you can do cut-and paste?
- In your first image it looks like /dev/sdc has read errors
- In the second image it tells something can not be mounted to /srv/5ff... because the directory is not empty
- In your fourth image a pat of omv is missing
- I can not properly read what is on your fifth image but
- your sixth image you can see that two of your drives are 100% full
could you please give the results of
cat /etc/fstab
and
mount
To check the partitionyou have to unmount it and use fsck <partition> e.g. fsck /dev/sdc2
-
I can not read the contents of /etc/fstab, do you have access to the oms vserver with ssh so you can do cut-and paste?
- In your first image it looks like /dev/sdc has read errors
- In the second image it tells something can not be mounted to /srv/5ff... because the directory is not empty
- In your fourth image a pat of omv is missing
- I can not properly read what is on your fifth image but
- your sixth image you can see that two of your drives are 100% full
could you please give the results of
cat /etc/fstab
and
mount
To check the partitionyou have to unmount it and use fsck <partition> e.g. fsck /dev/sdc2
Sorry, don't have access to that. See attached. Do these help? Will unmount and do fsck now
-
And here's the three fsck for the data drives
Edit: I need to go off line. Will catch up tomorrow evening. Thanks again for the help.
-
-
Your system seems to be self-healing
No more read errors on /dev/sdc1, this is good.
The mount problem is you mergerfs, which you can ignore for the moment.
Uncomment the line in /etc/fstab starting with /srv/dev-disk-by-uuid OMV will restore it or we will remove the comment once we are done.
Reboot
Next we need to check where in the upgrade process we are:
Did you try an upgrade from 4 -> 5 or from 5 -> 6?
cat /etc/os-release
Get all packages for the current version upgraded.
apt-get update
apt-get upgrade
-
Your system seems to be self-healing
No more read errors on /dev/sdc1, this is good.
The mount problem is you mergerfs, which you can ignore for the moment.
Uncomment the line in /etc/fstab starting with /srv/dev-disk-by-uuid OMV will restore it or we will remove the comment once we are done.
Reboot
Next we need to check where in the upgrade process we are:
Did you try an upgrade from 4 -> 5 or from 5 -> 6?
cat /etc/os-release
Get all packages for the current version upgraded.
apt-get update
apt-get upgrade
Brilliant. Which comment am I deleting? See attached.
-
put a # in front of the last but one line.
Please answer this question: Did you try an upgrade from 4 -> 5 or from 5 -> 6?
-
-
put a # in front of the last but one line.
Please answer this question: Did you try an upgrade from 4 -> 5 or from 5 -> 6?
Ok, that's done.
Its weird. I can't log into using the cli, but can access on the browser. I can also log I through SSH
I tried omv-upgrade. Does that do a major upgrade from 5 -> 6? Other than that I haven't tried to move from 5 -> 6.
Should I try the apt-get commands now?
Code
Display MoreLinux omv-server.workgroup 5.10.0-0.bpo.9-amd64 #1 SMP Debian 5.10.70-1~bpo10+1 (2021-10-10) x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue Feb 16 18:37:18 2021 from 192.168.1.15 root@omv-server:~# cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" root@omv-server:~#
-
yes, do
apt-get update
apt-get upgrade
-
yes, do
apt-get update
apt-get upgrade
Done.
Do I need to reboot?
Code
Display MoreLinux omv-server.workgroup 5.10.0-0.bpo.9-amd64 #1 SMP Debian 5.10.70-1~bpo10+1 (2021-10-10) x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Nov 22 20:50:33 2021 from 192.168.1.5 root@omv-server:~# apt-get update Hit:1 http://deb.debian.org/debian buster InRelease Get:2 http://deb.debian.org/debian buster-updates InRelease [51.9 kB] Get:3 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]Get:4 http://httpredir.debian.org/debian buster-backports InRelease [46.7 kB] Hit:5 http://packages.openmediavault.org/public usul InRelease Get:6 https://openmediavault.github.io/packages usul InRelease [12.7 kB] Fetched 177 kB in 1s (147 kB/s) Reading package lists... Done root@omv-server:~# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 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. Do you want to continue? [Y/n] y Setting up openmediavault (5.6.20-1) ... Creating configuration database ... Migrating configuration database ... Setting up Salt environment ... Processing system modifications ... Processing triggers for openmediavault (5.6.20-1) ... Restarting engine daemon ... Updating locale files ... Updating file permissions ... Purging internal cache ... root@omv-server:~#
-
-
There is one package not properly installed.
Please run sudo dpkg -C
-
There is one package not properly installed.
Please run sudo dpkg -C
Done
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!