Moving existing servers from MineOS to Pterodactyl
I'm working on moving my MC servers from MineOS to Pterodactyl. Am I able to easily move my existing servers to Pterodactyl? I can see where the game saves are in MineOS but not sure if I would need/want to copy all MC files, just the files from "servers" or "backups" folders, or create and copy "archives" (tgz files) for every server I want to move.
I'm just wiping the existing server and installing a fresh OS, so need to figure out what files I need before I can start testing with Pterodactyl.
41 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 9tt2#0
I'm not too familiar with MineOS,
however shutting down all of your servers, making a fresh backup on each of them, then copying over all the backups you've made should do the trick
Are your backups in like a zip or tgz? Asking becuase the "backup" directories in MineOS look the same as the "server" directories basically with an extra folder but nothing zipped for easy copy/paste. Archives in MineOS are a tgz file, but haven't opened one recently so not sure exactly their structure.
My backups from craftycontroller were in the
.zip
format, whilst my backups from Pelican Panel were in .tar.gz
yeah it's best to make sure to check to make sure you've got the right one before wipingI didn't see any docs on importing game to ptero, what file types does it accept or do you know if any documentation for that?
And I guess for now I'm just gonna create the tgz archives that MineOS has available in it's WebUI and then I should have all the files I need no matter what I need to do to import the games, hopefully.
you can upload tgz archives to the sftp server it runs (well any file technically)
but I'm 100% certain it can unzip those
just double check when you've saved the tgz files that they've got everything inside it
Ok, sounds good. and yeah I think I'm just gonna copy all the game folders, "servers","backups", and "archives", just in case. Hopefully the tgz files will be all I need, but if theyre missing something I can just manually zip the servers myself.
So how do I upload either a fresh server pack or a server backup to ptero? I guess I'll start with a new MC server. I have two servers I was looking at setting up, one that comes with a "server pack" file and one that doesn't. How would I get those working on Ptero?
@9tt2 this is what I meant by checking the backup files to make sure they work
Well my most recent post I'm asking about a new server pack, one that's never been started before. Just making sure we're on the same page.
A Link would be nice (on mobile
Like here this mod pack has a "server" pack "file": https://www.curseforge.com/minecraft/modpacks/all-the-mods-9-to-the-sky/files/5442876/additional-files
And where this one doesn't: https://www.curseforge.com/minecraft/modpacks/tropical-colonies/files/all?page=1&pageSize=20
Oh that’s unrelated
It’s just mods but we’re trying to identify what backup has those files
Since any reasonable backup program would’ve picked up on those whilst doing backups
When I mean reasonable I mean even a simple copy and paste would work
Well how would I set up either of those servers in pterodactyl? They're not backups, so just a fresh install. I didn't see an upload server location or whatnot.
if it doesn't have a server pack, you'd typically just install the client pack with a launcher and then copy everything (primarily mods + configs) from the instance
What were you asking about here then?
It clearly mentioned backups, and you were talking to me about it yesterday
This
you might need to remove client side only mods like custom main menu
Ok, but where do I upload the "modpack" files to?
Mods folder
Just a drag and drop
And yeah, I thought restoring a backup and importing a new server would have similar processes to get them started. I switched to just doing a fresh instal firstl as I thought it would be easier to test the process with a clean install first, then I'd do the backups once I got the general idea.
Makes no difference
Both involve uploading stuff
Plus all the files are arranged for you inside the backup
Ah ok, I wasn't sure. Thanks. I'll check it out and get back once I've had a change to try it out.
I'm getting an "File is larger than lax file upload size of 100MB" error, is there something else I need to do to get the server uploaded?
You can upload through SFTP
Like winscp?
WinSCP yeah
or filezilla
whatever SFTP client u want
What location? Im already able to see the files on the server from my ssh instance, but dont see where the files would go
Like is it somewhere in /var/www/ptero?
/var/lib/pterodactyl/volumes/<UUID>
wow, giving me "permission denied" rip lol
I guess I can upload somewhere else and copy the files there
Are you able to upload directly there from a file explorer or do you have to upload elsewhere then copy over?
You have the panel installed right?
you can go to the server on the panel
and click "Settings" and go to SFTP
launch sftp?
yup
I clicked it and nothing happened
Think I figured it out actually. The "Launch sftp" didn't seem to do anything though
Do I need to create a "server.properties" file since I don't see one in the base folder or the server files?
That's because you're not logged in as root
Yeah, I was able to access the sftp though. I uploaded the server files, but there's no "server.properties" so I think it's starting a vanilla server
Well there is a "server.properties" file not, but it wasn't created until I started the server, so not sure if I have to edit anything in that or if I should have created it before starting the server
Lol, still has all the mods missing somehow
Like theyre not being loaded for some reason
When the server starts up I see a line that says no dependencies to load, that seems wrong since theyre like a hundred mods it has in it.
All the mods are in the mod folder, but apparently Ptero just decides to skip them all and load a vanila game. brilliant
Do I need to change the run.bat to reference unix_args or do I need to change the jar file or some build/version garbage?
Or maybe it's a server.properties issue? Idk, it just won't load the mods, just loads a vanilla server
button is completely useless
you can right click and copy the connection string, that's it
Yeah I figured that out. Still having issue getting the server started though
back up your data & reinstall and reupload what's necessary
mods, world etc
Well no for Winscp it's a bit easier
it works with winscp?
holy fuck
Yes
I'm ditching filezilla
right now
winscp my beloved
Well it's a new server I'm trying to set up. It doesnt come with a "server pack" so I pulled the files from the curseforge install, but when I put them in the container file location, the server just loads a vanilla server. Not sure what's going wrong
The "mods" folder in the curseforge files is in the "world" folder I guess, and when I tried copying them to the container mods folder, then I got an error/crash that the mods didn't load correctly. I'm not sure what's wrong with the way I'm setting up the server or moving the files, so that's what I'm trying to find out, what the actual process is.
"Reupload what's necessary" doesn't really help me since, unless some other part of the process is wrong, I apparently don't know what's necessary.
I did get a different server working, but that server was also a fresh server and had a "server pack". I got that working by setting the server jar to the "forge installer" jar, but not sure if that actually was why a fresh server worked or not. I also don't know if when uploading a fresh server or a server backup if im supposed to edit, delete, overwrite any of the automatically created files/folders that the "create new server" creates.