Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autoupdater: warning: execution of /usr/lib/autoupdater/upgrade.d/10stop-network exited with status code 2 #3171

Open
herbetom opened this issue Jan 21, 2024 · 0 comments

Comments

@herbetom
Copy link
Contributor

herbetom commented Jan 21, 2024

Bug report

What is the problem?

I'm seeing the following error when running the autoupdater:

ip: can't find device 'bat0'
autoupdater: warning: execution of /usr/lib/autoupdater/upgrade.d/10stop-network exited with status code 2

It doesn't, appear to influcene the function, but exiting a script with an error code doesn't look good.

Full Log:
root@Bensheim-T-012:/# autoupdater --force-version^[[J
Retrieving manifest from http://fw.gluon.ffrn.de/nightly/sysupgrade/nightly.manifest ...
Stopping cron...
Stopping urngd...
Stopping micrond...
Stopping sysntpd...
Stopping gluon-radvd...
Stopping uhttpd...
Stopping sse-multiplexd...
Stopping gluon-respondd...
[  208.693841] sysctl (7200): drop_caches: 3
vm.drop_caches = 3
^MDownloading image:     0 / 16423 KiB^MDownloading image:     1 / 16423 KiB^MDownloading image:     2 / 16423 KiB^MDownloading image:     3 / 16423 KiB^MDownloading image:     4 / 16423 KiB^MDownloading image:     5 / 16423 KiB^MDownloading image:     6 / 16423 KiB^MDownloading image:     7 / 16423 KiB^MDownloading image:     8 / 16423 KiB^MDo>
Sun Jan 21 23:05:20 CET 2024 upgrade: Image metadata not present
Sun Jan 21 23:05:20 CET 2024 upgrade: Reading partition table from bootdisk...
Sun Jan 21 23:05:20 CET 2024 upgrade: Extract boot sector from the image
Sun Jan 21 23:05:20 CET 2024 upgrade: Reading partition table from image...
Stopping network...
[  225.078028] batman_adv: bat0: Interface deactivated: eth2
[  225.079306] batman_adv: bat0: Removing interface: eth2
[  225.082170] batman_adv: bat0: Interface deactivated: primary0
[  225.083491] batman_adv: bat0: Removing interface: primary0
[  225.085032] batman_adv: bat0: Interface deactivated: mesh-vpn
[  225.086336] batman_adv: bat0: Removing interface: mesh-vpn
[  225.124719] br-client: port 3(bat0) entered disabled state
[  225.169114] device bat0 left promiscuous mode
[  225.170214] br-client: port 3(bat0) entered disabled state
[  225.172125] br-client: port 2(local-port) entered disabled state
[  225.173522] br-client: port 1(eth0) entered disabled state
[  225.510423] device eth0 left promiscuous mode
[  225.511524] br-client: port 1(eth0) entered disabled state
[  225.513327] device local-port left promiscuous mode
[  225.514469] br-client: port 2(local-port) entered disabled state
[  225.663834] br-wan: port 1(eth1) entered disabled state
[  225.665227] device eth1 left promiscuous mode
[  225.666285] br-wan: port 1(eth1) entered disabled state
ip: can't find device 'bat0'
autoupdater: warning: execution of /usr/lib/autoupdater/upgrade.d/10stop-network exited with status code 2
[  226.217220] sysctl (8070): drop_caches: 3
vm.drop_caches = 3
Sun Jan 21 23:05:22 CET 2024 upgrade: Image metadata not present
Sun Jan 21 23:05:22 CET 2024 upgrade: Reading partition table from bootdisk...
Sun Jan 21 23:05:22 CET 2024 upgrade: Extract boot sector from the image
Sun Jan 21 23:05:22 CET 2024 upgrade: Reading partition table from image...
Sun Jan 21 23:05:23 CET 2024 upgrade: Saving config files...
Sun Jan 21 23:05:23 CET 2024 upgrade: Commencing upgrade. Closing all shell sessions.
Sun Jan 21 23:05:23 CET 2024 upgrade: Sending TERM to remaining processes ...
Sun Jan 21 23:05:27 CET 2024 upgrade: Sending KILL to remaining processes ...
[  237.151768] stage2 (9383): drop_caches: 3
Sun Jan 21 23:05:33 CET 2024 upgrade: Switching to ramdisk...
Sun Jan 21 22:05:34 UTC 2024 upgrade: Performing system upgrade...
Sun Jan 21 22:05:34 UTC 2024 upgrade: Reading partition table from bootdisk...
Sun Jan 21 22:05:34 UTC 2024 upgrade: Extract boot sector from the image
Sun Jan 21 22:05:34 UTC 2024 upgrade: Reading partition table from image...
Sun Jan 21 22:05:34 UTC 2024 upgrade: Writing image to /dev/vda1...
Sun Jan 21 22:05:34 UTC 2024 upgrade: Writing image to /dev/vda2...
Sun Jan 21 22:05:35 UTC 2024 upgrade: Writing new UUID to /dev/vda...
[  239.455665] F2FS-fs (vda1): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[  239.457245] F2FS-fs (vda1): Can't find valid F2FS filesystem in 1th superblock
[  239.459019] F2FS-fs (vda1): Magic Mismatch, valid(0xf2f52010) - read(0x6020601)
[  239.460678] F2FS-fs (vda1): Can't find valid F2FS filesystem in 2th superblock
Sun Jan 21 22:05:35 UTC 2024 upgrade: Upgrading bootloader on /dev/vda...
grub-bios-setup: warning: Your BIOS Boot Partition is under 1 MiB, please increase its size..
Sun Jan 21 22:05:37 UTC 2024 upgrade: Upgrade completed
Sun Jan 21 22:05:38 UTC 2024 upgrade: Rebooting system...
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
[  242.082610] reboot: Restarting system
[  242.083634] reboot: machine restart

gluon-info:

Hostname:                       Bensheim-T-012
MAC address:                    52:54:00:c2:53:01
Hardware model:                 QEMU Standard PC (i440FX + PIIX, 1996)
Gluon version / Site version:   v2023.2-6-ge0d649c / v2.1.0-6-g3700335
Firmware release:               2.1.x-20240105
Site:                           Freifunk Rhein-Neckar
Domain:                         ffrn_default
Public VPN key:                 KEY_HERE
Switch type:                    none

Gluon Version:

e0d649c

Site Configuration:
Freifunk-Rhein-Neckar/site-ffrn@3700335

Custom patches:

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant