how to migrate from paper to vanilla on docker minecraft server ubuntu linux

I've had lots of questions lately, and I'm trying to change my minecraft server version to 1.21, and am trying to migrate from paper to vanilla. I'm on this step and can't copy DIM-1 to the /world file
No description
35 Replies
Admincraft Meta
Admincraft Meta10mo ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by josiewosie99#0
Discount Milk
Discount Milk10mo ago
I can't copy
Why?
JosieWosie99
JosieWosie99OP10mo ago
sorry, for the lack of details, but when I run the cp command, it gives me this cp: cannot stat '/world_nether/DIM-1': No such file or directory
Discount Milk
Discount Milk10mo ago
Does that folder/file exist?
JosieWosie99
JosieWosie99OP10mo ago
ofc it exists, I literally pathed from home to that file, and it would give me that error message
Discount Milk
Discount Milk10mo ago
Send a screenshot of what you're looking at
JosieWosie99
JosieWosie99OP10mo ago
Desktop Documents Downloads duckdns-docker mc-docker minecraft Music Pictures Public snap Templates Videos root@joseph-GL753VE:/home/joseph# cd mc-docker root@joseph-GL753VE:/home/joseph/mc-docker# cd mcserver root@joseph-GL753VE:/home/joseph/mc-docker/mcserver# ls banned-ips.json commands.yml libraries plugins version_history.json world_nether banned-players.json config logs server.properties versions world_the_end bukkit.yml eula.txt ops.json spigot.yml whitelist.json cache help.yml permissions.yml usercache.json world root@joseph-GL753VE:/home/joseph/mc-docker/mcserver# cp -r /world_nether/DIM-1 /world cp: cannot stat '/world_nether/DIM-1': No such file or directory root@joseph-GL753VE:/home/joseph/mc-docker/mcserver# cd world_nether root@joseph-GL753VE:/home/joseph/mc-docker/mcserver/world_nether# ls DIM-1 level.dat level.dat_old paper-world.yml session.lock uid.dat root@joseph-GL753VE:/home/joseph/mc-docker/mcserver/world_nether# cp /DIM-1 /world cp: cannot stat '/DIM-1': No such file or directory root@joseph-GL753VE:/home/joseph/mc-docker/mcserver/world_nether# cp /mc-docker/mcserver/world_nether/DIM-1/ /mc-docker/mcserver/world/ cp: cannot stat '/mc-docker/mcserver/world_nether/DIM-1/': No such file or directory root@joseph-GL753VE:/home/joseph/mc-docker/mcserver/world_nether# cp /home/joseph/mc-docker/mcserver/world_nether/DIM-1/ /home/joseph/mc-docker/mcserver/world cp: -r not specified; omitting directory '/home/joseph/mc-docker/mcserver/world_nether/DIM-1/' root@joseph-GL753VE:/home/joseph/mc-docker/mcserver/world_nether# cp -recursive /home/joseph/mc-docker/mcserver/world_ne ther/DIM-1/ /home/joseph/mc-docker/mcserver/world
Skullians
Skullians10mo ago
uh output the contents of world_nether
JosieWosie99
JosieWosie99OP10mo ago
?
Skullians
Skullians10mo ago
cd into world_nether and ls
JosieWosie99
JosieWosie99OP10mo ago
k root@joseph-GL753VE:/home/joseph/mc-docker/mcserver/world_nether# ls DIM-1 level.dat level.dat_old paper-world.yml session.lock uid.dat
Skullians
Skullians10mo ago
try do cp -r /world_nether/DIM-1/ /world/
JosieWosie99
JosieWosie99OP10mo ago
I get this error message cp: cannot stat '/world_nether/DIM-1/': No such file or directory
Skullians
Skullians10mo ago
you are executing it from the root server dir and not inside the world_nether dir right?
JosieWosie99
JosieWosie99OP10mo ago
oh, so I have to be in the mcserver directory, right?
Skullians
Skullians10mo ago
yeah
JosieWosie99
JosieWosie99OP10mo ago
cp: cannot stat '/world_nether/DIM-1/': No such file or directory same thing @Skullians you figured anything out?
SilentBot
SilentBot10mo ago
Remove the / on world_nether and world and it should work. e.g. cp -r world_nether/DIM-1/ world/
ProGamingDk
ProGamingDk10mo ago
without / its relative to your current folder with / it starts at /
JosieWosie99
JosieWosie99OP10mo ago
ty, this worked
Skullians
Skullians10mo ago
and I thought I knew Linux :OMEGALUL: tab moment
JosieWosie99
JosieWosie99OP10mo ago
do you guys know how to download the server jar into my minecraft server? I downloaded it on my server
SilentBot
SilentBot10mo ago
You can docker cp files into the container, or just redownload it inside the container using wget
JosieWosie99
JosieWosie99OP10mo ago
how do I copy files into the container?
SilentBot
SilentBot10mo ago
docker cp file.name containername:/path/to/file.name Replacing file name with your value, containername with the id or name of the container And /path/to/ with where inside the container you want the file
JosieWosie99
JosieWosie99OP10mo ago
root@joseph-GL753VE:/home/joseph# ls Desktop Documents Downloads duckdns-docker mc-docker minecraft Music Pictures Public snap Templates Videos root@joseph-GL753VE:/home/joseph# cd mc-docker root@joseph-GL753VE:/home/joseph/mc-docker# cd mcserver root@joseph-GL753VE:/home/joseph/mc-docker/mcserver# ls banned-ips.json cache eula.txt logs plugins usercache.json whitelist.json banned-players.json commands.yml help.yml ops.json server.properties version_history.json world bukkit.yml config libraries permissions.yml spigot.yml versions root@joseph-GL753VE:/home/joseph/mc-docker/mcserver# cd configs bash: cd: configs: No such file or directory root@joseph-GL753VE:/home/joseph/mc-docker/mcserver# cp -r Downloads/server.jar mcserver/versions/ cp: cannot stat 'Downloads/server.jar': No such file or directory root@joseph-GL753VE:/home/joseph/mc-docker/mcserver# cd/home/joseph bash: cd/home/joseph: No such file or directory root@joseph-GL753VE:/home/joseph/mc-docker/mcserver# docker cp server.jar mc-docker:/mcserver/versions/ lstat /home/joseph/mc-docker/mcserver/server.jar: no such file or directory here's what I'm seeing it gives me this error lstat /home/joseph/mc-docker/mcserver/server.jar: no such file or directory
DogeConomy
DogeConomy10mo ago
That’s for absolute file paths fyi I.e it’s like selecting items straight from the c drive directory Nvm didn’t read the whole thing, progaming explained it already
ProGamingDk
ProGamingDk10mo ago
Kek
CtrlAltDelMe
CtrlAltDelMe10mo ago
Why Why would you do that Just wait for paper 1.21 And use via[whatever]
Torrent
Torrent10mo ago
is it even out? New viaversion build has not been released at least as of an hour ago when i checked
CtrlAltDelMe
CtrlAltDelMe10mo ago
For 1.20.6 you can get viaversions and via backwards so all clients can connect
Torrent
Torrent10mo ago
Again, the new build of via is not out
CtrlAltDelMe
CtrlAltDelMe10mo ago
Really?
CtrlAltDelMe
CtrlAltDelMe10mo ago
Modrinth
ViaVersion - Versions
Download and browse 395 ViaVersion versions. 158.3k total downloads. Last updated Jun 14, 2024.
Torrent
Torrent10mo ago
Well I stand corrected, because I only get it from hangar where the official non-alpha builds are updated Didn’t think to check modrinth

Did you find this page helpful?