#8779 closed defect (invalid)
No handler matched request to /login
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | general | Version: | 0.11.5 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal 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 , 15 years ago
comment:2 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
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 , 14 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
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