How do i get rid of a lag machine
Just for future reference because i know there will be a day when someone decides to build one. What plugins and tools do I need as a self hosting server owner to get my server back up and running?💀
106 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 toil_ette#0
It depends, is it network lag or framerate drops?
mcedit
to remove it
TPS lag, like a redstone dust and repeater lag machine.
How would I know where it is?
well crash reports usually say if it freezes the server
But do those crash reports include positions?
yes
most of the time*
okay. Maybe a log plugin to see which players place down blocks and their positions?
coreprotect
That doesnt support 1.20 without a subscription apparently so that sucks
so any alternatives?
it works without a subscription but not with the best support *for 1.20
i heard about logblock but it uses mysql which im clueless about
it does?
ill have to try
do u use a host_
also i heard about spark to measure server performance. Is that good?
yes
no, i self host on my home internet
pterodactyl
what is that?
its a free panel most use
oh neat
has mysql database host feature u can add?*
ive been using autoplug for server updates
so its very easy to make new ones
god no
please no
AutoUpdating is not a good idea.
?
I never heard of that being a bad thing
Can you elaborate?
|every single person who knows what they are talking about knows autoupdating is a bad idea|
way less secure, can causes bugs, issues etc
just not good in general
i guess i can see bugs and issues but how is it insecure?
i would have thought using older versions would be worse
if a critical bug is accidentally added in a new version
imagine right plugin dev gets hacked or decides to upload malware
that would be a problem
older versions may be better
true i guess like the recent curseforge incident
never considered that
but its mostly for geyser because that always has to be up to date and its a pain
especially to install plugin updates cuz i have to use a command to transfer files over the network its a mess lol
malware is more of a pain
true
but it seems like pterodactl can make that easier?
yeah
management of servers through pterodactyl is extremely easy
cant believe i never heard of it
ill do some research
its a bit more technical to do
How does it work? Is it like a plugin or like a bootstrapper
no
or what if you decide to stick on an old version and the dev decides to drop support for older versions to not bloat file size
its an external program/webhost
you heard of multicraft before?
nope
damn
have you ever used a host
like aternos
yea
so it makes a web interface like that?
yeah
then i guess i dont understand how it works
pterodactyl is the current industry standard for those
like does it boot up as the server starts or do i need to start it seperately
its always on
oh okay
unless you shut it down
fair
you use it to turn your servers on and off
and see the status
lemme look into it
and upload files and such
oh boy looks like a project to install lol\
that it is
if you want one thats not a project to install i would reccomend AMP
paid
and limited number of servers
but its a 1 liner then some questions and then a small bit of web gui
but it looks like pterodactl has all the commands i need outlined for me
and it looks like those commands work with my os
so ill see
it only is supported on linux
all the commands are fairly straightforward
man though i gotta be honest i dont understand like 90% of pterodactl's setup lol
AMP looks pretty good and the 1 time 10 dollar price tag is pretty cheap
god forbid another subscription service
pterodactyl is better
you can install just by reading through what they have but its up to you
yea but it seems like i have to make another user for pt and do a lot of stuff there but the server is on a different user i think it would honestly be a mess
i just dont understand it
at all
You don't have to make a user
it said in the documentation it needs an admin user and i think the one i got for my server is an admin so ok
idk im just confused and amp seems easier
amp is easier to install
not sure if it has easy mysql databases
tho
god even the easy pterodactl install script is making my brain melt lol
Okay i think i wrapped my head around it does anybody know how to make it compatible with an existing server instead of making a new one?
for pterodactyl?
u just move ur files into the folder
Yes
after you set up ptero
you create a server
then you delete the files it has and move your own in
Okay so i make a backup of the server's folder and install ptero and then drop that backup in?
basically
Ok
/var/lib/pterodactyl/volumes/(server-id of newly created server)
Ill try i guess
Just to be clear pterodactyl doesnt need me to make a new user account on the linux computer?
I can use my existing one
yes
to install you need to be using an account that has root permissions
Does not. It has a GUI for working with existing MySQL databases, but it does not have MySQL built-in. If you are setting up Pterodactyl, you need to know what you are doing. It is quite advanced for someone self-hosting
wrong
they have a good guide to setting up a database host in the panel
and then its 2 clicks to create a mysql database
from within the panel
Setting up MySQL | Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
Yes, I'm looking right at it. However, you cannot create a MySQL database. You can create tables and stuff within existing databases, but you cannot just spin up a whole MySQL instance. That's literally why you have to set up MySQL from scratch
https://pterodactyl.io/tutorials/mysql_setup.html
Setting up MySQL | Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
i think we are mis understanding eachother
and the usecase
for mc in this case
So i tried to install Pterodactyl using the install script but it just says that issues will occur with anything other than x86 architectures (i have aarm64)
so that sucks
manually install it
the script removes all support from the official discord
man honestly i think id rather just shell out the 10 bucks for amp rather than going through all this 💀
does amp have a file explorer that i can drag and drop files in?
thats what i care about the most
I think the term "Database" is ambiguous. MySQL is a database system. A MySQL instance can contain multiple databases, aka groups of tables. You must configure a MySQL instance yourself prior to setting up Pterodatcyl. From there, Pterodactyl can create tables and such, but cannot create databases itself. In the setup guide, it literally states you must create the database yourself, then grant access to the Pterodactyl user through the command line before Pterodactyl can do any sort of modification
.
![No description](https://cdn.answeroverflow.com/1130331664116093018/image.png)
i also still do not understand mysql
and that sucks cuz i need it for a plugin lol
¯\_(ツ)_/¯
going off its own usage of the word "Database"
that pterodactyl created
Again, MySQL is a database system. You have a host, s1_jpremium, which Pterodatcyl can create additional databases on. Pterodactyl does not spin up database instances on its own
but uh yea can any of you confirm if the manual installation for pterodactyl works for raspberry pi os?
the headless version
thats never what i said it does tho
You did ^
its mysql and is a database host
its based off of debian which is the same as ubuntu so id imagine
man your overthinking this way to much lmao
Yeah, I'm done. I work with Databases for a living, so I'm just gonna stop trying to explain lol
ok then define what would u call it then
at this point im just curious
MySQL is a database management system. It manages databases of the same name. That's why I think the term "Database" is ambigious. Because a MySQL instance, or database, contains databases itself, which is horribly ambiguous. Unlike something like Microsoft SQL Server where a SQL Server instance contains databases. SQL Server is not referred to as a database, unlike MySQL which is both the management tool and database type/name/whatever you want to call it
GitHub
Build software better, together
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 330 million projects.
The same issue applies to things like Cockroach DB, Mongo DB, MariaDB, etc. where the name of the management system includes "DB" in the name, making people think that it, itself, is the DB instead of the actual DBs those tools manage
feel free to add that mention here
It does yes, it also has a built in SFTP server that just uses your AMP login details rather than needing to mess around with the system
Also if you want to run it on a Pi, you can still run certain x86 apps like Factorio or the official Bedrock server
doesnt it use Box or whatever or am i misremembering
i dont remember the name
Box64/Box86 yes - the trick of course is making it transparent so you don't see what's going on
It used to use QEMU User-mode emulation, but that doesn't work well enough for enough applications
Box64/86 it has to compile from source for your platform
How do you know you have it? :FrogeBIGEYES:
I was saying for a future scenario