Closed ahpang closed 2 months ago
It appears that the PHP 5.6 repository was removed from the plesk.repo file. This is likely a bug in centos2alma. I will fix it by the end of the day.
Thanks. If my Plesk still using PHP 5.6, is it mean will not able to convert to AlmaLinux 8? Or it will just not able to retrieve the PHP 5.6 update from Plesk after upgraded? Thanks.
If my Plesk still using PHP 5.6, is it mean will not able to convert to AlmaLinux 8? Or it will just not able to retrieve the PHP 5.6 update from Plesk after upgraded?
After the bug is fixed, converting with PHP 5.6 should work well, and retrieving PHP 5.6 updates on AlmaLinux 8 should also be fine. However, as of now, we are not planning any PHP 5.6 updates. Unless there are exceptional circumstances =)
The problem should be fixed by #331. I have attached an archive with the fixed build of the tool: centos2alma.zip
To continue with the conversion, you need to manually insert the removed repositories into /etc/yum.repo.d/plesk.repo:
[PLESK_17_PHP56]
name=PHP 5.6
baseurl=https://autoinstall.plesk.com/PHP56_17/dist-rpm-RedHat-el8-x86_64/
enabled=1
gpgcheck=1
[PLESK_17_PHP70]
name=PHP 7.0
baseurl=http://autoinstall.plesk.com/PHP70_17/dist-rpm-RedHat-el8-x86_64/
enabled=1
gpgcheck=1
and resume centos2alma once again.
Thanks for update, I have tried to follow the instruction but found the repositories not able to access, can you help to check?
http://psabr.aws.plesk.tech/stable/PHP56_17/dist-rpm-RedHat-el8-x86_64/repodata/repomd.xml
http://psabr.aws.plesk.tech/stable/PHP70_17/dist-rpm-RedHat-el8-x86_64/repodata/repomd.xml
Sorry, it looks like I provided the wrong links. The URLs should be:
I believe we can close this issue. Feel free to reopen it if you have any related question
Describe the bug My server has been installed with PHP 5.6, and after upgrade to AlmaLinux 8 and execute
centos2alma --resume
, the following error occur:2024-08-14 23:04:28,650 - INFO - Error: 2024-08-14 23:04:28,650 - INFO - Problem: package plesk-php56-imagick-3.1.2-centos7.21111012.x86_64 from @System requires libMagickCore-6.Q16.so.6()(64bit), but none of the providers can be installed 2024-08-14 23:04:28,650 - INFO - - package plesk-php56-imagick-3.1.2-centos7.21111012.x86_64 from @System requires libMagickWand-6.Q16.so.6()(64bit), but none of the providers can be installed 2024-08-14 23:04:28,650 - INFO - - cannot install both ImageMagick-libs-6.9.13.14-1.el8.x86_64 from epel and ImageMagick-libs-6.9.10.86-1.el8.x86_64 from @System 2024-08-14 23:04:28,650 - INFO - - cannot install both ImageMagick-libs-6.9.10.86-1.el8.x86_64 from alma-alma-alma-alma-alma-alma-PLESK_17_PHP73 and ImageMagick-libs-6.9.13.14-1.el8.x86_64 from epel 2024-08-14 23:04:28,650 - INFO - - cannot install the best update candidate for package ImageMagick-libs-6.9.10.86-1.el8.x86_64 2024-08-14 23:04:28,650 - INFO - - problem with installed package plesk-php56-imagick-3.1.2-centos7.21111012.x86_64 2024-08-14 23:04:28,651 - INFO - (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) 2024-08-14 23:04:28,702 - ERROR - Command ['/usr/bin/dnf', '-y', 'update'] failed with return code 1 2024-08-14 23:04:28,702 - ERROR - Failed: adopting repositories. The reason: Command '['/usr/bin/dnf', '-y', 'update']' returned non-zero exit status 1.
Feedback archive Please attach a feedback archive to the bug report. You could create it by calling
centos2alma --prepare-feedback
. The archive will help us investigate the problem better and faster.centos2alma_feedback.zip