Unable to resolve any web addresses after trying to upgrade from V5 to V6

  • Trying to upgrade from v5 to v6, ran 'sudo omv-salt stage run deploy' I'm sure it completed OK.

    Then 'sudo omv-upgrade' not sure of the output.

    Then 'sudo omv-release-upgrade' This when I noticed 'Failed to fetch http:// ****' & 'Could not resolve****'


    So searched on here for help, tried what I can find but nothing worked.

    I can ping 8.8.8.8 OK but not google.com, checked DNS setting & found it to be empty so added my gateway address & 8.8.8.8 - nothing.

    The system had been updating fine previously., but does nothing now.

    Oh & I use a static IP.


    When I 'ls /etc' resolv.conf file is listed but unable to view contents - No such file or directory.


    '/etc/apt/sources.list' appears to be correct


    'systemctl status sysemd-resolved' gives 'Unit systemd-resolved.service could not be found.'


    '/run/systemd/resolve/resolv.conf' gives ' -sh: 7: /run/systemd/resolve/resolv.conf: not found


    Any help greatly appreciated.

    7.0.5-1 (Sandworm) / Linux 6.1.0-20-amd64 / AMD Athlon(tm) 64 X2 Dual Core Processor 4200+

  • Zitat

    You need to set a DNS for the interface. Go to the network config page in the UI, edit the interface and add the DNS there.

    That would be at: System; Network; Interface; Edit. This where I found it blank & put in my gateway address & 8.8.8.8 which didn't change anything.

    7.0.5-1 (Sandworm) / Linux 6.1.0-20-amd64 / AMD Athlon(tm) 64 X2 Dual Core Processor 4200+

  • As I said above I can ping an IP address but not a written address!

    It doesn't access the www when trying to update or install anything so I'm stuck.


    If I down load v6 to a usb stick can I upgrade from that? What commands would I use?

    7.0.5-1 (Sandworm) / Linux 6.1.0-20-amd64 / AMD Athlon(tm) 64 X2 Dual Core Processor 4200+

    • Offizieller Beitrag

    Post the output of these commands. Each command in one code box </>


    Code
    ping -c 4 8.8.8.8
    ping -c 4 google.com
    resolvectl dns
    cat /etc/netplan/*
    cat /etc/resolv.conf
    ls -al /etc/resolv.conf
    systemctl status systemd-resolved.service
  • Code
    $ ping -c 4 8.8.8.8
    PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
    64 bytes from 8.8.8.8: icmp_seq=1 ttl=119 time=37.5 ms
    64 bytes from 8.8.8.8: icmp_seq=2 ttl=119 time=28.9 ms
    64 bytes from 8.8.8.8: icmp_seq=3 ttl=119 time=29.8 ms
    64 bytes from 8.8.8.8: icmp_seq=4 ttl=119 time=29.9 ms
    
    --- 8.8.8.8 ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 8ms
    rtt min/avg/max/mdev = 28.910/31.529/37.522/3.481 ms


    Code
    $ ping -c 4 google.com
    ping: google.com: Name or service not known


    Code
    $ resolvectl dns
    -sh: 3: resolvectl: not found



    Code
    $ cat /etc/resolv.conf
    cat: /etc/resolv.conf: No such file or directory
    Code
    $ ls -al /etc/resolv.conf
    lrwxrwxrwx 1 root root 32 Feb 16  2021 /etc/resolv.conf -> /run/systemd/resolve/resolv.conf


    Code
    $ systemctl status systemd-resolved.service
    Unit systemd-resolved.service could not be found.


    Hope you can make sense of this as I'm lost.... was only trying to 'update' from v5 to v6.

    7.0.5-1 (Sandworm) / Linux 6.1.0-20-amd64 / AMD Athlon(tm) 64 X2 Dual Core Processor 4200+

  • All the same except for these:

    Code
    root@openmediavault:/srv/dev-disk-by-uuid-6e765776-c2da-490e-b73a-605a5cbf7c65/Users/Phil# resolvectl dns
    bash: resolvectl: command not found
    
    root@openmediavault:/srv/dev-disk-by-uuid-6e765776-c2da-490e-b73a-605a5cbf7c65/Users/Phil# sytemctl status-resolved.service
    bash: sytemctl: command not found

    7.0.5-1 (Sandworm) / Linux 6.1.0-20-amd64 / AMD Athlon(tm) 64 X2 Dual Core Processor 4200+

  • Code
    root@openmediavault:/srv/dev-disk-by-uuid-6e765776-c2da-490e-b73a-605a5cbf7c65/Users/Phil# dpkg -l | grep systemd
    ii  libsystemd-shared:amd64             252.5-2~bpo11+1                      amd64        systemd shared private library
    ii  libsystemd0:amd64                   252.5-2~bpo11+1                      amd64        systemd utility library
    ii  python3-systemd                     234-2+b1                             amd64        Python 3 bindings for systemd
    ii  systemd                             252.5-2~bpo11+1                      amd64        system and service manager
    ii  systemd-sysv                        252.5-2~bpo11+1                      amd64        system and service manager - SysV compatibility symlinks

    I've already tried to install this, similar results when trying to install anything.

    Code
    root@openmediavault:/srv/dev-disk-by-uuid-6e765776-c2da-490e-b73a-605a5cbf7c65/Users/Phil# apt install systemd-resolved
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Package systemd-resolved is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    
    E: Package 'systemd-resolved' has no installation candidate

    7.0.5-1 (Sandworm) / Linux 6.1.0-20-amd64 / AMD Athlon(tm) 64 X2 Dual Core Processor 4200+

    • Offizieller Beitrag

    I think you should better install your system from scratch. Migrating 5to6 is years to late. Debian has moved the package repos to archive and OMV has not been adapted to that because OMV5 was already end of life at that time.

    Start with OMV6 or better OMV7 from scratch. Your system is in a state that can not be fixed if you are not familiar with Debian.

  • Tiger955

    Hat das Label gelöst hinzugefügt.
  • Thanks but I don't have that knowledge (I did read that), I'm going to do a new install of v6 as I wanted to move the system drive to usb as well, then upgrade to v7 later. This also leaves me with an intact system drive that is working, if needed.

    7.0.5-1 (Sandworm) / Linux 6.1.0-20-amd64 / AMD Athlon(tm) 64 X2 Dual Core Processor 4200+

Jetzt mitmachen!

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