Shutting down server v260 (database is not saved)

Results 1 to 6 of 6
  1. #1
    Newbie Volabar is offline
    MemberRank
    Jun 2020 Join Date
    4Posts

    Shutting down server v260 (database is not saved)

    I noticed a problem, when the server shuts down, the database is not saved correctly, the newly created characters disappear, the inventory of existing characters is rolled back, but the progress of quests is saved.
    How to shut down the server correctly with normal database saving? I am using the standard Milos server build for VMware. The stop script tried to use the standard and from the 496 server (with sleeps).


  2. #2
    Would You Kindly? Bola is offline
    DeveloperRank
    Dec 2011 Join Date
    BrazilLocation
    1,666Posts

    Re: Shutting down server v260 (database is not saved)

    not sure if forsaken world has this function or maybe it is inside the iweb panel, in GM Console you have function to put server in maintance, use it to shutdown the server, once gameserver is finished, leave gamedbd online for something like 8 minutes before kill it too, roles should be properly saved.
    if there's no option to shutdown server from GM Console, use iweb, probably you will find it with a timer like 300 secs to shutdown, same steps then to proceed to kill the gamedbd process.

  3. #3
    Account Upgraded | Title Enabled! Milos is online now
    True MemberRank
    Nov 2015 Join Date
    127.0.0.1Location
    224Posts

    Re: Shutting down server v260 (database is not saved)

    Quote Originally Posted by Volabar View Post
    I noticed a problem, when the server shuts down, the database is not saved correctly, the newly created characters disappear, the inventory of existing characters is rolled back, but the progress of quests is saved.
    How to shut down the server correctly with normal database saving? I am using the standard Milos server build for VMware. The stop script tried to use the standard and from the 496 server (with sleeps).
    are you using the stop.sh or going straight to kill_force.sh? if using stop.sh on the vm i provided make sure psmisc is installed, it's possible i forgot to install it, but that package provides the killall command which gives the program a chance to save and close itself gracefully before killing it. if that is not installed it will print out command not found errors in the terminal and will move on to using the kill or pkill command to forcefully close it which will always result in a small rollback.

  4. #4
    Newbie Volabar is offline
    MemberRank
    Jun 2020 Join Date
    4Posts

    Re: Shutting down server v260 (database is not saved)


    I use stop.sh. I've tried shutting down the server using the iweb, after a few minutes using the stop.sh in console, but nothing changes.


    when restarting on server 496, sometimes there are small rollbacks, but the database is saved correctly. At 260, for example, on the starting character after the restart, a gift from a prayer is rolled back. I get an already read book because I read it before restarting.

  5. #5
    Hardcore Member wxk0248 is offline
    MemberRank
    Jan 2015 Join Date
    108Posts

    Re: Shutting down server v260 (database is not saved)

    You can use the GM console countdown to restart the server, which is a safe maintenance and will not cause rollback. Or you can restart the server a few minutes after the role is offline, which will trigger the role information saving

  6. #6
    Newbie iScream is offline
    MemberRank
    Apr 2021 Join Date
    1Posts

    Re: Shutting down server v260 (database is not saved)

    This first accounts is used by DB. Try create another account and try in another character
    Money doesn't buy happiness, but it buys ice cream (which is the same)



Advertisement