-
Notifications
You must be signed in to change notification settings - Fork 124
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
java.io.FileNotFoundException: /sonatype-work/nexus.lock (Permission denied) #5
Comments
Same issue +1 |
UPD: I'm runnung it in docker container so this workaround actually worked for me https://stackoverflow.com/questions/36405434/sonatype-nexus-docker-volume-error |
Docker Version
Docker info
Error Messages
self-define docker-compose yml
temporary solution
Volume labels
|
I have created the following volume with cockpit |
We saw java errors and overcame them with the following: For us, running on OpenShift, we got it working by using:
(And then had to ensure our serviceAccount was permitted to use this ID via the appropriate SCC). We also tried using 'fsGroup: 2000', however we got errors in the logs:
|
I've got similar issue this week and the solution where to run 'chown -R nexus:nexus' for the data folder. Seems that something changed the owner of one or more files to be root or different than 'nexus' |
Hi Yoram
I'll try this out next time I'm in that space.
Thanks
Glenn
…On Tue, 26 Jan 2021 at 16:41, Yoram Michaeli ***@***.***> wrote:
I've got similar issue this week and the solution where to run 'chown -R
nexus:nexus' for the data folder. Seems that something changed the owner of
one or more files to be root or different than 'nexus'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA5ROANWX7F6ZE7EVNU62ZLS3Z52HANCNFSM4DI4JU6A>
.
|
Commands used
where
Error
The text was updated successfully, but these errors were encountered: