[Vtigercrm-developers] Checking database after migration

Alan Lord alanslists at gmail.com
Fri Dec 18 22:35:55 GMT 2020


I run modify the migration scripts and run them from the command line 
and set dieOnError in the $db.

It fails a lot ;-)

HTH

Al


On 18/12/2020 17:13, Rubén A. Estrada Orozco wrote:
> Just because you don't see errors, it doesn't mean there are no errors.
> 
> Be sure that after each migration you see this message in the part of 
> the process where database changes take place:
> 
> If you don't see that, it means there was an error in the middle of the 
> migration process. The thing is, Vtiger doesn't warn about that and you 
> might think everything completed smoothly when in fact it didn't.
> 
> Also turn on the logs during the migration process and check them out.
> 
> If you have third party extensions, you should be careful with those. 
> Especially when going from vt 6 to vt 7.
> 
> Saludos
> 
> Rubén
> 
> 
> On Fri, Dec 18, 2020 at 8:40 AM Yannick Berges <micker at free.fr 
> <mailto:micker at free.fr>> wrote:
> 
>     I already do the same migrate
>     1 copy 6.5 instance
>     2 upload patch
>     3 runing upgrade process
>     4 no error in report migrate done
>     5 checking 7.0 all seems good for records but i can't add any widget
>     in dashboard, checking database => dahsboard table doesn't update
>     (dashboardtabid and size or missing), i can't be sure that migration
>     is ok in other place...
> 
>     Le 18/12/2020 à 15:31, Uma S a écrit :
>>     Hi Yannick,
>>
>>     Yes! As I shared before you need to redo the migration process
>>     with your backup copy.
>>
>>     On Fri, Dec 18, 2020 at 7:42 PM Yannick Berges <micker at free.fr
>>     <mailto:micker at free.fr>> wrote:
>>
>>         i redo
>>
>>         6.5 to 7.0 with upgrade process (migrate) content seems good
>>         but for exemple dashboard is broken (can't add widget) becaus
>>         new field in table isn't added
>>
>>         i can 't be sure that 7.0 is good...
>>
>>         Le 18/12/2020 à 12:10, Uma S a écrit :
>>>         Hi Yannick,
>>>
>>>         We verified that this api is introduced during 700_to_710
>>>         migration
>>>         <https://sourceforge.net/projects/vtigercrm/files/vtiger%20CRM%207.1.0/Core%20Product/>,
>>>         So i think there is something wrong in this process.
>>>
>>>         On Fri, Dec 18, 2020 at 3:31 PM Yannick Berges
>>>         <micker at free.fr <mailto:micker at free.fr>> wrote:
>>>
>>>             Blanck page with
>>>
>>>             Fatal error: Uncaught Error: Call to undefined method
>>>             Vtiger_MenuStructure_Model::getAppIcons()
>>>
>>>             i check menustructure.php
>>>
>>>             i have this
>>>
>>>
>>>             and after correction
>>>
>>>             Le 18/12/2020 à 10:49, Uma S a écrit :
>>>>             >>For error in 7.2 juste After login in all page
>>>>
>>>>             Is there error info that's thrown?
>>>>
>>>>             On Fri, Dec 18, 2020 at 12:28 PM <micker at free.fr
>>>>             <mailto:micker at free.fr>> wrote:
>>>>
>>>>                 Hello i use update patch migration step by step
>>>>                 And test vtiger After each upgrade
>>>>                 For error in 7.2 juste After login in all page
>>>>
>>>>
>>>>                 Le 18 déc. 2020 05:08, Uma S <uma.s at vtiger.com
>>>>                 <mailto:uma.s at vtiger.com>> a écrit :
>>>>
>>>>                     Hi Yannick,
>>>>
>>>>                     From the explained scenario it's clear that the
>>>>                     migration process has an issue, Did you follow
>>>>                     the migration manual
>>>>                     <https://community.vtiger.com/help/vtigercrm/administrators/migration.html>?
>>>>
>>>>                     >>Fatal error: Uncaught Error: Call to undefined
>>>>                     method Vtiger_MenuStructure_Model::getAppIcons()
>>>>                     Please be precise on which location you faced
>>>>                     this issue? On current instances I could see
>>>>                     this api is called only from Smarty files.
>>>>
>>>>                     I decided to upload a complete 7.2 install over
>>>>                     my current install ... no error i can check my
>>>>                     crm but now all my list records or empty, i
>>>>                     can't create anything.
>>>>                     Without proper migration, getting a new instance
>>>>                     will not restore your old records.
>>>>
>>>>                     Have you taken backup during the migration
>>>>                     process, Is yes, please do use that and follow
>>>>                     the migration manual in sequence as specified in
>>>>                     respository
>>>>                     <https://sourceforge.net/projects/vtigercrm/files/>.
>>>>
>>>>
>>>>                     On Fri, Dec 18, 2020 at 1:57 AM Yannick Berges
>>>>                     <micker at free.fr <mailto:micker at free.fr>> wrote:
>>>>
>>>>                         Hello i have a very strange problem and
>>>>                         maybe only a dev can help me
>>>>
>>>>                         I do this in test crm
>>>>
>>>>                         i have a vt6.5 (with migration too)
>>>>                         i update to vt7.0 all seams good (with
>>>>                         migration too)
>>>>                         i update to vt7.1 ... all seams good but i
>>>>                         can't add widget => i check database and new
>>>>                         field in like dashboardtaid and size aren't
>>>>                         created .. i correct it ... vtiger weams
>>>>                         works great but no sure that field are
>>>>                         missing in other table
>>>>
>>>>                         => how can run a script to update database ?
>>>>                         to be sure
>>>>
>>>>                         i try to update to vt7.2 and now blank page
>>>>                         ... i use debug and i found an Fatal error:
>>>>                         Uncaught Error: Call to undefined method
>>>>                         Vtiger_MenuStructure_Model::getAppIcons()
>>>>
>>>>                         i check file and i found a problem a missing
>>>>                         class in vtiger model ... damn ... i decide
>>>>                         to upload a complet 7.2 install over my
>>>>                         current install ... no error i can check my
>>>>                         crm but now all my list records or empty, i
>>>>                         can't create anything ....
>>>>
>>>>                         what is my error ?
>>>>
>>>>                         regards
>>>>
>>>>
>>>>                         <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>>>>                         	Garanti sans virus. www.avg.com
>>>>                         <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>>>>
>>>>
>>>>                         <#m_5405318627903746340_m_-5040405493955899183_m_552242231999260311_m_5840298845509005094_m_1165854958263221719_m_4932712583407482721_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>>                         _______________________________________________
>>>>                         http://www.vtiger.com/
>>>>
>>>>
>>>>
>>>>                     -- 
>>>>                     With
>>>>                     Best Regards
>>>>                     Uma.S
>>>>                     Vtiger Team
>>>>
>>>>
>>>>                 _______________________________________________
>>>>                 http://www.vtiger.com/
>>>>
>>>>
>>>>
>>>>             -- 
>>>>             With
>>>>             Best Regards
>>>>             Uma.S
>>>>             Vtiger Team
>>>>
>>>>             _______________________________________________
>>>>             http://www.vtiger.com/
>>>
>>>
>>>
>>>         -- 
>>>         With
>>>         Best Regards
>>>         Uma.S
>>>         Vtiger Team
>>
>>
>>
>>     -- 
>>     With
>>     Best Regards
>>     Uma.S
>>     Vtiger Team
>>
>>     _______________________________________________
>>     http://www.vtiger.com/
>     _______________________________________________
>     http://www.vtiger.com/
> 
> 
> _______________________________________________
> http://www.vtiger.com/
> 


More information about the vtigercrm-developers mailing list