Connection lost during plugin installation + brocken packages during OMV system upgrade

  • Hello all,


    I'm a real newbie to OMV and Linux know-how is limited. So sorry for silly questions...

    I installed OMV (6.5.0-3 Shaitan) some months ago from a ISO USB stick onto an AMD system. This week I installed 2x4 TB NAS drives with RAID 1 and shared them. That all worked.


    Problem is now that I can't installed plugins from the UI. Error message is

    500: Connection lost. It seems that the plugin depends on:

    Depends: openmediavault (>= 6.5.4) but 6.5.0-3 is to be installed


    Ok, I first need to upgrade my system. I googled a bit, was able to SSH my OMV as root and now I'm trying to upgrade to the latest version. BTW, the OMV web UI doesn't show any upgrades. I tried many approaches but finally I'm not able to upgrade.

    sudo omv-upgrade 

    finally results into

    The following packages have been kept back:

    openmediavault salt-minion

    0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

    Also tried

    sudo apt-get install openmediavault 

    and that results into

    Some packages could not be installed. This may mean that you have

    requested an impossible situation or if you are using the unstable

    distribution that some required packages have not yet been created

    or been moved out of Incoming.

    The following information may help to resolve the situation:


    The following packages have unmet dependencies:

    salt-common : Depends: python3-gnupg but it is not installable

    Depends: python3-packaging but it is not installable

    E: Unable to correct problems, you have held broken packages.


    I'm puzzled now and don't know what the next steps could be, except reinstallating the whole system. Any idea?

  • votdev

    Approved the thread.
  • Hello,

    I was in the same situation for 2 weeks.

    I followed all the tutorials, advices, lost command lines in the forums.

    I even tried ChatGPT.... Yes I was desperate.

    And I came across your message... reading it, I told myself that it was an internet reception problem.

    I then applied the possible solution for myself. I had already done an installation and everything worked, why the second time, everything was blocked.

    After eliminating all possible problems of my NAS. I decided to reset to factory settings of my router. Once finished, I put the USB key back in the NAS and.... miraculously, the installation of OMV took 2 minutes!... The updates work very well. I don't know if it can help, I'm very beginner too but for me it was the solution. If your OMV image is in 6.5 and not in 6.9, it is because you do not have an internet connection in the NAS. I specify that I had internet normally on all other devices... Weird.


    Good luck ;)

  • Thanks for your answer.


    Strangely enough, some updates work. At the weekend, 2 minor updates appeared in the Update list and they were downloaded and installed correctly. And I was able to install a (not needed) plugin. This all comes from the internet, doesn't it? During my first SSH session I also tried to ping the Google DNS 8.8.8.8 and that also worked.


    Yes, my system is 6.5 and there is no chance to upgrade to 6.9 or to install the plugins I need.. Playing with the router settings could be an option, but is somehow risky. Anyway, I agree when you say "Weird". As a newbie you are a bit lost.

    • Official Post

    I decided to reset to factory settings of my router. Once finished, I put the USB key back in the NAS and.... miraculously, the installation of OMV took 2 minutes!... The updates work very well.

    ...

    I specify that I had internet normally on all other devices... Weird.

    You're right, that's weird...

    If there was no internet on the server and the router was to blame, there should not be internet on the rest of the devices on the network either, unless you have made some special configuration on the router.

    • Official Post

    I'm puzzled now and don't know what the next steps could be, except reinstallating the whole system. Any idea?

    Everything seems to indicate that you do not have an internet connection on the server. Do you know if there was an internet connection during the OMV installation? That is important. Installing without internet generates conflicts.

  • Thanks.

    Unfortunately, I can no longer say exactly. Is it possible to install OMV only from the stick and without Internet? If I assume that this is the problem, what would be the solution? A complete reinstallation would not be a problem, not much is stored on the RAID yet. And then the question of whether I should install 7.xRC1 straight away or 6.5 again...

    • Official Post

    Thanks.

    Unfortunately, I can no longer say exactly. Is it possible to install OMV only from the stick and without Internet? If I assume that this is the problem, what would be the solution? A complete reinstallation would not be a problem, not much is stored on the RAID yet. And then the question of whether I should install 7.xRC1 straight away or 6.5 again...

    Yes, it is possible, but it is problematic. Many updated packages are installed during the initial installation. If you do not have internet at that time, these packages will not be able to be downloaded and the OMV installation will be far from optimal.


    Regarding installing OMV6 or OMV7, it depends on you. OMV6 is stable. OMV7 is Release Candidate. If you want my opinion, I only have OMV7 installed on virtual machines for testing, I'm in no hurry.


    I didn't reply to this thread the day you posted it thinking that someone else might find a problem and solve it, but since no one else has answered after 8 days I would do a new installation. Make sure you have an internet connection on the server at all times, preferably by cable.

  • Playing with the router settings could be an option, but is somehow risky.

    At our level (beginners), reseting your router back as if you had just unpacked it is absolutely not dangerous... You go to its config (192.168.1.254 or 192.168.1.1 or an address indicated on your router (back))... In the options, you return the router to its initial state and that's it. The only thing to check is if you have changed your wifi code. A router has its microprogram "frozen" on its motherboard, you have to do much worse to change it. Still, like you, I had... minor updates, access to the network for certain uninteresting things but not everything that came from debian & Co. As proof that it came from there. In my opinion. that's because I didn't touch the NAS... Before resetting the router... no connection with OMV, after no problem to install. As if DNS configs were in conflict.

  • You're right, that's weird...

    If there was no internet on the server and the router was to blame, there should not be internet on the rest of the devices on the network either, unless you have made some special configuration on the router.

    Yes. I know. To precise. Sometimes minor updates could go through but never what came from debian & Co. Before, I had done an installation which went well. I had opened ports in the router. When I wanted to install a new installation, I also just deleted the old unnecessary ports in the router. In my beginner's words, it's as if there was an "invisible" DNS conflict between the NAS and the router. The reset therefore perfectly “cleaned up” these conflicts. And I can assure you that I followed all the advices given in the event of error 500, no connection, lost connection, backports.list... ;)

    • Official Post

    Reinstall was quick and successful. Thanks for the advice.

    Does everything work fine now?

  • I have a similar problem and reinstall is not an option for me.


    I found a simple way at least to test the internet connectivity of the NAS:

    It requires omv-extras to be installed.


    --> System --> omv-extras --> apt-clean

    will update distro data from remote servers and you can verify the success of the fetch commands in the log window.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!