[Vtigercrm-developers] vtiger upgrade from 7 to 8
Rubén A. Estrada Orozco
rulotec1 at gmail.com
Thu Oct 3 10:27:21 GMT 2024
Angelo and Alan,
Could you please comment on my last email. Please let me insist. I would
like to know if you agree with my observations and how you run the db
migration from command line.
Thanks in advance!
On Sat, Sep 28, 2024 at 7:03 AM Rubén A. Estrada Orozco <rulotec1 at gmail.com>
wrote:
> According to my colleague who did the migration, it didn't all go
> smoothly. He installed vt 8.2, replaced the database, changed
> vtigerversion.php and the vtiger_version table to set the current version
> at 7.5, and then ran the migration from the browser (not the command line).
>
> The function *Migration/models/Module::*getAllowedMigrationVersions(*) *should
> be updated to include the migration scripts from 8.0 to 8.1, 8.1 to 8.2 and
> 8.2 to 8.3.
>
> See:
> https://code.vtiger.com/vtiger/vtigercrm/-/blob/master/modules/Migration/models/Module.php
>
> The function looks like this:
>
> public function getAllowedMigrationVersions(){ $versions = array( array('540' => '5.4.0'), array('600RC' => '6.0.0 RC'), array('600' => '6.0.0'), array('610' => '6.1.0'), array('620' => '6.2.0'), array('630' => '6.3.0'), array('640' => '6.4.0'), array('650' => '6.5.0'), array('660' => '6.6.0'), array('700' => '7.0.0'), array('701' => '7.0.1'), array('710' => '7.1.0'), array('711' => '7.1.1'), array('720' => '7.2.0'), array('73' => '7.3'), array('730' => '7.3.0'), array('740' => '7.4.0'), array('750' => '7.5.0'), array('800' => '8.0.0'), ); return $versions; }
>
>
> Alan and Angelo, I imagine you didn't get the error because you run it from the command line. May I ask how exactly you do it?
>
> But it seems that anyone doing the migration using the "traditional" way, wouldn't get his database migrated, just the php files.
>
>
>
> On Wed, Sep 25, 2024 at 6:08 AM Rubén A. Estrada Orozco <
> rulotec1 at gmail.com> wrote:
>
>> Ok, I'll run the migration scripts using php 8.2 and see how it goes.
>>
>> Thanks Alan and Angelo!
>>
>> On Wed, Sep 25, 2024 at 5:39 AM Alan Lord <alanslists at gmail.com> wrote:
>>
>>> +1. This is pretty much how I do it too.
>>>
>>> Al
>>>
>>> On 25/09/2024 12:04, Angelo Paglialonga wrote:
>>> > Hi Ruben it works updating db with migration scripts, i do it one at
>>> the
>>> > time using die on error set to on for $adb, about the files i prefer
>>> > cloning a brand new vt 8.2 instance and than copying: storage temp
>>> > user_privileges and so on , I hope it helps!
>>> > *
>>> >
>>> > Dott. Angelo Paglialonga*
>>> > Consulenza vTiger CRM ad alto ROI.
>>> > Telefono: 338.6077866
>>> > Sito web*: *angelopaglialonga.com <https://treeway.it/angelo//
>>> > shorturl.php?id=6457a0339d9398.33634588>
>>>
>>> _______________________________________________
>>> http://www.vtiger.com/
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20241003/23d0aa78/attachment-0001.html>
More information about the vtigercrm-developers
mailing list