no risk at all... you will get better performance and reliability if you update... I recommend it...
thanks for the question tho'... had not yet placed these instructions in an easy to get to place... so you've helped others find this info more easily...
This works, thank you. Just to make sure people have all the info, there is a page describing ways to update Rapberry Pi to the new bootloader/eeprom here:
The changelog is here. Ton of improvements to the eeprom since Pi 4 came out for example, most noticibly the improvements to power draw and overheating. The latest stable should be used:
SatJul2404:07:592021 Could not find plugin "dns" in /usr/lib/collectd
SatJul2404:07:592021 is configuration for the `dns' plugin, but the plugin isn't loaded. Please check your conf
SatJul2404:07:592021 Parsing the config file failed!
did you forget to remove dns from collected cfg? I know it's not even a minor issue. I just want to mention it. thank you
New user here, spent an hour searching as it must have been answered before, but...
While I'm waiting for my UE300 adapter, I wanted to get some configuration done and apply some updates. Cable modem is in the basement, so wired isn't exactly convenient. I'd like to enable wifi and connect to my existing SSID as a DHCP client so I can continue with setup. Pointers to some existing docs?
Have anyone using adblock function? Whenever I upgrade to new version, the adblock becomes unusable. I need to remove and install it again. Often, I need to erase and reinstall OpenWRT to make the fucntion work. Have anyone got the same problem?
this is the whole reason ENABLEDSERVICES exists with stuff default disabled...
without it... it's not possible (reasonably) to include conflicting or resource consuming packages within the build...
I know it creates doubts/confustion for many... and puts them off using the build... but embracing these options allow for seamless sysupgrades
by conservative calculations...
2 hours x 30 users x 3 reinstalls = 180hours
approx 7 days of human life
saved ... not bad at all...
(although not intially... I now semi make use of @vgaetera s opkg-script logic (thankyou) which has probably saved in excess of 3 months of human life cumulative!)
example-from-current-devel
o cool... i didn't think it would startup if you just remove the package edit: spoke too soon ( it does )... so I wont have to push a script to [ conditionally ] remove the config lines...
Sun Jul 25 05:11:25 2021 daemon.err collectd[6902]: There is configuration for the `dns' plugin, but the plugin isn't loaded. Please check your configuration.
my guess is it's got something to do with some patches that made busybox more ipv6 aware a few weeks ago... as i'm pretty sure it was working for 3-5months...
I also vote to remove it... it as added when dnsmasq was getting all those fixes to keep an eye on it...
it's easy enough for someone to add to /etc/packagesinstall.txt if they want it as it's not really required for firstboot... ( I have not had issues with it though... so my suspicion is that it's failing for those that don't have ipv6 )
thanks for the info
when masq is chugging along ok... you do get a teency amount of query distribution info from it... but once you've seen it... for the resources it uses... it's not really worth running 24/7 anyways imho...
Hello there, been using your build and enjoying it a lot!
Just wanted to say thanks for all the effort in getting it to work, and also a few questions.
Up until SNAPSHOT r17189-1ed9fc663e, I was able to use dockerd from Entware and host several containers from within the router, but after upgrading yesterday it seems that the kernel hash started mismatching between the installed version and the GitHub/OpenWRT opkg repositories,as trying to install the dependencies for dockerd now (I have no idea why them and several other packages uinstalled themselves) reports the following error log:
[root@RPi4-OpenWRT /]$ opkg install kmod-lib-lzo kmod-lib-zlib-inflate kmod-lib-zlib-inflate kmod-lib-zlib-deflate kmod-lib-raid6 kmod-lib-xor kmod-lib-zstd kmod-fs-btrfs kmod-dax kmod-random-core kmod-tpm kmod-keys-trusted kmod-keys-encrypted kmod-dm kmod-br-netfilter kmod-nf-ipvs
Unknown package 'kmod-lib-lzo'.
Unknown package 'kmod-lib-zlib-inflate'.
Installing kmod-lib-zlib-inflate (5.4.132-1) to root...
Downloading https://downloads.openwrt.org/snapshots/targets/bcm27xx/bcm2711/kmods/5.4.132-1-8c34d2a86d75b793acaec716ad3d8596/kmod-lib-zlib-inflate_5.4.132-1_aarch64_cortex-a72.ipk
Unknown package 'kmod-lib-zlib-deflate'.
Unknown package 'kmod-lib-raid6'.
Unknown package 'kmod-lib-xor'.
Unknown package 'kmod-lib-zstd'.
Unknown package 'kmod-fs-btrfs'.
Unknown package 'kmod-dax'.
Unknown package 'kmod-random-core'.
Unknown package 'kmod-tpm'.
Unknown package 'kmod-keys-trusted'.
Unknown package 'kmod-keys-encrypted'.
Unknown package 'kmod-dm'.
Unknown package 'kmod-br-netfilter'.
Unknown package 'kmod-nf-ipvs'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.132-1-8c34d2a86d75b793acaec716ad3d8596) for kmod-lib-lzo
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-lzo found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-lib-lzo.
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.132-1-8c34d2a86d75b793acaec716ad3d8596) for kmod-lib-zlib-inflate
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-zlib-inflate found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-lib-zlib-inflate.
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-lib-zlib-inflate:
* kernel (= 5.4.132-1-8c34d2a86d75b793acaec716ad3d8596)
* opkg_install_cmd: Cannot install package kmod-lib-zlib-inflate.
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.132-1-8c34d2a86d75b793acaec716ad3d8596) for kmod-lib-zlib-deflate
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-zlib-deflate found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-lib-zlib-deflate.
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.132-1-8c34d2a86d75b793acaec716ad3d8596) for kmod-lib-raid6
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-raid6 found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-lib-raid6.
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.132-1-8c34d2a86d75b793acaec716ad3d8596) for kmod-lib-xor
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-xor found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-lib-xor.
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.132-1-8c34d2a86d75b793acaec716ad3d8596) for kmod-lib-zstd
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-lib-zstd found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-lib-zstd.
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.132-1-8c34d2a86d75b793acaec716ad3d8596) for kmod-fs-btrfs
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-fs-btrfs found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-fs-btrfs.
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.132-1-8c34d2a86d75b793acaec716ad3d8596) for kmod-dax
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-dax found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-dax.
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.132-1-8c34d2a86d75b793acaec716ad3d8596) for kmod-random-core
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-random-core found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-random-core.
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.132-1-8c34d2a86d75b793acaec716ad3d8596) for kmod-tpm
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-tpm found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-tpm.
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.132-1-8c34d2a86d75b793acaec716ad3d8596) for kmod-keys-trusted
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-keys-trusted found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-keys-trusted.
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.132-1-8c34d2a86d75b793acaec716ad3d8596) for kmod-keys-encrypted
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-keys-encrypted found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-keys-encrypted.
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.132-1-8c34d2a86d75b793acaec716ad3d8596) for kmod-dm
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-dm found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-dm.
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.132-1-8c34d2a86d75b793acaec716ad3d8596) for kmod-br-netfilter
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-br-netfilter found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-br-netfilter.
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.132-1-8c34d2a86d75b793acaec716ad3d8596) for kmod-nf-ipvs
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-ipvs found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-nf-ipvs.
Given that seemingly nothing else changed, I'm not sure how I should go about debugging this particular problem.
If there's anything I forgot to add, please let me know.
on openwrt an upgrade is a "flash"... so it's likely nothing was uninstalled... just not re-installed automatically for you...
as for the other stuff... its possible there is some anomaly with the repo versioning or something... but as you mention entware... i'm wondering if I understand whats going on properly...
i've never had issue with opkg install before... so i'll test your install command and double check the repo consistency... after that we may look further into the use case and what else may be going on...
edit: works fine for me
kmods-install-ok
opkg install kmod-lib-lzo kmod-lib-zlib-inflate kmod-lib-zlib-inflate kmod-lib-zlib-deflate kmod-lib-raid6 kmod-lib-xor kmod-lib-zstd kmod-fs-btrfs kmod-dax kmod-random-core kmod-tpm kmod-keys-trusted kmod-keys-encrypted kmod-dm kmod-br-netfilter kmod-nf-ipvs
Package opkg (2021-06-13-1bf042dd-3) installed in root is up to date.
Installing kmod-lib-lzo (5.4.132-1) to root...
Downloading http://downloads.cdn.openwrt.org/snapshots/targets/bcm27xx/bcm2711/kmods/5.4.132-1-272d8d859b9c04efc790e7b6c91cc80f/kmod-lib-lzo_5.4.132-1_aarch64_cortex-a72.ipk
Installing kmod-lib-zlib-inflate (5.4.132-1) to root...
Downloading http://downloads.cdn.openwrt.org/snapshots/targets/bcm27xx/bcm2711/kmods/5.4.132-1-272d8d859b9c04efc790e7b6c91cc80f/kmod-lib-zlib-inflate_5.4.132-1_aarch64_cortex-a72.ipk
Package kmod-lib-zlib-inflate (5.4.132-1) installed in root is up to date.
Installing kmod-lib-zlib-deflate (5.4.132-1) to root...
Downloading http://downloads.cdn.openwrt.org/snapshots/targets/bcm27xx/bcm2711/kmods/5.4.132-1-272d8d859b9c04efc790e7b6c91cc80f/kmod-lib-zlib-deflate_5.4.132-1_aarch64_cortex-a72.ipk
Installing kmod-lib-raid6 (5.4.132-1) to root...
Downloading http://downloads.cdn.openwrt.org/snapshots/targets/bcm27xx/bcm2711/kmods/5.4.132-1-272d8d859b9c04efc790e7b6c91cc80f/kmod-lib-raid6_5.4.132-1_aarch64_cortex-a72.ipk
Installing kmod-lib-xor (5.4.132-1) to root...
Downloading http://downloads.cdn.openwrt.org/snapshots/targets/bcm27xx/bcm2711/kmods/5.4.132-1-272d8d859b9c04efc790e7b6c91cc80f/kmod-lib-xor_5.4.132-1_aarch64_cortex-a72.ipk
Installing kmod-lib-zstd (5.4.132-1) to root...
Downloading http://downloads.cdn.openwrt.org/snapshots/targets/bcm27xx/bcm2711/kmods/5.4.132-1-272d8d859b9c04efc790e7b6c91cc80f/kmod-lib-zstd_5.4.132-1_aarch64_cortex-a72.ipk
Installing kmod-fs-btrfs (5.4.132-1) to root...
Downloading http://downloads.cdn.openwrt.org/snapshots/targets/bcm27xx/bcm2711/kmods/5.4.132-1-272d8d859b9c04efc790e7b6c91cc80f/kmod-fs-btrfs_5.4.132-1_aarch64_cortex-a72.ipk
Installing kmod-dax (5.4.132-1) to root...
Downloading http://downloads.cdn.openwrt.org/snapshots/targets/bcm27xx/bcm2711/kmods/5.4.132-1-272d8d859b9c04efc790e7b6c91cc80f/kmod-dax_5.4.132-1_aarch64_cortex-a72.ipk
Installing kmod-random-core (5.4.132-1) to root...
Downloading http://downloads.cdn.openwrt.org/snapshots/targets/bcm27xx/bcm2711/kmods/5.4.132-1-272d8d859b9c04efc790e7b6c91cc80f/kmod-random-core_5.4.132-1_aarch64_cortex-a72.ipk
Installing kmod-tpm (5.4.132-1) to root...
Downloading http://downloads.cdn.openwrt.org/snapshots/targets/bcm27xx/bcm2711/kmods/5.4.132-1-272d8d859b9c04efc790e7b6c91cc80f/kmod-tpm_5.4.132-1_aarch64_cortex-a72.ipk
Installing kmod-keys-trusted (5.4.132-1) to root...
Downloading http://downloads.cdn.openwrt.org/snapshots/targets/bcm27xx/bcm2711/kmods/5.4.132-1-272d8d859b9c04efc790e7b6c91cc80f/kmod-keys-trusted_5.4.132-1_aarch64_cortex-a72.ipk
Installing kmod-keys-encrypted (5.4.132-1) to root...
Downloading http://downloads.cdn.openwrt.org/snapshots/targets/bcm27xx/bcm2711/kmods/5.4.132-1-272d8d859b9c04efc790e7b6c91cc80f/kmod-keys-encrypted_5.4.132-1_aarch64_cortex-a72.ipk
Installing kmod-dm (5.4.132-1) to root...
Downloading http://downloads.cdn.openwrt.org/snapshots/targets/bcm27xx/bcm2711/kmods/5.4.132-1-272d8d859b9c04efc790e7b6c91cc80f/kmod-dm_5.4.132-1_aarch64_cortex-a72.ipk
Installing kmod-br-netfilter (5.4.132-1) to root...
Downloading http://downloads.cdn.openwrt.org/snapshots/targets/bcm27xx/bcm2711/kmods/5.4.132-1-272d8d859b9c04efc790e7b6c91cc80f/kmod-br-netfilter_5.4.132-1_aarch64_cortex-a72.ipk
Installing kmod-nf-ipvs (5.4.132-1) to root...
Downloading http://downloads.cdn.openwrt.org/snapshots/targets/bcm27xx/bcm2711/kmods/5.4.132-1-272d8d859b9c04efc790e7b6c91cc80f/kmod-nf-ipvs_5.4.132-1_aarch64_cortex-a72.ipk
Configuring kmod-lib-zlib-deflate.
Configuring kmod-br-netfilter.
Configuring kmod-lib-xor.
Configuring kmod-dax.
Configuring kmod-random-core.
Configuring kmod-tpm.
Configuring kmod-keys-trusted.
Configuring kmod-keys-encrypted.
Configuring kmod-dm.
Configuring kmod-lib-zlib-inflate.
Configuring kmod-lib-raid6.
Configuring kmod-lib-lzo.
Configuring kmod-lib-zstd.
Configuring kmod-fs-btrfs.
Configuring kmod-nf-ipvs.
based on the above... i'd say you possibly have an entware related dependency issue... ( i.e. 'kernel dependant package on extroot syndrome' )... typically... entware should not be needed... and if I were doing the same... i'd just be using regular opkg for anything docker related...
just out of curiosity... how many times in total have you upgraded so far? what version did you upgrade from?
To the current installation, I have upgraded just once coming from Snapshot-26567-3.2.61-70-r17073, the only unusual change I made to the image was before the ROOTFSEXPAND variable was supported was to manually expand the filesystem using the following commands:
mount -o remount,ro / #Remount root as ReadOnly
tune2fs -O^resize_inode /dev/mmcblk0p2 #Remove reserved GDT blocks
fsck.ext4 /dev/mmcblk0p2 #Fix part, answer yes to remove GDT blocks remnants
fdisk /dev/mmcblk0
fdisk > p #list partitions
fdisk > d #delete the second partition, keeping track of sector start
fdisk > n
fdisk > p
#create new primary partition from previous sector start and end at disk end
fdisk > w #write new partition table to disk
reboot
resize2fs /dev/mmcblk0p2
Also, I added the variable to rc.local before the upgrade just to be sure, and took a backup for safekeeping.