[SAC] [OSGeo] #2372: Upgrade Trac to 1.4

#2372: Upgrade Trac to 1.4
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2019-II
Component: Systems Admin | Keywords:
---------------------------+---------------------------------------
Our trac instance is running 1.2

I think we should upgrade it to the latest 1.4

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2372&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2372: Upgrade Trac to 1.4
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2019-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------

Comment (by robe):

I did a trial upgrade to 1.4 on dev and seemed to go okay

https://dev.trac.osgeo.org/osgeo

I'll check to make sure no broken plugins before I do the same to
production.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2372#comment:1&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2372: Upgrade Trac to 1.4
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2019-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------

Comment (by strk):

What we need to ensure still works is the mapping from
OSGeo Usernames to emails, for Cc/ and mailing partecipants
into a ticket.

It's implemented by a plugin of our own:
https://git.osgeo.org/gitea/sac/TracLDAPEmailResolverPlugin

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2372#comment:2&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2372: Upgrade Trac to 1.2.5
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2019-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------
Description changed by robe:

Old description:

Our trac instance is running 1.2

I think we should upgrade it to the latest 1.4

New description:

Our trac instance is running 1.2.2

The trial upgrade to 1.4 on dev demonstrated some of our plugins aren't
upward compatible to 1.4.

So I'll just upgrade to 1.2.5 until 1.4 stuff catches up.

I'll test the upgrade after I restore latests trac container backup to
dev.

--

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2372#comment:3&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2372: Upgrade Trac to 1.2.5
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2019-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------

Comment (by robe):

I restored latest backup of production and overwrote tracsvn-dev with it
and upgraded it to 1.2.5

Please check it out. It seemed though I needed to do a dist upgrade
before I could do a clean 1.2.5 ugprade (and in process things like
postgresql client got upgraded to 12 (though server is still at 10)

Please check it out.
https://dev.trac.osgeo.org/osgeo

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2372#comment:4&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2372: Upgrade Trac to 1.2.5
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2020-I
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+---------------------------------------
Changes (by robe):

* milestone: Sysadmin Contract 2019-II => Sysadmin Contract 2020-I

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2372#comment:5&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2372: Upgrade Trac to 1.2.5
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------
Changes (by robe):

* milestone: Sysadmin Contract 2022-I => Sysadmin Contract 2022-II

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2372#comment:11&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2372: Upgrade Trac to 1.2.5
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------
Comment (by robe):

another trial upgrade to 1.4.6 on dev - testing making sure email works.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2372#comment:12&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2372: Upgrade Trac to 1.4
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------
Description changed by robe:

Old description:

Our trac instance is running 1.2.2

The trial upgrade to 1.4 on dev demonstrated some of our plugins aren't
upward compatible to 1.4.

So I'll just upgrade to 1.2.5 until 1.4 stuff catches up.

I'll test the upgrade after I restore latests trac container backup to
dev.

New description:

I tried upgrading trac to latest 1.2 which is 1.2.6 on dev and ran into
issues with genshi template engine, seemed it couldn't upgrade that.
However upgrade to trac 1.4.2 was fine. I'm not sure how to check which
plugins don't work or not easily. I confirmed the email one and LDAP one
are working. The other issues people had I suspect are not relevant since
most projects have moved on to github for ticket tracking.

I plan to take a final look this weekend and then complete the upgrade on
production.

--

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2372#comment:12&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2372: Upgrade Trac to 1.4
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------

Comment (by robe):

oops just realized latest is 1.4.3, so I'm going to test that first on
dev.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2372#comment:13&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2372: Upgrade Trac to 1.4
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------

Comment (by robe):

I haven't deployed the new 1.4.3 to production because the layout, they
introduced some widget to show wiki page in full width mode vs. collapsed.
It defaults to collapsed which I find very annoying and makes all our
pages look different (the wiki part) than it did before.

On the up side it did drag me into installing themes which is nice, there
is a BlueFlat one which I found especially nice, but can't figure out how
to get logo.

Anyway on to the annoying collapsed layout. They do have configuration
under preferences - detailed here https://trac.edgewall.org/ticket/12780
that allows each user to configure to their liking.

I still would like it to default to full if users don't have it configured
so we have the old look of the pages. I haven't figured out where that
setting is for default state. Hopefully there is one.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2372#comment:14&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2372: Upgrade Trac to 1.4
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------

Comment (by robe):

The other issue that was complained about when I had upgraded earlier was
lack of SectionEditPlugin.
I was able to uninstall the old version 1.2 and install the new 1.3. I
confirmed 1.3 works in Trac 1.4.3.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2372#comment:15&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2372: Upgrade Trac to 1.4
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------

Comment (by robe):

Okay I'm going to start the upgrade process on prod. I think all the
plugins we had before I have gotten to work on dev. So it's just that
annoying default collapse which I'll resolve after we are live.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2372#comment:16&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2372: Upgrade Trac to 1.4
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+----------------------------------------
Changes (by robe):

* status: new => closed
* resolution: => fixed

Comment:

Done and steps detailed in https://git.osgeo.org/gitea/sac/osgeo7/wiki
/tracsvn-container#upgrade-from-trac-1-2-2-to-1-4-3
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2372#comment:17&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.