I’m in the process of planning a Trac upgrade to 1.4.
For right now, I’m testing the upgrade on a test vm.
Below is the environment before upgrade:
Trac 1.2.2
Genshi 0.7 (with speedups)
mod_python 3.3.1
Pygments 2.1
pysqlite 2.7.0
Python 2.7.15
setuptools 39.0.1
SQLite 3.11.0
jQuery 1.11.3
jQuery UI 1.11.4
jQuery Timepicker 1.5.5
Apache2 2.4.18
We do not have any custom templates.
This is what I’ve done so far:
After the upgrade, the projects do not have the following:
I can create a new project and it works as expected, but when I enable Trac Account Manager, I lose the login, as well as the admin and about trac tabs.
I have tried upgrading account manager to the latest version, but same results.
Is there a compatibility issue with Trac 1.4 and account manager?
What is causing account manager to break my Trac projects?
Thanks,
Patty
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/MN2PR15MB316863EA10E015BC56E8F572C2CA0%40MN2PR15MB3168.namprd15.prod.outlook.com.
Hi Patty,I had just went through upgrading 1.2.5 to 1.4.2 and for me the key was to use the SVN version of the AccountManager plugin:pip install svn+https://trac-hacks.org/svn/accountmanagerplugin/trunk-jeff
Thank you for the quick response.
I did try using the SVN version, but I used pip install svn+https://trac-hacks.org/svn/accountmanagerplugin/tags/acct_mgr-0.5.0, as per the instructions on the plugin page.
I still get the same results.
What is also strange is that not all the TracAccountManager components are listed in Manage Plugins web interface for the new project I created.
For example, the following components are not listed:
acct_mgr.admin.*
acct_mgr.macros.*
acct_mgr.notification.*
acct_mgr.register.*
acct_mgr.web_ui.*
I even tried adding those components to the trac.ini file, but that just broke the new project.
-- Patty
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAPGmwqBM6En4Yf4V-GC5AtwZxNno3dBgXpTjjfBoS8O3pR5rUA%40mail.gmail.com.
Thank you for the quick response.
I did try using the SVN version, but I used pip install svn+https://trac-hacks.org/svn/accountmanagerplugin/tags/acct_mgr-0.5.0, as per the instructions on the plugin page.
I still get the same results.
Ok, here is my update.
I installed the trunk version (0.6.dev) and I’m making progress, but still have some issues.
All the components are back when using the trunk version.
When enabling the LoginModule component however, the login page generates the following error, even though the Trac LoginModule is disabled:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
The only way I can login is to disable the Account Manager LoginModule and re-enable the Trac LoginModule.
I still need to review the logs to see what is causing the error in the login page; will update once I’ve had a chance to review.
I don’t think it is a configuration issue because the login worked before the upgrade to Trac 1.4.2.
The other weird thing, which I don’t believe to be Account Manager related is that when I run the trac-admin upgrade and trac-admin wiki upgrade on existing projects, the home page heading still says “Welcome to Trac 1.2”.
In the past, after running the trac-admin upgrade, this was updated to reflect the new version.
I never customized that heading in the existing projects, so I don’t understand why it is not updating.
In fact, the home page itself was never customized; it is the original home page.
The project itself does upgrade, as per the About Trac page, its just that heading in the home page that does not get updated to reflect the new version.
Worst case scenario, I will have to manually update the home pages of all our projects; thankfully, it is not a lot.
Any ideas why I might be experiencing this and has anyone else experienced this in their upgrades?
Thanks everyone for your help!
-- Patty
From: trac-...@googlegroups.com <trac-...@googlegroups.com>
On Behalf Of Ryan Ollos
Sent: Friday, December 11, 2020 12:16 PM
To: Trac Users <trac-...@googlegroups.com>
Subject: Re: [Trac] Problems upgrading Trac 1.2 to 1.4
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
trac-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CA%2BBGpn_gqvJaefOVL4%2BhbqPJTCNzjUF132pfgpOowmWfo3FQxg%40mail.gmail.com.
Ok, here is my update.
I installed the trunk version (0.6.dev) and I’m making progress, but still have some issues.
All the components are back when using the trunk version.
When enabling the LoginModule component however, the login page generates the following error, even though the Trac LoginModule is disabled:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
The only way I can login is to disable the Account Manager LoginModule and re-enable the Trac LoginModule.
I still need to review the logs to see what is causing the error in the login page; will update once I’ve had a chance to review.
I don’t think it is a configuration issue because the login worked before the upgrade to Trac 1.4.2.
The other weird thing, which I don’t believe to be Account Manager related is that when I run the trac-admin upgrade and trac-admin wiki upgrade on existing projects, the home page heading still says “Welcome to Trac 1.2”.
In the past, after running the trac-admin upgrade, this was updated to reflect the new version.
I never customized that heading in the existing projects, so I don’t understand why it is not updating.
In fact, the home page itself was never customized; it is the original home page.
The project itself does upgrade, as per the About Trac page, its just that heading in the home page that does not get updated to reflect the new version.
Worst case scenario, I will have to manually update the home pages of all our projects; thankfully, it is not a lot.
Any ideas why I might be experiencing this and has anyone else experienced this in their upgrades?