A
Admincraft7mo ago
9tt2

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
Admincraft Meta
Admincraft Meta7mo 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 9tt2#0
DogeConomy
DogeConomy7mo ago
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
9tt2
9tt2OP7mo ago
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.
DogeConomy
DogeConomy7mo ago
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 wiping
9tt2
9tt2OP7mo ago
I 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.
DogeConomy
DogeConomy7mo ago
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
9tt2
9tt2OP7mo ago
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?
DogeConomy
DogeConomy7mo ago
@9tt2 this is what I meant by checking the backup files to make sure they work
9tt2
9tt2OP7mo ago
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.
DogeConomy
DogeConomy7mo ago
A Link would be nice (on mobile
DogeConomy
DogeConomy7mo ago
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
9tt2
9tt2OP7mo ago
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.
Snow Kit
Snow Kit7mo ago
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
DogeConomy
DogeConomy7mo ago
What were you asking about here then? It clearly mentioned backups, and you were talking to me about it yesterday This
Snow Kit
Snow Kit7mo ago
you might need to remove client side only mods like custom main menu
9tt2
9tt2OP7mo ago
Ok, but where do I upload the "modpack" files to?
DogeConomy
DogeConomy7mo ago
Mods folder Just a drag and drop
9tt2
9tt2OP7mo ago
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.
DogeConomy
DogeConomy7mo ago
Makes no difference Both involve uploading stuff Plus all the files are arranged for you inside the backup
9tt2
9tt2OP7mo ago
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?
Harrison
Harrison7mo ago
You can upload through SFTP
9tt2
9tt2OP7mo ago
Like winscp?
Harrison
Harrison7mo ago
WinSCP yeah or filezilla whatever SFTP client u want
9tt2
9tt2OP7mo ago
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?
Harrison
Harrison7mo ago
/var/lib/pterodactyl/volumes/<UUID>
9tt2
9tt2OP7mo ago
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?
Harrison
Harrison7mo ago
You have the panel installed right? you can go to the server on the panel and click "Settings" and go to SFTP
9tt2
9tt2OP7mo ago
launch sftp?
Harrison
Harrison7mo ago
yup
9tt2
9tt2OP7mo ago
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?
Benroy
Benroy7mo ago
That's because you're not logged in as root
9tt2
9tt2OP7mo ago
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
Eternal
Eternal7mo ago
button is completely useless you can right click and copy the connection string, that's it
9tt2
9tt2OP7mo ago
Yeah I figured that out. Still having issue getting the server started though
Eternal
Eternal7mo ago
back up your data & reinstall and reupload what's necessary mods, world etc
ProGamingDk
ProGamingDk7mo ago
Well no for Winscp it's a bit easier
Eternal
Eternal7mo ago
it works with winscp? holy fuck
ProGamingDk
ProGamingDk7mo ago
Yes
Eternal
Eternal7mo ago
I'm ditching filezilla right now winscp my beloved
9tt2
9tt2OP7mo ago
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.

Did you find this page helpful?