[SAC] [OSGeo] #2822: Upgrade tracsvn to bullseye

#2822: Upgrade tracsvn to bullseye
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Keywords:
---------------------------+---------------------------------------
Tracsvn is currently at debian buster which is now oldoldstable.

Need to upgrade this to at least bullseye. Bookworm the next stable is in
RC phase.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2822&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2822: Upgrade tracsvn to bullseye
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+---------------------------------------
Comment (by strk):

Doing this should also give us Gitea support for the Agit workflow,
allowing us to create pull requests directly via `git push`:
https://github.com/go-gitea/gitea/issues/27579#issuecomment-1765074621
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2822#comment:2&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2822: Upgrade tracsvn to bullseye
------------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution:
Keywords: gitea, trac, svn |
------------------------------+---------------------------------------
Changes (by strk):

* keywords: => gitea, trac, svn

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

#2822: Upgrade tracsvn to bullseye
------------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: gitea, trac, svn |
------------------------------+---------------------------------------
Comment (by strk):

Bookworm is current stable, for the record, so we should probably go there
(Debian 12)
--
Ticket URL: <#2822 (Upgrade tracsvn to bullseye) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2822: Upgrade tracsvn to bullseye
------------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: gitea, trac, svn |
------------------------------+---------------------------------------
Comment (by robe):

Replying to [comment:5 strk]:
> Bookworm is current stable, for the record, so we should probably go
there (Debian 12)

As I recall you can't skip versions, so you need to go to bullseye first
and if we have to go there anyway we might as well confirm things still
work before venturing to bookworm.
--
Ticket URL: <#2822 (Upgrade tracsvn to bullseye) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2822: Upgrade tracsvn to bullseye
------------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: gitea, trac, svn |
------------------------------+---------------------------------------
Comment (by strk):

For the record: upgrade to Bookworm will give us access to Trac-1.6 via
backports, see #3238
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2822#comment:7&gt;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2822: Upgrade tracsvn to bullseye
------------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: gitea, trac, svn |
------------------------------+---------------------------------------
Comment (by robe):

Yah but I think it's safer to upgrade to bullseye first and then bookworm.
I'm not sure skipping upgrades is even allowed in debian. Maybe but it's
not in ubuntu and I assume for good reason.
--
Ticket URL: <#2822 (Upgrade tracsvn to bullseye) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2822: Upgrade tracsvn to bullseye
------------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: gitea, trac, svn |
------------------------------+---------------------------------------
Comment (by strk):

I've started the upgrade procedure on tracsvn-dev (osgeo4 container)
--
Ticket URL: <#2822 (Upgrade tracsvn to bullseye) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2822: Upgrade tracsvn to bullseye
------------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: gitea, trac, svn |
------------------------------+---------------------------------------
Comment (by strk):

Upgrade went bad, I've done:

  1. apt update && apt upgrade
  2. edit /etc/apt/sources.list and /etc/apt/sources.list.d/* replacing
buster with bullseyes
  3. apt upgrade && apt dist-upgrade

Current status, after all of the above: `systemctl status` fails after
1m30s of trying, with message `Failed to reload daemon: Transport endpoint
is not connected`
--
Ticket URL: <#2822 (Upgrade tracsvn to bullseye) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2822: Upgrade tracsvn to bullseye
------------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: gitea, trac, svn |
------------------------------+---------------------------------------
Comment (by strk):

Purging acpi packages fixed the issue. Please test if dev.gitea.osgeo.org
and dev.trac.osgeo.org work (we don't have staging svn ?)
--
Ticket URL: <#2822 (Upgrade tracsvn to bullseye) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2822: Upgrade tracsvn to bullseye
------------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-I
Component: SysAdmin | Resolution:
Keywords: gitea, trac, svn |
------------------------------+---------------------------------------
Comment (by strk):

We are also now running Trac-1.6 in staging https://dev.trac.osgeo.org
--
Ticket URL: <#2822 (Upgrade tracsvn to bullseye) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2822: Upgrade tracsvn to bullseye
--------------------------+------------------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-III (strk)
Component: SysAdmin | Resolution:
Keywords: gitea, trac, |
  svn |
--------------------------+------------------------------------------------
Changes (by robe):

* milestone: Sysadmin Contract 2024-I => Sysadmin Contract 2024-III (strk)

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

#2822: Upgrade tracsvn to bullseye
--------------------------+------------------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-III (strk)
Component: SysAdmin | Resolution:
Keywords: gitea, trac, |
  svn |
--------------------------+------------------------------------------------
Comment (by robe):

dev.gitea.osgeo.org my two-factor still works.

doing git clone via http works -

but git clone via ssh is failing:

{{{
  git clone ssh://git@dev.git.osgeo.org:3022/postgis/postgis.git postgis-
ssh

}}}

gives me 3022 connection timed out. I recall it worked last time I tried
it maybe you reset the port or something.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2822#comment:14&gt;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2822: Upgrade tracsvn to bullseye
--------------------------+------------------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-III (strk)
Component: SysAdmin | Resolution:
Keywords: gitea, trac, |
  svn |
--------------------------+------------------------------------------------
Comment (by strk):

Regina do you remember what did you do to fix network ? I'm also
experiencing slow transfers
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2822#comment:15&gt;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2822: Upgrade tracsvn to bullseye
--------------------------+------------------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-III (strk)
Component: SysAdmin | Resolution:
Keywords: gitea, trac, |
  svn |
--------------------------+------------------------------------------------
Comment (by strk):

Connecting to port 3022 works from the osgeo4 host but not from the
outside (where it times out).

The host proxy seems fine:

 devices:
   proxyssh3022:
     connect: tcp:127.0.0.1:22
     listen: tcp:140.211.15.32:3022
     type: proxy

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

#2822: Upgrade tracsvn to bullseye
--------------------------+------------------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2024-III (strk)
Component: SysAdmin | Resolution:
Keywords: gitea, trac, |
  svn |
--------------------------+------------------------------------------------
Comment (by strk):

Found the problem: firewall on osgeo4 was not having port 3022 open.
Opening that fixed the ssh clone issue. Fixed with
https://git.osgeo.org/gitea/sac/ansible-
deployment/commit/3f1f8cc3f00f27490414d7cf2849cfd744da77c9
--
Ticket URL: <#2822 (Upgrade tracsvn to bullseye) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.

#2822: Upgrade tracsvn to bullseye
--------------------------+------------------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2024-III (strk)
Component: SysAdmin | Resolution: fixed
Keywords: gitea, trac, |
  svn |
--------------------------+------------------------------------------------
Changes (by strk):

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

Comment:

Tracsvn is now upgraded to bullseye
--
Ticket URL: <#2822 (Upgrade tracsvn to bullseye) – OSGeo;
OSGeo <Gter - OSGeo;
OSGeo committee and general foundation issue tracker.