Online ImageBuilder and Upgrade Server

Is there a way to enlarge the rootfs partition at compile time?

1 Like

Just found this tool and am thoroughly impressed. Big thanks!

1 Like

How do I increase the rootfs partition? I can't install docker.

Hi Aparcar, Mary Xmus.. Not sure if this is the best place to report an issue with Chef. I am doing a custom build for an Linksys EA7500v1 and the created sysupgrade will not flash. I get an error that "The uploaded image file does not contain a supported format." when I add a single item to the Custom package selection. In searching the fourm I found that david.lynch May 21, 2019, 9:44pm #115 had the same kind of issue back with openwrt 18 years ago.

The last build I tried was: 
Model: Linksys EA7500 v1
Platform: ipq806x/generic
Version: 21.02.1 (r16325-88151b8303)
Date: 2021-12-14T21:08:21.342458Z

Thank you in advance and I LOVE Chef!!!!

Update on the error. It is not Chef. The pre-compiled system snapshot at openwrt.org has an error also.

'''
On chef the error is the same for any custom builds of:
Cannot open file '/etc/opkg/keys/86241a707a30cb7f' for reading Image check failed.

From openwrt.org the error is just:
Image check failed.
'''
If I check the box to continue with system upgrade, it seems to work.

HoHoNO

1 Like

it will probably work... but is it safe? image check is there for a reason... blindly forcing can result in major compromise/issues

wdr3600 rev1.5 Version:
21.02-SNAPSHOT Attended Sysupgrade not work

Thu Dec 16 15:29:56 2021 kern.info kernel: [773855.091665] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is down
Thu Dec 16 15:30:01 2021 kern.info kernel: [773860.211352] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is up
Thu Dec 16 15:30:07 2021 kern.info kernel: [773866.355578] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is down
Thu Dec 16 15:30:10 2021 kern.info kernel: [773869.427280] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is up
Thu Dec 16 15:30:14 2021 daemon.info dnsmasq-dhcp[19824]: DHCPREQUEST(br-lan) 192.168.1.154 
Thu Dec 16 15:30:14 2021 daemon.info dnsmasq-dhcp[19824]: DHCPACK(br-lan) 192.168.1.154 
Thu Dec 16 15:30:24 2021 daemon.info dnsmasq[19824]: read /etc/hosts - 4 addresses
Thu Dec 16 15:30:24 2021 daemon.info dnsmasq[19824]: read /tmp/hosts/odhcpd - 2 addresses
Thu Dec 16 15:30:24 2021 daemon.info dnsmasq[19824]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Thu Dec 16 15:30:24 2021 daemon.info dnsmasq-dhcp[19824]: read /etc/ethers - 0 addresses
Thu Dec 16 15:30:25 2021 daemon.info dnsmasq[19824]: read /etc/hosts - 4 addresses
Thu Dec 16 15:30:25 2021 daemon.info dnsmasq[19824]: read /tmp/hosts/odhcpd - 4 addresses
Thu Dec 16 15:30:25 2021 daemon.info dnsmasq[19824]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Thu Dec 16 15:30:25 2021 daemon.info dnsmasq-dhcp[19824]: read /etc/ethers - 0 addresses
Thu Dec 16 15:37:42 2021 daemon.err uhttpd[2383]: luci: accepted login on / for root from 192.168.1.154

Hi
I have been using Attended Sysupgrade for a while now and would like to thank everyone involved.
Today I have received an error and don't know where to report it.

Error building the sysupgrade

