I wanted to try the pi-hole addon from linuxserver.io repo on my N2 and ran into some general problems - not (only) related to the repo IMHO:
- The addon’s service scripts use a regex to determine which image they need to pull for the machine’s architecture. It searches for *ELEC_ARCH in
/etc/os-releaseand matches it. The problem we currently have is that coreelec sets
LIBREELEC_ARCHwhich results in a duplicated arch string (e.g. “arm arm” instead of “arm”) and non working addon because of failed match.
- I’m not even sure if we need the ARCH-switching mentioned in 1. at all since linuxserver.io images are mostly multi-arch anyway.
As a workaround I hardcoded the images in the service scripts and disabled auto-update for the addon.
Since I don’t know where the repo is pulled from, there’s also something else I encountered with the webgrabplus addon: it uses deprecated images, everything should come from linuxserver/webgrabplus.