[CWB] Update difficulties
Hardie, Andrew
a.hardie at lancaster.ac.uk
Wed May 10 15:17:57 CEST 2023
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
More information about the CWB
mailing list