[...]
Also, when I create a ticket under the old environments, I can select from a list of owners to assign to, but the newly created environment does not have a list!
Thanks, I performed the command 'trac-admin /path/to/projenv/NewTrac2 permission add Mike TRAC_ADMIN' .. I added myself.But no go, no Admin tab. I can log in just fine, but no Admin tab.I can the command again and I got "The user Mike already has permission TRAC_Admin." ... cleared cache/cookies. No go, no Admin tab.
On Tue, Sep 29, 2015 at 11:59 AM, Erick D <charles...@gmail.com> wrote:
Thanks, I performed the command 'trac-admin /path/to/projenv/NewTrac2 permission add Mike TRAC_ADMIN' .. I added myself.But no go, no Admin tab. I can log in just fine, but no Admin tab.
I can the command again and I got "The user Mike already has permission TRAC_ADMIN." ... cleared cache/cookies. No go, no Admin tab.
The 'parent' trac.ini, where other trac.ini settings are inherited, has 'restrict_owner = true' already to true.
The 'About Trac' page shows no settings. (attached pic)
This is the conf/trac.ini from the new env:----------------------------------------------------------------------------------------
Removed: (Just commented out)#webadmin.* = enabled#trac.ticket.report.* = enabled#acct_mgr.api = enabled#trac.ticket.batch.* = enabledDisabled:acct_mgr.* = disabledWe are using and need:trac.web.auth.LoginModule = enabled(If I disable this, I get this "No handler matched request to /login")
Also, AccountManagerPlugin is at 0.4.4, although it is disabled now.What is the list of files in your [inherit] templates_dir? (from - /share/trac/templates)about.htmlattachment.htmldiff_div.htmldiff_view.htmlerror.htmlfooter.csheader.cshistory_view.htmlindex.htmllayout.htmlmacros.csmacros.htmlmacros.rsspage_index.htmlREADMEtheme.html
I set the logs to DEBUG, restarted web server. What exactly am I looking for in the logs?Thanks!
Removed: [inherit] templates_dir from the parent config.Trac log attached.We are running Trac on a webserver (Apache).Thanks!
Thanks Ryan.I think it may be the way Mysql interacts with the new Trac env.Before I created the env, I created a Test folder on the directory where all other environments are, and our site got an SQL Access error.I then created a DB on mysql matching the name of the new Test folder and made the mysql connection string 'mysql://user:password@localhost:3306/NameofNewEnv' ...then the SQL access error disappeared.I don't think it's the Apache config, the other environments are working fine.If I upgrare to v 1.0.9, will there be major headaches?
I checked mysql's character set and collation, all are good.Today, I noticed that I provided the incorrect trac.log. (attached)Attached is the correct log. I noticed, that although Mike has TRAC_ADMIN when I run 'trac-admin . permission list' .... the debug log shows"No policy allowed Mike performing TRAC_ADMIN on None"I think there's an issue here?
I have restarted apache several times via 'sudo /etc/init.d/apache2 restart' ... restarts just fine, but same issue.Anyway to clear the permission cache?
I compared '#trac-admin . permission list' to mysql interface (I'm using SQLyog), I pulled up the permission table .. and I did have trac admin, but it spelled out exactly like "TRAC_Admin" .. I changed it to all caps "TRAC_ADMIN", restarted apache and worked! I now have the Admin tab.Thanks for your help Ryan. I appreciate it.
Did you resolve the issue you were having with [ticket] restrict_owner?Did not check this.. The 'About Trac' shows 'restrict_owner' = TrueWhen I create a new ticket, I do see myself in the drop down list, but no one else. I'm trying to figure out how I can get a list of users from my other trac environments on the same machine.
Just added all users into session table with auth set to 1. It worked.Thanks a bunch Ryan!