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

Reload endpoint failing due to file permissions #1032

Open
jframe opened this issue Oct 21, 2024 · 0 comments
Open

Reload endpoint failing due to file permissions #1032

jframe opened this issue Oct 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jframe
Copy link
Contributor

jframe commented Oct 21, 2024

Web3Signer 24.6.0 reload endpoint fails with a 500 error.

This is the error from the logs:

2024-10-18 13:31:29.057    
io.vertx.core.file.FileSystemException: Unable to create folder at path 'file-uploads'


2024-10-18 13:31:29.057    
2024-10-18 11:31:29.056+00:00 | vert.x-eventloop-thread-0 | ERROR | LogErrorHandler | Failed request: http://signer.staking-client-sdx:9000/reload

2024-10-18 13:31:29.058    
2024-10-18 11:31:29.057+00:00 | vert.x-eventloop-thread-0 | ERROR | RoutingContext | Unhandled exception in router


2024-10-18 13:31:29.057    
    ... 72 more
2024-10-18 13:31:29.057    
    at io.vertx.core.file.impl.FileSystemImpl$12.perform(FileSystemImpl.java:940) ~[vertx-core-4.5.7.jar:4.5.7]
2024-10-18 13:31:29.057    
    at java.nio.file.Files.createDirectories(Unknown Source) ~[?:?]
2024-10-18 13:31:29.057    
    at java.nio.file.Files.createAndCheckIsDirectory(Unknown Source) ~[?:?]
2024-10-18 13:31:29.057    
    at java.nio.file.Files.createDirectory(Unknown Source) ~[?:?]
2024-10-18 13:31:29.057    
    at sun.nio.fs.UnixFileSystemProvider.createDirectory(Unknown Source) ~[?:?]
2024-10-18 13:31:29.057    
    at sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source) ~[?:?]
2024-10-18 13:31:29.057    
    at sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source) ~[?:?]
2024-10-18 13:31:29.057    
    at sun.nio.fs.UnixException.translateToIOException(Unknown Source) ~[?:?]
2024-10-18 13:31:29.057    
Caused by: java.nio.file.AccessDeniedException: /opt/web3signer/file-uploads
@jflo jflo added the bug Something isn't working label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants