sabeechen / hassio-google-drive-backup

Automatically create and sync Home Assistant backups into Google Drive
MIT License
3.2k stars 198 forks source link

Receiving the following error from HA after 2024.6 upgrade this morning. #1052

Open georgelza opened 5 months ago

georgelza commented 5 months ago
Screenshot 2024-06-06 at 10 41 17

please advise.

G

kylevidrine commented 5 months ago

I received the same message.

zalmyr commented 5 months ago

Same here

georgelza commented 5 months ago

fixed it by re-adding the repo and reinstalling the app. G

LanceMcCarthy commented 5 months ago

It seems the addon was broken for a while, not until 2024.6 was I made aware 😱 I did the same as @georgelza and got back to a good state.

[!NOTE] Don't be scared to delete it locally. YEs, you will go and generate a new token, but it was a 30 second re-setup experience to choose the settings again.

DarcyDetlor commented 5 months ago

I stopped, uninstalled, re-started, re-installed, and re-configured Google Drive Backup and I am still getting the same error.

image

How are we supposed to fix this problem?

georgelza commented 5 months ago

the problem was not the program, it was the link to the repo that got broken. you need to read the repo url first under custom repo's. then do the reinstall. that's what solved it for me. had another add-on paradox alarm integration with exact same, solved same way.

DarcyDetlor commented 5 months ago

the problem was not the program, it was the link to the repo that got broken. you need to read the repo url first under custom repo's. then do the reinstall. that's what solved it for me. had another add-on paradox alarm integration with exact same, solved same way.

Thank you for the reply, but I do not understand what you are saying. "you need to read the repo URL first under custom repo's". Where is the repo URL?

I have it installed here:

image

After I find the repo URL, you suggest that I can then reinstall?

How is this different from uninstalling and reinstalling according the the author's instructions?

georgelza commented 5 months ago

hmm let me try again...

I needed to re-add the repo... for that go to system/add-ons and then top right click on 3 ... then add custom repo and reenter the url from the install site.

you will find if you look at your url's at the moment the repo needed for the back util is gone.

once you've done this you can re-install.

G

igorsantos07 commented 5 months ago

I didn't need to reinstall it nor reconfigure anything - just adding the correct add-on URL made HA find the new version (0.112.1, I was stuck at 0.105.2) and it updated just fine.

cherryocola commented 5 months ago

I didn't need to reinstall it nor reconfigure anything - just adding the correct add-on URL made HA find the new version (0.112.1, I was stuck at 0.105.2) and it updated just fine.

I re-added the URL but I am still stuck on 0.105.2, is there anyway to force a manual update?

georgelza commented 5 months ago

if i recall i deleted the google app... and reinstalled after i readied the repo url as a custom repo to have available.

G

jmcbri commented 5 months ago

Thanks @igorsantos07 !:

I didn't need to reinstall it nor reconfigure anything - just adding the correct add-on URL made HA find the new version (0.112.1, I was stuck at 0.105.2) and it updated just fine.

But where and what URL do you add? Per the Github page, I guess it's https://github.com/sabeechen/hassio-google-drive-backup but, to where? I can't find a configuration setting, even in yaml, that would let me do that.

LanceMcCarthy commented 5 months ago

@jmcbri

Screenshot_20240619_173244_Home Assistant.jpg

jmcbri commented 5 months ago

@jmcbri

Screenshot_20240619_173244_Home Assistant.jpg

I wish people were more responsive! I had to minute more than 10 seconds for that! (I'm kidding, that was fantastic.) I did that. Thanks.

georgelza commented 5 months ago

...if i recall i did say click add on stop bottom, then top right click 3 dots, then go repositories and then add your url and click add...

but happy all fixed.

foltymat commented 5 months ago

I can hopefully put an end to this thread as I was dealing with the issue myself. Should anyone face the problem, do the following:

  1. Open Settings -> Add-ons
  2. Three dots in the upper right corner -> Repositories
  3. Add the URL mentioned in this very github - https://github.com/sabeechen/hassio-google-drive-backup
  4. Go to the Google Backup addon
  5. Uninstall
  6. Install
  7. Authenticate with Google again
  8. The addon finds the original folder and just continues wherever you left off
  9. Hit ignore on the pesky Repair message (seems to not get cleared automatically)
  10. Restart Home Assistant
  11. Pour yourself a cup of tea and pat yourself on the back because this took you 90 seconds, including the reboot.