Unhelpful error message when config permissions are incorrect for reading
|Reported by:||verm||Owned by:||Jun Omae|
|Cc:||verm@…, Thijs Triemstra, Jun Omae|
After a fresh installation using
trac-admin initenv I was unable to load the instance from the web with this error message:
TimeoutError: Unable to get database connection within 0 seconds. (TracError: Database "/usr/www/trac/db/trac.db" not found.)
MY backend was set to MySQL (and initenv even populated the database). After much debugging I figured out the problem after discovering it worked successfully using tracd.
The config file was not readable by the webserver, this problem can be reproduced by a
chmod 000 conf/trac.ini.