Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#6636 closed defect (invalid)

Errno2: no such file or directory '../VERSION'

Reported by: fatmcgav@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hi there,

i've recently installed Trac on my CentOS 5 server, running Apache 2, Php 5, Mysql, Sqlite 3.3.6, Svn 1.4.2, Trac - latest stable release.

i followed this tutorial: http://www.daniel-skinner.co.uk/setup-subversion-and-trac-on-centos-5/06/01/2008

I followed the path structure as well - project name is phpbb3.

Once i had the blank repo setup, i dumped a corresponding repositry off of my home svn server and uploaded it to this server, then did svnadmin load /srv/svn/phpbb3 < /srv/svn/phpbb3.dump That imported fine.

However, now when i access my trac site, it gives me: {{{Trac Detected an internal error: Python Trackback: Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request

dispatcher.dispatch(req)

File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 191, in dispatch

chosen_handler = self._pre_process_request(req, chosen_handler)

File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 263, in _pre_process_request

chosen_handler = f.pre_process_request(req, chosen_handler)

File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 73, in pre_process_request

self.get_repository(req.authname).sync()

File "/usr/lib/python2.4/site-packages/trac/versioncontrol/cache.py", line 82, in sync

raise TracError("The 'repository_dir' has changed, "

TracError: The 'repository_dir' has changed, a 'trac-admin resync' operation is needed.}}}

So i ran trac-admin /srv/svn/phpbb3 resync and it gave me {{{Failed to open environment. [Errno 2] No such file or directory: '/srv/svn/phpbb3/VERSION' Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/trac/scripts/admin.py", line 134, in env_open

self.env = Environment(self.envname)

File "/usr/lib/python2.4/site-packages/trac/env.py", line 147, in init

self.verify()

File "/usr/lib/python2.4/site-packages/trac/env.py", line 195, in verify

fd = open(os.path.join(self.path, 'VERSION'), 'r')

IOError: [Errno 2] No such file or directory: '/srv/svn/phpbb3/VERSION'}}}

Any ideas what the problem could be?

Cheers Gavin W

Attachments (0)

Change History (1)

comment:1 by Emmanuel Blot, 16 years ago

Priority: highnormal
Resolution: invalid
Severity: blockernormal
Status: newclosed

This is an installation issue. Please follow the guidelines from the New Ticket page - that is post to the MailingList.

Please do act fair with the priority/severity levels, and notice the version field that should be filled in with the version of Trac you use.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.