🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.user
8 messages
8 total messages Started by Greg Wooledge Wed, 28 Oct 2026 21:00
Python 2.x and MoinMoin
#314
Author: Greg Wooledge
Date: Wed, 28 Oct 2026 21:00
40 lines
3188 bytes
I've asked this before, and never got a satisfying response.  Now,
it has become more urgent, so I'm asking again:

What's the path forward for anyone running a MoinMoin wiki (which
needs Python 2.x) on Debian?  This includes both the Debian project
itself (wiki.debian.org), and my own wiki (mywiki.wooledge.org).

The reason this has become more urgent for me is because I just received
notification that the platform on which my wiki is running is going to
be end-of-lifed on December 31.  I'll need to migrate to a newer
platform, and it will almost certainly mean a new version of Debian.

I'm currently running on Debian 10, because it has Python 2.

I'm running MoinMoin 1.9.11 which is the most recent stable release
of the wiki engine (from November 2020, nearly 6 years ago).

MoinMoin 2.x (which would support Python 3, as I understand it) appears
to be in a comatose state.  It had a single alpha release in March 2024,
over 2.5 years ago.

All of the options that I can see have substantial drawbacks:

 1) Continue running on Debian 10, if that's even possible.
    Drawbacks: no security updates.

 2) Migrate the wiki content to a different engine.
    Drawbacks: massive amount of work, probable loss of functionality,
    confusion for users.

 3) Build python 2.x + packages myself on a newer Debian system.
    Drawbacks: large amount of work, possible python security issues.

The last time I looked at this issue, and tried to evaluate wiki engines
to which the content could be ported, none of them came even *close* to
MoinMoin's feature set, except of course MediaWiki, which has its own
separate issues (needs PHP, needs a MySQL or equivalent database).

Has anyone done #3 yet, and have any success stories or horror stories
they'd like to share?
Re: Python 2.x and MoinMoin
#315
Author: Santiago Vila
Date: Wed, 28 Oct 2026 21:20
30 lines
2962 bytes
On Wed, Oct 28, 2026 at 04:55:29PM -0400, Greg Wooledge wrote:
> I've asked this before, and never got a satisfying response.  Now,
> it has become more urgent, so I'm asking again:
> 
> What's the path forward for anyone running a MoinMoin wiki (which
> needs Python 2.x) on Debian?  This includes both the Debian project
> itself (wiki.debian.org), and my own wiki (mywiki.wooledge.org).

I would try using the latest python2 package which did ever exist in
Debian with the most recent stable release on which it runs ok.

For example, I see there is a python2 source package in oldoldstable
according to rmadison. So the starting point would be using a machine
running Debian 11 (bullseye) with the python2 packages from Debian 11.

Next thing to try would be to check if such python2 packages from Debian 11
work well enough on top of a Debian 12 (bookworm) system, in which case,
that would preferred to the previous option.

Note that this would not be called a "frankendebian" system. It's what
we would get by upgrading Debian 11 to Debian 12, just before the
usual step of "removing all installed packages in the system which no
longer exist in Debian 12", except that we would not do that in this
case because we still need python2 packages.

[ A similar approach allows, for example, to run an old openjre
  package on a stable release which no longer includes it. Backwards
  compatibility usually makes such combinations to work ]

Thanks.
Re: Python 2.x and MoinMoin
#316
Author: didier gaumet
Date: Wed, 28 Oct 2026 22:30
11 lines
2224 bytes
Le 28/10/2026 à 21:55, Greg Wooledge a écrit :
[...]
> MoinMoin 2.x (which would support Python 3, as I understand it) appears
> to be in a comatose state.  It had a single alpha release in March 2024,
> over 2.5 years ago.[...]

Hello Greg,

Apparently five beta releases have been released after the one alpha 
release:
https://moin-20.readthedocs.io/en/latest/
Re: Python 2.x and MoinMoin
#317
Author: didier gaumet
Date: Wed, 28 Oct 2026 22:40
2 lines
1859 bytes
Sorry, forgot the link:
https://github.com/moinwiki/moin/tags
Re: Python 2.x and MoinMoin
#318
Author: Greg Wooledge
Date: Wed, 28 Oct 2026 23:30
17 lines
2280 bytes
On Wed, Oct 28, 2026 at 23:28:36 +0100, didier gaumet wrote:
> Le 28/10/2026 à 21:55, Greg Wooledge a écrit :
> [...]
> > MoinMoin 2.x (which would support Python 3, as I understand it) appears
> > to be in a comatose state.  It had a single alpha release in March 2024,
> > over 2.5 years ago.[...]
> 
> Hello Greg,
> 
> Apparently five beta releases have been released after the one alpha
> release:
> https://moin-20.readthedocs.io/en/latest/

