HOWTO: Update server on Linux.


  • How to upgrade Eco server - on Linux command line.

    In this example, we are upgrading from 0.7.0.3 to 0.7.0.4.

    1. Stop the server. (use Ctrl-C.)

    2. Download new server.

       game_servers@gumption:/bulk/game_servers/eco$ wget https://s3-us-west-2.amazonaws.com/eco-releases/EcoServer_v0.7.0.4-beta.zip
       --2018-02-07 19:06:30--  https://s3-us-west-2.amazonaws.com/eco-releases/EcoServer_v0.7.0.4-beta.zip
       Resolving s3-us-west-2.amazonaws.com (s3-us-west-2.amazonaws.com)... 52.218.200.192
       Connecting to s3-us-west-2.amazonaws.com (s3-us-west-2.amazonaws.com)|52.218.200.192|:443... connected.
       HTTP request sent, awaiting response... 200 OK
       Length: 19646941 (19M) [application/x-zip-compressed]
       Saving to: 'EcoServer_v0.7.0.4-beta.zip’
      
       EcoServer_v0.7.0.4-beta.zip                          100%[=====================================================================================================================>]  18.74M  4.00MB/s    in 11s
      
       2018-02-07 19:06:42 (1.68 MB/s) - 'EcoServer_v0.7.0.4-beta.zip’ saved [19646941/19646941]
      
    3. Extract new server. Note use of -d flag to specify the directory to unzip into.

       game_servers@gumption:/bulk/game_servers/eco$ unzip EcoServer_v0.7.0.4-beta.zip -d Eco_0.7.0.4
       Archive:  EcoServer_v0.7.0.4-beta.zip
          creating: Eco_0.7.0.4/Configs/
        extracting: Eco_0.7.0.4/Configs/Backup.eco
         inflating: Eco_0.7.0.4/Configs/Difficulty.eco
       [... snip ... ]
      
    4. Copy configuration files from old server to new server. Note: Do not just copy the entire Configs/ folder - the new versions of files like Configs/EcoSim.eco contain bug fixes, which won't work if you over-write the new configs with old configs.

       game_servers@gumption:/bulk/game_servers/eco$ cd Eco_0.7.0.4/Configs/
      
       game_servers@gumption:/bulk/game_servers/eco/Eco_0.7.0.4/Configs$ cp ../../Eco_0.7.0.3/Configs/Backup.eco ./
      
       game_servers@gumption:/bulk/game_servers/eco/Eco_0.7.0.4/Configs$ cp ../../Eco_0.7.0.3/Configs/Difficulty.eco ./
      
       game_servers@gumption:/bulk/game_servers/eco/Eco_0.7.0.4/Configs$ cp ../../Eco_0.7.0.3/Configs/Discord.eco ./
      
       game_servers@gumption:/bulk/game_servers/eco/Eco_0.7.0.4/Configs$ cp ../../Eco_0.7.0.3/Configs/Network.eco ./
      
       game_servers@gumption:/bulk/game_servers/eco/Eco_0.7.0.4/Configs$ cp ../../Eco_0.7.0.3/Configs/Profanity.eco ./
      
       game_servers@gumption:/bulk/game_servers/eco/Eco_0.7.0.4/Configs$ cp ../../Eco_0.7.0.3/Configs/Users.eco ./
      
    5. Copy your old Storage/ folder over to the new server:

       game_servers@gumption:/bulk/game_servers/eco/Eco_0.7.0.4$ rm -rf Storage/
      
       game_servers@gumption:/bulk/game_servers/eco/Eco_0.7.0.4$ cp -r ../Eco_0.7.0.3/Storage/ ./
      
    6. Edit your Network.eco if required, to reflect any updated information into your server's Description.

    7. Restart the server.

       game_servers@gumption:/bulk/game_servers/eco/Eco_0.7.0.4$ mono EcoServer.exe -nogui

  • 1
    Posts
    613
    Views
    Log in to reply

Internal error.

Oops! Looks like something went wrong!