Edgewall Software
Modify

Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#8779 closed defect (invalid)

No handler matched request to /login

Reported by: hzhang@… Owned by:
Priority: highest Milestone:
Component: general Version: 0.11.5
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:

Description

I recently upgrade trac from version 0.11.1b to 0.11.5. Somehow the login/register links disappear from the page. When I tried to run ../login in browser I got the error message like "No handler matched request to /login". Same thing happened to /register.

Any suggestion? We have been running around 10 trac instances in one web server for two years. They were working perfectly until now.

Thanks.

Attachments (0)

Change History (3)

comment:1 by hzhang@…, 10 years ago

I made a yum update of python. Now Login shows up. But register still does not. Also I could not login with the existing username and password. The error message is Invalid username or password.

Here is the component and account-manager section of my trac.ini

[account-manager] authentication_url = <inherited> generated_password_length = 8 hash_method = HtDigestHashMethod htdigest_realm = request password_file = /mnt/data/www/apps/request/request.htdigest password_format = htdigest

[components] acct_mgr.admin.* = enabled acct_mgr.admin.accountmanageradminpage = enabled acct_mgr.api.* = enabled acct_mgr.db.* = enabled acct_mgr.htfile.* = enabled acct_mgr.htfile.htdigeststore = enabled acct_mgr.http.* = enabled acct_mgr.pwhash.* = enabled acct_mgr.svnserve.* = enabled acct_mgr.web_ui.* = enabled acct_mgr.web_ui.accountmodule = enabled acct_mgr.web_ui.loginmodule = enabled acct_mgr.web_ui.registrationmodule = enabled trac.web.auth.loginmodule = disabled webadmin.* = enabled

comment:2 by Remy Blank, 10 years ago

Resolution: invalid
Status: newclosed

This is most likely an InstallationIssue and a PluginIssue. More specifically, when updating Python, you have to re-install all your plugins, even if they are located in the plugins folder of your environment, as the Python version is included in the name of the egg. So reinstall AccountManagerPlugin (which provides the /register path) and all your other plugins.

comment:3 by labs@…, 9 years ago

I ran into the same issue when trying to update the AccountManagerPlugin.

IMHO, it is too easy to just link to InstallationIssue, when there is no good how-to-description available how to upgrade a certain part of your trac setup.

In my case I fixed it by building a new plugin .egg from the AccountManagerPlugin source (with python setup.py bdist_egg) and then to rename the new .egg onto the old name/location.
I couldn't find out how to just remove the old .egg and using the new .egg

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 as closed 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.