Edgewall Software
Modify

Opened 8 years ago

Closed 8 years ago

#12563 closed defect (worksforme)

None of my installed and enabled plugins are recognized

Reported by: adrya.stembridge@… Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords: plugins, installation, availability
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by anonymous)

I recently upgraded my server from EL6 to EL7 with the notable change being that the new server runs in FIPS mode (that may or may not matter here).

After installing trac and plugins, I updated the trac.ini and then restarted httpd. None of the installed plugins appear when I go to the Trac About page.

Some basic steps I used to install Trac on my RHEL7 box:

# Set up TRAC
yum install python-setuptools python-setuptools-devel python-genshi mod_wsgi python-pip trac
trac-admin /my/trac/env/ initenv
trac-admin /my/trac/env/ deploy /tmp/deploy
cat /tmp/deploy/cgi-bin/trac.wsgi
mv /tmp/deploy/* /my/trac/env/

# TRAC plugins
pip install svn+https://trac-hacks.org/svn/accountmanagerplugin/tags/acct_mgr-0.4.4
pip install svn+https://trac-hacks.org/svn/announcerplugin/trunk
pip install svn+https://trac-hacks.org/svn/ckeditorplugin/trunk

# https://trac-hacks.org/wiki/CkEditorPlugin
# ckeditor requires additional fidgeting: 
# first, create the directory
#
mkdir /my/trac/env/htdocs/js

# now check out a copy of ckeditor and install to the directory above ^^^
# 
svn checkout http://svn.ckeditor.com/CKEditor/releases/stable /my/trac/env/htdocs/js/ckeditor

# go ahead and update labels & permissions on all the files: 
# 
semanage fcontext -a -t httpd_sys_rw_content_t "/my/trac/env(/.*)?"
restorecon -Rv /my/trac/env
chown -R apache:webdev /my/trac/env/

For example, the accountmanager plugin is configured in trac.ini:

[account-manager]
user_lock_max_time = 86400
verify_email = true

Here it is in the filesystem:

[user@server ~]# locate AccountManager
/usr/lib/python2.7/site-packages/TracAccountManager-0.4.4-py2.7.egg-info
/usr/lib/python2.7/site-packages/TracAccountManager-0.4.4-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/TracAccountManager-0.4.4-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/TracAccountManager-0.4.4-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/TracAccountManager-0.4.4-py2.7.egg-info/entry_points.txt
/usr/lib/python2.7/site-packages/TracAccountManager-0.4.4-py2.7.egg-info/installed-files.txt
/usr/lib/python2.7/site-packages/TracAccountManager-0.4.4-py2.7.egg-info/requires.txt
/usr/lib/python2.7/site-packages/TracAccountManager-0.4.4-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/TracAccountManager-0.4.4-py2.7.egg-info/zip-safe

Permissions:

drwx------.  2 root root   4096 Jul 26 14:06 TracAnnouncer-1.0dev-py2.7.egg-info

Nothing is installed in the project environment's plugins directory:

[user@server ~]# ll /my/trac/env/plugins/
total 0

It also doesn't appear in the About list: http://imgur.com/c3kITFn.jpg

What might I be overlooking?

Attachments (0)

Change History (2)

comment:1 by anonymous, 8 years ago

Description: modified (diff)

comment:2 by anonymous, 8 years ago

Resolution: worksforme
Status: newclosed

Fixed. The permissions on the plugins were off. Updated, restarted httpd and I'm seeing the plugins on the about page.

Modify Ticket

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