When I restore the gateway, the gateway doesn’t update to the new backup until I manually reset the ignition services.
This happen a lot lately in the different versions of in 8.1
How are you restoring the backup?
Of course from the backup and restore page in the gateway
when this happens the restarting time of ignition take very fast. In normal case it should take about 30s but in this case it take 6s
Okay, so is the gateway restarting when you click “Restore”, and then you still see the same thing until a manual service restart? Or is nothing happening at all?
Can you upload logs after this happens?
I see the restarting logo of ignition like as usual but it finish very fast
Restoring a backup just places the upload file in the base $IGNITION dir with a prefix like __restore_
or __restore_disabled_
… I wonder if this is happening or if there’s some file permissions error or something that prevents the restart from seeing or reading it.
Sure you mean this:
wrapper.log (1.2 MB)
I delete the old logs and start ignition, The first restore happened to work but the second one show that bug.
system_logs.idb (1.2 MB)
Hmm, it’s failing but I don’t have information about why because the delete method being used is silent
INFO | jvm 2 | 2022/03/30 18:17:50 | I [c.i.i.g.u.BackupRestoreDelegate] [13:47:50]: Starting restore procedure, writing upload to disk...
INFO | jvm 2 | 2022/03/30 18:17:54 | W [c.i.i.g.u.BackupRestoreDelegate] [13:47:54]: Restore failed: Failed to delete the data/projects directory. This may result in incorrect project overwrites and merges
INFO | jvm 2 | 2022/03/30 18:17:54 | com.inductiveautomation.ignition.gateway.util.BackupRestoreDelegate$ProjectBackupException: Failed to delete the data/projects directory. This may result in incorrect project overwrites and merges
INFO | jvm 2 | 2022/03/30 18:17:54 | at com.inductiveautomation.ignition.gateway.util.BackupRestoreDelegate.backupProjectData(BackupRestoreDelegate.java:590)
INFO | jvm 2 | 2022/03/30 18:17:54 | at com.inductiveautomation.ignition.gateway.util.BackupRestoreDelegate.restore(BackupRestoreDelegate.java:229)