Updating Direwolf20 1.10 server on linux

  • Thread starter Thread starter Darksun69
  • Start date Start date
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
D

Darksun69

Guest
Good day so i managed to get the FTB Presents Direwolf20 1.10 server installed on an Ubuntu Linux server.

I am just wondering how i would then go about updating the server with any new upates that get released.
I am currently on version 1.1.3 for both the client (client is from Curse) and server.

any help would be appreciated
 
I just posted this as a reply to another thread:

There's a few different ways to update the server, but I prefer starting with a clean download of the server and then just moving my world and changed configs over. That way I know any files removed from the pack is also gone and all configs are reset to the default values from the pack.

These are the steps I use to update to a new version, you'll have to tweak it for your use, depending on which configs you change or which additional mods you installed:

I have the current version installed in a directory called "~/Direwolf20110_1.x.x" where x.x is the version of the modpack.
And I then create a symlink from that directory to "~/Direwolf20" - so that the symlink always points the latest version.
Where the instructions below refers to ../Direwolf20, that means to copy from the previous version.

1. Find latest Server zip from https://www.feed-the-beast.com/projects/ftb-presents-direwolf20-1-10/files (Click on version, scroll down to additional files to find server and use in step 3)

2. mkdir Direwolf20110_1.x.x && cd Direwolf20110_1.x.x # Replace x.x with the new version you download
3. wget https://www.feed-the-beast.com/projects/ftb-presents-direwolf20-1-10/files/2361696/download # Depends on which version you download
4. mv download FTBPresentsDirewolf20110Server_1.2.2.zip # Depends on which version you download
5. unzip FTBPresentsDirewolf20110Server_1.2.2.zip # Depends on which version you download
6. Copy files from previous version: # Include any additional configs you also need, these are the only ones we use
a. cp ../Direwolf20/settings-local.sh .
b. cp ../Direwolf20/server.properties .
c. cp ../Direwolf20/whitelist.json .
d. cp ../Direwolf20/eula.txt .
e. cp ../Direwolf20/mods/TickProfiler-1.10.2.jenkins.20.jar mods/ # These steps depends on which additional mods you've installed
f. cp ../Direwolf20/mods/SleepingBag-1.10.2-1.4.0.jar mods/
g. cp ../Direwolf20/mods/ShadowMC-1.10.2-3.6.0.jar mods/​
7. Modify configs: # These are changes we made to the base direwolf pack's config

a. config/Morpheus.cfg # Change SleeperPerc=10​
8. Backup old server and stop it, in server console, type:

a. /ftb backup start
b. stop​
9. Copy world from old server

a. cp -a ../Direwolf20/world .​
10. Start up new server to test it

a. chmod +x ServerStart.sh
b. ./ServerStart.sh​
11. If everything is working ok, update symlink

a. cd ~
b. ln -s Direwolf20110_1.x.x Direwolf20​
12. Optional cleanup, if you're confident everything running fine, save the last backup from the old directory and delete the old directory​

I take no responsibility if this breaks your server :)
 
My usual process for updating packs that I host on my Ubuntu server is:
  1. Stop the server and make a backup of the world folder
  2. Rename the mods, config & scripts folders on the server to the current version of the mod pack. In you case since you currently running 1.1.3 for your DW server I would name them to mods.1.1.3, config.1.1.3 & scripts.1.1.3. This will give you an easy backout option if something goes wrong with the update.
  3. Copy the mods, config & scripts folder to the server. Also copy over the *.jar files
  4. Run the server. You may need to type in "/fml confirm" if one of the mods removed blocks/items from the game.
  5. If all goes well then you are all set. If it goes south just delete the folders you copied over and rename the others back and restore your backup.
 
This is off topic but can anyone tell me if theres a way to change modded ore gen with the vanilla customize world settings
 
I updated my Direwolf20 server (CentOS 7) back in December, and I'm trying to do so again but I keep running into an error this time. Tried following the instructions above with no luck. Anyone seen this one before?

java.lang.RuntimeException: Invalid id 4096 - maximum id range exceeded.

This is followed by a stack trace and then an /fml confirm request. If I follow through on that, all the blocks get entirely messed up.
 
@Ghan please start a new thread and use http://paste.feed-the-beast.com/. Paste your full log file into that site and copy the URL it gives you in the address bar into that new post. That being said, when you updated did you just copy the mod and config folders into the existing mod and config folders? If so you should probably delete or rename both and upload fresh copies of each from the server zip file to the server.
 
  • Like
Reactions: Ghan