I'm trying to migrate from a C8 to a C8 Pro, but the cloud backups keep failing (incomplete tasks: database backup...). I have read through various posts and tried everything I can find for example:
Shut down and up plug (I have tried this 4 times one of which was shut down for 5 mins).
Truncate Event Tables: http://HubIP/hub/advanced/truncateEvents (this returns a done response.
I am trying to do a migration so various LAN/WAN apps are currently disabled.
I'm running Build: 2.3.8.122
here is the error:
One option - unless you've made any sigificant changes since your last nightly/scheduled cloud backup, you could use the most recent nightly backup for the migration. It has everything in it that a manual cloud backup you create would have.
After the C8-Pro reboots following the migration you can go in and disable all your LAN/WAN apps and then enable them one by one so you can edit settings info in them as required.
The platform upgrade on your C8 after the cloud backup doesn't matter...unless you've added new devices or made significant changes to your automations on your C8 that you can't/don't want to lose, you'll be fine.
Your Pro (when registered to your HE account) will be able to see your last good cloud backup on the C8 and use that backup to migrate. You can update your platform version on the Pro after you finish migration.
If you want to give the migration a try follow the steps below. None of this will change anything on your current hub, you can always fall back to it if you need to.
On the C8:
Disable the Z-Wave and Zigbee radios (Disable, NOT reset)
Disable any LAN/Cloud integrations (check the box on the left side of the Apps list next to each integration), e.g., Google, Hue, etc. (I think you've already done this.)
Shut down the old hub and remove power from it
On the Pro:
Boot up the Pro and sign in and register it to your HE account.
Skip the Migration option that appears when you first boot up.
Do a platform update on the Pro (Settings>Check for update) to go to .122
Go to Settings>Backup and Restore and select the Cloud Backups tab
If it isn't automatically chosen, select the Migration Ready Backups option in the Show dropdown to display your recent C8 backups availble for Migration (reminder - both your C8 and the Pro need to be registered to the same account):
Choose the most recent complete backup and click the Action button to start the restore...make sure you select all the items you want to migrate:
After the migration look at step 9 and other "Notes" content below it in the HE Migration documentation (link below). That contains important info about your LAN/Cloud integrations that may require updating after the restore on the Pro:
Once you've confirmed that your new hub has all your devices and integrations running normally, if you have Hub Protect subscription on your C8, you can transfer the subscription to your Pro. Don't do this until you are sure you are OK on the new hub, as transferring Hub Protect from the C8 to the Pro will delete all cloud backups from the C8.
If you don't like how the migration turns out or have other issues, no loss (other than a little bit of your time). You can factory reset the Pro (or reset the Zigbee/Z-Wave radios individually and do a soft-reset of the hub) and go back to the C8.
The updated Z-Wave Z/IP Gateway is (partly?) what fixes the cloud backups. So possibly your hub did not update itself. You could try this endpoint to force it
HUB.IP/hub/advanced/installZipgateway718
It will spin and then say success or that you already have 7.18.3
Once you get success, wait a minute then run it again to very it worked. Once you get the "already installed" message then reboot the hub.
You could try a reboot (Settings>Reboot) w/the Rebuild Database option that pops up selected to clean up any potential hub database issues.
Enable debug log for the apps/integrations/devices you think may be causing you issues and the next time the hub crashes check logs when it comes back up.
Per @jtp10181's comment above, check the Z-Wave Z/IP Gateway update via the endpoint he provided:
Thanks everyone for the advice...I have been making some progress. I ran the HUB.IP/hub/advanced/installZipgateway71 and it came back "already installed". Then I removed all codes from the lock manager, and removed the lock manager app. After that I rebooted with the database cleanup option. It came backup. I re-installed the Lock Code Manager app and turned on logging. I tried to add codes and I got errors, but I went to the locks and deleted the codes. Then slowly added them. They all were added.
This is much further than before, however I had another crash and reboot. It may not have been the lock manager and/or lock. I don't really have any errors in the logs. So I don't know what's causing the issues.
The only error is from a Hue Sync Box. This is likely due to the upgrade. dev:20082024-03-01 03:36:08.079 PMerrorhttpGet Exception java.net.SocketException: Connection reset by peer (Write failed)
I'm not at all familiar w/that Hue sync box integration - what does that do?
When troubleshooting one direct approach is to disable/remove integrations and see if the problems persist. So unless the Hue integration is a must, then I'd disable it and see if the crashes repeat.
Also, let's define the crashes...how do you know the C8-Pro has crashed (symptoms?) and what happens when you try to access it:
Normally, via it's IP address
Via Diagnostic tool (hupIP:8081
I think you said you were rebooting it w/the Hub Diagnostic tool, is that right? Or have you just been pulling the plug and then plugging in again. The latter is a likely cause of future crashes...
I have disable the Hue integration for the time being. A crash for me is the system reboots itself. I'm not pulling power or anything...think BlueScreen.
I think you said you were rebooting it w/the Hub Diagnostic tool, nope only the setting menu.
I am not aware of the HE platform having any ability to reboot itself if the UI / platform crashes. It will just hang. The only cases I can recall where it was rebooting on its own was due to temporary loss in power, usually due to a faulty supply or cable.
There really isn't something I can think of that resembles a blue-screen w/the hub. So you're using/looking at the hub screen and then it freezes and reboots? Need some screen caps or pics w/your camera if you can't do screen grabs when it's in the "blue screen" mode.
If you're rebooting w/the Settings menu then the hub is fully accessible. Color me confused...maybe you can clarify.
Let me clarify my response. When I choose to reboot it I only do it via the settings menu. However, every 15-30 mins the UI becomes unresponsive, my continuous ping drops 2 packets, and I see the starting up screen.