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

Upgrade guide: the current release's snapshot must exist in the new name and format

Đang mở Phù hợp với người mới
#211 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
80/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, go, shell
Lĩnh vực
cli, devops, documentation

Hướng nghiên cứu

Issue này trỏ đến hướng dẫn nâng cấp tại guides/upgrade-to-onebox-names. Đọc hướng dẫn đó để hiểu bước 5 và ngữ cảnh xung quanh. Bản sửa lỗi liên quan đến việc thêm một bước để sao chép tệp ob.yml đã chuyển đổi (định dạng v1alpha1) vào thư mục phát hành dưới dạng onebox.snapshot.yml. Xác minh thay đổi bằng cách kiểm tra git diff của commit phát hành cho ob.yml. Sau khi chỉnh sửa hướng dẫn, hãy chạy bất kỳ bài kiểm tra tài liệu nào hoặc xem trước các thay đổi cục bộ.

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

Mô tả

bug

Problem

After following guides/upgrade-to-onebox-names, the first ob deploy refuses during planning:

read live secret generation: deploy planning refused: release <current> snapshot unavailable (exit 1):
cat: /var/lib/onebox/app/releases/<current>/onebox.snapshot.yml: No such file or directory

Deploy planning reads the current release's snapshot to find which workloads carry secrets. The release was written by an earlier version as ob.snapshot.yml, in the onebox.run/v1 format this version cannot read, and the guide's step 5 moves the directory but leaves the snapshot as it was.

Found migrating the goal production host. ob bootstrap passed; only the deploy stopped, with the application down.

Workaround used

Copy the project's converted v1alpha1 ob.yml into the current release as onebox.snapshot.yml, keeping ob.snapshot.yml. This is correct only when the converted file describes that release: confirm with git diff <release commit> -- ob.yml that nothing but comments differs.

Fix

Add that step to the guide after step 5, before ob bootstrap, and say that the project file must be converted to v1alpha1 before the host is moved.

Ngôn ngữ chính
Go
Star
3
Fork
0
Merge trung bình
3 giờ 10 phút
Pull request đã merge (30 ngày)
39

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

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 labstack/onebox

Tất cả issue của labstack/onebox

Issue tương tự

Thêm issue về Go

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.