Not even sure why you have an apt.conf. This is not common. What was in it?
Here my old /etc/apt/apt.conf
APT::Default-Release "stretch";
APT::Install-Recommends "false";
APT::Install-Suggests "false";
Not even sure why you have an apt.conf. This is not common. What was in it?
Here my old /etc/apt/apt.conf
APT::Default-Release "stretch";
APT::Install-Recommends "false";
APT::Install-Suggests "false";
Not even sure why you have an apt.conf. This is not common. What was in it?
I think it's just my fault. I have my machine installation (very old) from 2015/2016 OMV.
Display MoreOn a test OMV 4.x system with the flashmemory plugin installed, this is all I did to upgrade it to OMV 5.x (as root):
apt-get purge openmediavault-cups openmediavault-dnsmasq openmediavault-docker-gui openmediavault-domoticz openmediavault-duplicati openmediavault-eyefi openmediavault-ldap openmediavault-letsencrypt openmediavault-mysql openmediavault-nginx openmediavault-openvpn openmediavault-pxe openmediavault-remotedesktop openmediavault-route openmediavault-shellinabox openmediavault-syncthing openmediavault transmissionbt openmediavault-urbackup-server openmediavault-vdo openmediavault-virtualbox openmediavault-webdav
sed -i "s/stretch/buster/g" /etc/apt/sources.list
sed -i "s/stretch/buster/g" /etc/apt/sources.list.d/*
sed -i "s/arrakis/usul/g" /etc/apt/sources.list.d/*
sed -i "/[Dd]ocker/d" /etc/apt/sources.list.d/omv-extras-org.list
apt-get update
apt-get dist-upgrade
reboot
apt-get purge openmediavault-omvextrasorg resolvconf
wget -O - https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install | bash
apt-get update
apt-get dist-upgradeomv-salt deploy run nginx
Clear your browser cache after upgrading!
Maybe it will be useful to someone in my situation.
To upgrade to OMV 5 I had to add this command at the beginning:
sed -i "s/stretch/buster/g" /etc/apt/apt.conf
Thank you so much.
It works perfectly now, thanks.
Thank you Volker, I'm sorry but I didn't find anything on the forum.
I will search about the "not valid database".
Thanks.
After upgrading from 2.x to 3.x I have issues about the "General Settings" tab and "Power Management" tab.
Someone can help me about these problems, or point me to the documentation about it ?
Thanks in advance!
Hi guys.
I have solved by a combination of the two advices.
To solve the grub error I have reinstalled grub with the "Parted Magic" distro.
Firstly identify your boot drive with the "Parted Magic Mount" utlity.
In my case was :"/dev/sdf1"
then, from the main menu select:
-Boot Utilities
-Boot Loader Restore Utility
Install the new grub on (in my case...) "/dev/sdf1".
After that my OMV box booted fine... but the web interface was not accessible...
To solve this issue:
after that, reboot the machine.
Now the web interface is accessible.
There are still some minor quirks (that i will investigate later on), but after all the machine works-ish
Thank you guys!
Let me know if I could do it in a better way... specifically, someone with a real knowledge about the "grub" command
has an alternative method (without using "Parted Magic") to solve the issue ???
Thank you guys.
Now I have something to "experiment" about.
I will let you know the results.
Thanks again
Any help to debug my issue ?
I have executed these commands:
After the reboot i get the grub rescue console.
There is a way to log what happen during the command "omv-release-upgrade" ?
Every time I have to restore the clonezilla image of my system drive because it will not boot...
Any advise is welcome... Tnx!
Hi guys,
sorry to bother you...
After over a year I tried to upgrade from the latest 2.x to 3.x (with the omv-release-upgrade command).
The only plug-in I have installed is Snapraid.
Unfortunately after many attempts I have the same "grub" error console.
If there is a guide about it, please point me there...
Thanks in advance for your help!
You have exactly the same model of my port multiplier card
Very good news to hear, if it works with the banana a very cheap (and very energy efficient) build of an OMV box is possible.
Please let us know how your tests are going.
I always thought that delay was to help slow down brute force attacks (which it should).
Absolutely right.
I use this setting because a month ago I have isolated my two OMV boxes from external access (from the internet), and in my local network I am the only user.
With putty, on every SSH login to my two OMV boxes, the password prompt was very slow. It was very annoying for me
Today (finally...) I have found the solution:
edit this file:
/etc/ssh/sshd_config
the name of the file is sshd_config with the "D". DO NOT edit the file ssh_config
add this string at the end of the file: UseDNS no
save the file and then restart the service and close the console by running this command:
# service ssh restart && exit
If you do not want to restart the service, just restart the system (or turn off the computer and boot as usual)
For more details, use the links below:
http://superuser.com/questions…into-my-ubuntu-9-05-serve
http://blog.ayaz.pk/2008/02/03…s-resolution-and-openssh/
I'm very sorry for the misunderstanding.
I have a subscription to the magazine, I have got the issue #9 yesterday.
I don't know when the issue #9 will be available on the LinuxVoice on-line store.
OMV on LinuxVoice Magazine, issue #9 !!!