Legenda (oznaczenia używane w postach) czyli lets clean this burdel

Oznaczenia używane w postach

Zwykły tekst Czcionka Georgia

apt-get install -Komenda



-ryzyko uszkodzenia systemu


-skrypt w bashu
-Ważna informacja

=====
wycinek z loga konsoli
====

nano /etc/resolv.conf plik do edycji


środa, 14 października 2020

Open Media Vaut 5.x.x.x installer bug

 https://forum.openmediavault.org/index.php?thread/35425-installer-bug-in-whole-line-omv-5-x-x-x-omv-line-4-seems-to-be-unaffected-instal/&postID=253333#post253333


I've tested version 5.0.5 2019-08-16 using bare-metal and virtualbox in both cases installation freeze right after choosing main network card / interface and dhcp network configuration. It is somewhat related to dhcp ip6 configuration
version 4 is unaffected. I'll try to install clean minimal debian 10.6 on bare-metal equipment then add omv on to it.

Ps debian and its derivatives are my daily drivers but to omv im completely new.

==========================================================================
Ok I found possible solution

1. unplug the ethernet cable
2 install omv v 5.x.x.x

Yes it will complain due to lack of internet connection

3.ip address show to check your interface name
4. edit the /etc/network/interfaces and add this block:

auto eth0 [change eth0 to your specific interface name]
allow-hotplug eth0

iface eth0 inet dhcp

5. save changes to the file
6. check your resolve. conf via cat /etc/resolv.conf if there any dns data then it's ok
7.ip link set <interface> up
8. now run /etc/init.d/networking restart

9. ping google.com
10 login by ssh to your openmediavault from another machine

correct incomplete sourceslist file
11. nano /etc/apt/sources. list

delete all content then put

Code
###### Debian Main Repos
deb http://deb.debian.org/debian/ stable main contrib non-free
deb-src http://deb.debian.org/debian/ stable main contrib non-free
deb http://deb.debian.org/debian/ stable-updates main contrib non-free
deb-src http://deb.debian.org/debian/ stable-updates main contrib non-free
deb http://deb.debian.org/debian-security stable/updates main
deb-src http://deb.debian.org/debian-security stable/updates main


12. Correct file openmediavault-kernel-backports.listl.

nano /etc/apt/sources.list.d/openmediavault-kernel-backports.list

you will see something like

http://httpredir.debian.org/debian -backports main contrib non-free

change this line to

Code
http://httpredir.debian.org/debian buster-backports main contrib non-free

12.now omv-update
13.omv-firstaid

option 9 clear webcontrol panel cache

option 8 clear local upload package repository

14.systemctl reboot
15 use web panel in browser . check-for updates there should not be any also there should be no weird errors like:

Code

Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:
/usr/local/sbin; export LANG=C; apt-get update 2>&1' with exit code '100': 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

or any fingerprint missmach

Ps I have no idea if all network card drivers will be present in system due to unplugged network cord during installation process.
There is a possibility that required kernel modules won't be loaded .

ps2 the above procedure was performed in a virtualbox environment.
There is no guarantee that it will behave the same way om bare metal

ps3 it took me 10h to fix this, Please fix a damn installer. I have no sufficient knowledge to do it myself

Brak komentarzy:

Prześlij komentarz