Topic: Migrating a trac instance
Hi there.
I've been trying to install our project's ("radiocefyl") Trac instance on TuxFamily without success so far.
I tried the lineguides stated here: http://faq.tuxfamily.org/InstallTrac/Fr
I also tried some stuff from here: http://sourceforge.net/p/forge/communit … ed%20Apps/
(I'm migrating Trac from SourceForge to TuxFamily).
I've imported the database backup without any trouble using phpmyadmin.tuxfamily.org. However, Trac is giving me trouble, as can be seen here: http://radiocefyl.tuxfamily.org/cgi-bin/trac.cgi
The status of what i tried is as follows:
1)
I didn't managed to install Trac. It was giving me constant permission errors regarding the python packages directory. So, after lots of different tries, i just downladed Trac (using wget), untared it on my home directory, and executed "python /home/radiocefyl/Trac-0.12/trac/admin/console.py /home/radiocefyl/trac initenv". That gave me a Trac clean enviroment on "/home/radiocefyl/trac".
2)
Then, i configured the MySQL connection string in "/home/radiocefyl/trac/conf/trac.ini", using the data stated here: http://faq.tuxfamily.org/DbMySQL/En
Tested the MySQL connection before that using mysql from console and everything was fine.
3)
Once configured, i deployed my environment. "python /home/radiocefyl/Trac-0.12/trac/admin/console.py /home/radiocefyl/trac deploy /home/radiocefyl/radiocefyl.tuxfamily.org-web/htdocs".
With that, i had a cgi-bin directory created. But there where package errors, because Trac was not installed in the Python directory.
4)
So, i tested copying "/home/radiocefyl/Trac-0.12/trac/" to "/home/radiocefyl/radiocefyl.tuxfamily.org-web/htdocs/cgi-bin", in order to Python to find the packages locally. It worked, at least for the package errors.
5)
Then, i had IO errors. "/home/radiocefyl/trac/VERSION dows not exists". It was obviously a permission error, as the file did existed.
So, after trying lots of things, and reading this link, i copied "/home/radiocefyl/trac" to "/home/radiocefyl/radiocefyl.tuxfamily.org-web/php-include", and in "trac.cgi" changed the TRAC_ENV var value to "../../php-include/trac".
That way, Trac UI began to work.
6)
Now i'm having an error saying that Trac can't find a module for handling wiki, and another one saying that MySQL database is not supported.
So... i'm lost. :(
And tired after hours of trying to hack this thing, honestly.
Can anybody give me a hand with this? Any comment will be fine.
I'm now thinking on installing a virtualenv somewhere, in order to do some proper Trac installation and see if anything changes...
Thanks,
Daniel.