Errors during Updates and plugins for OMV 5.5.11 (Repository issue?)

  • Hi,


    This is the first thread I'm starting after getting on the OMV bandwagon. It's the first time for me building and configuring a NAS so please bare with me. I used a Ubuntu for a bit in the desktop environment as well as having to go into terminal so I can follow the instructions you guys have.


    So, as you can see on the tag, I am on OMV 5.5.11 and these issues probably wouldn't be present if I used a more up to date version of OMV. The reason why this is so is that OMV 5.5.11 is the only version which is able to be installed on my machine and runs stably. OMV 4.x and below is able to install successfully but does not detect a network card after installation (no idea why as it detects my card during the installation process.) OMV 5.0 to 5.3.9 and install and I can get into the OMV GUI but it becomes unstable after a few restarts. From OMV 5.6.13 onwards, the boot menu freezes and I can't start the installation anyway. I tried the alternative installation method with Debian and that is unable to proceed as well due to the same issue.


    I've managed to set up the Samba share and it's all working properly and I can see and use the drive on my network


    The issue I believe is that the repository addresses are all out of date in the installer and I was not able to connect to any of them during the install process.


    When I press the check button on the Update Management tab, I get this error:


    Code
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; apt-get update 2>&1' with exit code '100': Ign:1 cdrom://[Debian GNU/Linux 10 _Buster_ - Official Snapshot amd64 LIVE/INSTALL Binary 20200921-17:33] buster InRelease Get:2 file:/var/cache/openmediavault/archives InRelease Ign:2 file:/var/cache/openmediavault/archives InRelease Err:3 cdrom://[Debian GNU/Linux 10 _Buster_ - Official Snapshot amd64 LIVE/INSTALL Binary 20200921-17:33] buster Release Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs Get:4 file:/var/cache/openmediavault/archives Release Ign:4 file:/var/cache/openmediavault/archives Release Get:5 file:/var/cache/openmediavault/archives Packages Ign:5 file:/var/cache/openmediavault/archives Packages Get:6 file:/var/cache/openmediavault/archives Translation-en Ign:6 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Packages Ign:5 file:/var/cache/openmediavault/archives Packages Get:6 file:/var/cache/openmediavault/archives Translation-en Ign:6 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Packages Ign:5 file:/var/cache/openmediavault/archives Packages Get:6 file:/var/cache/openmediavault/archives Translation-en Ign:6 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Packages Ign:5 file:/var/cache/openmediavault/archives Packages Get:6 file:/var/cache/openmediavault/archives Translation-en Ign:6 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Packages Ign:5 file:/var/cache/openmediavault/archives Packages Get:6 file:/var/cache/openmediavault/archives Translation-en Ign:6 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Packages Ign:5 file:/var/cache/openmediavault/archives Packages Get:6 file:/var/cache/openmediavault/archives Translation-en Ign:6 file:/var/cache/openmediavault/archives Translation-en Get:5 file:/var/cache/openmediavault/archives Packages [1076 B] Get:6 file:/var/cache/openmediavault/archives Translation-en Ign:6 file:/var/cache/openmediavault/archives Translation-en Reading package lists... E: The repository 'cdrom://[Debian GNU/Linux 10 _Buster_ - Official Snapshot amd64 LIVE/INSTALL Binary 20200921-17:33] buster Release' does not have a Release file. E: Method https has died unexpectedly! E: Sub-process https received a segmentation fault.


    When I uploaded the .deb for the OMV extras, I get this error.



    I would appreciate it if I could be pointed to the right direction on how to point the repositories the right way. The experts here would probably be having a facepalm moment as this is probably easy to solve.

  • crashtest

    Hat das Thema freigeschaltet.
  • I decided to try to omv-upgrade command and it doesn't exist.

    On v5, it's omv-update IIRC

    So, as you can see on the tag, I am on OMV 5.5.11 and these issues probably wouldn't be present if I used a more up to date version of OMV. The reason why this is so is that OMV 5.5.11 is the only version which is able to be installed on my machine and runs stably.

    This makes no sense.


    Use the latest Debian 12 netinst ISO and see if it installs properly (it should)

    You don't have to use the OMV ISOs (and specially and EOL version)


    When using the Debian ISO, only have SSH server ticked when TASKSEL shows up.

  • Can't install OMV7?

    That I can't. I can't install past OMV 5.5.11. Anything above that, it freezes right after I choose the install option. A black box appears and it doesn't proceed further. So that applies to the last released OMV 5.6 version as well as OMV 6 and OMV 7. Can't see what's happening in command that is just before the freeze though.

    *below is a representation, I'd need to take a photo to show the black box that pops up.
    install_1.png


  • Thanks for the command, this is the output



    I've also tried the alternate installation method with Debian 12 at this page:
    https://wiki.omv-extras.org/do…=omv7:i386_32-bit_install


    In that case, the freeze happens the moment I choose the "install" option.
    omv7-32bit-01.jpg

    It's not too old a platform but maybe someone decided to drop support for it in the Debian 10-11 timeframe. Like some of the older versions of Ubuntu like 16.04 and 18.04 work but not 20.04.

    It's definitely connected to the internet.

  • Please, post the outputs inside CODE boxes (symbol </> of the posting box)

    You are connected via SSH so, just copy/paste the output.


    Post the output of:

    cat /etc/apt/sources.list

  • Please, post the outputs inside CODE boxes (symbol </> of the posting box)

    You are connected via SSH so, just copy/paste the output.


    Post the output of:

    cat /etc/apt/sources.list


    Apologies, I wasn't aware when I should be using the code tags. Here's the output of cat /etc/apt/sources.list



    Additionally, here is the output of the previous omv-update

  • NOTE: The time waisted to sort this isn't really worth it.

    If you're having issues with the NIC not being recognized OR freezes on the install of Debian 12 means something is wrong configured.

    On Debian 12, check the settings of the BIOS to see what is on Secure Boot, UEFI or Legacy mode, etc


    As for what can be checked:

    You have no repos and only the CD-ROM from install and there's a NOTE about what was the issue:

    You don't have network on install time:

    # Line commented out by installer because it failed to verify:


    So, start by checking your network:

    ip a

    ping -c 5 google.com

    ping -c 5 8.8.8.8


    If those failed, then you need to start again and make sure that you set the proper mirrors and they work on install time.


    If you do have network, you probably don't have omv-extras installed but try to run (post all outputs with the command prompt)

    omv-aptclean

    omv-salt deploy run apt


    omv-update


    If this doesn't solve, you need to edit the sources.list to have, at least some proper repos on it:


    nano /etc/apt/sources.list

    Code
    deb http://ftp.debian.org/debian buster main contrib main non-free
    
    # Line commented out by installer because it failed to verify:
    deb http://security.debian.org/debian-security buster/updates main contrib non-free non-free-firmware


    Run again and post

    omv-update





  • During the installation, the NIC(s) were identified and the Ipv6 configuration proceeded. There was an issue at the configuration of the Package Manager. All the mirrors did not function.


    I would also get errors such as the one below


    4715-capture1-jpg


    For the first set of commands to test if the connection is present, it is indeed.

    ip a

    ping -c 5 google.com

    ping -c 5 8.8.8.8



    For the next 2 commands,

    omv-aptclean

    omv-salt deploy run apt


    The output is:

  • Running the commands you provided:

    Code
    deb http://ftp.debian.org/debian buster main contrib main non-free
    
    # Line commented out by installer because it failed to verify:
    deb http://security.debian.org/debian-security buster/updates main contrib non-free non-free-firmware


    And After omv-update again



    For the Debian 12 items, I'll take some images of the bios

  • Err:8 http://httpredir.debian.org/debian buster-backports Release 404 Not Found [IP: 199.232.46.132 80]

    I don't know why it activated backports again


    omv-changebackports NO

  • I don't know why it activated backports again


    omv-changebackports NO

    Code
    root@NAS:~# omv-changebackports NO
    -bash: omv-changebackports: command not found


    Command isn't there.

    I also got a picture of the only setting that has to do with UEFI or Legacy mode in the Bios

  • I also got a picture of the only setting that has to do with UEFI or Legacy mode in the Bios

    The Boot options are usually in the Security TAB (Secure Boot should be disable, for eg).

    You need to check to see what can be checked to launch Debian 12.

    Also, when making the USB stick with the ISO, if using RUFUS, you can play with the settings.

    See here on how to create it properly:

    How to Create Bootable USB installer for Debian 12 - Devtutorial


    Command isn't there.

    That's weird.


    You can run:

    rm -f /etc/apt/sources.list.d/openmediavault-kernel-backports.list

    omv-update


    If only the W: Target Translations (non-free/i18n/Translation-en) is configured multiple times are shown, it can be ignored and you might go with the omv-release-upgrade command AFTER you make sure you have a proper working OS disk backup.

  • SO running the 2 commands, this is the output. It's mostly configured multiple times. But there is one segmentation fault. Reckon I can try the omv-release-upgrade after I've backed the drive up? That makes me nervous as it'll probably lock up.

    To be continued in the next post



    For Debian 12, I have used Rufus. including the Step 7.

  • E: Method https has died unexpectedly!

    E: Sub-process https received a segmentation fault.

    This is a big issue and searching the web shows somethings.

    apt-get segmentation fault at DuckDuckGo


    Can you post this:

    ls -al /etc/apt/sources.list.d/

  • Sure, here it is.

    Code
    root@NAS:~# ls -al /etc/apt/sources.list.d/
    total 20
    drwxr-xr-x  2 root root 4096 May 22 15:15 .
    drwxr-xr-x 12 root root 4096 May 21 22:28 ..
    -rw-r--r--  1 root root  196 May 21 22:10 openmediavault.list
    -rw-r--r--  1 root root   60 Apr 25  2019 openmediavault-local.list
    -rw-r--r--  1 root root  173 May 21 22:10 openmediavault-os-security.list
  • cat /etc/apt/sources.list.d/openmediavault-os-security.list

    mv /etc/apt/sources.list.d/openmediavault-os-security.list /root/

    omv-update

  • cat /etc/apt/sources.list.d/openmediavault-os-security.list

    mv /etc/apt/sources.list.d/openmediavault-os-security.list /root/

    omv-update



    Code
    root@NAS:~# cat /etc/apt/sources.list.d/openmediavault-os-security.list
    
    deb http://security.debian.org/debian-security buster/updates main contrib non-free
    deb-src http://security.debian.org/debian-security buster/updates main contrib non-free

    Then, oh, the segmentation fault is out again.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!