Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Re-running after a failed convert fails: plesk utilities broken by removed conflicting packages (openssl11-libs, GeoIP)

Đang mở
#140 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux, python
Lĩnh vực
cli, devops

Hướng nghiên cứu

Start with the rerun path: the pre-check that calls plesk bin extension --list through list_installed_extensions(), which runs before the "Remove conflicting packages" stage. Reproducing it needs a Plesk server or a stubbed plesk binary that returns exit 127. Done means a rerun after that stage either restores the removed packages or stops early with a message pointing to --revert or --resume. The issue leaves the choice between those two open, so confirm the direction with a maintainer first.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Environment

  • cloudlinux7to8 v1.2.1
  • CloudLinux 7.9 (TuxCare ELS), Plesk Obsidian 18.0.81.3

Describe the bug
After a failure in the convert phase (see #139), the tool prints:

If you've resolved the issue manually, you can continue the process by running 'cloudlinux7to8' again.

Running ./cloudlinux7to8 again failed immediately, before reaching any conversion stage:

WARNING - Failed to get ssl configuration by plesk sslmng:
/usr/sbin/postconf: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
ERROR - cloudlinux7to8 process has failed. Error: Command '['/usr/sbin/plesk', 'bin', 'extension', '--list']' returned non-zero exit status 127.

The "Remove conflicting packages" stage of the first run had already removed openssl11-libs and GeoIP. On this server Plesk utilities depend on them (postconf needs libssl.so.1.1, named needs libGeoIP.so.1). The rerun calls plesk bin extension --list (list_installed_extensions()) before getting to that stage again, so it fails.

After manually reinstalling openssl11-libs, plesk bin extension --list still exited with 255 because named was missing libGeoIP.so.1 and the Plesk task manager socket was unavailable (Plesk services already stopped by the first run).

Expected behavior
Either restore the removed conflicting packages before running checks that use Plesk utilities, or tell the user to run --revert (or --resume) instead of a plain rerun.

Workaround
./cloudlinux7to8 --revert, then start the conversion again from scratch.

Ngôn ngữ chính
Python
Star
7
Fork
5
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của plesk/cloudlinux7to8

Tất cả issue của plesk/cloudlinux7to8

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.