Unhelpful error message when config permissions are incorrect for reading
|Reported by:||verm||Owned by:||jomae|
|Cc:||verm@…, thijstriemstra, jomae|
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.
Change History (20)
Changed 2 years ago by jomae
comment:18 Changed 2 years ago by jomae
- Milestone changed from 0.13 to 0.12.3
- Resolution set to fixed
- Status changed from new to closed