SOLVED: InfluxDB 404 error after 2026.6.0 update — double-slash path bug fix

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.

Thank you! This was a huge help.

+1 .. was already debugging the other end of the house and then remembered I clicked to update yesterday evening

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.

Any ideas how i can fix this?

In my case it helped, to downograde to 2026.5.4

ha core update --version=2026.5.4

After that, I was able to re-add the integration.

Also people say, it helped to go back to (deprecated) configuration in the configuration.yaml. But I didn't try that.

Downgrade -> add integration -> update -> python command from first post -> influx works :slight_smile:
Thanks

Thank you.

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

Solved in Home Assistant Core Version 2026.6.4

  • Solve issue with double slash in url when writing data to InfluxDB (@RobBie1221 - #173395)