Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration failed error #354

Open
screenagerbe opened this issue Mar 1, 2024 · 4 comments
Open

Migration failed error #354

screenagerbe opened this issue Mar 1, 2024 · 4 comments

Comments

@screenagerbe
Copy link

screenagerbe commented Mar 1, 2024

Version of the custom_component

1.9.0

Configuration

Modbus via TCP
HA version  2024.2.5 
FoxEss H1-5.0-E1 (Master: 1.63, Slave: 1.02, Manager: 1.70)

Describe the bug

After upgrading from version 1.8.0 and restarting HA the integration would not load. It said Migration Failed on the integrations page and all values had status unknown.
Solcast was also down.

In the HA logs I saw this "Warning"
image

Workaround

Remove the integration
Restart HA
Reinstall the integration
Restart HA
Add and configure the integration
@djdarlo
Copy link

djdarlo commented Mar 3, 2024

Got the same - will try the workaround and let you know how I get on.

@danelphick
Copy link
Contributor

Sorry about this. This was my fault. It's fixed in #356.

You can also fix this without removing and re-added, by sshing into your HA and editing config/.storage/core.config_entries

Search for the foxess_em section and change:

"version": 1
to
"version": 2

You'll need to restart HA for this to take effect. You still need to reconfigure the integration either via the UI or you can add a line in the file above

"fox_api_key": ""

making sure to observe JSON rules about trailing commas.

@nathanmarlor
Copy link
Owner

Try v1.9.1 please :)

@djdarlo
Copy link

djdarlo commented Mar 4, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants