Maintenance: build the image on Forgejo, debian-base 9.5.0 #1
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/maintenance-2026-10"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Changes
debian-base7.7.1 -> 9.5.0 (Debian 13). Debian 13 has no/etc/init.d, which the InfluxDB.debpost-install script expects, so the Dockerfile creates it (the add-on runsinfluxdthrough s6 and never uses the init script)..forgejo/workflows/build.yml): shareddocker-publishbuilds the aarch64 image frominfluxdb/Dockerfile. Pull requests build only; av*tag that matchesversion:ininfluxdb/config.yamlpushesgit.timstoop.nl/tim/influxdb/aarch64:<version>with the source label, so the package links to this repo..github/workflowsremoved: they called reusable workflows on GitHub and could not run here.MIGRATION.mdarchitecture note updated.InfluxDB stays on 1.8.10.
Verification
influxdserves/pingwith the add-on's config.influxdb.confand auth enabled, using HA's client (influxdb 5.3.2) and queries (SHOW DATABASES,SELECT mean/count/last, writes): data intact, no warnings.Releasing
The add-on version is still 5.1.0, the tag the existing image already uses. To ship the rebuilt image to Supervisor, bump
version:ininfluxdb/config.yamland push a matchingv*tag.🤖 Generated with Claude Code
https://claude.ai/code/session_013jL41LP9srdcUDYggNpC98
InfluxDB 1.8.10 -> 1.12 / 1.13 upgrade check
Not part of this MR (InfluxDB stays on 1.8.10), recorded here for the decision.
What HA actually sends (core
influxdbintegration, API v1, libraryinfluxdb==5.3.2):write_pointswith dict points,SHOW DATABASES;as connection test, and for the sensor platformselect <fn>(<field>) as value from <measurement> where <clause>. Plain InfluxQL, no Flux, no retention policy orCREATEstatements. (API v2 usesinfluxdb-clientand Fluxbuckets(), a separate code path.)Tested: a 1.8.10 server with this add-on's own
influxdb.confandauth-enabled=true, written to and read with that exact client. Then the same data directory started underinfluxdb:1.12(1.12.4) and, separately,influxdb:1.13(1.13.1):°Cmeasurement) and all points are intact (20 points + 20 new writes = 40)SHOW DATABASES,mean/count/lastqueries and writes return the same resultsRelease-note items that could matter, none of which HA's usage touches: 32-bit packages dropped in 1.11 (armv7 would need 1.8.x), retention policies can discard writes outside FUTURE/PAST LIMIT (only when those limits are set),
SHOW TAG VALUES/SHOW SERIES CARDINALITYsemantics, stricter line protocol validation (misquoted tag values and oversize fields error). The add-on's config keys ([meta],[data],[http]incl.flux-enabled,[logging]) are all still valid.Needed for a 1.12+ image: the
.debURL changed. 1.8.10 is.../releases/influxdb_1.8.10_arm64.deb; newer versions are.../releases/v1.12.4/influxdb_1.12.4-1_arm64.deb(1.13.1 exists the same way; 1.13.0 has no arm64.deb). The Dockerfile download line needs to change with the version.Not verified: your real data (size, index type, long retention), and a downgrade after upgrade. Snapshot the data directory first (
/dataof the add-on, or an HA backup) before running a newer version on it.