asu.build.PackageSelectionError
Please report the error message and request
Request to server:
{
    "board_name": "linksys,wrt1900acs",
    "target": "mvebu/cortexa9",
    "version": "SNAPSHOT",
    "packages": [
        "adblock",
        "arp-scan",
        "arp-scan-database",
        "base-files",
        "block-mount",
        "busybox",
        "ca-bundle",
        "ca-certificates",
        "cgi-io",
        "collectd",
        "curl",
        "ddns-scripts",
        "ddns-scripts-services",
        "dnsmasq",
        "dnstop",
        "drill",
        "dropbear",
        "e2fsprogs",
        "firewall",
        "fstools",
        "fwtool",
        "gdisk",
        "getrandom",
        "htop",
        "ip-full",
        "ip6tables",
        "ipset",
        "iptables",
        "irqbalance",
        "iwinfo",
        "jshn",
        "jsonfilter",
        "kernel",
        "kmod-ata-marvell-sata",
        "kmod-fs-ext4",
        "kmod-gpio-button-hotplug",
        "kmod-ip6tables",
        "kmod-ipt-conntrack",
        "kmod-ipt-core",
        "kmod-ipt-nat",
        "kmod-ipt-offload",
        "kmod-lib-crc-ccitt",
        "kmod-mwlwifi",
        "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-slhc",
        "kmod-usb-core",
        "kmod-usb-net",
        "kmod-usb-net-cdc-ether",
        "kmod-usb-ohci",
        "kmod-usb-ohci-pci",
        "kmod-usb-storage",
        "kmod-usb2",
        "kmod-usb3",
        "libblobmsg-json",
        "libc",
        "libip4tc",
        "libip6tc",
        "libiwinfo",
        "libiwinfo-data",
        "libiwinfo-lua",
        "libjson-c",
        "libjson-script",
        "liblua",
        "liblucihttp",
        "liblucihttp-lua",
        "libnl-tiny",
        "libopenssl",
        "libopenssl-conf",
        "libubox",
        "libubus",
        "libubus-lua",
        "libuci",
        "libuclient",
        "libustream-wolfssl",
        "libwolfssl",
        "libxtables",
        "logd",
        "lua",
        "luci",
        "luci-app-adblock",
        "luci-app-advanced-reboot",
        "luci-app-attendedsysupgrade",
        "luci-app-banip",
        "luci-app-ddns",
        "luci-app-firewall",
        "luci-app-nlbwmon",
        "luci-app-opkg",
        "luci-app-sqm",
        "luci-app-unbound",
        "luci-app-upnp",
        "luci-app-wireguard",
        "luci-base",
        "luci-lib-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-proto-wireguard",
        "luci-ssl",
        "luci-theme-bootstrap",
        "miniupnpd",
        "mtd",
        "mwlwifi-firmware-88w8864",
        "nano",
        "netifd",
        "odhcp6c",
        "odhcpd-ipv6only",
        "openssh-sftp-server",
        "openssl-util",
        "openwrt-keyring",
        "opkg",
        "ppp",
        "ppp-mod-pppoe",
        "procd",
        "px5g-wolfssl",
        "rpcd",
        "rpcd-mod-file",
        "rpcd-mod-iwinfo",
        "rpcd-mod-luci",
        "rpcd-mod-rrdns",
        "speedtest-netperf",
        "tc-full",
        "tcpdump-mini",
        "ubi-utils",
        "uboot-envtools",
        "ubox",
        "ubus",
        "ubusd",
        "uci",
        "uclient-fetch",
        "uhttpd",
        "uhttpd-mod-ubus",
        "unbound-anchor",
        "unbound-checkconf",
        "unbound-control",
        "unbound-control-setup",
        "unbound-host",
        "urandom-seed",
        "urngd",
        "usb-modeswitch",
        "usign",
        "wpad-basic-wolfssl"
    ],
    ".anonymous": false,
    ".name": "request",
    ".type": "request",
    ".index": 0
}
STDERR:
Package list missing or not up-to-date, generating it.

