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

HACS upgrade clears the admin for automations #3273

Closed
7 tasks done
erkr opened this issue Sep 25, 2023 · 4 comments · Fixed by #3277
Closed
7 tasks done

HACS upgrade clears the admin for automations #3273

erkr opened this issue Sep 25, 2023 · 4 comments · Fixed by #3277
Labels
issue:backend For issues with the backend/integration

Comments

@erkr
Copy link

erkr commented Sep 25, 2023

System Health details

System Information

version core-2023.9.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.11.5
os_name Linux
os_version 6.1.21-v8
arch aarch64
timezone Europe/Amsterdam
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 5000
Installed Version 1.33.0
Stage running
Available Repositories 1304
Downloaded Repositories 24
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 10.5
update_channel stable
supervisor_version supervisor-2023.09.2
agent_version 1.5.1
docker_version 23.0.6
disk_total 219.4 GB
disk_used 61.9 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api ok
installed_addons File editor (5.6.0), Mosquitto broker (6.3.1), MariaDB (2.6.1), Network UPS Tools (0.12.1), Home Assistant Google Drive Backup (0.111.1), InfluxDB (4.7.0), FTP (4.7.2), phpMyAdmin (0.8.8), Advanced SSH & Web Terminal (15.0.8), VLC (0.2.0), Filebrowser (2.25.0), Music Assistant BETA (2.0.0b73)
Dashboards
dashboards 4
resources 18
views 19
mode storage
Recorder
oldest_recorder_run September 22, 2023 at 22:53
current_recorder_run September 25, 2023 at 17:14
estimated_db_size 371.20 MiB
database_engine mysql
database_version 10.6.12

Checklist

Describe the issue

Once is in a while, when there is HACS upgrade, the administration of installed automation is lost (while integrations and frontend are preserved).
I have only the Hass_entities script installed, but after the upgrade, all automation repositories are presented as ‘new’ including hass_entities (the script folder for hass entities is still there and working. It’s only the HACS administration that is cleared).
After I dismissed all automations and re-downloaded hass entities, the administration is correct again, till the next update.

Reproduction steps

Upgrade HACs

Debug logs

Enabling debug login after it happened doesn’t contain anything suspicious.

Diagnostics dump

Can’t download that on my iPhone. If required I will provide it later

@erkr erkr added the issue:backend For issues with the backend/integration label Sep 25, 2023
@hacs-bot
Copy link

hacs-bot bot commented Sep 25, 2023

Make sure you have read the issue guidelines and that you filled out the entire template.

If you have an issue identical to this, do not add comments like "same here", "i have this too", instead add a 👍 reaction to the issue description. Thanks! 👍

@ludeeus
Copy link
Member

ludeeus commented Sep 25, 2023

This has nothing to do with automations or HACS updates.

what you are describing can happen if during restarts the python_script integration fails.

at which point HACS does not know that you want/need that.

@erkr
Copy link
Author

erkr commented Sep 26, 2023

Hi @ludeeus maybe I misunderstand but if Python_script fails during startup it gets disabled (so would not function till I restart whiteout a failure). But python script is still there and works.
Best Eric

@ludeeus
Copy link
Member

ludeeus commented Sep 26, 2023

Yeah, but you would not notice it in HACS until after it has happened, it does not have to be the same start.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue:backend For issues with the backend/integration
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants