I'm trying to migrate my domains from a Virtualmin on CentOs 6.8 (Webmin 1.821/Virtualmin 5.04) to CentOs 7 (Webmin 1.831/Virtualmin 5.05).
I'm following the virtualmin backup/restore precedure from cli: virtualmin restore-domain --source /mnt/backup/ --all-domains --all-features
I got some errors: some domains does not have the /etc/logrotate.d/$DOM.conf file, I don't know why. So, I created them by hand, copying anoter one and correcting name and content, but the errors persists.
I did a new copy of backup with --continue-on-error.
On the restore side, I did not find all logrotate files I expect, also the correctly backupped ones. The .tar.gz contains it (./.backup/$DOM_logrotate), but seems that they are not restored. Just few of them, I cannot undestand which one yes and which no...
But I can copy it by hand
Instead, I got errors in apache config and ssl certificates:
Applying web server configuration .. .. failed! An Apache configuration error was detected : (2)No such file or directory: AH02297: Cannot access directory '/var/log/virtualmin/' for log file '/var/log/virtualmin/febaf.it_access_log' defined at /etc/httpd/conf/httpd.conf:367
AH00014: Configuration check failed
Applying web server configuration .. .. failed! An Apache configuration error was detected : AH00526: Syntax error on line 733 of /etc/httpd/conf/httpd.conf:
SSLCACertificateFile: file '/home/ossif/ssl.ca' does not exist or is empty
And the .conf file seems to have not "imported" the failing lines, but both the folder and the files exists.
I'm wrong somewhere?
Thanks a lot!