apostolakisl Posted January 9, 2011 Posted January 9, 2011 I made some changes to my network resources and it wasn't working like I wanted so I went to restore from a backup of network resources I made before the changes. Upon doing the restore, the system hangs. I have an hourglass and no ability to do anything. I can't log off or anything. I have to use task manager to exit it. When I go back to it, the network resources is empty. I tried adding new files manually and it works. But, the restore function once again hung it up. I tried rebooting the computer and the ISY, same result. I know the backup is good because I had sent it to Michel to look it over and he was able to open it. When I activate the restore, the items I had start to show up, not all of them, but at least a few. Some of the times I tried the restore most would show up, other times only a few, but regardless, it hangs after that. What should I do?
apostolakisl Posted January 9, 2011 Author Posted January 9, 2011 After about 10 tries it worked. Not sure what is up with that.
apostolakisl Posted January 9, 2011 Author Posted January 9, 2011 Also now I see that doing a restore doesn't assign the network resources the same id so my programs have gotten scrambled. I think that is something that you might want to look at fixing in future firmware upgrades.
Michel Kohanim Posted January 9, 2011 Posted January 9, 2011 apostolakisl, Restore MUST use the same IDs. Import does not. So, this must be a bug. Are you on 2.8.10? With kind regards, Michel
apostolakisl Posted January 9, 2011 Author Posted January 9, 2011 Yes, 2.8.10. And I definitely did a restore, not import.
Michel Kohanim Posted January 10, 2011 Posted January 10, 2011 Hello apostolakisl, Thanks so very much. I just tested this a few times and it works fine. Basically, this is what it should do: 1. Delete everything from network resources 2. Recreate them in the order they were in the table before the export Did the Admin Console first remove all the other entries before doing a restore? With kind regards, Michel
apostolakisl Posted January 10, 2011 Author Posted January 10, 2011 Michel, Yes, first I ran restore, the system hung and after about an hour I task managed out of it and re-opened ISY. The network resource tab was empty at that point. I tried again, same result. I tried from a different computer, same result. I tried a hard reboot of ISY, same result. The only difference was that sometimes it would load a variable amount of the contents of network resources before hanging. I have 90 items and it might load 6, or 36, but then would freeze up and never finish. At this point a task manager exit of ISY and re-open of ISY would still be blank at network resources tab. I did try doing "import" on one of those tries to see if I could import that backup file, but that one failed the same as the others. Finally I had success on about the 10th try. I don't know why it worked becuase I just kept doing the same thing each time (I like beating my head on the wall). I suppose it is possilbe that I hit "import" instead of "restore" on that last try but I am 99% sure that I didn't.
Michel Kohanim Posted January 10, 2011 Posted January 10, 2011 Hello apostolakisl, Thanks so very much for the update. I do have your zipped file and I am going to try it and see what happens. With kind regards, Michel
apostolakisl Posted January 10, 2011 Author Posted January 10, 2011 Michel, I thought you might like to know the follwing: I don't know what the ID numbers were to start with, but I do know that I had deleted some which my recollection tells me should have left empty ID's. After the restore, the id's are now contiguous. The programs that referenced network resources all refrenced the wrong ones after the restore. Thanks, Lou
Michel Kohanim Posted January 11, 2011 Posted January 11, 2011 Hello Lou, Thank you. So, this is what happened: 1. Removed some resources 2. Backed up 3. Restored 4. IDs changed Is this correct? With kind regards, Michel
apostolakisl Posted January 11, 2011 Author Posted January 11, 2011 Yes, I am quite certain I had deleted at least a couple network resources prior to doing the backup from which I did the restore. Keep in mind that the "restore" part was not a simple click "restore" and go.
Michel Kohanim Posted January 11, 2011 Posted January 11, 2011 Thanks Lou. As far as Restore failing, I think it has to do with firewall ... I am tempted to ask you to try and restore again but let me do some more testing before we do anything else. With kind regards, Michel
Michel Kohanim Posted January 11, 2011 Posted January 11, 2011 Hi Lou, First of all, I wanted to apologize for this bug. Secondly, thanks so very much for finding it, and finally: it's already fixed and should be available in the next release. Thanks again and with kind regards, Michel
Recommended Posts