If you've updated to HA 2026.6.0 and your InfluxDB integration is now showing "Failed setup: 404 page not found", I found the root cause and a fix.
What's happening
When HA migrates your InfluxDB connection settings from YAML to the new UI-based config, it incorrectly stores "path": "/" in .storage/core.config_entries. HA then constructs API URLs with a double-slash (e.g. http://a0d7b954-influxdb:8086//query), which returns a 404. InfluxDB itself is running perfectly fine, the problem is entirely in the stored config entry.
This affects InfluxDB v1 (the standard HA add-on running in v1 mode). You'll see repeated errors like this in the HA log:
ERROR [homeassistant.components.influxdb.config_flow] InfluxDB database is not accessible due to '404: 404 page not found'
Fix
Run this in your VS Code Server terminal (or SSH), then restart HA:
python3 -c "import json; f=open('/homeassistant/.storage/core.config_entries'); d=json.load(f); f.close(); [e['data'].update({'path':''}) for e in d['data']['entries'] if e['domain']=='influxdb']; open('/homeassistant/.storage/core.config_entries','w').write(json.dumps(d))"
This sets path to an empty string. InfluxDB connects immediately after the HA restart and the fix survives subsequent reboots.
Tested on HA Core 2026.6.0 / HA OS 17.3 / InfluxDB add-on 5.0.2 / Raspberry Pi 5.
Hello, i had the same error, but unfortunately i removed the integration and tried to at them again. When i try to add them again, this Error show up : "Connection failed" and i can´t add the integration.
While i haven´t the integraion yet, there is no entry in my core.config_entries for influxDb.
Hi,
this was of huge help! Needed some investigation on how to get the bash command line into the system (Install terminal app first, then install python3...)
But finally it works know. Many thanks!
Solved for Home Assistant Core Version 2026.6.3, Home Assistant Operating System 17.3 and InfluxDB 5.0.2, Raspberry Pi 4