trac/agilo plugin on CentOS installation problems

35 views
Skip to first unread message

m.r...@5-cent.us

unread,
Apr 7, 2014, 11:07:01 AM4/7/14
to trac-...@googlegroups.com
Hi, folks,

I installed trac (0.12.5) on CentOS 6.5, then trac-agilo-plugin
(0.9.7-2) via yum. All this is the most current. Running this under
apache. All of this is the most current. However, trac comes up, but
I've been beating my head over several problems, and hours/days of
googling hasn't solved them.

First, let me note I used trac-admin to give myself all permissions,
and I've used the default sqlite d/b. I've also enabled agilo,
hypothetically.

What I'm fighting are these:
1. at the very top of the page, it announces I'm logged in as me,
preferences,
admin, a logout and a help. Everything's fine, except for admin,
which, when
I mouse over it, shows
https://<servername>/trac/PLT/cgi-bin/trac.cgi/admin/undefined
Undefined?
2. I do a search on agilo, in trac, and find a quick start, but it
tells me to
click a bullet-looking icon that's admin, which isn't there, to
create a team.

What do I need to do to get the admin to exist, so I can get this
working for my users?

Thanks in advance.

mark

RjOllos

unread,
Apr 7, 2014, 8:43:55 PM4/7/14
to trac-...@googlegroups.com, m.r...@5-cent.us

It sounds like your issue is with Agilo, so you will have better luck posting in the Agilo forum:
https://groups.google.com/forum/#!forum/agilo

If you can reproduce an issue with Agilo disabled, then we are more likely able to help you with the issue.

mark

unread,
Apr 8, 2014, 8:10:19 AM4/8/14
to trac-...@googlegroups.com
On 04/07/14 20:43, RjOllos wrote:
> On Monday, April 7, 2014 8:07:01 AM UTC-7, m.r...@5-cent.us wrote:
>>
>> I installed trac (0.12.5) on CentOS 6.5, then trac-agilo-plugin
>> (0.9.7-2) via yum. All this is the most current. Running this under
>> apache. All of this is the most current. However, trac comes up, but
>> I've been beating my head over several problems, and hours/days of
>> googling hasn't solved them.
>>
>> First, let me note I used trac-admin to give myself all permissions,
>> and I've used the default sqlite d/b. I've also enabled agilo,
>> hypothetically.
>>
>> What I'm fighting are these:
>> 1. at the very top of the page, it announces I'm logged in as me,
>> preferences, admin, a logout and a help. Everything's fine, except
>> for admin, which, when I mouse over it, shows
>> https://<servername>/trac/PLT/cgi-bin/trac.cgi/admin/undefined
>> Undefined?
>> 2. I do a search on agilo, in trac, and find a quick start, but it
>> tells me to click a bullet-looking icon that's admin, which isn't
>> there, to create a team.
>>
>> What do I need to do to get the admin to exist, so I can get this
>> working for my users?
>>
> It sounds like your issue is with Agilo, so you will have better luck
> posting in the Agilo forum:
> https://groups.google.com/forum/#!forum/agilo
>
> If you can reproduce an issue with Agilo disabled, then we are more likely
> able to help you with the issue.
>
What about the Admin tab? Shouldn't that be there in straight Trac?

mark

RjOllos

unread,
Apr 8, 2014, 2:57:13 PM4/8/14
to trac-...@googlegroups.com, m.r...@5-cent.us


On Tuesday, April 8, 2014 5:10:19 AM UTC-7, mark wrote:
What about the Admin tab? Shouldn't that be there in straight Trac?

Yes, if you have TRAC_ADMIN, and you get a limited set of panels for some other permissions, such as MILESTONE_ADMIN. Please make sure you confirm though that the admin panel is not present with Agilo disabled.

If the admin panel is not present with Agilo disabled, then the best next step will be to set TracLogging DEBUG, restart the web server and looks for:
 - Components failing to load
 - Permission checks

m.r...@5-cent.us

