plesk / centos2alma

CentOS 7 to AlmaLinux 8 conversion tool
Apache License 2.0
36 stars 7 forks source link

Resume Upgrade #278

Closed lecneri closed 3 weeks ago

lecneri commented 4 weeks ago

As you told me in #267 Ive executed the following command centos2alma --finish --state-dir /usr/local/psa/var/centos2alma --resume --verbose --log-file /var/log/plesk/centos2alma.log but it wasn't able to resume upgrade because it didn't find resume.json. What can I do to check and finish upgrade? I tried search the resume.json but didn't find any [root@cadillac upgrade]# ./centos2alma --finish --state-dir /usr/local/psa/var/centos2alma --resume --verbose --log-file /var/log/plesk/centos2alma.log Couldn't resume from '/usr/local/psa/var/centos2alma/resume.json': [Errno 2] No such file or directory: '/usr/local/psa/var/centos2alma/resume.json' Traceback (most recent call last): File "/root/upgrade/centos2alma/pleskdistup/main.py", line 424, in main resume_data = read_resume_data(options.resume_path) File "/root/upgrade/centos2alma/pleskdistup/main.py", line 285, in read_resume_data with open(resume_path, "r") as f: FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/psa/var/centos2alma/resume.json'`

SandakovMM commented 3 weeks ago

I can see the resume file in the feedback archive you gave earlier. Please find it attached resume.json.

I don't see any cleanup message in the logs you provided before, so I can only assume that the file was removed by Plesk's cleanup actions. Of-cause if centos2alma was not performed once again before calling the resume command.

lecneri commented 3 weeks ago

Thank you so much, I resumed the installation, and it didn't do much. But now I know it's done. I couldn't finish it without your help. Thanks again