[CWB] Update difficulties
Hardie, Andrew
a.hardie at lancaster.ac.uk
Thu May 11 12:25:49 CEST 2023
Apologies, that URL should be
https://svn.code.sf.net/p/cwb/code/gui/cqpweb/branches3.2-latest
(and the trunk one is https://svn.code.sf.net/p/cwb/code/gui/cqpweb/trunk)
I accidentally grabbed the URL of the HTML viewer instead of the actual repo in my haste...
(also: no, it does not need to be an svn:// because sf.net supports svn over http)
Andrew.
-----Original Message-----
From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of Graham Ranger
Sent: 11 May 2023 10:57
To: cwb at sslmit.unibo.it
Subject: Re: [CWB] Update difficulties
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://sour/
> ceforge.net%2Fp%2Fcwb%2Fcode%2FHEAD%2Ftree%2Fgui%2Fcqpweb%2Ftrunk%2F&d
> ata=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cdc2e80abfe7b4ad1523908db520
> 63664%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C638193958871573161%
> 7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik
> 1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=etBE5YMO8dBfQVFBVqEDgrSRZSz
> KzJEm2HjraVbQ1fY%3D&reserved=0
>
> Branch -
> https://sour/
> ceforge.net%2Fp%2Fcwb%2Fcode%2FHEAD%2Ftree%2Fgui%2Fcqpweb%2Fbranches%2
> F3.2-latest%2F&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cdc2e80abfe7
> b4ad1523908db52063664%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C638
> 193958871573161%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2
> luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=WxRg1mzQTi8
> O5%2F64VWUTJ7U2j3kmvvjtUXeMoAWJsew%3D&reserved=0
>
> 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://sour/
> ceforge.net%2Fp%2Fcwb%2Fcode%2FHEAD%2Ftree%2Fgui%2Fcqpweb%2Fbranches%2
> F3.2-latest%2F&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cdc2e80abfe7
> b4ad1523908db52063664%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C638
> 193958871573161%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2
> luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=WxRg1mzQTi8
> O5%2F64VWUTJ7U2j3kmvvjtUXeMoAWJsew%3D&reserved=0
>
> (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://sour/
> ceforge.net%2Fp%2Fcwb%2Fcode%2FHEAD%2Ftree%2Fgui%2Fcqpweb%2Fbranches%2
> F3.2-latest%2F&data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cdc2e80abfe7
> b4ad1523908db52063664%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C638
> 193958871573161%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2
> luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=WxRg1mzQTi8
> O5%2F64VWUTJ7U2j3kmvvjtUXeMoAWJsew%3D&reserved=0 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%2Fmailman%2Flistinfo%2Fcwb&data=05%7C01%7Chardiea%40l
> ive.lancs.ac.uk%7Cdc2e80abfe7b4ad1523908db52063664%7C9c9bcd11977a4e9ca
> 9a0bc734090164a%7C0%7C0%7C638193958871573161%7CUnknown%7CTWFpbGZsb3d8e
> yJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C30
> 00%7C%7C%7C&sdata=CA6gpVL5S5aFtF1VNn36O6VfsfU2iBdKg1viwuWCV7c%3D&reser
> ved=0 _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://liste/
> .sslmit.unibo.it%2Fmailman%2Flistinfo%2Fcwb&data=05%7C01%7Chardiea%40l
> ive.lancs.ac.uk%7Cdc2e80abfe7b4ad1523908db52063664%7C9c9bcd11977a4e9ca
> 9a0bc734090164a%7C0%7C0%7C638193958871573161%7CUnknown%7CTWFpbGZsb3d8e
> yJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C30
> 00%7C%7C%7C&sdata=CA6gpVL5S5aFtF1VNn36O6VfsfU2iBdKg1viwuWCV7c%3D&reser
> ved=0
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
http://liste.sslmit.unibo.it/mailman/listinfo/cwb
More information about the CWB
mailing list