[CWB] Upgrading from.. ehem... Ubuntu Server LTS 18.04

Scott Sadowsky ssadowsky at gmail.com
Sun Aug 2 00:45:25 CEST 2026


Hi Timm,

First of all, many thanks for your response. I tried this a year or so ago,
so I don't remember all that many details (it still works to this day, so I
left it alone).

I do remember crashes due to incompatible PHP versions. Not sure if that
happened with R or anything else, but definitely PHP.

CQPwebOutsideTheBox looks interesting, but I rent a bare-metal server and
this seems to be a VM image. I know there are ways of "devirtualizing", but
I don't know if my provider supports them.

So it looks like I'm going to have to either do multiple updates of Ubuntu
(four, in fact) or reinstall 26.04 LTS.

In either case, how can I make sure my CQP data survives, as well as its
config files? Is there even a definitive list of config files used by
CQP/CWB?

An ancient trick I learned a long time ago was to set the immutable bit on
files so that not even root can modify or delete them (sudo chattr +i) and
I could use this anywhere needed... if I knew where it's needed.

Thing is, I set my server up so long ago that my CQPweb/CWB skills are
worse than rusty.

Thanks!

Scott




On Sat, Aug 1, 2026, 03:36 Timm Weber <timm.weber at fau.de> wrote:

> Hello Scott,
>
> the proper way of doing this upgrade would be first upgrading (or better
> reinstalling) Ubuntu and then reinstalling the CWB. You can keep your data
> directories (corpus data/registry) but you definitely need to reinstall all
> of the CWB/CQP binaries, since they depend on system libraries which will
> have changed during the upgrade. To make your life a bit easier you can use
> the cwb Debian package from the website instead of manually compiling the
> CWB from source.
>
> If this is what you have already tried so far, please provide some more ))
> details in what way the CWB install broke for you (which components, any
> error messages etc).
>
> Best regards
> Timm
>
>
> Am 01.08.2026 05:57 schrieb Scott Sadowsky via CWB <cwb at sslmit.unibo.it>:
>
> Hi all!
>
> My corpus server has been running perfectly fine, and without
> interruption, for the last eight years. So if it ain't broke, don't fix it,
> right?
>
> But there have been countless security patches and upgrades to Ubuntu and
> improvements to CWB in this time, so I'd like to upgrade both. I tried to
> upgrade Ubuntu, but it entirely broke CWB (fortunately, I had a full image
> backup to restore from). I tried it the other way around and it also broke.
>
> So can anybody give me some advice on how to do this properly?
>
> All the best,
> Scott
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20260801/cdf4d164/attachment.html>


More information about the CWB mailing list