Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Crashloopbackoff after update to 8.5.1

オープン
#797 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
helm, kubernetes

調査の方向性

まず、バージョン 8.5.0 と 8.5.1 の間で Helm chart に加えられた変更を比較し、次に Nextcloud のアップグレード中の pod ログと kubectl describe の出力を調べます。アップグレードが完了する前に liveness probe と readiness probe が実行されるか確認してください。8.5.1 へのアップグレードが CrashLoopBackOff なしで正常に開始すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Describe your Issue

After updating the chart from 8.5.0 to 8.5.1 the nextcloud pod won't successfully start.
It's entering a Crashloopbackoff-state.

Logs and Errors

The pods log itself states "Upgrading nextcloud from 32.0.0.13 ...."

kubectl describe pod nextcloud-6845ccd787-mrlbz returns this:

Normal   Scheduled  8m44s                  default-scheduler  Successfully assigned default/nextcloud-6845ccd787-mrlbz to bastet
Normal   Pulled     8m44s                  kubelet            Container image "quay.io/k8tz/k8tz:0.18.0" already present on machine
Normal   Created    8m44s                  kubelet            Created container: k8tz
Normal   Started    8m44s                  kubelet            Started container k8tz
Normal   Pulling    8m43s                  kubelet            Pulling image "nextcloud:32.0.1-apache"
Normal   Pulled     7m20s                  kubelet            Successfully pulled image "nextcloud:32.0.1-apache" in 1m22.692s (1m22.692s including waiting). Image size: 523993624 bytes.
Warning  Unhealthy  4m34s (x9 over 7m4s)   kubelet            Liveness probe failed: Get "http://10.42.1.195:80/status.php": dial tcp 10.42.1.195:80: connect: connection refused
Normal   Started    3m4s (x5 over 7m20s)   kubelet            Started container nextcloud
Normal   Killing    2m34s (x5 over 6m44s)  kubelet            Container nextcloud failed liveness probe, will be restarted
Normal   Created    2m4s (x6 over 7m20s)   kubelet            Created container: nextcloud
Warning  Unhealthy  2m4s (x32 over 7m8s)   kubelet            Readiness probe failed: Get "http://10.42.1.195:80/status.php": dial tcp 10.42.1.195:80: connect: connection refused
Normal   Pulled     2m4s (x5 over 6m13s)   kubelet            Container image "nextcloud:32.0.1-apache" already present on machine

I guess the upgrading isn't fast enough, so the liveness probe fails and therefore the pod gets restarted, which results in a loop. (hence Crashloopbackoff)

Describe your Environment

  • Kubernetes distribution: k3s

  • Helm Version (or App that manages helm): version.BuildInfo{Version:"v3.19.0", GitCommit:"3d8990f0836691f0229297773f3524598f46bda6", GitTreeState:"clean", GoVersion:"go1.24.6"}

  • Helm Chart Version: 8.5.1

  • values.yaml:

# paste your values.yaml (anonymize any sensitive data)

Additional context, if any

Not posting my values.yaml or other infos, since I think they're unnecessary.
Reverting back to 8.5.0 makes the nextcloud pod start up again.

Thx for your help & work.
If you need more info, please ask and I'll try provide it.

主要言語
Go Template
スター
536
フォーク
316
平均マージ
4日 16時間
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nextcloud/helm のほかの issue

nextcloud/helm の issue をすべて見る

似ている issue

DevOps の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。