Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ajcontrib opened this issue Aug 24, 2023 · 6 comments

Comments

@ajcontrib
Copy link

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
Copy link
Collaborator

@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
Copy link
Author

@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
Copy link
Member

oumkale commented Sep 4, 2023

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

@ajcontrib
Copy link
Author

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

@oumkale
Copy link
Member

oumkale commented Sep 5, 2023

Please can you share logs and values.yaml ?

@ajcontrib
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants