Hi, i am new to trac,  and i have been using it for just about one
week on setting it on the ubuntu 10.10 server .
I have configured it to work with apache web server as it was guided
on the documentations.
List of configurations i have done here

This is Trac Server Installation Instruction On Ubuntu 10.10 server.

thing i did was

1:Install Ubuntu 10.10 server on the system.

2:Installed Apache2           //#aptitude install apache2

3:Installed Subversion           // # aptitude install subversion

4:Installed Python setup tools    /// # aptitude install
python_setuptools

5:Installed trac with the easy_install command    /// # easy_install
trac

Steps of configuring environments.

1:Made a folder in /usr/local/trac                // # mkdir  /usr/
local/trac

2:Set the environement for the trac to use              // #trac-admin  /usr/
local/trac/mysite   initenv

3:The project name is TracProject

4:we specified the defualt database which is sqllit.(the spelling of
the database is not correct).

i choosed sqlite because i am using (python 2.6  - python 3.1)

2:Web based for trac:

#aptitude install apache2


2:mod-wsgi:
libapache2-mod-wsgi                       #aptitude install libapache2-
mod-wsgi



3:
a:   # cd /usr/local/trac
b:trac-admin mysite deploy mysite/apache
c: i made a file (mysite.wsgi) and put it in the 'mysite/apache'
folder
d: i edited the mysite.wsgi and wrote bellow script.

import os

os.environ['TRAC_ENV'] = '/usr/local/trac/mysite'
os.environ['PYTHON_EGG_CACHE'] = '/usr/local/trac/mysite/eggs'

e:edited the http.conf file and wrote this script in it

WSGIScriptAlias /trac /usr/local/trac/mysite/apache/mysite.wsgi

<Directory /usr/local/trac/mysite/apache>
    WSGIApplicationGroup %{GLOBAL}
    Order deny,allow
    Allow from all
</Directory>

f: after doing this trac was embedded with apache. and when i was
acccessing it, it would say that the database could not be accessed,
because of no read and write permission. to solve this problem i
changed the permission of  mysite folder in '/usr/local/trac/mysite
and changed it like this

# chmod 777 -r /usr/local/trac/mysite   // i gave full permission
after doing this the problem was solved but .
It showed this error message  and i don't know what to do, i upgraded
it but the trac server said "no need to upgrade"

error message

Trac Error

TracError: The Trac Environment needs to be upgraded.

Run "trac-admin /usr/local/trac/mysite upgrade"


I hope you understand my  problem, please tell me what i have missed
and what should i do now.
and what to do about the subversion .

thanks

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to