<div dir="ltr"><div>Or, what am I doing wrong?</div><div>I have indexed a corpus via terminal, if I go to the web interface and go to Admin Control Panel → Install new corpus → Click here to install a corpus you have already indexed in CWB:</div><div>Specify the corpus “mycorpusname”</div><div>Enter the full descriptive name of the corpus &quot;My full descriptive name&quot;</div><div>stylesheet yellow</div><div>Install corpus with settings above</div><div>and everything goes ok.</div><div><br></div><div>Then I uninstall it form the web interface and check there is no trace in CQPWeb directory nor in CQPWeb database</div><div><br></div><div>Now I try using the install-corpus.php script</div><div>cd /cqpweb/bin</div><div>first I check help file and  here&#39;s the first confusing command flag<br></div><div><br></div><div>* --external_cwb_data<br>  Optional. If the flag is present, installation is based on existing CWB data. If not, it is based on installing from VRT files. </div><div><br></div><div>does &quot;on existing CWB data&quot;  mean a corpus previously indexed by command line?</div><div>if so, why if I add it, I get this?<br></div><div>ERROR: no input files specified. Please specify --file=FILENAME (at least once).</div><div><br></div><div>and if I do not add it I get this?<br></div><div>A corpus by that name already exists in the CQPweb registry!</div><div>even though I&#39;ve checked there is no trace of previous installation in CQPWeb</div><div><br></div><div>My current commands are these two:</div><div><br></div><div>cd /cqpweb/bin</div><div>php install-corpus.php --corpus_name mycorpus --corpus_description &quot;My Corpus Description&quot; --cssBuiltIn --corpus_useDefaultRegistry</div><div>or</div><div>php install-corpus.php --external_cwb_data --corpus_name mycorpus --corpus_description &quot;My Corpus Description&quot; --cssBuiltIn --corpus_useDefaultRegistry</div><div><br></div><div>I have also tried with --file= but this should not be if I have my corpus already indexed, right?:</div><br><div>php install-corpus.php --external_cwb_data --file=&quot;/home/user/corpus.txt&quot; --corpus_name=&quot;mycorpus&quot; --corpus_description=&quot;My Corpus Description&quot; --cssBuiltIn --corpus_useDefaultRegistry</div><div>but then it asks me for <br></div><div>ERROR: an essential setting was not spe3cified. Please add option for --corpus_charset.</div><div><br></div><div>when this was already set in the command line indexation....</div><div><br></div><div>*** the <span class="gmail-LI gmail-ng gmail-Vt gmail-Vs">&quot;spe3cified&quot; is a typo in the code *** not mine...</span></div><div><span class="gmail-LI gmail-ng gmail-Vt gmail-Vs"><br></span></div><div><span class="gmail-LI gmail-ng gmail-Vt gmail-Vs">So, what would be the correct form to do it in the scenario I&#39;ve described?</span></div><div><span class="gmail-LI gmail-ng gmail-Vt gmail-Vs"><br></span></div><div><span class="gmail-LI gmail-ng gmail-Vt gmail-Vs">As always, thanks very much for your help and patience.<br></span></div><div><span class="gmail-LI gmail-ng gmail-Vt gmail-Vs"><br></span></div><div><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><p><font style="font-family:Verdana,sans-serif;font-size:10pt;font-weight:bold;font-style:italic;color:rgb(200,16,46)">Andrés Chandía</font><br>
<font style="font-family:Verdana,sans-serif;font-size:10pt;color:rgb(200,16,46)">Unitat de Traducció i Ciències del Llenguatge<br>
Roc Boronat 138, C. P.: 08018, Barcelona<br>
Tel.: 935 055 722 - <a style="font-family:Verdana,sans-serif;font-size:10pt;color:rgb(200,16,46)" href="mailto:andres.chandia@upf.edu" target="_blank">mail:andres.chandia@upf.edu</a></font></p>
<p><img src="https://ci3.googleusercontent.com/mail-sig/AIorK4zAKhuSZYYONehOH6Egh2_V4mICQuuob3WLMMZl3UVy6u14wBNxiYzumFmZd5po8qfd_U_YJYo"></p>
<table dir="ltr" width="100%" cellspacing="2" cellpadding="2">
<tbody>
<tr><td style="border:none;padding:0cm" width="14%"><a href="http://www.chandia.net" target="_blank"><img src="http://www.chandia.net/sites/default/files/chandia.net__0.png" width="190" height="80"></a><a href="https://twitter.com/chandianet" target="_blank"><img src="http://www.chandia.net/sites/default/files/ico_tw.png" width="26" height="26"></a></td>
<td><a style="font-family:Verdana,sans-serif;font-size:10pt" href="mailto:andres@chandia.net" target="_blank">mail:andres@chandia.net</a></td></tr>
</tbody></table>
<hr style="height:1px;border-width:0;color:rgb(200,16,46);background-color:rgb(200,16,46)">
<img src="https://ci3.googleusercontent.com/mail-sig/AIorK4yTWuuJgoqJ3i-Ir0NHJSpAWwqSbLjzJMBbgf9K5Gx_Y6mX0PQFjwgdrACBE8bL2e72tMi4zAQ" border="0"></div></div></div></div>