Attended Sysupgrade errors

Hi,
I thought it would be useful to have a topic Attended Sysupgrade errors.

I have these boxes and I'm using the YOUKU YK1 firmware (one with the 19.07 version and the other with the 21.02)

I tried all the three sysupgrade servers: https://chef.libremesh.org/ , https://sysupgrade.openwrt.org/ , https://asu.aparcar.org/

On my system I get the following errors:

Request to server:

{
    "board_name": "youku-yk1",
    "target": "ramips/mt7620",
    "version": "19.07.9",
    "packages": [
        "base-files",
        "busybox",
        "cgi-io",
        "curl",
        "dnsmasq",
        "dropbear",
        "firewall",
        "fstools",
        "fwtool",
        "getrandom",
        "hostapd-common",
        "ip6tables",
        "iptables",
        "iw-full",
        "iwinfo",
        "jshn",
        "jsonfilter",
        "kernel",
        "kmod-cfg80211",
        "kmod-gpio-button-hotplug",
        "kmod-ip6tables",
        "kmod-ipt-conntrack",
        "kmod-ipt-core",
        "kmod-ipt-nat",
        "kmod-ipt-offload",
        "kmod-leds-gpio",
        "kmod-lib-crc-ccitt",
        "kmod-mac80211",
        "kmod-nf-conntrack",
        "kmod-nf-conntrack6",
        "kmod-nf-flow",
        "kmod-nf-ipt",
        "kmod-nf-ipt6",
        "kmod-nf-nat",
        "kmod-nf-reject",
        "kmod-nf-reject6",
        "kmod-ppp",
        "kmod-pppoe",
        "kmod-pppox",
        "kmod-rt2800-lib",
        "kmod-rt2800-mmio",
        "kmod-rt2800-soc",
        "kmod-rt2x00-lib",
        "kmod-rt2x00-mmio",
        "kmod-sdhci-mt7620",
        "kmod-slhc",
        "kmod-usb-ledtrig-usbport",
        "kmod-usb-net-cdc-ether",
        "kmod-usb-ohci",
        "kmod-usb2",
        "libblobmsg-json",
        "libc",
        "libip4tc2",
        "libip6tc2",
        "libiwinfo-lua",
        "libiwinfo20181126",
        "libjson-c2",
        "libjson-script",
        "liblua5.1.5",
        "liblucihttp-lua",
        "liblucihttp0",
        "libmbedtls12",
        "libnl-tiny",
        "libubox20191228",
        "libubus-lua",
        "libubus20210603",
        "libuci20130104",
        "libuclient20160123",
        "libxtables12",
        "logd",
        "lsblk",
        "lua",
        "luci",
        "luci-app-attendedsysupgrade",
        "luci-app-firewall",
        "luci-app-opkg",
        "luci-base",
        "luci-lib-ip",
        "luci-lib-jsonc",
        "luci-lib-nixio",
        "luci-mod-admin-full",
        "luci-mod-network",
        "luci-mod-status",
        "luci-mod-system",
        "luci-proto-ipv6",
        "luci-proto-ppp",
        "luci-theme-bootstrap",
        "mtd",
        "netifd",
        "odhcp6c",
        "odhcpd-ipv6only",
        "opkg",
        "ppp",
        "ppp-mod-pppoe",
        "procd",
        "rpcd",
        "rpcd-mod-file",
        "rpcd-mod-iwinfo",
        "rpcd-mod-luci",
        "rpcd-mod-rrdns",
        "swconfig",
        "ubox",
        "ubus",
        "ubusd",
        "uci",
        "uclient-fetch",
        "uhttpd",
        "urandom-seed",
        "urngd",
        "usb-modeswitch",
        "usign",
        "wireless-regdb",
        "wpad-basic"
    ],
    ".anonymous": false,
    ".name": "request",
    ".type": "request",
    ".index": 0,
    "request_hash": "671dbea04a807be2ea7bac33f207435c"
}
STDERR:

Downloading http://downloads.openwrt.org/releases/19.07.9/targets/ramips/mt7620/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/dl/openwrt_core
Downloading http://downloads.openwrt.org/releases/19.07.9/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/dl/openwrt_base
Downloading http://downloads.openwrt.org/releases/19.07.9/packages/mipsel_24kc/freifunk/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/dl/openwrt_freifunk
Downloading http://downloads.openwrt.org/releases/19.07.9/packages/mipsel_24kc/luci/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/dl/openwrt_luci
Downloading http://downloads.openwrt.org/releases/19.07.9/packages/mipsel_24kc/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/dl/openwrt_packages
Downloading http://downloads.openwrt.org/releases/19.07.9/packages/mipsel_24kc/routing/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/dl/openwrt_routing
Downloading http://downloads.openwrt.org/releases/19.07.9/packages/mipsel_24kc/telephony/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/dl/openwrt_telephony
Downloading file:packages/Packages
Updated list of available packages in /home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/dl/imagebuilder
Downloading https://feed.libremesh.org/master/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/dl/lime-packages
Downloading https://feed.libremesh.org/profiles/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/build_dir/target-mipsel_24kc_musl/root-ramips/../../../../../../../../../../../home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/dl/lime-profiles
Pseudo file "/dev" exists in source filesystem "/home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/build_dir/target-mipsel_24kc_musl/root-ramips/dev".
Ignoring, exclude it (-e/-ef) to override.
3072+1 records in
3072+1 records out
1572892 bytes (1.6 MB, 1.5 MiB) copied, 0.00835599 s, 188 MB/s
6419+1 records in
6419+1 records out
3286782 bytes (3.3 MB, 3.1 MiB) copied, 0.018692 s, 176 MB/s
padding image to 004a3000
padding image to 004a4000
padding image to 004b0000
padding image to 004c0000
Traceback (most recent call last):
  File "/home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/scripts/json_add_image_info.py", line 34, in 
    "source_date_epoch": int(getenv("SOURCE_DATE_EPOCH")),
ValueError: invalid literal for int() with base 10: ''
make[3]: *** [Makefile:182: /home/aparcar/asu/worker2/cache/19.07.9/ramips/mt7620/build_dir/target-mipsel_24kc_musl/json_info_files/openwrt-19.07.9-ca95a2552395-ramips-mt7620-youku-yk1-squashfs-sysupgrade.bin.json] Error 1
make[2]: *** [Makefile:172: build_image] Error 2
make[1]: *** [Makefile:120: _call_image] Error 2
make: *** [Makefile:208: image] Error 2

I'm using this router and this router

Maybe caused by this?

I'm very sorry but the 19.07.9 release ships with a broken ImageBuilder. You should wait for 19.07.10.

2 Likes

I manually added the missing SOURCE_DATE_EPOCH variable, please try again.

1 Like

WOW you did it. Thank You!!!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.