jfrog / charts

JFrog official Helm Charts
https://jfrog.com/integration/helm-repository/
Apache License 2.0
254 stars 439 forks source link

Cannot write to /opt/jfrog/artifactory/app/artifactory/tomcat/conf - Read-only file system #1810

Closed ajcontrib closed 10 months ago

ajcontrib commented 1 year ago

Artifactory installed from official helm chart is not running due to a unwritable directory issue IMG-3347 IMG-3348 IMG-3349

Is this a request for help?: Yes

Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT

Version of Helm and Kubernetes: 107.35.2

Which chart: artifactory

Which product license (Enterprise/Pro/oss):

JFrog support reference (if already raised with support team):

What happened: Artifactory is not running on kubernetes

What you expected to happen: Artifactory UP and running.

How to reproduce it (as minimally and precisely as possible): install helm chart with mentioned version and default values.

Anything else we need to know: Our kubernetes clusters prevent apps from writing on filesystem

shahiinn commented 1 year ago

@ajcontrib : I could see you are using an old version of chart and the application version is soon to reach EOL. Can you try to use the latest version of the chart and let us know if the issue persist.

ajcontrib commented 1 year ago

@shahiinn thanks for the hint, it has actually disapeared with the latest helm chart version but a new one with the same nature has appeared: /opt/jfrog/router/app/bin/entrypoint-router.sh: line 111: /opt/jfrog/router/app/router/router.pid: Read-only file system

oumkale commented 1 year ago

Hi @ajcontrib, Are you running into an issue or it's just an observation?

ajcontrib commented 1 year ago

Hi @oumkale yes we are running into an issue using the latest helm chart version of artifactory

oumkale commented 1 year ago

Please can you share logs and values.yaml ?

ajcontrib commented 10 months ago

resolved by adding an emptyDir volume and an init-container that copies the original content of the tomcat directory into that volume and mount it back in the main container artifactory