HomarrH
Homarr9mo ago
11 replies
Vadej

Deploying in Helm - PVC/PV Error

I'm running into an issue where when I deploy with persistent volumes, I get an upgrade failed error. I'm relatively new to K3s but despite despearate searching, I can't find anyone else that is running into this issue. The pod deploys cleanly and works perfectly without the persistence block, but I need to not lose my dashboards and data every time the server, vm, or pod needs to be restarted. Please help, I'm sure I'm missing something simple.

Here's the error:

Error: UPGRADE FAILED: failed to create resource: Deployment.apps "homarr" is invalid: [spec.template.spec.containers[0].volumeMounts[0].name: Not found: "homarr-database", spec.template.spec.containers[0].volumeMounts[1].name: Not found: "homarr-images", spec.template.spec.initContainers[0].volumeMounts[0].name: Not found: "homarr-images"]

And my persistence block screenshot attached.
image.png
Solution
GitHub
Chart Version 1.25.0 Bug Description I reported this in Discord and they recommended I post it here. Copy and pasting below: I'm running into an issue where when I deploy with persistent volume...
bug: · Issue #126 · homarr-labs/charts
Was this page helpful?