The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Is there something I can get from the command line? I can't access the Trac web server at all. I get this 500 Error:Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Right. I have shell access to my user space on the server, so I can only see my own files. The trac/log file ends at 11 PM Oct 31, about when it got broken. The "mod_fcgi" error messages are from the apache log that appears as a link in my user space, but that's all it contains.
My original thought was "copy over the environment" as you say, but how is that done when I'm going from 1.03 to 1.4?
Can an upgrade be done in one step, from 1.0 to 1.4 without doing 1.2 first?
Looking at the broken installation closer, I found that a couple of years ago I created a script to start-tracd. I barely remember why though. I think it had to do with the ISP not having any interest in supporting our use of Trac. I can't believe this survived for almost 2 years.
nohup tracd -s --port 8000 --basic-auth="project,/home/user/example.com/trac/trac.passwd,Example Trac" /home/user/example.com/trac &If I run this now (without the "-s") I get this error. Could this be the problem?Traceback (most recent call last):
File "/home/user/trac/python/lib/python2.7/site-packages/tracd", line 5, in <module>
from pkg_resources import load_entry_point
File "/home/user/example.com/trac/python/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2970, in <module>
working_set = WorkingSet._build_master()
File "/home/user/example.com/trac/python/lib/python2.7/site-packages/pkg_resources/__init__.py", line 567, in _build_master
ws.require(__requires__)
File "/home/user/example.com/trac/python/lib/python2.7/site-packages/pkg_resources/__init__.py", line 876, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/user/example.com/trac/python/lib/python2.7/site-packages/pkg_resources/__init__.py", line 761, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Genshi>=0.6
You suggested I try to re-install Genshi above. But when I tried using pip to re-install Genshi, I got an unresolved dynamic library:~/trac/python/bin/pip --version
/home/user/trac/python/bin/python: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directoryHowever, I found the missing Genshi error mentioned in some notes I wrote 6 years ago. At the time I used easy_install:python ~/trac/python/bin/easy_install --install-dir=~/trac/python/lib/python2.7/site-packages GenshiAnd this worked, so now the Trac instance runs again. I have no idea how Genshi got broken, especially since as far as I know the files are all contained within my user space.
Thank you so much for your time an effort! You really did get me looking in the right places.So, someday we may have to upgrade from Trac 1.0.3. In your opinion, do you think it will work? ;-) I've seen various methods:python ~/trac/python/bin/easy_install --install-dir=~/trac/python/lib/python2.7/site-packages/ --upgrade Trac==1.x.xorpip install --upgrade TracAnd then dealing with any obsolete or change plugins.
EditFilePlugin 0.11.1.1 ./trac/plugins/EditFilePlugin-0.11.1.1-py2.7.egg
TracAccountManager 0.4.4 ./trac/plugins/TracAccountManager-0.4.4-py2.7.egg
TracAnnouncer 1.0dev-r0 ./trac/plugins/TracAnnouncer-1.0dev_r0-py2.7.egg
TracCustomFieldAdmin 0.2.8.post0 ./trac/plugins/TracCustomFieldAdmin-0.2.8.post0-py2.7.egg
TracWorkflowAdmin 0.12.0.2 ./trac/plugins/TracWorkflowAdmin-0.12.0.2-py2.7.egg
WorkflowEditorPlugin 1.2.0dev-r0 ./trac/plugins/WorkflowEditorPlugin-1.2.0dev_r0-py2.7.egg
I tried to check for newer versions, but it's not obvious. Does a tag of 1.4 for a plugin mean that it works with that version?
Hello Ryan,
Sorry to be replying to this 2-year-old thread, but I have the same error again. What worked to fix the problem last time (simply re-installing Genshi) doesn't work now.
Here is what I run and the error I get. I found a directory called "simple/six", but "pypi.python.org" redirects to "pypi.org". Could that redirection be why it can't find the package in /simple/six?
There are newer Genshi v0.7.xx, but not pre-built egg files that I could find.
$ python2.7 ~/trac/python/bin/easy_install --install-dir=~/trac/python/lib/python2.7/site-packages Genshi
Searching for Genshi
Best match: Genshi 0.7.4
Processing Genshi-0.7.4-py2.7-linux-x86_64.egg
Genshi 0.7.4 is already the active version in easy-install.pth
Using /home/xxxxxx/example.com/trac/python/lib/python2.7/site-packages/Genshi-0.7.4-py2.7-linux-x86_64.egg
Processing dependencies for Genshi
Searching for six
Reading https://pypi.python.org/simple/six/
Couldn't find index page for 'six' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
No local packages or download links found for six
error: Could not find suitable distribution for Requirement.parse('six')
Best regards,
Rick
--
You received this message because you are subscribed to a topic in the Google Groups "Trac Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/trac-users/sKX7GU0mwz4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to trac-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/d88a44ec-4cab-425e-98ed-9a5aa3ed71bfn%40googlegroups.com.