Edgewall Software

Opened 12 years ago

Closed 12 years ago

#9649 closed enhancement (worksforme)

TracError: The Trac Environment needs to be upgraded.

Reported by: hornetbzz@… Owned by: hornetbzz
Priority: low Milestone:
Component: notification Version: 0.11.1
Severity: minor Keywords: ssh sftp
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


Getting TracError in the browser: The Trac Environment needs to be upgraded.

Changing trac.ini [notification] section using SFTP, restarting Apache, I got this TracError: The Trac Environment needs to be upgraded. returned by the browser. Reverting back to the previous trac.ini file, same error.

How To Reproduce:

  • connect ssh as root to your remote machine
  • edit (SFTP) /usr/share/trac/project/my_project/conf/trac.ini
  • apply any minor change that you are sure they are correct
  • save the modified file
  • restart your server (in case of apache2: /etc/init.d/apache2 restart)
  • connect your trac host in your browser: http://www.mydomain/

then you get this error.

Attachments (0)

Change History (2)

comment:1 by hornetbzz@…, 12 years ago

This error has nothing to do with TRAC. Modifying the trac.ini file using SFTP as root, the file trac.ini owner has been thus changed from your Apache user (www-data or nobody or guest or what ever you use) to "root".

So resetting the trac.ini ownership to the apache user solved this "issue" :

example here for a Linux machine

chown $APACHE_USER:$APACHE_GROUP /usr/share/trac/project/my_project/conf/trac.ini

comment:2 by Remy Blank, 12 years ago

Milestone: next-major-0.1X
Resolution: worksforme
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain hornetbzz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from hornetbzz 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.