From qumino2 at gmail.com Sat Nov 15 01:42:03 2025 From: qumino2 at gmail.com (Min Qu) Date: Sat, 15 Nov 2025 08:42:03 +0800 Subject: [CWB] Corpora alignment issue on CQPweb Message-ID: Dear CWB developers, We have installed two separate corpora and added alignment using command-line CWB methods. However, when we conduct a query, the results still do not show any alignment. I am not sure where I should look to identify and resolve this issue. Could you please provide some guidance on troubleshooting the CWB alignment process? Thank you for your help. Best, Qu Min -------------- next part -------------- An HTML attachment was scrubbed... URL: From graham.ranger at univ-avignon.fr Sat Nov 15 07:54:53 2025 From: graham.ranger at univ-avignon.fr (graham.ranger) Date: Sat, 15 Nov 2025 07:54:53 +0100 Subject: [CWB] Corpora alignment issue on CQPweb In-Reply-To: Message-ID: <20251115065453.F22311000C7@zmtaauth06.partage.renater.fr> Hello,?Have your declared the parallel alignments, using the left hand menu? You didn't mention this, which is the final step, after the command line stuff!?Best,?Graham Ranger.Envoy? depuis mon appareil Galaxy -------- Message d'origine --------De : Min Qu via CWB Date : 15/11/2025 01:44 (GMT+01:00) ? : Open source development of the Corpus WorkBench Cc : Min Qu Objet : [CWB] Corpora alignment issue on CQPweb Dear CWB developers,We have installed two separate corpora and added alignment using command-line CWB methods. However, when we conduct a query, the results still do not show any alignment.I am not sure where I should look to identify and resolve this issue. Could you please provide some guidance on troubleshooting the CWB alignment process?Thank you for your help.Best,Qu Min -------------- next part -------------- An HTML attachment was scrubbed... URL: From qumino2 at gmail.com Sat Nov 15 09:18:39 2025 From: qumino2 at gmail.com (Min Qu) Date: Sat, 15 Nov 2025 16:18:39 +0800 Subject: [CWB] Corpora alignment issue on CQPweb In-Reply-To: <20251115065453.F22311000C7@zmtaauth06.partage.renater.fr> References: <20251115065453.F22311000C7@zmtaauth06.partage.renater.fr> Message-ID: I believe I have declared the parallel alignment on CQPweb. However, when I conduct a query, it says no alignment found. [image: image.png] [image: image.png] Best, Qu Min On Sat, Nov 15, 2025 at 3:02?PM graham.ranger via CWB wrote: > Hello, > Have your declared the parallel alignments, using the left hand menu? You > didn't mention this, which is the final step, after the command line stuff! > Best, > Graham Ranger. > > > > Envoy? depuis mon appareil Galaxy > > > -------- Message d'origine -------- > De : Min Qu via CWB > Date : 15/11/2025 01:44 (GMT+01:00) > ? : Open source development of the Corpus WorkBench > Cc : Min Qu > Objet : [CWB] Corpora alignment issue on CQPweb > > Dear CWB developers, > > We have installed two separate corpora and added alignment using > command-line CWB methods. However, when we conduct a query, the results > still do not show any alignment. > > I am not sure where I should look to identify and resolve this issue. > Could you please provide some guidance on troubleshooting the CWB alignment > process? > > Thank you for your help. > > Best, > Qu Min > _______________________________________________ > CWB mailing list > CWB at sslmit.unibo.it > http://liste.sslmit.unibo.it/mailman/listinfo/cwb > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 57355 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 70554 bytes Desc: not available URL: From qumino2 at gmail.com Sat Nov 15 14:03:39 2025 From: qumino2 at gmail.com (Min Qu) Date: Sat, 15 Nov 2025 21:03:39 +0800 Subject: [CWB] Corpora alignment issue on CQPweb In-Reply-To: References: <20251115065453.F22311000C7@zmtaauth06.partage.renater.fr> Message-ID: Hi everyone, I believe I have found the root cause of the alignment issue: I realized I forgot to include the s attribute (s_id) when installing the corpora. Best, Qu Min Min Qu ??? 15.11.202516:18??? > I believe I have declared the parallel alignment on CQPweb. However, when > I conduct a query, it says no alignment found. > [image: image.png] > [image: image.png] > > > Best, > Qu Min > > > On Sat, Nov 15, 2025 at 3:02?PM graham.ranger via CWB > wrote: > >> Hello, >> Have your declared the parallel alignments, using the left hand menu? You >> didn't mention this, which is the final step, after the command line stuff! >> Best, >> Graham Ranger. >> >> >> >> Envoy? depuis mon appareil Galaxy >> >> >> -------- Message d'origine -------- >> De : Min Qu via CWB >> Date : 15/11/2025 01:44 (GMT+01:00) >> ? : Open source development of the Corpus WorkBench >> >> Cc : Min Qu >> Objet : [CWB] Corpora alignment issue on CQPweb >> >> Dear CWB developers, >> >> We have installed two separate corpora and added alignment using >> command-line CWB methods. However, when we conduct a query, the results >> still do not show any alignment. >> >> I am not sure where I should look to identify and resolve this issue. >> Could you please provide some guidance on troubleshooting the CWB alignment >> process? >> >> Thank you for your help. >> >> Best, >> Qu Min >> _______________________________________________ >> CWB mailing list >> CWB at sslmit.unibo.it >> http://liste.sslmit.unibo.it/mailman/listinfo/cwb >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 57355 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 70554 bytes Desc: not available URL: From stefan.fischer at uni-saarland.de Mon Nov 17 13:02:48 2025 From: stefan.fischer at uni-saarland.de (Stefan Fischer) Date: Mon, 17 Nov 2025 13:02:48 +0100 Subject: [CWB] Upgrade of CQPweb server Message-ID: <50a17441-961d-477d-9d7c-9eff289bd827@uni-saarland.de> 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: References: <50a17441-961d-477d-9d7c-9eff289bd827@uni-saarland.de> Message-ID: <9A4962A4-9BFC-46A3-8349-F3EA0F29EA99@collocations.de> Hi Stefan, I can answer some of these points: > 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. Our CQPweb server runs on Ubuntu 24.04.3. As far as I can remember, we didn't have any major issues during the OS upgrade. However, ? > 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? ? we're still on CQPweb v3.2.44 because 3.3 is still considered unstable / incomplete and we didn't have the courage to upgrade. Did you upgrade your server from 3.2 to 3.3 at some point? And if so, did you have major issues due to the upgrade? > 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. You could also simply install CWB from the .deb-package and cwb-perl from CPAN. Though it's always best to use the latest and least buggy versions from SVN, of course. > 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: > References: <50a17441-961d-477d-9d7c-9eff289bd827@uni-saarland.de> <9A4962A4-9BFC-46A3-8349-F3EA0F29EA99@collocations.de> Message-ID: I'll answer this one now: > 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: > >>Yes, these are weird. We've got two such subdirectories on our CQPweb server (with different numbers), created 5 years apart. Short explanation: It's a security plug. Long explanation: This directory structure is how user-installed corpora are accessed. The system of directory naming (reflected in the URL) is ... / usr / (hex code of first byte of username) / (username) / (underscore then base-36 ID of corpus) (why split the accounts up according to first byte? cos I have 40,000+ user accounts on my server) By default, if a browser accesses a folder, Apache EITHER serves up the "index.html~php~whatever", if there is one, OR otherwise prints the directory's content list. Therefore, making the byte-code directories (and user directories) content-listable over the web would expose usernames (plus the number of corpora each user has installed). Having an index.php file that runs but produces nothing - ie " On Behalf Of Stephanie Evert via CWB Sent: 17 November 2025 13:38 To: CWBdev Mailing List Cc: Stephanie Evert Subject: Re: [CWB] Upgrade of CQPweb server Hi Stefan, I can answer some of these points: > 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. Our CQPweb server runs on Ubuntu 24.04.3. As far as I can remember, we didn't have any major issues during the OS upgrade. However, ... > 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? ... we're still on CQPweb v3.2.44 because 3.3 is still considered unstable / incomplete and we didn't have the courage to upgrade. Did you upgrade your server from 3.2 to 3.3 at some point? And if so, did you have major issues due to the upgrade? > 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. You could also simply install CWB from the .deb-package and cwb-perl from CPAN. Though it's always best to use the latest and least buggy versions from SVN, of course. > 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: > References: <20251115065453.F22311000C7@zmtaauth06.partage.renater.fr> Message-ID: Hi Min, Did fixing the s_id then fix the alignment display problem? Andrew. From: CWB On Behalf Of Min Qu via CWB Sent: 15 November 2025 13:04 To: Open source development of the Corpus WorkBench Cc: Min Qu Subject: Re: [CWB] Corpora alignment issue on CQPweb Hi everyone, I believe I have found the root cause of the alignment issue: I realized I forgot to include the s attribute (s_id) when installing the corpora. Best, Qu Min Min Qu >??? 15.11.202516:18??? I believe I have declared the parallel alignment on CQPweb. However, when I conduct a query, it says no alignment found. [cid:image001.png at 01DC57CD.D9958800] [cid:image002.png at 01DC57CD.D9958800] Best, Qu Min On Sat, Nov 15, 2025 at 3:02?PM graham.ranger via CWB > wrote: Hello, Have your declared the parallel alignments, using the left hand menu? You didn't mention this, which is the final step, after the command line stuff! Best, Graham Ranger. Envoy? depuis mon appareil Galaxy -------- Message d'origine -------- De : Min Qu via CWB > Date : 15/11/2025 01:44 (GMT+01:00) ? : Open source development of the Corpus WorkBench > Cc : Min Qu > Objet : [CWB] Corpora alignment issue on CQPweb Dear CWB developers, We have installed two separate corpora and added alignment using command-line CWB methods. However, when we conduct a query, the results still do not show any alignment. I am not sure where I should look to identify and resolve this issue. Could you please provide some guidance on troubleshooting the CWB alignment process? Thank you for your help. Best, Qu Min _______________________________________________ CWB mailing list CWB at sslmit.unibo.it http://liste.sslmit.unibo.it/mailman/listinfo/cwb -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 57355 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 70554 bytes Desc: image002.png URL: From a.hardie at lancaster.ac.uk Mon Nov 17 15:46:22 2025 From: a.hardie at lancaster.ac.uk (Hardie, Andrew) Date: Mon, 17 Nov 2025 14:46:22 +0000 Subject: [CWB] Upgrade of CQPweb server In-Reply-To: <50a17441-961d-477d-9d7c-9eff289bd827@uni-saarland.de> References: <50a17441-961d-477d-9d7c-9eff289bd827@uni-saarland.de> Message-ID: 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 On Behalf Of Stefan Fischer via CWB Sent: 17 November 2025 12:03 To: cwb at sslmit.unibo.it Cc: Stefan Fischer 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: References: <50a17441-961d-477d-9d7c-9eff289bd827@uni-saarland.de> <9A4962A4-9BFC-46A3-8349-F3EA0F29EA99@collocations.de> Message-ID: <7add5e87-5ad5-4fc6-965f-251cbe28f22c@uni-saarland.de> Hi Stephanie, > Our CQPweb server runs on Ubuntu 24.04.3. As far as I can remember, we didn't have any major issues during the OS upgrade. However, ? Thanks for looking up the release number. That's already reassuring. > ? we're still on CQPweb v3.2.44 because 3.3 is still considered unstable / incomplete and we didn't have the courage to upgrade. Did you upgrade your server from 3.2 to 3.3 at some point? And if so, did you have major issues due to the upgrade? The earliest CQPweb version mentioned in our documentation is 3.2.31. So, I guess that we upgraded successfully from 3.2 to 3.3. However, that happened before I took over administration of the server. I found a short note that installing r1826 caused an issue related to "php upgrade-database.php". Apparently, this was fixed by removing some "saved_catqueries" for the corpus with id=0. I hope that helps. After you mentioned upgrade issues, I had a closer look at our database. Luckily, all upgrade steps in upgrade-database.php were applied successfully. However, I noted that there are still some MyISAM tables. I guess, before any other upgrades, we should fix this by calling force-innodb.php? > You could also simply install CWB from the .deb-package and cwb-perl from CPAN. Though it's always best to use the latest and least buggy versions from SVN, of course. Thanks for mentioning the .deb and CPAN packages. I'd actually prefer these to a manual installation. However, r1826 (2022-10-15) seems to be a couple of months newer than the available .deb and CPAN versions. Could that downgrade cause any issues with a newer version CQPweb? That is, does the unstable version of CQPweb depend on minor bug fixes? Best, Stefan From stefan.fischer at uni-saarland.de Wed Nov 19 18:00:04 2025 From: stefan.fischer at uni-saarland.de (Stefan Fischer) Date: Wed, 19 Nov 2025 18:00:04 +0100 Subject: [CWB] Upgrade of CQPweb server In-Reply-To: References: <50a17441-961d-477d-9d7c-9eff289bd827@uni-saarland.de> Message-ID: Hi Andrew, > 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... Thanks, that is already helpful. > 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. Well, now I am getting cautious ... Luckily, the current revision works for us and no issues were reported by our users. Maybe, we don't use the more advanced features. Best, Stefan From stefan.fischer at uni-saarland.de Wed Nov 19 18:01:47 2025 From: stefan.fischer at uni-saarland.de (Stefan Fischer) Date: Wed, 19 Nov 2025 18:01:47 +0100 Subject: [CWB] Upgrade of CQPweb server In-Reply-To: References: <50a17441-961d-477d-9d7c-9eff289bd827@uni-saarland.de> <9A4962A4-9BFC-46A3-8349-F3EA0F29EA99@collocations.de> Message-ID: <54a4424d-66d5-4c18-8c1d-a133a76d782d@uni-saarland.de> Hi Andrew, >> usr/31/index.php >> usr/4a/index.php >> ... >> >> Do they serve a purpose? They all contain the same line of code: >> Short explanation: It's a security plug. That's good to know. I was concerned that there might be a problem with the user database as the number of files and their creation dates looked random. > Long explanation: > > This directory structure is how user-installed corpora are accessed. The system of directory naming (reflected in the URL) is > > ... / usr / (hex code of first byte of username) / (username) / (underscore then base-36 ID of corpus) > > (why split the accounts up according to first byte? cos I have 40,000+ user accounts on my server) > > By default, if a browser accesses a folder, Apache EITHER serves up the "index.html~php~whatever", if there is one, OR otherwise prints the directory's content list. > > Therefore, making the byte-code directories (and user directories) content-listable over the web would expose usernames (plus the number of corpora each user has installed). > > Having an index.php file that runs but produces nothing - ie " > So whenever one of these folders is created (by a user installing a corpus), it's given such an index.php file. > > It's probably better in some abstract sense to fix these issues via Apache config, etc. but that would need to be set up by every server admin separately (and procedure would be different for every web daemon). This way doesn't have that issue. Thanks for the detailed explanation and for making administration easier for us by implementing these clever features. Best, Stefan From qumino2 at gmail.com Thu Nov 20 13:55:50 2025 From: qumino2 at gmail.com (Min Qu) Date: Thu, 20 Nov 2025 20:55:50 +0800 Subject: [CWB] Corpora alignment issue on CQPweb In-Reply-To: References: <20251115065453.F22311000C7@zmtaauth06.partage.renater.fr> Message-ID: Hi Andrew, Thank you for following up. It seems that we are now running into a larger issue (when trying to fix the alignment display problem). We accidentally removed the /data/cqpweb/data/data directory with the command rm -rf /data/cqpweb/data/data. (We then manually create a new ../data/data directory) The current situation is that we can no longer query existing corpora, nor can we install new corpora. The error message is: [image: image.png] [image: image.png] Is there anything we can do to recover or resolve this? Best, Qu Min On Mon, Nov 17, 2025 at 10:25?PM Hardie, Andrew via CWB wrote: > Hi Min, > > > > Did fixing the s_id then fix the alignment display problem? > > > > Andrew. > > > > *From:* CWB *On Behalf Of *Min Qu via CWB > *Sent:* 15 November 2025 13:04 > *To:* Open source development of the Corpus WorkBench > > *Cc:* Min Qu > *Subject:* Re: [CWB] Corpora alignment issue on CQPweb > > > > Hi everyone, > > > > I believe I have found the root cause of the alignment issue: I realized I > forgot to include the s attribute (s_id) when installing the corpora. > > > > > Best, > > Qu Min > > > > > > Min Qu ??? 15.11.202516:18??? > > I believe I have declared the parallel alignment on CQPweb. However, when > I conduct a query, it says no alignment found. > > > > Best, > > Qu Min > > > > > > On Sat, Nov 15, 2025 at 3:02?PM graham.ranger via CWB > wrote: > > Hello, > > Have your declared the parallel alignments, using the left hand menu? You > didn't mention this, which is the final step, after the command line stuff! > > Best, > > Graham Ranger. > > > > > > > > Envoy? depuis mon appareil Galaxy > > > > > > -------- Message d'origine -------- > > De : Min Qu via CWB > > Date : 15/11/2025 01:44 (GMT+01:00) > > ? : Open source development of the Corpus WorkBench > > Cc : Min Qu > > Objet : [CWB] Corpora alignment issue on CQPweb > > > > Dear CWB developers, > > > > We have installed two separate corpora and added alignment using > command-line CWB methods. However, when we conduct a query, the results > still do not show any alignment. > > > > I am not sure where I should look to identify and resolve this issue. > Could you please provide some guidance on troubleshooting the CWB alignment > process? > > > > Thank you for your help. > > > > Best, > > Qu Min > > _______________________________________________ > CWB mailing list > CWB at sslmit.unibo.it > http://liste.sslmit.unibo.it/mailman/listinfo/cwb > > _______________________________________________ > CWB mailing list > CWB at sslmit.unibo.it > http://liste.sslmit.unibo.it/mailman/listinfo/cwb > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 57355 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 70554 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 97071 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 65918 bytes Desc: not available URL: From graham.ranger at univ-avignon.fr Thu Nov 20 16:40:48 2025 From: graham.ranger at univ-avignon.fr (Graham Ranger) Date: Thu, 20 Nov 2025 16:40:48 +0100 Subject: [CWB] Corpora alignment issue on CQPweb In-Reply-To: References: <20251115065453.F22311000C7@zmtaauth06.partage.renater.fr> Message-ID: <8bb92557-0eb5-41de-b2ee-5a6da6e4c1bf@univ-avignon.fr> Hi Min Qu, rm -rf is pretty drastic. Do you have a regular server backup routine? I'd suggest you try that, as I don't think you can recover much easily after this. Best, Graham. Le 20/11/2025 ? 13:55, Min Qu via CWB a ?crit?: > Hi Andrew, > > Thank you for following up. > > It seems that we are now running into a larger issue (when trying to > fix the alignment display problem). We accidentally removed the > /data/cqpweb/data/data directory with the command rm -rf > /data/cqpweb/data/data. (We then manually create a new ../data/data > directory) > > The current situation is that we can no longer query existing corpora, > nor can we install new corpora. The error message is: > > image.png > image.png > > > Is there anything we can do to recover or resolve this? > > Best, > Qu Min > > > > On Mon, Nov 17, 2025 at 10:25?PM Hardie, Andrew via CWB > wrote: > > Hi Min, > > Did fixing the s_id then fix the alignment display problem? > > Andrew. > > *From:*CWB *On Behalf Of *Min Qu via CWB > *Sent:* 15 November 2025 13:04 > *To:* Open source development of the Corpus WorkBench > > *Cc:* Min Qu > *Subject:* Re: [CWB] Corpora alignment issue on CQPweb > > Hi everyone, > > I believe I have found the root cause of the alignment issue: I > realized I forgot to include the s attribute (s_id) when > installing the corpora. > > > Best, > > Qu Min > > Min Qu ??? 15.11.202516:18??? > > I believe I have declared the parallel alignment on CQPweb. > However, when I conduct a query, it says no alignment found. > > Best, > > Qu Min > > On Sat, Nov 15, 2025 at 3:02?PM graham.ranger via CWB > wrote: > > Hello, > > Have your declared the parallel alignments, using the left > hand menu? You didn't mention this, which is the final > step, after the command line stuff! > > Best, > > Graham Ranger. > > Envoy? depuis mon appareil Galaxy > > -------- Message d'origine -------- > > De : Min Qu via CWB > > Date : 15/11/2025 01:44 (GMT+01:00) > > ? : Open source development of the Corpus WorkBench > > > Cc : Min Qu > > Objet : [CWB] Corpora alignment issue on CQPweb > > Dear CWB developers, > > We have installed two separate corpora and added alignment > using command-line CWB methods. However, when we conduct a > query, the results still do not show any alignment. > > I am not sure where I should look to identify and resolve > this issue. Could you please provide some guidance on > troubleshooting the CWB alignment process? > > Thank you for your help. > > Best, > > Qu Min > > _______________________________________________ > CWB mailing list > CWB at sslmit.unibo.it > http://liste.sslmit.unibo.it/mailman/listinfo/cwb > > _______________________________________________ > CWB mailing list > CWB at sslmit.unibo.it > http://liste.sslmit.unibo.it/mailman/listinfo/cwb > > > _______________________________________________ > CWB mailing list > CWB at sslmit.unibo.it > http://liste.sslmit.unibo.it/mailman/listinfo/cwb -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 97071 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 65918 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 57355 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 70554 bytes Desc: not available URL: From a.hardie at lancaster.ac.uk Thu Nov 20 16:58:43 2025 From: a.hardie at lancaster.ac.uk (Hardie, Andrew) Date: Thu, 20 Nov 2025 15:58:43 +0000 Subject: [CWB] Corpora alignment issue on CQPweb In-Reply-To: References: <20251115065453.F22311000C7@zmtaauth06.partage.renater.fr> Message-ID: From: Hardie, Andrew Sent: 20 November 2025 14:46 To: 'Min Qu' Subject: RE: Re: [CWB] Corpora alignment issue on CQPweb >> We accidentally removed the /data/cqpweb/data/data directory with the command rm -rf /data/cqpweb/data/data. (We then manually create a new ../data/data directory) Well that?s your problem ? all the indexes were in there. Recreating the directory doesn?t make the indexes come back. You?ve deleted all your actual data; all that?s left is the records about the corpora, but no actual text. Failure to install new corpora is probably because the recreated directory has the wrong read-write permissions for the web daemon user. If I were in your position I?d be tempted to scrub all the corpus records completely, fix the permissions, and start over from scratch, actually. Probably quicker than trying to repair things manually. best Andrew. From: Min Qu > Sent: 20 November 2025 12:56 To: Open source development of the Corpus WorkBench > Cc: Hardie, Andrew > Subject: Re: [CWB] Corpora alignment issue on CQPweb Hi Andrew, Thank you for following up. It seems that we are now running into a larger issue (when trying to fix the alignment display problem). We accidentally removed the /data/cqpweb/data/data directory with the command rm -rf /data/cqpweb/data/data. (We then manually create a new ../data/data directory) The current situation is that we can no longer query existing corpora, nor can we install new corpora. The error message is: [cid:image001.png at 01DC5A36.769BD450] [cid:image002.png at 01DC5A36.769BD450] Is there anything we can do to recover or resolve this? Best, Qu Min On Mon, Nov 17, 2025 at 10:25?PM Hardie, Andrew via CWB > wrote: Hi Min, Did fixing the s_id then fix the alignment display problem? Andrew. From: CWB > On Behalf Of Min Qu via CWB Sent: 15 November 2025 13:04 To: Open source development of the Corpus WorkBench > Cc: Min Qu > Subject: Re: [CWB] Corpora alignment issue on CQPweb Hi everyone, I believe I have found the root cause of the alignment issue: I realized I forgot to include the s attribute (s_id) when installing the corpora. Best, Qu Min Min Qu >??? 15.11.202516:18??? I believe I have declared the parallel alignment on CQPweb. However, when I conduct a query, it says no alignment found. [cid:image003.png at 01DC5A36.769BD450] [cid:image004.png at 01DC5A36.769BD450] Best, Qu Min On Sat, Nov 15, 2025 at 3:02?PM graham.ranger via CWB > wrote: Hello, Have your declared the parallel alignments, using the left hand menu? You didn't mention this, which is the final step, after the command line stuff! Best, Graham Ranger. Envoy? depuis mon appareil Galaxy -------- Message d'origine -------- De : Min Qu via CWB > Date : 15/11/2025 01:44 (GMT+01:00) ? : Open source development of the Corpus WorkBench > Cc : Min Qu > Objet : [CWB] Corpora alignment issue on CQPweb Dear CWB developers, We have installed two separate corpora and added alignment using command-line CWB methods. However, when we conduct a query, the results still do not show any alignment. I am not sure where I should look to identify and resolve this issue. Could you please provide some guidance on troubleshooting the CWB alignment process? Thank you for your help. Best, Qu Min _______________________________________________ CWB mailing list CWB at sslmit.unibo.it http://liste.sslmit.unibo.it/mailman/listinfo/cwb _______________________________________________ CWB mailing list CWB at sslmit.unibo.it http://liste.sslmit.unibo.it/mailman/listinfo/cwb -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 97071 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 65918 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 57355 bytes Desc: image003.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 70554 bytes Desc: image004.png URL: From stefanML at collocations.de Thu Nov 20 21:10:00 2025 From: stefanML at collocations.de (Stephanie Evert) Date: Thu, 20 Nov 2025 21:10:00 +0100 Subject: [CWB] Upgrade of CQPweb server In-Reply-To: <7add5e87-5ad5-4fc6-965f-251cbe28f22c@uni-saarland.de> References: <50a17441-961d-477d-9d7c-9eff289bd827@uni-saarland.de> <9A4962A4-9BFC-46A3-8349-F3EA0F29EA99@collocations.de> <7add5e87-5ad5-4fc6-965f-251cbe28f22c@uni-saarland.de> Message-ID: > On 19 Nov 2025, at 17:57, Stefan Fischer via CWB wrote: > >> >> You could also simply install CWB from the .deb-package and cwb-perl from CPAN. Though it's always best to use the latest and least buggy versions from SVN, of course. > > Thanks for mentioning the .deb and CPAN packages. I'd actually prefer these to a manual installation. However, r1826 (2022-10-15) seems to be a couple of months newer than the available .deb and CPAN versions. Could that downgrade cause any issues with a newer version CQPweb? That is, does the unstable version of CQPweb depend on minor bug fixes? CQPweb is designed for the stable release versions, so you should not encounter any issues. The main difference is that there are a few less bugs in the SVN versions ? Best, Steph -------------- next part -------------- An HTML attachment was scrubbed... URL: From qumino2 at gmail.com Fri Nov 21 03:38:06 2025 From: qumino2 at gmail.com (Min Qu) Date: Fri, 21 Nov 2025 10:38:06 +0800 Subject: [CWB] Corpora alignment issue on CQPweb In-Reply-To: References: <20251115065453.F22311000C7@zmtaauth06.partage.renater.fr> Message-ID: Hi everyone, Thank you all for the quick responses and advice. Following up on the catastrophic rm -rf issue, the action was taken by an internship colleague who was attempting to fix the initial alignment problem based on a set of external AI instructions. Unfortunately, we do not have a regular backup routine for our CQPweb server. The good news is that we currently only have 2 or 3 corpora installed, so losing the indexes is manageable. Thank you again for your guidance on how to recover from this. Best, Qu Min On Thu, Nov 20, 2025 at 11:59?PM Hardie, Andrew via CWB wrote: > to the list> > > > > *From:* Hardie, Andrew > *Sent:* 20 November 2025 14:46 > *To:* 'Min Qu' > *Subject:* RE: Re: [CWB] Corpora alignment issue on CQPweb > > > > >> We accidentally removed the /data/cqpweb/data/data directory with the > command rm -rf /data/cqpweb/data/data. (We then manually create a new > ../data/data directory) > > > > Well that?s your problem ? all the indexes were in there. Recreating the > directory doesn?t make the indexes come back. You?ve deleted all your > actual data; all that?s left is the records about the corpora, but no > actual text. > > > > Failure to install new corpora is probably because the recreated directory > has the wrong read-write permissions for the web daemon user. > > > > If I were in your position I?d be tempted to scrub all the corpus records > completely, fix the permissions, and start over from scratch, actually. > Probably quicker than trying to repair things manually. > > > > best > > > > Andrew. > > > > *From:* Min Qu > *Sent:* 20 November 2025 12:56 > *To:* Open source development of the Corpus WorkBench > > *Cc:* Hardie, Andrew > *Subject:* Re: [CWB] Corpora alignment issue on CQPweb > > > > Hi Andrew, > > > > Thank you for following up. > > > > It seems that we are now running into a larger issue (when trying to fix > the alignment display problem). We accidentally removed the > /data/cqpweb/data/data directory with the command rm -rf > /data/cqpweb/data/data. (We then manually create a new ../data/data > directory) > > > > The current situation is that we can no longer query existing corpora, nor > can we install new corpora. The error message is: > > > > > > > > Is there anything we can do to recover or resolve this? > > > > Best, > > Qu Min > > > > > > > > On Mon, Nov 17, 2025 at 10:25?PM Hardie, Andrew via CWB < > cwb at sslmit.unibo.it> wrote: > > Hi Min, > > > > Did fixing the s_id then fix the alignment display problem? > > > > Andrew. > > > > *From:* CWB *On Behalf Of *Min Qu via CWB > *Sent:* 15 November 2025 13:04 > *To:* Open source development of the Corpus WorkBench > > *Cc:* Min Qu > *Subject:* Re: [CWB] Corpora alignment issue on CQPweb > > > > Hi everyone, > > > > I believe I have found the root cause of the alignment issue: I realized I > forgot to include the s attribute (s_id) when installing the corpora. > > > > > Best, > > Qu Min > > > > > > Min Qu ??? 15.11.202516:18??? > > I believe I have declared the parallel alignment on CQPweb. However, when > I conduct a query, it says no alignment found. > > > > Best, > > Qu Min > > > > > > On Sat, Nov 15, 2025 at 3:02?PM graham.ranger via CWB > wrote: > > Hello, > > Have your declared the parallel alignments, using the left hand menu? You > didn't mention this, which is the final step, after the command line stuff! > > Best, > > Graham Ranger. > > > > > > > > Envoy? depuis mon appareil Galaxy > > > > > > -------- Message d'origine -------- > > De : Min Qu via CWB > > Date : 15/11/2025 01:44 (GMT+01:00) > > ? : Open source development of the Corpus WorkBench > > Cc : Min Qu > > Objet : [CWB] Corpora alignment issue on CQPweb > > > > Dear CWB developers, > > > > We have installed two separate corpora and added alignment using > command-line CWB methods. However, when we conduct a query, the results > still do not show any alignment. > > > > I am not sure where I should look to identify and resolve this issue. > Could you please provide some guidance on troubleshooting the CWB alignment > process? > > > > Thank you for your help. > > > > Best, > > Qu Min > > _______________________________________________ > CWB mailing list > CWB at sslmit.unibo.it > http://liste.sslmit.unibo.it/mailman/listinfo/cwb > > _______________________________________________ > CWB mailing list > CWB at sslmit.unibo.it > http://liste.sslmit.unibo.it/mailman/listinfo/cwb > > _______________________________________________ > CWB mailing list > CWB at sslmit.unibo.it > http://liste.sslmit.unibo.it/mailman/listinfo/cwb > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 97071 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 65918 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 57355 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 70554 bytes Desc: not available URL: