Page 1 of 1

Source.Python update command

Posted: Sat Apr 21, 2018 12:13 pm
by Ayuto
I'm glad to tell you that we have added a new Source.Python command: sp update.

The command automatically updates your Source.Python installation on your server. To finish the update you mostly just need to restart your server. In case there are more steps to do, which only happens if you load Source.Python via autoexec.cfg, instructions are printed to the console/log.

The new command is available with version 647.

If you have any problems or would just like to give feedback, please let us know!

Re: Source.Python update command

Posted: Sat Apr 21, 2018 1:22 pm
by decompile
Thats awesome, well done!

For future reference, we just have to write "sp update" to get the latest build? Do we still have to follow the update steps and delete all directories mentioned here: http://wiki.sourcepython.com/general/updating.html

Re: Source.Python update command

Posted: Sat Apr 21, 2018 1:50 pm
by Ayuto
No, you only need to enter sp update and then follow the instructions printed to the console/log, which is mostly just a restart.

The wiki page already has been updated:
http://wiki.sourcepython.com/general/up ... omatically

If it still shows the the old page press CTRL + F5 to clear the cache and reload the page.

Re: Source.Python update command

Posted: Sat Aug 18, 2018 2:01 pm
by Painkiller
Very Nice

Re: Source.Python update command

Posted: Sun Oct 21, 2018 12:31 pm
by velocity
If I do not set starting parameter -nowatchdog the server crashes when I do rcon command with SP Update (WARNING: Watchdog timer exceeded, aborting! ERROR) this is in CS:GO Linux

Re: Source.Python update command

Posted: Sun Oct 21, 2018 2:58 pm
by Ayuto
Please set the logging to the highest setting in core_settings.ini. Then please try again and send the console log. Also, please post the output of sp info.

Re: Source.Python update command

Posted: Mon Oct 22, 2018 11:43 am
by velocity
Hey, I already updated source-python, I will gladly do these things but I got it to update. I can do it next commit I guess?

Syntax: Select all

--------------------------------------------------------
Checksum : d44d8d16dc31d29aebe7e0c3342d2716
Date : 2018-10-22 11:45:01.999846
OS : Linux-4.15.0-36-generic-x86_64-with-debian-buster-sid
Game : csgo
SP version : 667
Github commit : 4b4d6a886456e7f59793af7ca0a9d2f098683b78
Server plugins:
00: Source.Python, (C) 2012-2018, Source.Python Team.
01: Metamod:Source 1.10.7-dev
SP plugins:
--------------------------------------------------------

Re: Source.Python update command

Posted: Mon Oct 22, 2018 4:00 pm
by Ayuto
You can spoof SP by changing the value of the VERSION constant in this file:
https://github.com/Source-Python-Dev-Te ... version.py

You can either set it to None or to a lower value. Then restart your server.