Paper Server crashes without any plugins
Details:
server.jar: paper-1.21.1-132.jar
Plugins: None
Logs: https://drive.google.com/drive/folders/1g2gUwgkRS-LAK574iMKl5s6T_NgpUHoN?usp=sharing
Latest.log: https://drive.google.com/file/d/1ZbT1rE2nYLaiFanok_ESdXKjRGCJBkvy/view?usp=drive_link
Crash Reports: https://drive.google.com/drive/folders/1YIPq2iryjmyGbCchvaEUp8G8e0VgGkFM?usp=sharing
Note (although offline-mode isn't supported, this is a backend server and is in offline-mode for velocity to work).
55 Replies
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 .sans_nom#0
" Removed feature flags:
Level was modded: true"
JVM Flags: 2 total; -Xms128M -Xmx2048M
CraftBukkit Information:
BrandInfo: Paper (papermc:paper) version 1.21.1-131-ver/1.21.1@84281ce (2024-10-31T17:43:44Z)
Running: Paper version 1.21.1-131-84281ce (MC: 1.21.1) (Implementing API version 1.21.1-R0.1-SNAPSHOT) false
Plugins: { ViaVersion v5.1.1 com.viaversion.viaversion.ViaVersionPlugin [_MylesC, creeper123123321, Gerrygames, kennytv, Matsv, EnZaXD, RK_01], FastAsyncWorldEdit v2.12.1-SNAPSHOT-961;eb0f07a com.sk89q.worldedit.bukkit.WorldEditPlugin [Empire92, MattBDev, IronApollo, dordsor21, NotMyFault], L
both crash reports are with plugins
your host also implants plugins into your server lol
previously, the server crashed with plugins, I removed plugins, crash still happens
send a crash report without plugins
the latest.log has no crash in it, both crash reports have plugins
Current latest.log with crash (doesn't generate a crash report), but server times out for players:
https://mclo.gs/6i6eAp8
wouldnt be surprised your world is bad
try renaming the world folders
and let it regenerate
(while server is off)
Alright, I'll rename the current world folder, and retry. Hopefully no more crashes.
also do you have either a firewall or velocity modern forwarding configured
also fix your proxy
firewall doesnt matter in this case
well, even with a firewall it would still be uuidv3
i mean it does if his backend servers are insecure
his proxy is insecure
i know
which means a firewall wouldnt help, both yes, but just firewall wouldnt
modern forwarding would aswell
i know
i was purely asking regarding backend security
Not yet, I haven't configured it to use velocity, I will link it to velocity on release, and use modern auth
Also
the issue was corrupt world files the server is working fine now.
I will import the world folder from a backup and re-add plugins.
Thank you for your help!
np!
did you migrate it from forge/fabric?
No, one of the former network devs reloaded the server, after that, the server just kept crashing.
I've since modified commands.yml file on all my servers so that reloading is no longer possible.
a network dev... reloaded the server?
thats like server 101
He was a new hire.
does reload even impact worlds
Why it wouldn't
The reload didn't finish succesfully because of some of the plugins, and that's the first crash report I think.
So, normally reloading shouldn't corrupt world files, however, in this case it did because one of the plugins didn't reload properly and crashed the server, that's my opinion on what might have happened.
theres def plenty of plugins that just die if you reload server but them crashing the entire server is really something
because how the fuck could it lol
if the worlds got reloaded on reload where the hell would the player be while server is reloading
Ik world doesn't reload but if a plugin interacts with world data couldn't it break
it would likely have to be a server crash like in this circumstance to break
since plugins should only ever modify the world synchronously it shouldnt be possible for it to modify a block at same time as server reload
and that would apply to anything modifying the world files, not just a plugin modifying world data
FastAsyncWorldEdit was installed
💀
I heard that plugin sometimes does funky things
fastasyncworldedit doesnt modify world async
What it does is operating off the main thread ig
no
at least not modifying blocks
I meant out of the main thread kek
still false
No? That's the thing of async
fastasyncworldedit isnt very async
Damn lies 😔
what it does is it batches the larger job into a bunch of smaller parts
Minecraft world data I/O is safer than I expected
and spreads those parts out over time
so while you try and /set a 200x200 cube to obsidian or whatever
FAWE batches those into a ton of individual 10x10 parts and only does one part at a time
Then it's not async it's just work spread
yes
FAWE do be known for the occasional catastrophic race condition that nukes data, though.
FastSpreadWorldEdit
sometimes it can do funky shit
This is what I was referring to kek
Yeah, I caught it. I was backing you up, lol.
they just call it async because most people dont understand how server works
and the word async makes monkey brain activate
It's like all of these Minecraft multithreading solutions
I always thought it was async 💀 bcs it's possible to make async things like webmaps
I mean, Folia and MultiPaper do what the tin says.
and both have their own faults
It's been experimental for years alr
Java be javaing
what does that even mean
Java development always seemed weird for me
It just looks so special compared to other languages 🤣 prob because Mojang's work is already quite clunky and my reference is from Minecraft
Closed post!
Your post has been marked as solved!
Requested by .sans_nom#0