-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Error "The 'name' option is not supported on non-supervised installations" when running in HA Core (Docker) #65
Comments
Oh yeah sorry totally forgot about that on HA core. I'll fix this, but simply you won't be able to have custom names for the backups, they will all be named based on |
No worries @jcwillox thats fine and appreciate you figuring it out and fixing it. |
Thank you kindly @jcwillox for fixing. I have updated to v1.2.0, deleted the blueprint and re-installed it. I also looked through the updated blueprint and found this code but not sure what I would have to change and where to fix the name error:
Kindly advise.... |
I think I got it. I edited the "Automation" entry, not the "blueprint", and placed a "#" comment in front of the 'name' field, in the "Backup Option (optional) section. After saving the section it now looks like the below ('name' field disappeared) and the backup was successfully created with a similar random name as if it was done manually. Will there ever be an option for naming the backups in HA Core? My thanks! |
Great! Sort of you need to delete the text inside the name field shown in the image below. I hope they will support naming the backups, but thats not up to me, you could create a feature request for it on the community forums if you want (there may even be one already I haven't checked). Additionally would be good if they supported adding a password. The automatic deletion of backups thankfully does work with HA Core. |
Thanks @jcwillox . Great to hear that removing backups (cleanup) works. Will of course post a feature request for the rename and the password. OK, just to make sure I am doing it right for HA Core, the code from your automatic_backups.yaml must change from:
to
Is that correct? And if so, any chance you could maybe add a toggle option for 'HA Core' that does it automatically, so that future releases do not break these manual changes? Thank you. |
You don't need to edit the actual blueprint, just delete the contents of the text box in the UI when you're creating the automation, like in the two images. I did think of adding a toggle for that, and I may still, however, I just had a better idea. I will need to check if this is actually possible but the Auto Backup integration should have direct access to the backup files unlike with the supervised version, which means I can edit the backup after it is created and change the name. This would allow the name option to work on HA Core as well. |
Got it. That's a brilliant workaround @jcwillox. I will then wait to make any changes and wait to hear from you if the post backup creation file rename works, as well as when you release the updated version... Thank you. |
Hey @jcwillox hope you're having a relaxing weekend. Looking forward to your next version, with the rename feature for HA Core.... |
Yep the feature is done and I should have released it already 👌 I'll get on it now |
I've released the feature now in version 1.3.0 🎉, this means the blueprint should now work without any changes needed. |
Hey @jcwillox Just a heads up that while the nightly backup worked, yey! it was not renamed. Here is what it created in the /backups folder:
I also saw a bunch of errors in the HA main log related to your backup, any suggestions on how to fix?
Thank you! |
Great, yeah look at that last line of the error, the blueprint your trying to use doesn't exist. Probably just reinstall the Automatic Backups blueprint and recreate the automation. |
Ahhh... well I deleted the automation then did an in-place update of the Auto-backup blueprint, and maybe HA did not properly cleanup the previous version. I will now delete the Automation as well as the blueprint, and install the latest blueprint from scratch then re-create the automation. |
Yeah that'd do it, all my blueprints are in this repository jcwillox/home-assistant-blueprints, there's also a link to it in the Auto Backup docs. |
Perfect, got it @jcwillox I was looking for it but did not read the install docs again... cause I knew better :-) All installed so now fingers crossed for 2:30PM backup and notification (installed your notification one too)... Thanks again! |
Hi @jcwillox, the backup occurred again just fine at 2:30AM, but again it was not renamed. I checked the logs and found nothing related to the auto backup, and no errors. I also did not get any notifications on my iPhone as configured in the automation from your auto backup notifications blueprint. Any ideas how to can debug this? Thank you and sorry for the trouble. |
Sounds like something must have gone wrong, you can test if the rename feature is working by just using a service call like this. service: auto_backup.backup
data:
name: Hello World Would you be able to share a screenshot or copy of your blueprint configuration? |
Hi, I have a same problem.
Any idea please ? |
Installed via HACS and added the Integration. Configured an Automation with defaults successfully, but when it runs it errors out.
What am I missing or need to edit for this to run on HA Core?
Thank you.
The text was updated successfully, but these errors were encountered: