Trying to deploy with helm
Hey, I am trying to deploy homarr with helm but the only output from the container I get is
sh: 0: cannot open ./scripts/run.sh: No such file
. Could someone help me understand what the purpose of this file is so I can figure out how to fix it? My config is public and visible here: https://github.com/Tanguille/cluster/tree/main/kubernetes/apps/default/homarrGitHub
cluster/kubernetes/apps/default/homarr at main Β· Tanguille/cluster
My home k8s cluster GitOps repository. Contribute to Tanguille/cluster development by creating an account on GitHub.
42 Replies
Thank you for submitting a support request.
Depending on the volume of requests, our team should get in contact with you shortly.
β οΈ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
β Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
@odah can you take a look at this?
Hello @Tangenius
could u please use this repository as a HelmRepository :
https://artifacthub.io/packages/helm/oben01/homarr
This chart is maintained by us.
please let me know if u face an issue with it
homarr 1.3.3 Β· oben01/oben01
A Helm chart to deploy homarr for Kubernetes
Thanks I'll look into it!
It seems like I'm always getting these errors, whether I configure them or not in values.
The values of the helm Repository are not correct. You need to remove the extra controllers.homarrβ¦. The values are not in bjw-s format
All values are listed here https://github.com/oben01/charts/blob/main/charts/homarr/values.yaml
GitHub
charts/charts/homarr/values.yaml at main Β· oben01/charts
Contribute to oben01/charts development by creating an account on GitHub.
Here is an example. you need to put the correct storageClassName
Thanks for the personalized example π
I seem to keep getting the exact same mapping issues using this exact helmrelease π€
Specifically about the probes
I can maybe try to overwrite them later
@Tangenius I just pushed a release with a fix. could u upgrade the version of the chart from 1.3.3 to 1.3.4. Let me know if it's working for u
don't forget to update your ingress like this :
`
Thanks for all the efforts π I'll be able to test it in a few hours
No worries π
I'll also test dashdot if I get it working
There is an integration with Homarr for Dashdot and i also maintened the chart π
Indeed that's why I'm mentioning it, it's perfect. I'm migrating from truecharts
i just want to mentionned that u also need to change storageClassName with yours π
Sounds great π
Yes I think my previous storage setup was fine but just wanted to make sure that didn't cause the marshalling errors, altho unlikely
FYI we are building a new chart for the new Homarr https://github.com/homarr-labs/charts/pull/2 it's not a production ready. don't hesitate to give us feedbacks if u tested.
For homarr v1?
Btw do you know if I could use a configmap to have my homarr config more declarable? It looked easily human editable but I fear this wouldn't work since the pods needs to be able to update it
It would be a good improvement but for homarr v1 we use a database (it is included by the chart as a dependency) i donβt thing that iβll do it
sqlite
?We support mysql
Your fix seems to work. Now fumbling with the persistence a bit but should be able to figure it out
Or not. I'm now stuck at
I tried like this: and this
It should all run in the same pvc right?
I'm sorry to be taking so much effort from you with my specific setup
Ah wait I get it the one pvc needs to be called
homarr-config
instead of config
right?ExistingClaim does not exist in our chart
Whatβs u default storageClass ?!
kubectl get storageclass
after that use the default storageClass name as the following :
storageClassName value should be changed
persistence:
- name: homarr-config
# -- Enable homarr-config persistent storage
enabled: true
# -- homarr-config storage class name
storageClassName: "local-path"
# -- homarr-config access mode
accessMode: "ReadWriteOnce"
# -- homarr-config storage size
size: "50Mi"
# -- homarr-config mount path inside the pod
mountPath: "/app/data/configs"
- name: homarr-database
# -- Enable homarr-database persistent storage
enabled: true
# -- homarr-database storage class name
storageClassName: "local-path"
# -- homarr-database access mode
accessMode: "ReadWriteOnce"
# -- homarr-database storage size
size: "50Mi"
# -- homarr-database mount path inside the pod
mountPath: "/app/database"
No worries Happy helming π
by the way i have almost the same setup. am having a custom templates inspired by onedr0p/cluster-template
@Tangenius i just updated my answer for the persistenceSolution
here is an updated file
I use hostpath only for volsync cache. I'm not sure how to setup volsync without this template yet unfortunately but that's fine for now I can figure it out later
Oh nice but not public?
Here u go i just updated the storageClass
It's not public for now
Alright it seems to have deployed successfully, will try restoring data now π
Good news π u can put u ticket to resolved please ?
Yes thanks for the help!
Here is a bonus to inspect u persistence volume https://frank.sauerburger.io/2021/12/01/inspect-k8s-pvc.html
Frank Sauerburger
Inspect a Kubernetes PersistentVolumeClaim
Accessing a persistent volume in Kubernetes is often necessary to debug a deployment. This articles shows a easy solution.
Euh I can't seem to be able to figure out how to do that. I don't see solved between the tags π
Looks nice indeed thanks
I think it's still not 100% solved. It seems like if I restart the pod my db doesn't persist because I have to create a user again but my dashboard which I managed to restore stays.
Gonna try changing storageClass
GitHub
"Start update process" screen shows every time a pod is deleted Β· I...
Chart Name Homarr Chart Version homarr-1.2.5 Bug Description When a pod gets deleted (and a new pod is created) - Homarr keeps initially showing the "Start update process", which includes...
Try adding
env:
DEFAULT_COLOR_SCHEME: dark
DATABASE_URL: file:/app/database/db.sqlite
Ah I read that but I thought it was if you wanted to use it with lldap seperately. So if I provide these values I don't need the db anymore?
U still need the persistence
I will try this first then
Add it and let me know
If it fix the issue Iβll release a new version with this values us default
The env variable fixed it π
Seems like I'm fully setup now. Will do dashdot when I have some more spare time
π
you can update your chart version to v 1.3.5 and remove the variable from u configuration π
GitHub
Release homarr-1.3.5 Β· oben01/charts
A Helm chart to deploy homarr for Kubernetes
Full Changelog: homarr-1.3.4...homarr-1.3.5