-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Git pull constantly clears directory including .storage
folder
#3547
Comments
You need a .gitignore file that excludes everything but your config files |
That is already the case. It seems that the process of copying back after emptying the folder isn't working. I noticed that the watchdog also kept restarting this process |
Not sure if this is related, but I noticed that after upgrading to |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale |
Describe the issue you are experiencing
I setup my HASS from a backup (to migrate from Core in a Virtualenv to OS) and configured this addon to pull my configs from Git. In the past I used a custom script to do this but I wanted to replace it with the "native" functionality.
However, as soon as something changes in the
/config
folder it gets cleared out completely and replaced with the stuff I have in my repo. This results in it also removing the.storage
folder and all addons I installed using HACS (custom_components
).The latter is even included in the
.gitignore
What type of installation are you running?
Home Assistant OS
Which operating system are you running on?
Home Assistant Operating System
Which add-on are you reporting an issue with?
Git pull
What is the version of the add-on?
7.14.0
Steps to reproduce the issue
/config
System Health information
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Spotify
Anything in the Supervisor logs that might be useful for us?
Anything in the add-on logs that might be useful for us?
Additional information
Addon configuration:
The text was updated successfully, but these errors were encountered: