[CWB] updating cqp web from v3.0.16 to v3.1.9

Hardie, Andrew a.hardie at lancaster.ac.uk
Sat Jul 19 17:17:25 CEST 2014


The table entry represents an ongoing process (probably one that has crashed). Since you have upgraded your code, you know no user is currently running a process (because they can't). So it is safe to do the following:

delete from mysql_processes;

best

Andrew.

From: Andres Chandia [mailto:andres at chandia.net]
Sent: 19 July 2014 16:13
To: Hardie, Andrew
Cc: Open source development of the Corpus WorkBench
Subject: RE: [CWB] updating cqp web from v3.0.16 to v3.1.9

Ok, now it tells me:

A mySQL query did not run successfully!

Original query:

alter table mysql_processes add primary key (`dbname`)


Error # 1062: Duplicate entry 'db_dist_ehkrjl4cltR' for key 'PRIMARY'

PHP Notice:  Undefined property: stdClass::$all_users_see_backtrace in /srv/web/llocs/cqp/lib/exiterror.inc.php on line 113


do I delete the duplicate entry manually?


On Sat, July 19, 2014 17:09, Hardie, Andrew wrote:
The binary scripts need to be run a subdirectory of the root directory.
IE cd bin first. Then run it.
This is covered in the manual, I think.
best
Andrew.
From: Andres Chandia [mailto:andres at chandia.net]
Sent: 19 July 2014 16:07
To: Hardie, Andrew
Cc: Open source development of the Corpus WorkBench
Subject: RE: [CWB] updating cqp web from v3.0.16 to v3.1.9
I'm trying but it tells me:

php bin/upgrade-database.php
PHP Warning: require(../lib/environment.inc.php): failed to open stream: No such file or directory in /srv/web/llocs/cqp/bin/upgrade-database.php on line 38
PHP Fatal error: require(): Failed opening required '../lib/environment.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /srv/web/llocs/cqp/bin/upgrade-database.php on line 38


On Sat, July 19, 2014 17:03, Hardie, Andrew wrote:
Have you run the upgrade database script?
best
Andrew.
From: cwb-bounces at sslmit.unibo.it<mailto:cwb-bounces at sslmit.unibo.it> [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Andres Chandia
Sent: 19 July 2014 15:56
To: Open source development of the Corpus WorkBench
Subject: [CWB] updating cqp web from v3.0.16 to v3.1.9
Hi there, I'm getting this error when trying to acces the updated version:

A mySQL query did not run successfully!
Error # 1146: Table 'cqp.corpus_info' doesn't exist

I guess I have to create this table, but I can not find the current script to do it, can you refer me to that file and if any other too....

thanks a lot

_______________________
andrés chandía
[IMAGE REMOVED]<http://www.chandia.net>
administrador de
parles.upf.edu<http://parles.upf.edu>
psicoaching.net<http://psicoaching.net>
mapuche koyaktu<http://koyaktumapuche.net>
ong mapuche koyaktu<http://corporacionkoyaktu.net>
P No imprima innecesariamente. ¡Cuide el medio ambiente!



_______________________
andrés chandía
[IMAGE REMOVED]<http://www.chandia.net>
administrador de
parles.upf.edu<http://parles.upf.edu>
psicoaching.net<http://psicoaching.net>
mapuche koyaktu<http://koyaktumapuche.net>
ong mapuche koyaktu<http://corporacionkoyaktu.net>
P No imprima innecesariamente. ¡Cuide el medio ambiente!



_______________________
            andrés chandía
[chandia.net]<http://www.chandia.net>[http://www.upf.edu/universitat/_img/ico_tw.png]<https://twitter.com/andreschandia>
administrador de
parles.upf.edu<http://parles.upf.edu>
psicoaching.net<http://psicoaching.net>
mapuche koyaktu<http://koyaktumapuche.net>
ong mapuche koyaktu<http://corporacionkoyaktu.net>
P No imprima innecesariamente. ¡Cuide el medio ambiente!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20140719/8f80d04a/attachment-0001.html>


More information about the CWB mailing list