Jump to content
  • We are looking for staff for the Wiki area!
    If interested please
    click here and select "Documentation Team"

  •  Good evening!

    This guide is for Windows users looking to keep their server and/or database up to date with any changes.

    If you followed most of our guides for the installation process, then you should already have a server and database folder that was cloned from GitHub. If you do not, then you may want to refer back to this post 

     

    Updating The Server

    1) Open your server folder. Right click anywhere (#1), when the context menu opens up, click "Git Bash Here" (#2).

    image.png.57a595b266f7fa1839ee3a7b03c71e61.png

     

    2) Type "git pull" into your Git Bash window and press Enter.

    image.png.88e13408bbcf2712f4e39a861ea96fe0.png

    You can see that I pulled an update that had 1 insertion and 1 deletion. You may have more depending on when the last time you cloned/pulled your git.

    image.png.67c6880987467e2032325f98ad81d8a6.png

     

    3) Open up the "win" folder.

    image.png.a93cf9c7e52db219d6cf1cbe18616b2a.png

     

    4) Start up the "MaNGOS_EasyBuild.exe"

    image.png.53f4e90f3f4c224e8bf1c1e9cf37620c.png

     

    5) Note, depending on your version of Visual Studio this may or may not be necessary:

    image.png.c6f653b63168f7389a6d52182661fd77.png

    I press the "D" button, and then check off "VS 2022" and then "UPDATE".

    image.png.7c90659273f43cbc9b8d84da7ea35244.png

     

    6) We'll open up "BUILD OPTIONS".

    image.png.5fa077b2e683b00ba617a93378e2ec42.png

     

    7) Select anything you need on the left - in my case, I usually leave these as defaulted. Press "BUILD PROJECT". 
    image.png.0bd012e06388d287206fba541dc23a5a.png

     

    8) In Visual Studio 2022, I click the "Build" menu at the top (#1), Press "Build Solution" (#2). After the build is complete,. you should get a message to say that everything succeeded (#3).

    image.thumb.png.4e8b0173edc45aea09e655ae6a9c21ed.png

     

    9) You can close Visual Studio 2022 and the EasyBuild program. Navigate to your "*_install" directory. There, you should find your "mangosd.exe" and "realmd.exe" as well as your "mangos.conf.dist" and "realmd.conf.dist". The conf.dist files don't need to be replaced UNLESS there were changes to the server in the update that require a new configuration file -- you'll see this when you start up your server and it fails because of out of date configuration files.

    Take your mangosd.exe and realmd.exe files and place them in the folder that you normally store your executables -- most people put them in different places, so I can't give you a specific answer. But I would assume you know, since you start your server up somehow. :D 

    image.png.c31ccf56e40041f7c89ab147ba7c3d6f.png

     

    And that should be it for updating your server!

     


     

    Updating The Database

    1) Open your database folder. Right click anywhere (#1), when the context menu opens up, click "Git Bash Here" (#2).

    image.thumb.png.0d835bb78eb27c965976dfba0a5da352.png

     

    2) Type "git pull" into your Git Bash window and press Enter.

    image.png.16d504d502c336480b68f0e47db847cb.png

    You can see that I pulled an update that had 73,895 insertions and 28,662 deletion. You may have more or less depending on when the last time you cloned/pulled your git.

    image.png.d9835d105c510beb48de670d0fb01520.png

     

    3) Double click the "InstallDatabases.bat" file to open up a guided script for database updates.

    image.png.292218b2d40b8e96f44526634fabd641.png

     

    4) Type "O" (without the quotations) to "Toggle Only Install Updates to Database's", press Enter.

    image.png.1b162f64c1ae1ecd90b6e75dec75df19.png

    It will now show you a condensed version with a few options now. Since I'm happy with it applying updates to Character, World, and Realm databases, I'm going to type "N" for "Next Step" and press Enter.

    If for some reason you did NOT want it to update a specific database, you can toggle those options to NO.

    image.png.4d72cd11bd3b0a36f738e4829c58a50f.png

     

    5) Fill in the questions asked of you for your database connections. You'll see in my case, almost everything was the same as the default answers, with the exception of my MySQL user name being "mangos" instead of "root". You may have a different username, password, database names, etc. that may be unique to your setup.

    image.png.d49cd9007d8f93d03646c195a8d1d0b5.png

    After you press Enter for the Realm database, it will apply your updates.

    If everything goes smoothly - then you should see something that looks like this:
    image.thumb.png.6902e3caea29c394e4770f874b73dc1c.png

     

     

    And that's it! You've now updated your server and database! :)

     

    If you have any questions don't hesitate to reach out here or on the Discord channel!

     

    All the best,
    Fyre


    User Feedback

    Recommended Comments



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use