unread,
Apr 8, 2014, 3:15:29 PM4/8/14
to trac-...@googlegroups.com
Just one question, then: is it the case that without the agilo plugin
installed on the system, that the base trac does *not* have an admin link,
anywhere on the home page?

This *appears* to conflict with what I read in the internal trac wiki,
that mentioned handling plugins via the admin page, which it shows an
example of.

mark

RjOllos

unread,
Apr 8, 2014, 3:29:44 PM4/8/14
to trac-...@googlegroups.com, m.r...@5-cent.us
Trac w/o Agilo has an Admin link on the main navigation bar. 

m.r...@5-cent.us

unread,
Apr 8, 2014, 3:40:20 PM4/8/14
to trac-...@googlegroups.com
Nothing. I created another project, then wound up renaming the original,
and renaming the new one (so I wouldn't have to screw with the apache
config files). No agilo here, and I gave myself admin rights, but all I
see is what's in trac.ini,
mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search
metanav = login,logout,prefs,help,about

So I'm fully stumped. No useful info in the logs. Oh, and I tried,
manually, adding https://server/project/cgi-bin/trac.cgi/Admin and
/Admin/web_ui (with and without capital A), and nothing.

mark

m.r...@5-cent.us

unread,
Apr 8, 2014, 3:56:40 PM4/8/14
to RjOllos, trac-...@googlegroups.com
RjOllos wrote:
> On Tuesday, April 8, 2014 12:15:29 PM UTC-7, m.r...@5-cent.us wrote:
>>
>> Just one question, then: is it the case that without the agilo plugin
>> installed on the system, that the base trac does *not* have an admin
>> link, anywhere on the home page?
>>
>> This *appears* to conflict with what I read in the internal trac wiki,
>> that mentioned handling plugins via the admin page, which it shows an
>> example of.
>
> Trac w/o Agilo has an Admin link on the main navigation bar.
>

I just recreated/installed using trac-admin - initenv, minimally edit
trac.ini, deploy, and grant TRAC_ADMIN to myself (and chmod u+x on
track.cgi).

logged in as <me> Logout Preferences Help/Guide About Trac

Wiki Timeline Roadmap View Tickets New Ticket Search

wiki:WikiStart
Start Page
Index
History

And that's what's there. Nothing like an admin.

Btw, excerpted from my trac.conf for apache:
SetEnv TRAC_ENV /path/to/trac/project
SetEnv
PYTHONPATH=/usr/lib/python2.6/site-packages/Genshi-0.6-py2.6.egg:/usr/lib/python2.6/site-packages:$PYTHONPATH
SetEnv PYTHON_EGG_CACHE /tmp

<Location /cgi-bin/trac.cgi>
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /path/to/trac
</Location>

Is there any other info you could use?

mark

RjOllos

unread,
Apr 8, 2014, 3:58:13 PM4/8/14
to trac-...@googlegroups.com, RjOllos, m.r...@5-cent.us
What is in the [components] section of Trac.ini?

 

m.r...@5-cent.us

unread,
Apr 8, 2014, 4:06:16 PM4/8/14
to trac-...@googlegroups.com, RjOllos
I didn't add one, so there is no such section.

mark

m.r...@5-cent.us

unread,
Apr 8, 2014, 4:20:54 PM4/8/14
to trac-...@googlegroups.com, RjOllos
I got it.

Unlike what the documentation says - I *am* sshing in, and using
organization-wide authentication, I needed to trac-admin
/path/to/trac/project/ permission add user...@organization.name
TRAC_ADMIN, which was not suggested as an example anywhere.

thanks, anyway.

mark

RjOllos

unread,
Apr 8, 2014, 4:24:56 PM4/8/14
to trac-...@googlegroups.com, RjOllos, m.r...@5-cent.us
I'm not sure I get what the problem is, except that maybe you were having issues with how usernames for authentication map to session usernames in your Trac?

It's always good to use the "permission list" command to confirm that the user has the permissions that you are expecting.
Reply all
Reply to author
Forward
0 new messages