Hi PicoChess fans,
In order to use the games database in the PicoChess web server, one should "[p]lace a scid database names 'games' with its three files (games.sg4, games.si4, games.sn4) in the /opt/picochess/gamesdb/ folder" (README.md).
I grabbed Scid 5.0 and prepared a new database to replace the one that comes with the PicoChess installation, saved it in .si4 format (games.si4, games.sg4, games.sn4), made sure that all permissions are set correctly, but it results in the following error:
pi@raspberrypi:/opt/picochess/gamesdb $ systemctl status gamesdb
× gamesdb.service - Games server
Loaded: loaded (/etc/systemd/system/gamesdb.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Thu 2026-01-01 19:58:31 CET; 1min 39s ago
Duration: 178ms
Invocation: a253a7aadb5f438a871b38263083fee7
Process: 1478 ExecStart=/opt/picochess/gamesdb/tcscid get_games.tcl --server 7778 (code=exited, status=0/SUCCESS)
Process: 1500 ExecStop=/usr/bin/pkill -f tcscid (code=exited, status=1/FAILURE)
Main PID: 1478 (code=exited, status=0/SUCCESS)
CPU: 57ms
jan 01 19:58:31 raspberrypi systemd[1]: Started gamesdb.service - Games server.
jan 01 19:58:31 raspberrypi tcscid[1478]: Opening database games
jan 01 19:58:31 raspberrypi tcscid[1478]: Error: could not open database games
jan 01 19:58:31 raspberrypi systemd[1]: gamesdb.service: Control process exited, code=exited, status=1/FAILURE
jan 01 19:58:31 raspberrypi systemd[1]: gamesdb.service: Failed with result 'exit-code'.
Apparently, there is a problem opening the games database. After restoring the original three files, there is no more error message.
Any thoughts on why the new database cannot be opened? Should I have filtered or saved the games in a specific way? Or are there size limits to the database (my RPi5 has enough free RAM)? I have uploaded the database file
here (Dropbox).
Greetings,
DJ