Recovering from failed upgrade

  • Have an RPi3 that has been in use for several years, periodically update and never had an issue. Did an update tonight through the GUI and it appears to have failed, possibly during the kernel update. System will not boot or show anything onscreen, just a red power light on the board. I was able to boot from a different CD card using PINN so it doesn't appear to be hardware related. I can mount the OMV SD card and the system looks intact, boot partition has kernel.img and kernel7.img and a ton of overlay files. I can mount the data partition and pull logs (below) but no idea how to get the system to boot since I'm unsure what is missing/broken.


    I hate to lose whatever was in my Docker instances but need to get my NAS back online more than anything. I was using one of the backup add-ons but believe the files are on one of the NAS drives.. Lesson learned. Is there any way to complete an upgrade or figure out what failed and replace the incorrect (version) files? Barring that, is there a list of config files to copy from the existing card to a new install to restore mount points, users, and shared folders?

    Thanks!


    2024-05-04 02:11:33 startup archives unpack

    2024-05-04 02:11:36 install openmediavault-keyring:all 1.0 1.0.2-2

    2024-05-04 02:11:36 status half-installed openmediavault-keyring:all 1.0

    2024-05-04 02:11:37 status unpacked openmediavault-keyring:all 1.0.2-2

    2024-05-04 02:11:37 upgrade containerd.io:armhf 1.6.18-1 1.6.31-1

    2024-05-04 02:11:37 status half-configured containerd.io:armhf 1.6.18-1

    2024-05-04 02:11:38 status unpacked containerd.io:armhf 1.6.18-1

    2024-05-04 02:11:38 status half-installed containerd.io:armhf 1.6.18-1

    2024-05-04 02:11:59 status triggers-pending man-db:armhf 2.9.4-2

    2024-05-04 02:11:59 status unpacked containerd.io:armhf 1.6.31-1

    2024-05-04 02:11:59 upgrade docker-ce-cli:armhf 5:23.0.1-1~debian.11~bullseye 5:26.1.1-1~debian.11~bullseye

    2024-05-04 02:11:59 status half-configured docker-ce-cli:armhf 5:23.0.1-1~debian.11~bullseye

    2024-05-04 02:11:59 status unpacked docker-ce-cli:armhf 5:23.0.1-1~debian.11~bullseye

    2024-05-04 02:11:59 status half-installed docker-ce-cli:armhf 5:23.0.1-1~debian.11~bullseye

    2024-05-04 02:12:07 status unpacked docker-ce-cli:armhf 5:26.1.1-1~debian.11~bullseye

    2024-05-04 02:12:07 upgrade docker-ce:armhf 5:23.0.1-1~debian.11~bullseye 5:26.1.1-1~debian.11~bullseye

    2024-05-04 02:12:07 status half-configured docker-ce:armhf 5:23.0.1-1~debian.11~bullseye

    2024-05-04 02:12:07 status unpacked docker-ce:armhf 5:23.0.1-1~debian.11~bullseye

    2024-05-04 02:12:07 status half-installed docker-ce:armhf 5:23.0.1-1~debian.11~bullseye

    2024-05-04 02:12:26 status unpacked docker-ce:armhf 5:26.1.1-1~debian.11~bullseye

    2024-05-04 02:12:26 upgrade docker-compose-plugin:armhf 2.16.0-1~debian.11~bullseye 2.27.0-1~debian.11~bullseye

    2024-05-04 02:12:26 status half-configured docker-compose-plugin:armhf 2.16.0-1~debian.11~bullseye

    2024-05-04 02:12:26 status unpacked docker-compose-plugin:armhf 2.16.0-1~debian.11~bullseye

    2024-05-04 02:12:26 status half-installed docker-compose-plugin:armhf 2.16.0-1~debian.11~bullseye

    2024-05-04 02:12:41 status unpacked docker-compose-plugin:armhf 2.27.0-1~debian.11~bullseye

    2024-05-04 02:12:41 install libnss-resolve:armhf <none> 247.3-7+deb11u4

    2024-05-04 02:12:41 status triggers-pending libc-bin:armhf 2.31-13+deb11u8

    2024-05-04 02:12:41 status half-installed libnss-resolve:armhf 247.3-7+deb11u4

    2024-05-04 02:12:41 status unpacked libnss-resolve:armhf 247.3-7+deb11u4

    2024-05-04 02:12:41 upgrade linux-libc-dev:armhf 1:1.20220308~buster-1 1:1.20230509~buster-1

    2024-05-04 02:12:41 status half-configured linux-libc-dev:armhf 1:1.20220308~buster-1

    2024-05-04 02:12:41 status unpacked linux-libc-dev:armhf 1:1.20220308~buster-1

    2024-05-04 02:12:41 status half-installed linux-libc-dev:armhf 1:1.20220308~buster-1

    2024-05-04 02:12:43 status unpacked linux-libc-dev:armhf 1:1.20230509~buster-1

    2024-05-04 02:12:44 upgrade openmediavault-omvextrasorg:all 6.1.1 6.3.6

    2024-05-04 02:12:44 status triggers-pending openmediavault:all 6.3.1-1

    2024-05-04 02:12:44 status triggers-awaited openmediavault-omvextrasorg:all 6.1.1

    2024-05-04 02:12:44 status half-configured openmediavault-omvextrasorg:all 6.1.1

    2024-05-04 02:12:44 status unpacked openmediavault-omvextrasorg:all 6.1.1

    2024-05-04 02:12:44 status half-installed openmediavault-omvextrasorg:all 6.1.1

    2024-05-04 02:12:45 status unpacked openmediavault-omvextrasorg:all 6.3.6

    2024-05-04 02:12:45 install python3-looseversion:all <none> 1.0.2-2

    2024-05-04 02:12:45 status half-installed python3-looseversion:all 1.0.2-2

    2024-05-04 02:12:45 status unpacked python3-looseversion:all 1.0.2-2

    2024-05-04 02:12:45 install python3-gnupg:all <none> 0.4.6-1

    2024-05-04 02:12:45 status half-installed python3-gnupg:all 0.4.6-1

    2024-05-04 02:12:45 status unpacked python3-gnupg:all 0.4.6-1

    2024-05-04 02:12:45 install python3-jmespath:all <none> 0.10.0-1

    2024-05-04 02:12:45 status half-installed python3-jmespath:all 0.10.0-1

    2024-05-04 02:12:45 status unpacked python3-jmespath:all 0.10.0-1

    2024-05-04 02:12:46 install python3-pyparsing:all <none> 2.4.7-1

    2024-05-04 02:12:46 status half-installed python3-pyparsing:all 2.4.7-1

    2024-05-04 02:12:46 status unpacked python3-pyparsing:all 2.4.7-1

    2024-05-04 02:12:46 install python3-packaging:all <none> 20.9-2

    2024-05-04 02:12:46 status half-installed python3-packaging:all 20.9-2

    2024-05-04 02:12:46 status unpacked python3-packaging:all 20.9-2

    2024-05-04 02:12:46 upgrade salt-minion:all 3003+ds-1 3006.0+ds-1+197.1

    2024-05-04 02:12:46 status half-configured salt-minion:all 3003+ds-1

    2024-05-04 02:12:46 status unpacked salt-minion:all 3003+ds-1

    2024-05-04 02:12:46 status half-installed salt-minion:all 3003+ds-1

    2024-05-04 02:12:46 status unpacked salt-minion:all 3006.0+ds-1+197.1

    2024-05-04 02:12:47 upgrade salt-common:all 3003+ds-1 3006.0+ds-1+197.1

    2024-05-04 02:12:47 status half-configured salt-common:all 3003+ds-1

    2024-05-04 02:12:54 status unpacked salt-common:all 3003+ds-1

    2024-05-04 02:12:54 status half-installed salt-common:all 3003+ds-1

    2024-05-04 02:13:00 status unpacked salt-common:all 3006.0+ds-1+197.1

    2024-05-04 02:13:01 upgrade openmediavault:all 6.3.1-1 6.9.15-2

    2024-05-04 02:13:01 status half-configured openmediavault:all 6.3.1-1

    2024-05-04 02:13:01 status unpacked openmediavault:all 6.3.1-1

    2024-05-04 02:13:01 status half-installed openmediavault:all 6.3.1-1

    2024-05-04 02:13:01 status triggers-pending rsyslog:armhf 8.2102.0-2+deb11u1

    2024-05-04 02:13:05 status unpacked openmediavault:all 6.9.15-2

    2024-05-04 02:13:06 upgrade raspberrypi-kernel:armhf 1:1.20220308~buster-1 1:1.20230509~buster-1

    2024-05-04 02:13:06 status half-configured raspberrypi-kernel:armhf 1:1.20220308~buster-1

    2024-05-04 02:13:06 status unpacked raspberrypi-kernel:armhf 1:1.20220308~buster-1

    2024-05-04 02:13:06 status half-installed raspberrypi-kernel:armhf 1:1.20220308~buster-1

    2024-05-04 02:14:06 status unpacked raspberrypi-kernel:armhf 1:1.20220308~buster-1

    2024-05-04 02:15:05 status installed raspberrypi-kernel:armhf 1:1.20220308~buster-1

    2024-05-04 02:15:05 upgrade raspberrypi-bootloader:armhf 1:1.20220308~buster-1 1:1.20230509~buster-1

    2024-05-04 02:15:05 status half-configured raspberrypi-bootloader:armhf 1:1.20220308~buster-1

    2024-05-04 02:15:05 status unpacked raspberrypi-bootloader:armhf 1:1.20220308~buster-1

    2024-05-04 02:15:05 status half-installed raspberrypi-bootloader:armhf 1:1.20220308~buster-1

    2024-05-04 02:15:19 status unpacked raspberrypi-bootloader:armhf 1:1.20230509~buster-1


    cat apt/history.log

    Start-Date: 2024-05-04 02:11:33

    Commandline: apt-get --yes --allow-downgrades --allow-change-held-packages --fix-broken --fix-missing --auto-remove --allow-unauthenticated --show-upgraded --option DPkg::Options::=--force-confold dist-upgrade

    Install: python3-gnupg:armhf (0.4.6-1, automatic), openmediavault-keyring:armhf (1.0.2-2, automatic), python3-jmespath:armhf (0.10.0-1, automatic), python3-pyparsing:armhf (2.4.7-1, automatic), python3-packaging:armhf (20.9-2, automatic), libnss-resolve:armhf (247.3-7+deb11u4, automatic), python3-looseversion:armhf (1.0.2-2, automatic)

    Upgrade: containerd.io:armhf (1.6.18-1, 1.6.31-1), docker-compose-plugin:armhf (2.16.0-1~debian.11~bullseye, 2.27.0-1~debian.11~bullseye), raspberrypi-bootloader:armhf (1:1.20220308~buster-1, 1:1.20230509~buster-1), docker-ce-cli:armhf (5:23.0.1-1~debian.11~bullseye, 5:26.1.1-1~debian.11~bullseye), salt-minion:armhf (3003+ds-1, 3006.0+ds-1+197.1), openmediavault-omvextrasorg:armhf (6.1.1, 6.3.6), openmediavault:armhf (6.3.1-1, 6.9.15-2), docker-ce:armhf (5:23.0.1-1~debian.11~bullseye, 5:26.1.1-1~debian.11~bullseye), salt-common:armhf (3003+ds-1, 3006.0+ds-1+197.1), raspberrypi-kernel:armhf (1:1.20220308~buster-1, 1:1.20230509~buster-1), linux-libc-dev:armhf (1:1.20220308~buster-1, 1:1.20230509~buster-1)

    Error: Sub-process /usr/bin/dpkg returned an error code (1)

    End-Date: 2024-05-04 02:15:19

  • Realized there's no bootcode.bin, *.elf files, or initramfs.. So that's a problem. Could I determine the last version I was using and grab the missing files, copy them into place, and magic?

  • Yet another user who ignores space issues.. Ran out of space during upgrade and boned my install. Recovering now, sorry for the wasted bits on the forum.

Jetzt mitmachen!

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