[CWB] Upgrade of CQPweb server

Hardie, Andrew a.hardie at lancaster.ac.uk
Mon Nov 17 15:46:22 CET 2025


Hi Stefan,

Re Ubuntu upgrade - it *Should* be OK. I hesitate to say "will" because Ubuntu upgrades have a way of surprising me. But to the best of my knowledge...

Re CQPweb. Stephanie mentioned the version issues. Version 3.3 does have known bugs, but not that many. If you are on 3.3.x already, there is no reason not to upgrade to the latest version on the repo.

The website is not up to date on version numbers, so don't worry about that. The latest in the repo ought to be 3.3.18.

>> Finally, is it possible to restrict access to the administration interface (/adm/) to an IP range or would that break any functionality for regular users?

Doing that should not break anything as far as I can think. The only difference for regular users is that if they go to /adm, they will get whatever your server is configured to provide upon an attempted access to something forbidden, rather than the CQPweb-internal error.

best

Andrew.

-----Original Message-----
From: CWB <cwb-bounces at sslmit.unibo.it> On Behalf Of Stefan Fischer via CWB
Sent: 17 November 2025 12:03
To: cwb at sslmit.unibo.it
Cc: Stefan Fischer <stefan.fischer at uni-saarland.de>
Subject: [CWB] Upgrade of CQPweb server


Hi everyone,

I would like to upgrade a server running CQPweb. I am aware of the system administrator's manual, but this server was not set up by me. Therefore, I would like to ask a couple of questions in advance to avoid potential pitfalls.

We want to upgrade from Ubuntu 22.04 LTS to 24.04 LTS. Has anyone faced issues with that upgrade? I vaguely remember that an earlier Ubuntu upgrade caused some problems due to changing defaults.

As far as I can see, only Perl will be affected by a major version change. The MySQL version seems to remain the same. I guess that means I'll have to reinstall cwb and cwb-perl from SVN. Our current system (cwb, cwb-perl, CQPweb) is based on revision 1826.

We were also thinking about an update of CQPweb (revision 1826, 3.3.17). However, I am somewhat uncertain about the version policy of CQPweb. The website (https://cwb.sourceforge.io/cqpweb.php#install) mentions 3.3.15 as the latest version. Where, in terms of stability, does revision 1826 stand? Is there a more recent revision that provides the same level of stability?

I checked the administrator's manual and could not find any necessary migration steps for 3.3.17 or later. Does that mean that I can simply compare r1826 with the latest SVN revision and merge any changes into the installed .php files?

While going through the current .php files, I found files named like the following examples:
usr/31/index.php
usr/4a/index.php
...

Do they serve a purpose? They all contain the same line of code:
<?php exit(1);

Finally, is it possible to restrict access to the administration interface (/adm/) to an IP range or would that break any functionality for regular users?

Thank you in advance!
Stefan
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
http://liste.sslmit.unibo.it/mailman/listinfo/cwb


More information about the CWB mailing list