Oh.  Well, someone might want to update <https://moinmo.in/#News>
in that case.

I guess I need to re-explore the migration strategy.
Re: Python 2.x and MoinMoin
#319
Author: Jonathan Dowland
Date: Thu, 29 Oct 2026 09:00
31 lines
2956 bytes
On Wed Oct 28, 2026 at 8:55 PM GMT, Greg Wooledge wrote:
> What's the path forward for anyone running a MoinMoin wiki (which
> needs Python 2.x) on Debian?  This includes both the Debian project
> itself (wiki.debian.org), and my own wiki (mywiki.wooledge.org).

In the case of the Debian Wiki, we are migrating it to Mediawiki[1].

If you consider a migration, you may find Paul Boddie's "MoinLight"[2,3]
useful; it has a very good Moin markup parser.

> The last time I looked at this issue, and tried to evaluate wiki 
> engines to which the content could be ported, none of them came even 
> *close* to MoinMoin's feature set, except of course MediaWiki, which 
> has its own separate issues (needs PHP, needs a MySQL or equivalent 
> database).

MediaWiki can use SQLite which simplifies the picture slightly.


[1] https://wiki.debian.org/DebianWiki/WikiRevamp
[2] https://groupware.boddie.org.uk/MoinLight/
[3] https://www.boddie.org.uk/paul/downloads/MoinLight-snapshot-20261021.tar.gz 

-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Jonathan Dowland
⢿⡄⠘⠷⠚⠋⠀ https://jmtd.net
⠈⠳⣄⠀⠀⠀⠀
Re: Python 2.x and MoinMoin
#320
Author: Dan Ritter
Date: Thu, 29 Oct 2026 14:50
31 lines
2874 bytes
Greg Wooledge wrote: 
> All of the options that I can see have substantial drawbacks:
> 
>  2) Migrate the wiki content to a different engine.
>     Drawbacks: massive amount of work, probable loss of functionality,
>     confusion for users.
> 
>  3) Build python 2.x + packages myself on a newer Debian system.
>     Drawbacks: large amount of work, possible python security issues.
> 
> The last time I looked at this issue, and tried to evaluate wiki engines
> to which the content could be ported, none of them came even *close* to
> MoinMoin's feature set, except of course MediaWiki, which has its own
> separate issues (needs PHP, needs a MySQL or equivalent database).

I don't know what features you actually need, but I will gently
advocate for dokuwiki, which:

- is well maintained
- does not require an RDBMS, even sqlite
- at least used to have a moinmoin importer
- is very themeable, not just in the sense of changing the
  colors and adding a logo, but in actually presenting
  substantially different interfaces, even simultaneously to
  different userss
- is very extensible

It does, sadly, require PHP. The recent excitement was solved by
apt update, apt upgrade, and restarting apache/nginx.

-dsr-
Re: Python 2.x and MoinMoin
#331
Author: monodev
Date: Fri, 30 Oct 2026 16:30
17 lines
2726 bytes
On 10/29/26 5:30 PM, Dan Ritter wrote:
> It does, sadly, require PHP. The recent excitement was solved by
> apt update, apt upgrade, and restarting apache/nginx.
Given the current state of the internet I think it's best to avoid
dynamic sites altogether wherever possible.

A small personal wiki that is rarely edited by anyone other than its
owner is probably better implemented as a wholly static site, with its
git repo exposed as read-only to enable collaboration through email.

Wikis specifically have been known to be targeted by AI agents, and bot
traffic is such a problem that it's rare to see a website that doesn't
use some bot management system such as cloudflare or anubis. A static
site alleviates both problems.

(Not that I'm suggesting this as a solution to Greg's problem, as it may
or may not be applicable, but as a general statement re: personal wikis.)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads