Client/Server Version Conflict

    Joined
    Jul 7, 2013
    Messages
    472
    Reaction score
    156
    • Purchased!
    • Legacy Citizen 4
    Hi,

    I am running a Linux Ubuntu installation of StarMade as a Server and using a Windows 7 installation as a client. When I try to connect to the Server the Client gives the below error message:

    RuntimeException

    Server 192.168.1.1:4242 Your client version is not allowed to connect.
    Please download the correct version with the launcher.
    Client Version: 0.199.651
    Server Version: 0.199.535
    The server has not yet updated to your version.


    However, when I log into the Server and issue the command:
    ubuntu@B1051:~/starmade$
    java -jar ./StarMade-Starter.jar -nogui

    I get the following output:

    FILES-URL: http://files.star-made.org/
    [VERION] loading version from install dir: ./StarMade/
    [VERSION] VERSION: 0.199.651
    [VERSION] BUILD: 20170726_184858
    loaded files (sorted) [20140808_205809 v0.1616 (RELEASE), 20140810_202517 v0.1617 (RELEASE), 20140824_023153 v0.163 (RELEASE), 20140909_222222 v0.17 (RELEASE), 20140911_193424 v0.1703 (RELEASE), 20140920_124758 v0.171 (RELEASE), 20141003_210145 v0.1721 (RELEASE), 20141004_172651 v0.1723 (RELEASE), 20141014_023055 v0.174 (RELEASE), 20141014_042802 v0.174 (RELEASE), 20141019_094604 v0.175 (RELEASE), 20141105_210518 v0.18 (RELEASE), 20141106_123301 v0.1801 (RELEASE), 20141106_164307 v0.1802 (RELEASE), 20141106_185500 v0.1803 (RELEASE), 20141107_025030 v0.1807 (RELEASE), 20141121_000917 v0.1836 (RELEASE), 20141121_035207 v0.1837 (RELEASE), 20141124_044001 v0.1839 (RELEASE), 20141125_061541 v0.18392 (RELEASE), 20141129_172817 v0.1845 (RELEASE), 20141129_185608 v0.1846 (RELEASE), 20141201_193346 v0.185 (RELEASE), 20141203_112401 v0.1851 (RELEASE), 20141203_172837 v0.1852 (RELEASE), 20141203_233000 v0.1852 (RELEASE), 20141213_172218 v0.1862 (RELEASE), 20141213_224452 v0.1863 (RELEASE), 20141213_233133 v0.1863 (RELEASE), 20141215_210741 v0.1867 (RELEASE), 20151121_161908 v0.19498 (RELEASE), 20151122_012619 v0.19498 (RELEASE), 20151205_001053 v0.19519 (RELEASE), 20151205_212625 v0.19520 (RELEASE), 20151206_231749 v0.19522 (RELEASE), 20151219_043839 v0.19538 (RELEASE), 20160116_015456 v0.19549 (RELEASE), 20160131_010811 v0.19556 (RELEASE), 20160302_004046 v0.19590 (RELEASE), 20160303_151827 v0.19592 (RELEASE), 20160320_064526 v0.19624 (RELEASE), 20160408_220508 v0.197.36 (RELEASE), 20160413_201539 v0.197.36 (RELEASE), 20160424_191721 v0.197.51 (RELEASE), 20160522_022106 v0.198.131 (RELEASE), 20160522_105727 v0.198.131 (RELEASE), 20160522_114626 v0.198.131 (RELEASE), 20160524_224903 v0.198.133 (RELEASE), 20160605_025425 v0.198.146 (RELEASE), 20160605_045750 v0.198.146 (RELEASE), 20160605_215440 v0.198.146 (RELEASE), 20160619_234126 v0.198.219 (RELEASE), 20160620_165928 v0.198.221 (RELEASE), 20160622_172909 v0.198.222 (RELEASE), 20160622_203509 v0.198.222 (RELEASE), 20160623_212422 v0.198.223 (RELEASE), 20160627_191803 v0.198.223 (RELEASE), 20160713_030521 v0.198.476 (RELEASE), 20160713_134456 v0.198.476 (RELEASE), 20160714_192057 v0.198.477 (RELEASE), 20160719_005153 v0.198.485 (RELEASE), 20160802_084346 v0.199.132 (RELEASE), 20160802_134223 v0.199.132 (RELEASE), 20160812_205821 v0.199.152 (RELEASE), 20160814_215551 v0.199.159 (RELEASE), 20160816_213337 v0.199.161 (RELEASE), 20160826_153558 v0.199.169 (RELEASE), 20160828_061948 v0.199.172 (RELEASE), 20160909_223642 v0.199.214 (RELEASE), 20160910_183953 v0.199.217 (RELEASE), 20160924_005306 v0.199.234 (RELEASE), 20161008_002313 v0.199.253 (RELEASE), 20161011_173324 v0.199.253 (RELEASE), 20161218_024823 v0.199.349 (RELEASE), 20161218_184613 v0.199.351 (RELEASE), 20161221_155134 v0.199.352 (RELEASE), 20161221_230701 v0.199.353 (RELEASE), 20161231_020308 v0.199.357 (RELEASE), 20170113_144618 v0.199.402 (RELEASE), 20170128_025254 v0.199.429 (RELEASE), 20170128_040503 v0.199.431 (RELEASE), 20170128_142848 v0.199.432 (RELEASE), 20170128_183153 v0.199.432 (RELEASE), 20170128_235022 v0.199.432 (RELEASE), 20170131_044310 v0.199.433 (RELEASE), 20170202_024131 v0.199.434 (RELEASE), 20170204_230233 v0.199.435 (RELEASE), 20170225_003739 v0.199.459 (RELEASE), 20170225_094739 v0.199.461 (RELEASE), 20170225_195508 v0.199.464 (RELEASE), 20170227_161344 v0.199.466 (RELEASE), 20170228_125914 v0.199.468 (RELEASE), 20170303_120646 v0.199.472 (RELEASE), 20170423_145408 v0.199.535 (RELEASE), 20170427_155818 v0.199.535 (RELEASE), 20170718_194348 v0.199.646 (RELEASE), 20170726_184858 v0.199.651 (RELEASE)]
    checking your version 20170726_184858 against latest 20170726_184858 = 0
    You Are Already on the Newest Version: use -force to force an update
    ubuntu@B1051:~/starmade$


    The last line of this output indicates to me that I am actually running release version 0.199.651 on the Server.

    I have tried running the
    java -jar ./StarMade-Starter.jar -nogui and including -force at the end as the output message suggests, but it makes no difference.

    Can anyone advise where I am going wrong and why my Client thinks the Server is running an older version than the Server does?


    Thanks in advance.
     
    Last edited:

    AndyP

    Customer Experience Manager
    Joined
    Aug 15, 2013
    Messages
    1,199
    Reaction score
    264
    • Schine
    • Wired for Logic
    This looks indeed odd.

    I have only one possible cause for this:
    The server files are up to date, but the server itself was never shutdown and restarted.

    I assume the console commands were run on the server machine, and the first log part is from your local client.
    I would suggest checking for any java processes on the host machine and end them.
    (Either by connecting to the server with the previous version, and using the /shutdown command, or by killing the processes/rebooting the machine, both of those should not harm as there should not be unsaved data.)

    Then start the server on the machine again and try to connect to it.

    - Andy
     
    Joined
    Jul 7, 2013
    Messages
    472
    Reaction score
    156
    • Purchased!
    • Legacy Citizen 4
    Thanks for the reply, Andy.

    This looks indeed odd.

    I have only one possible cause for this:
    The server files are up to date, but the server itself was never shutdown and restarted.

    I assume the console commands were run on the server machine, and the first log part is from your local client.
    Correct, the output from issuing the java -jar command was from the Server. The RuntimeException message was from the main menu in the client after a failed connection attempt.

    I would suggest checking for any java processes on the host machine and end them.
    (Either by connecting to the server with the previous version, and using the /shutdown command, or by killing the processes/rebooting the machine, both of those should not harm as there should not be unsaved data.)

    Then start the server on the machine again and try to connect to it.

    - Andy
    I have already shutdown and re-started the Server several times and re-booted the computer it is running on at least twice. The Client machine has been left switched off for a day between attempts to re-connect.
    The only thing I haven't tried along those line is powering-off the Server machine and leaving it off for several minutes, before switching back on again and re-starting the Server. Reckon it's worth trying that?
     

    AndyP

    Customer Experience Manager
    Joined
    Aug 15, 2013
    Messages
    1,199
    Reaction score
    264
    • Schine
    • Wired for Logic
    yes, completely reboot the server.

    And possibly also remove the starmade.jar file in the server directory and run the update command again to check if it replaces the file.

    I am pretty sure this is a running process in old version, and updated files.
    (Or even some mismatch in the files itself by some corrupted or broken update, but this should be detected by it.)
     
    • Like
    Reactions: Blodge
    Joined
    Jul 7, 2013
    Messages
    472
    Reaction score
    156
    • Purchased!
    • Legacy Citizen 4
    yes, completely reboot the server.

    And possibly also remove the starmade.jar file in the server directory and run the update command again to check if it replaces the file.

    I am pretty sure this is a running process in old version, and updated files.
    (Or even some mismatch in the files itself by some corrupted or broken update, but this should be detected by it.)
    I powered both machines off shortly after my post last night. I'll power on again tonight and if it still doesn't work, try deleting and re-downloading the .jar file.
    Will let you know how I get on :)