Jump to content

UD Mobile Sync Database Errors (need more detail)


Recommended Posts

Posted

Where can I find a log or more detail on when UDM is having database sync errors?

I very recently re-flashed my Polisy SSD to PG3 and migrated my ISY to IoP.  As expected I lost everything that had to do with Zwave and Node Servers and must put those all back in manually and reconfigure.  This will take days but I'm trying get to a stable situation first.  I started with over 280 errors and then got down 3.  Most of the errors were tied to defunct programs tied to Zwave and Node Server objects.  I've went through and cleaned up everything obvious but now I'm flying blind and guessing.  I see stuff that shouldn't matter and change or delete it and now I'm making it worse.  I'm up to 26 errors now.  I don't want to select the option to "remove unused values" without understanding what it is I will be removing.  I'd rather clean it up from the IoP side and get no errors on a UDM sync.  But I need to know what as it's not obvious at this point.

Posted
10 minutes ago, theitprofessor said:

Where can I find a log or more detail on when UDM is having database sync errors?

I very recently re-flashed my Polisy SSD to PG3 and migrated my ISY to IoP.  As expected I lost everything that had to do with Zwave and Node Servers and must put those all back in manually and reconfigure.  This will take days but I'm trying get to a stable situation first.  I started with over 280 errors and then got down 3.  Most of the errors were tied to defunct programs tied to Zwave and Node Server objects.  I've went through and cleaned up everything obvious but now I'm flying blind and guessing.  I see stuff that shouldn't matter and change or delete it and now I'm making it worse.  I'm up to 26 errors now.  I don't want to select the option to "remove unused values" without understanding what it is I will be removing.  I'd rather clean it up from the IoP side and get no errors on a UDM sync.  But I need to know what as it's not obvious at this point.

Hi @theitprofessor,

Please post a screen capture of the errors for a better explanation.  

With regards to "remove unused values": This will happen if a node/program/variable no longer exists in ISY but does in UD Mobile.  There should be a backup option there also.  The reason for the question is because it is possible, although improbable,  a user did not make changes to their system and there was a network error. So instead of automatically deleting items, which could delete favorites, from the UD Mobile database UD Mobile first asks user to backup.  This way the user has a backup in case the database cleaning removes items the user did not want removed.

For anyone else: Currently this is an iOS only feature.

  • Like 2
Posted

Hi Javi, sorry too late.  I can't reproduce it anymore as you can see by my follow up post shortly after I started this, I fixed the problem another way, which was sort of weird.  I'm aware it's probably a node/program/variable issue but I couldn't find one anymore.  But if that was the case then why did my solution fix the issue.  I seems like something old was stuck on my iPhone and in a mismatch.  However, I did manage to grab a screenshot (attached) earlier when there were only 3 errors.  Please disregard the push notification message which popped up right as I was taken the screenshot.  It has noting to do with this.

UDM Error.png

Posted
5 hours ago, theitprofessor said:

Hi Javi, sorry too late.  I can't reproduce it anymore as you can see by my follow up post shortly after I started this, I fixed the problem another way, which was sort of weird.  I'm aware it's probably a node/program/variable issue but I couldn't find one anymore.  But if that was the case then why did my solution fix the issue.  I seems like something old was stuck on my iPhone and in a mismatch.  However, I did manage to grab a screenshot (attached) earlier when there were only 3 errors.  Please disregard the push notification message which popped up right as I was taken the screenshot.  It has noting to do with this.

 

There are many things that could have remained in the App's Database as it's not limited to Nodes. The app sets a time stamp on all entries during sync. At the end of sync the app queries all entries related to the system (isy) SQL ID for unmatched timestamps to que deletion.  In the past these values were remove automatically so we prompted to backup before sync, now we only prompt for backup if deletion will be performed.  Most of the time deletion is necessary, when the number is low, but if there are a large number of deletions queued something went wrong.  Although in the case of migration a slightly larger number of entries may be expected ,especially if a node was removed (i.e. z-wave device).  To respect the time users have spent with customizations we choose to ask the user to backup before the app delete these values.

If you have a backup file and you have favorites then import, sync, and allow removal of  unused values should restore most of your setup.

I'm open to suggestions for the descriptive text to help others in the future. 

Posted

Thanks for the explanation Javi, it makes a lot of sense.  Putting more text on a UDM screen might be too much.  However, maybe a reference to these situational errors in a Wiki or something with a lot of the detail there might be more appropriate.  This was triggered by a large migration.  I'm sure there will be others.

Thanks!

Posted
20 minutes ago, theitprofessor said:

Thanks for the explanation Javi, it makes a lot of sense.  Putting more text on a UDM screen might be too much.  However, maybe a reference to these situational errors in a Wiki or something with a lot of the detail there might be more appropriate.  This was triggered by a large migration.  I'm sure there will be others.

Thanks!

Done: https://wiki.universal-devices.com/index.php?title=UD_Mobile#Synchronization

  • Like 1
  • Thanks 1
Guest
This topic is now closed to further replies.

×
×
  • Create New...