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

--resume after failed convert does not re-enable plesk-dist-upgrade-resume.service; finish phase not started

Đang mở
#145 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
Nửa ngày
Mức phù hợp với người mới
45/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, infrastructure

Hướng nghiên cứu

Start with the failure path that logs "Disable systemd 'plesk-dist-upgrade-resume.service' service after conversion failure" and the stage that logs "Prepare finishing systemd service", then compare how a normal run and a --resume run from "Repositories handling" reach them. Reproducing needs a test VM with a failed convert and resume.json set to that stage. Done means the resume service is enabled before the reboot after a --resume convert, or the failure path no longer disables it; the maintainer still has to choose between those two fixes.

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) -> CloudLinux 8.10, Plesk Obsidian 18.0.81.3

Describe the bug
The convert phase failed in leapp upgrade (transaction test, see #144). On failure the tool disables the resume service:

Disable systemd 'plesk-dist-upgrade-resume.service' service after conversion failure
Removed symlink /etc/systemd/system/multi-user.target.wants/plesk-dist-upgrade-resume.service.

After fixing the cause, I continued with ./cloudlinux7to8 --resume. resume.json had "stage": "Repositories handling", so the run continued from "Do convert": leapp upgrade succeeded, the server rebooted into the ELevate initramfs and came up as CloudLinux 8.10.

However, the finish phase never started. /var/log/plesk/cloudlinux7to8.log had no entries after the reboot, plesk-dist-upgrade-resume.service was still disabled, and resume.json showed "phase": "finish", "stage": null. The stage that enables the service ("Prepare finishing systemd service") runs before "Repositories handling", so it is skipped on --resume, and nothing re-enables the service that was disabled on failure.

The server was left on CloudLinux 8 with Plesk services stopped until the finish phase was started manually.

Expected behavior
When resuming the convert phase, make sure the resume service is enabled again before the reboot (regardless of the stage the run resumes from), or don't disable it on failures that can be resumed.

Workaround
After the reboot, run ./cloudlinux7to8 --resume manually. The finish phase then completed successfully.

Ngôn ngữ chính
Python
Star
7
Fork
5
Merge trung bình
11 phút
Pull request đã merge (30 ngày)
1

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.