You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I installed successfully verdaccio via the helm chart provided but I'm facing a E500 when I try to run addUser command via terminal.
Checking the pod logs I see: Error: EROFS: read-only file system, open '/verdaccio/storage/htpasswd'
I'm installing verdaccio as a subchart with these values:
Verdaccio is running correctly at https://verdaccio.my-monorepo.com using certificate from cert-manager.
I'm able to login on the UI with the verdaccio user defined in values above.
When I try to run addUser to add a user I get the error I mentioned above.
Checking the deployment.yaml template file of the chart I saw this:
I'm guessing if that readOnly:true can be the issue preventing to update the file and add new users.
That property seems not possible to overwrite via values but hardcoded on the code of the template.
Am I missing something?
I'm not that experienced with npm registry and htpasswd. Is there a way to retrieve from the verdaccio user used for the UI the token for the .npmrc file? So that I can use the same user for UI and on .npmrc for publishing packages?
In any case add multiple users to be used in verdaccio seems a must have feature. Any ideas how to solve?
Thanks!
The text was updated successfully, but these errors were encountered:
andreapigatto
changed the title
Read-only error when addUser
Read-only error on htpasswd file when addUser
May 1, 2024
Hi,
I installed successfully verdaccio via the helm chart provided but I'm facing a E500 when I try to run addUser command via terminal.
Checking the pod logs I see:
Error: EROFS: read-only file system, open '/verdaccio/storage/htpasswd'
I'm installing verdaccio as a subchart with these values:
Verdaccio is running correctly at https://verdaccio.my-monorepo.com using certificate from cert-manager.
I'm able to login on the UI with the verdaccio user defined in values above.
When I try to run addUser to add a user I get the error I mentioned above.
Checking the deployment.yaml template file of the chart I saw this:
I'm guessing if that
readOnly:true
can be the issue preventing to update the file and add new users.That property seems not possible to overwrite via values but hardcoded on the code of the template.
Am I missing something?
I'm not that experienced with npm registry and htpasswd. Is there a way to retrieve from the verdaccio user used for the UI the token for the .npmrc file? So that I can use the same user for UI and on .npmrc for publishing packages?
In any case add multiple users to be used in verdaccio seems a must have feature. Any ideas how to solve?
Thanks!
The text was updated successfully, but these errors were encountered: