On 01. 03. 11 15:02, Christian Boos wrote:
> On 3/1/2011 2:54 PM, Bogdan Stanciu wrote:
>> Hi there,
>>
>> I just wanted to share this page (not mine, maybe is well known, but I
>> just found it today) which brought me back on trac[ks] :-)
>>
>> I was unable to install following the wiki, however this instructions
>
> What was the problem, exactly?
I know it is not "serious" from my side, but I can't really recall (it
happened a few months ago, when switched to ubuntu) I did not use trac
since, but today I decided to give it another try, and it worked with
those instructions I mentioned. I remember getting errors or code
instead of trac homepage. I appologise for the lack of precision.
>
>> work like a charm (or almost):
>>
>> http://trac.edgewall.org/wiki/Ubuntu-10.04-Bazaar
>>
>> the end is for bazaar, but I got stuck well before that in my previous
>> attempts.
>>
>> however, I noticed that during the install process, the command
>>
>> trac-admin /var/tracprojects/newproject permission add admin TRAC_ADMIN
>>
>> ends in error:
>>
>> TimeoutError: Unable to get database connection within 0 seconds.
>> (TracError(u'Database "/var/tracprojects/newproject/db/trac.db" not
>> found.',))
>>
>> it seems that trac-admin is looking for a SQLite db, while I use a
>> mySQL db.
>>
>> any suggestions?
>
> Yes, check the permissions of your trac.ini file, it should be
> readable by the user under which you're running the trac-admin command.
It has read/write acces for the user www-data. I admit this is the only
thing I did not check ("who" is www-data:-)) but all the rest works. the
initenv did write the db info into trac.ini, for example.
actually, not "all" the rest works, as I get a simillar error when trying
trac-admin /var/tracprojects/xxx repository resync "xxxx-repo"
TimeoutError: Unable to get database connection within 0 seconds.
(TracError(u'Database "/var/tracprojects/xxx/db/trac.db" not found.',))
after adding a new repo (I just wrote about this on the dev list)
do I miss anything?
>
> -- Christian
>
> PS: we're working on a fix, http://trac.edgewall.org/ticket/10044
>
thank you for the quick answer!
bogdan
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en.