We used Trac to track tasks / defects, and everything went well, but this morning it started serving 500 errors. Looking at the Apache error_log, I get a stack trace that ends:
PythonHandler trac.web.modpython_frontend:
ExtractionError: Can't extract file (s) to egg cache
The following error occurred while trying to extract file (s) to the Python egg
cache:
[Errno 13] Permission denied: '/.python-eggs'
The Python egg cache directory is currently set to:
/.python-eggs
Perhaps your account does not have write access to this directory? You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory
Therefore, I explicitly set PYTHON_EGG_CACHE to / srv / trac / plugin -cache. I restarted Apache. However, I get the same error (she still says that "the egg cache directory is set to: \ n \ n / .python_eggs.")
How do I proceed? The easiest thing to do to reinstall Trac? If I go along this route, what steps do I need to take in order not to lose the existing data?
source
share