On 05/11/2018 01:01, Marc Furon wrote:
Jaap Eldering wrote:
I'm currently not the most knowledgable person on the web interface, but are there any errors in the apache logs or in the Symfony logs (under /opt/domjudge/domserver/webapp/var/log/prod.log)
OK, I think I have it figured out. One should not run
dj_setup_database genpass
and re-generate the database password. It looks like that doesn't update the password everywhere. I ran "make install-domserver" again, which pushed the older password back. I re-created the database. Everything seems to be working now, at least so far.
Ah, yes. That command actually never reinstalled the new passwords, only creates new files etc/dbpasswords.secret and etc/restapi.secret. But with our (currently partial) migration to Symfony, passwords are used from two different places: etc/dbpasswords.secret and webapp/app/config/parameters.yml, and the way that these are synchronized during installation is a bit fragile, which should be improved.
Best, Jaap