[CWB] Update difficulties

Graham Ranger graham.ranger at univ-avignon.fr
Thu May 11 11:57:22 CEST 2023


Hi Andrew,
Thanks for this.
Yes, it is a working copy. However, svn switch command runs into 
problems... Specifically:

svn switch 
https://sourceforge.net/p/cwb/code/HEAD/tree/gui/cqpweb/branches/3.2-latest/
svn: E175009: Unable to connect to a repository at URL 
'https://sourceforge.net/p/cwb/code/HEAD/tree/gui/cqpweb/branches/3.2-latest'
svn: E175009: XML Parsing failed: Unexpected root element 'html'

Two errors. The first appears to suggest a mistake in the URL (shouldn't 
it start svn:// ?), the second a problem with the local setup, as cqpweb 
is placed in /var/www/html and perhaps svn doesn't like this directory 
name...

Best,
Graham.



Le 10/05/2023 à 15:17, Hardie, Andrew a écrit :
> OK, first step: is your installation a working copy?
>
>
> -------------
> Working copy
> -------------
>
> If it is, check "svn info" to see whether it currently points at the trunk or the branch URL
>
> Trunk - https://sourceforge.net/p/cwb/code/HEAD/tree/gui/cqpweb/trunk/
>
> Branch - https://sourceforge.net/p/cwb/code/HEAD/tree/gui/cqpweb/branches/3.2-latest/
>
> If you are on the Branch, just type "svn up". And your code is up to date.
>
> If you are on the Trunk, re-point your checkout at the branch. The command is
>
>          svn switch https://sourceforge.net/p/cwb/code/HEAD/tree/gui/cqpweb/branches/3.2-latest/
>
> (which you must run from within the base directory of your CQPweb checkout.)
>
> The code will then update to the most recent version on the branch.
>
>
> ------------------
> Not a working copy
> ------------------
>
> If it's not a working copy, then go to another location, and use
>
>          svn export https://sourceforge.net/p/cwb/code/HEAD/tree/gui/cqpweb/branches/3.2-latest/ cqpweb-new-code
>
> and then overwrite the files in the existing installation with these new files. (You  can then delete any leftover files from the earlier version.)
>
>
> ----------
> Either way
> ----------
>
> After that, run the upgrade-database.php script. If you want to be able to downgrade, then backup the whole database before this step.
>
>
> Hope this helps
>
> best
>
> Andrew.
>
>
> -----Original Message-----
> From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of Graham Ranger
> Sent: 09 May 2023 12:06
> To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it>
> Subject: [CWB] Update difficulties
>
>
> Hello all,
> I'd like to update from 3.2.30 to the latest 3.2 version of cqpweb.
> I first tried svn co
> http://svn.code.sf.net/p/cwb/code/gui/cqpweb/branches/3.2-latest cqpweb but with no noticeable result. Although the update appeared to run as intended, the version displayed on the mainpage, and the various menus, remained unchanged.
> I then tried a more radical approach with svn update which threw up a load of conflicts, and left me with a blank page at the web address.
> I've since restored the previous state, but would appreciate any expert help in the matter. From my reading of the admin manual, the first command ought to have done the job, with no extra tweaks or database upgrades required.
> Best,
> Graham.
> _______________________________________________
> 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



More information about the CWB mailing list