How to debug Trac?

I have installed Trac and it reports the following error when I'm trying to access its page:

Internal Server Error

TracError: IOError: (13, 'Permission denied')

Any suggestions what needs to be checked?


Solution 1:

Enable debug in trac.ini. Restart apache (usually is ran behind apache) and check for errors in trac.log
Also verify error.log from apache.

I guess you have to change the owner to apache's user for all files and dirs of your trac instance.