<div dir="ltr">Thank you Alan. It helps<div><br></div><div>Stacey</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 6, 2016 at 1:39 PM, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 06/07/16 05:56, Garry Brighton wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
set 777 plus all apache:apache (testing env) and nothing help.... any<br>
manual way to apply migration?<br>
</blockquote>
<br></span>
777 is _always_ a bad idea.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
best is php to change db and rest I can just copy over I guess?<br>
Any help pls?<br>
</blockquote>
<br></span>
In the root directory of your vtiger system, unzip the patch file then unzip the vtiger6.zip file. You will probably need sudo. Then chown everything back to the web server owner.<br>
<br>
sudo chown -R www-data:www-data *<br>
<br>
Then, in modules/Migration/schema/640_to_650.php *above* the line<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
if(defined('VTIGER_UPGRADE')) {<br>
</blockquote>
<br>
Add the following lines:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
const VTIGER_UPGRADE = true;<br>
$Vtiger_Utils_Log = true;<br>
<br>
require_once('include/logging.php');<br>
require_once('config.php');<br>
require_once('includes/main/WebUI.php');<br>
</blockquote>
<br>
Then you can run this script from the command line, .e.g<br>
<br>
# php modules/Migration/schema/640_to_650.php<br>
<br>
This might help.<br>
<br>
Al<br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>