Building package index...
Downloading http://downloads.openwrt.org/snapshots/targets/mvebu/cortexa9/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/dl/openwrt_core
Downloading http://downloads.openwrt.org/snapshots/targets/mvebu/cortexa9/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/base/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/dl/openwrt_base
Downloading http://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/targets/mvebu/cortexa9/kmods/5.10.83-1-c6f7072b08233b0301bb742aeda26a30/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/dl/openwrt_kmods
Downloading http://downloads.openwrt.org/snapshots/targets/mvebu/cortexa9/kmods/5.10.83-1-c6f7072b08233b0301bb742aeda26a30/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/luci/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/dl/openwrt_luci
Downloading http://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/dl/openwrt_packages
Downloading http://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/routing/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/dl/openwrt_routing
Downloading http://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/telephony/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/dl/openwrt_telephony
Downloading http://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../../../../../../../../home/aparcar/asu/worker1/cache/SNAPSHOT/mvebu/cortexa9/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check failed.
Remove wrong Signature file.
Collected errors:
 * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/base/hostapd-common_2021-05-22-b102f19b-56_arm_cortex-a9_vfpv3-d16.ipk, wget returned 8.
 * opkg_install_pkg: Failed to download hostapd-common. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package kmod-mwlwifi.
 * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/packages/arm_cortex-a9_vfpv3-d16/base/wpad-basic-wolfssl_2021-05-22-b102f19b-56_arm_cortex-a9_vfpv3-d16.ipk, wget returned 8.
 * opkg_install_pkg: Failed to download wpad-basic-wolfssl. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package wpad-basic-wolfssl.
 * opkg_install_pkg: Checksum or size mismatch for package wpad-basic-wolfssl. Either the opkg or the package index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package wpad-basic-wolfssl.
make[2]: *** [Makefile:168: package_install] Error 255
make[1]: *** [Makefile:133: _call_manifest] Error 2
make: *** [Makefile:252: manifest] Error 2
1 Like

NETGEAR DGND3700 v2

Having errors when requesting build on Chef.
It is the same error with 21.02.1 and 21.02 of:

asu.build.ImageBuildError

At the end of the Build Log:

cp: cannot stat '/home/debian/asu/worker1/cache/21.02.1/bcm63xx/smp/build_dir/target-mips_mips32_musl/linux-bcm63xx_smp/bcm63xx-cfe/netgear,dgnd3700-v2/cferam': No such file or directory
make[3]: *** [Makefile:325: /home/debian/asu/worker1/cache/21.02.1/bcm63xx/smp/build_dir/target-mips_mips32_musl/linux-bcm63xx_smp/tmp/openwrt-21.02.1-2dc5c5cba1ac-bcm63xx-smp-netgear_dgnd3700-v2-squashfs-cfe.bin] Error 1
make[2]: *** [Makefile:186: build_image] Error 2
make[1]: *** [Makefile:124: _call_image] Error 2
make: *** [Makefile:240: image] Error 2

Thank you for Chef

1 Like

Seeing that the buildbot generates a new image for my architecture, in the ImageBuilder it still offers me the image generated before the launch of the new one. I suppose it is a matter of saving server resources and not constantly generating new images. The way to avoid this is to remove or add another package in the package selection.

1 Like

There is a mechanism that syncs with the upstream server every 10 minutes, please try again.

1 Like

I had a question, pretty dumb but I am new to the topic so kindly help..!
I want to use the online image builder with the customize option (to add packages in snapshot builds), but if I wanted to say install adblock, then should I just add the term "luci-app-adblock" in the box or do I need to add all it's dependencies as well?

You probably want both adblock and luci-app-adblock.

adblock is the core package and luci-app-adblock is the LuCI front end.

Dependencies should be resolved accordingly when building the image.

1 Like

Ok thanks, this is what I wanted to ask exactly. I thought that writing "luci-app-adblock" will add the other packages itself like they do in opkg command.

Do not misinform. Installing luci-app-adblock installs adblock because it is a dependency. Even with installing the translation, for example luci-i18n-adblock-es, it also installs luci-app-adblock and as a consequence, adblock as well.

3 Likes

My apologies, it was not my intention to misinform and thank you for correcting me. I thought the LuCI packages were decoupled. I'll retract my post accordingly.

In most LuCI apps, the package itself is installed as a result.

Thank you, I've learnt something new today!

1 Like

Thanks a lot for the detailed explanations!
I am off to build packages now.

1 Like

I'm getting asu.build.PackageSelectionError at asu.aparcar.org & chef.libremesh.org.

1 Like