Hi all,
I'm managing a domjudge system ver 5.1.3, and I hold many contests with lots of problemsets and students works there.
Now I installed a new judgehost with domjudge ver 5.3.2, and I coped with this error while connecting judgehost with the legacy domjudge server via APIs, I think that it's an incompatible error. "Configuration variable 'diskspace_error' not found."
I would like to solve this problem, but I don't know how to?
BTW, I also want to upgrade the domjudge server system, but I don't know the procedure must be followed?
Regards
On 11/04/18 12:13, Bình Dương, Tran wrote:
Hi all,
Hi,
I'm managing a domjudge system ver 5.1.3, and I hold many contests with lots of problemsets and students works there.
Now I installed a new judgehost with domjudge ver 5.3.2, and I coped with this error while connecting judgehost with the legacy domjudge server via APIs, I think that it's an incompatible error. "Configuration variable 'diskspace_error' not found."
I would like to solve this problem, but I don't know how to?
There are some incompatible changes between versions 5.1 and 5.2 that make that running a judgehost and domserver with different versions probably will cause problems. One issue I see is that we've introduced "internal errors" that a judgehost can report. This is not supported yet by the domserver of version 5.1.
BTW, I also want to upgrade the domjudge server system, but I don't know the procedure must be followed?
This is probably the best option. It's definitely possible, but as a precaution you should definitely make a full backup of the database, e.g. with mysqldump or from phpmyadmin, and make sure you can restore it.
Then, see https://www.domjudge.org/docs/admin-manual-3.html#ss3.19 for some details on how to upgrade. Note that we do sometimes use this, but it is not very well tested or documented.
When you upgrade you may also want to copy the password configuration files from the old installation directory to the new one. In particular etc/dbpasswords.secret on the domserver and etc/restapi.secret on the judgehosts.
Best, Jaap