System Information
Field |
Value |
Operating System |
Linux - Debian GNU/Linux 11 on x86_64 |
Product |
AMP ‘Decadeus’ v2.4.6.6 (Mainline) |
Virtualization |
QEMU_KVM |
Application |
Application Deployment |
Module |
ADSModule |
Running in Container |
No |
Current State |
Indeterminate |
Problem Description
Issue
When i put a map into the server I always got problems like this:
java.nio.file.AccessDeniedException: ./Venezuela/session.lock
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:90) ~[?:?] {}
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) ~[?:?] {}
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[?:?] {}
Reproduction Steps
- upload a map with fillezile
- start server
- error
Did you use the instance’s proper SFTP port, or did you do it as root on port 22?
I use the SFTP port for connect in filezilla and them i put the map correctly in the folder.
Great, was just double checking.
Other cause could be that the world/server was active when you saved the map, I would suggest closing the world first, then try uploading it again.
No, Im starting new server from 0, i just intalled the forge versio 1.20 I close it, and them put the map for start again, and i got that error message, with all the maps i put…
The maps have something like mods type of versions? Maybe that could be? I dont get it.
Possible? Depends on the map creator.
The session.lock
exists inside every world file, so if the map was saved while the world was active, the session.lock
will prevent the world from being used. (normally to prevent two MC clients/servers from using the same world at the same time in the filesystem, cause that would cause data corruption)