ClearFoundation Tracker - ClearOS
View Issue Details
0022681ClearOSapp-configuration-backup - Configuration Backuppublic2019-01-08 06:102019-02-23 16:52
NickH 
dloper 
normalminorsometimes
closedsuspended 
7.6.0 Updates 
7.6.0 Updates 
0022681: Restoring 6 -> 7 never completes in the Webconfig
I have tried two 6.x -7.x restores into different VM's, one fresh and one old, and in neither case did the webconfig Progress bar get to the end and the restore log never showed Complete.

It does complete as in the command line I see:
[root@gateway ~]# tail -f /var/clearos/framework/tmp/configuration_backup.json
{"code":0,"timestamp":1546950489,"progress":5,"msg":"Initializing"}
{"code":0,"timestamp":1546950489,"progress":10,"msg":"Stopping event monitor service"}
{"code":0,"timestamp":1546950490,"progress":15,"msg":"Archive File: \/var\/clearos\/configuration_backup\/upload\/backup-clearos_brinor_com-01-05-2019-03-50-01.tgz"}
{"code":0,"timestamp":1546950490,"progress":20,"msg":"Checking archive version compatibility"}
{"code":0,"timestamp":1546950490,"progress":20,"msg":"Restore type: upgrade6"}
{"code":0,"timestamp":1546950490,"progress":25,"msg":"Unpacking archive file"}
{"code":0,"timestamp":1546950493,"progress":30,"msg":"Downloading and installing apps. Please be patient."}
{"code":0,"timestamp":1546950895,"progress":40,"msg":"Installation complete."}
{"code":0,"timestamp":1546950895,"progress":60,"msg":"Importing LDAP directory"}
{"code":0,"timestamp":1546950904,"progress":70,"msg":"Restarting service: slapd"}
{"code":0,"timestamp":1546950991,"progress":80,"msg":"Restarting service: snort"}
{"code":0,"timestamp":1546950997,"progress":80,"msg":"Restarting service: snortsam"}
{"code":0,"timestamp":1546950998,"progress":80,"msg":"Restarting service: zbootevent"}
{"code":0,"timestamp":1546950999,"progress":80,"msg":"Restarting service: acpid"}
{"code":0,"timestamp":1546950999,"progress":80,"msg":"Restarting service: clamd"}
{"code":0,"timestamp":1546951047,"progress":80,"msg":"Restarting service: crond"}
{"code":0,"timestamp":1546951048,"progress":80,"msg":"Restarting service: dnsmasq"}
{"code":0,"timestamp":1546951048,"progress":80,"msg":"Restarting service: firewall"}
{"code":0,"timestamp":1546951051,"progress":80,"msg":"Restarting service: nscd"}
{"code":0,"timestamp":1546951051,"progress":80,"msg":"Restarting service: nslcd"}
{"code":0,"timestamp":1546951051,"progress":80,"msg":"Restarting service: postfix"}
{"code":0,"timestamp":1546951052,"progress":80,"msg":"Restarting service: saslauthd"}
{"code":0,"timestamp":1546951053,"progress":80,"msg":"Restarting service: sshd"}
{"code":0,"timestamp":1546951053,"progress":80,"msg":"Restarting service: suvad"}
{"code":0,"timestamp":1546951053,"progress":80,"msg":"Restarting service: sysstat"}
{"code":0,"timestamp":1546951053,"progress":80,"msg":"Restarting service: system-mariadb"}
{"code":0,"timestamp":1546951057,"progress":80,"msg":"Restarting service: syswatch"}
{"code":0,"timestamp":1546951058,"progress":80,"msg":"Restarting service: tuned"}
{"code":0,"timestamp":1546951060,"progress":90,"msg":"Starting event monitor service"}
{"code":0,"timestamp":1546951061,"progress":100,"msg":"Restore complete."}

In the second restore to a virgin VM which corresponds to the above json output, the last entry in the Restore log is:
Description Timestamp
Downloading and installing apps. Please be patient. Jan 8, 2019 12:28:13
No tags attached.
Issue History
2019-01-08 06:10NickHNew Issue
2019-01-08 06:10NickHStatusnew => assigned
2019-01-08 06:10NickHAssigned To => dloper
2019-02-23 16:52dloperNote Added: 0009641
2019-02-23 16:52dloperStatusassigned => closed
2019-02-23 16:52dloperResolutionopen => suspended

Notes
(0009641)
dloper   
2019-02-23 16:52   
Migrated to: https://gitlab.com/clearos/clearfoundation/app-configuration-backup/issues/4 [^]