Re: [Trac] Problems upgrading Trac 1.2 to 1.4

2020-12-14 Thread RjOllos


On Monday, December 14, 2020 at 1:05:59 PM UTC-8 pcottrill wrote:

> 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 log might have some hints as to the problem:
https://trac.edgewall.org/wiki/TracTroubleshooting#ChecktheLogs
 

> 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?
>

The WikiStart page isn't updated when upgrading Trac or the wiki:
https://trac.edgewall.org/browser/tags/trac-1.4.2/trac/wiki/admin.py?marks=269#L266

For that reason, we changed the text a few releases ago so that it says 
"Welcome to Trac" rather than "Welcome to Trac 1.4.2". That change also 
elimianted one step in our release process, because we don't have to change 
the version on the wiki page in the repository.
https://trac.edgewall.org/browser/tags/trac-1.4.2/trac/wiki/default-pages/WikiStart

For other reasons though, make sure to run "trac-admin $env wiki upgrade" 
in addition to "trac-admin $env upgrade".
https://trac.edgewall.org/wiki/TracUpgrade#UpdatetheTracDocumentation

Ryan

>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/90dbb234-16c2-4373-a78b-9137b507b5f9n%40googlegroups.com.


RE: [Trac] Problems upgrading Trac 1.2 to 1.4

2020-12-14 Thread Patty Cottrill
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-users@googlegroups.com  On Behalf Of 
Ryan Ollos
Sent: Friday, December 11, 2020 12:16 PM
To: Trac Users 
Subject: Re: [Trac] Problems upgrading Trac 1.2 to 1.4



On Fri, Dec 11, 2020 at 9:10 AM Patty Cottrill 
mailto:pcottr...@imci.net>> wrote:
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.

Install from trunk, like Jeff mentioned:
pip install svn+https://trac-hacks.org/svn/accountmanagerplugin/trunk

The plugin page needs to be updated.


Ryan
--
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+unsubscr...@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.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/MN2PR15MB316835097C810DC199062EE9C2C70%40MN2PR15MB3168.namprd15.prod.outlook.com.