- Fri Oct 06, 2017 9:53 am
#795809
When I re-ran the Upgrade (with or without the debug_print_backtrace code) I did not get any errors. Therefore I rolled back my server (VM snapshot) to a time prior upgrading from PM 3.1.3 to PM 3.2.1.
Here is the result...
root@ubuntu16:/opt/processmaker# php processmaker upgrade
Checking files integrity...
checksum.txt not found, integrity check is not possible
Integrity check failed, do you want to continue the upgrade? [Y/n] y
Clearing cache...
Upgrading workspaces (1/1): workflow
> Updating database...
-> 1 tables to add
-> 23 tables to alter
-> 15 indexes to add
-> Nothing to change in the data base structure of RBAC
-> Row updated in DASHLET
-> Row updated in DASHLET
-> Row updated in DASHLET
-> Row updated in DASHLET
-> Verifying roles permissions in RBAC
All roles permissions already updated
-> Migrating the Intermediate Email Event
Migrating Itee Done
0 records where patched to use SELF_SERVICE feature.
<*> Database Upgrade Process took 101.76400709152 seconds.
> Check Intermediate Email Event...
<*> Database Upgrade Process took 0.059756994247437 seconds.
> Verify enterprise old...
Without changes...
<*> Verify took 0.00021100044250488 seconds.
> Updating translations...
Updating Database translations with processmaker.en.po
Updating XML form translations with processmaker.en.po
Updating MAFE translations with processmaker.en.po
<*> Updating Translations Process took 44.77089715004 seconds.
> Updating Content...
Rows Processed ---> 260865 .....
Rows Clustered ---> 260865 .....
Rows Unchanged ---> 260865 .....
Rows Inserted ---> 0 .....
Rows Total ---> 260865 .....
<*> Updating Content Process took 7.3596088886261 seconds.
> Check Mafe Requirements...
<*> Check Mafe Requirements Process took 0.071946859359741 seconds.
> Updating Triggers...
<*> Updating Triggers Process took 0.64506697654724 seconds.
> Backup log files...
<*> Backup log files Process took 0.011569976806641 seconds.
> Optimizing content data...
#0 AppDocument->exists(3206945564f96fe4c6aa8c2046807944, 1)
#1 call_user_func_array(Array ([0] => AppDocument Object ([] => ,[] => ,[] => ,[] => ,[] => 1,[] => ,[] => 0,[] => ,[] => ,[] => ,[] => ,[] => ,[] => ,[] => ,[] => ,[] => ACTIVE,[] => ,[] => ,[] => ,[] => UNSYNCHRONIZED,[] => ,[] => ,[] => ,[] => Array (),[] => 1,[] => ,[] => Array ()),[1] => exists), Array ([0] => 3206945564f96fe4c6aa8c2046807944,[1] => 1)) called at [/opt/processmaker/workflow/engine/classes/class.wsTools.php:3274]
#2 workspaceTools->migrateContentWorkspace(AppDocument, Array ([uid] => APP_DOC_UID,[alias] => Array ([CON_PARENT] => DOC_VERSION),[fields] => Array ([0] => APP_DOC_TITLE,[1] => APP_DOC_COMMENT,[2] => APP_DOC_FILENAME),[methods] => Array ([exists] => exists)), en) called at [/opt/processmaker/workflow/engine/classes/class.wsTools.php:3382]
#3 workspaceTools->migrateContentRun(workflow, en, Array ([0] => Groupwf,[1] => Process,[2] => Department,[3] => Task,[4] => InputDocument,[5] => Application)) called at [/opt/processmaker/workflow/engine/classes/class.wsTools.php:3224]
#4 workspaceTools->migrateContent(workflow, en) called at [/opt/processmaker/workflow/engine/classes/class.wsTools.php:164]
#5 workspaceTools->upgrade(, workflow, , en, Array ([updateXml] => 1,[updateMafe] => 1)) called at [/opt/processmaker/workflow/engine/bin/tasks/cliUpgrade.php:135]
#6 run_upgrade(Array (), Array ())
#7 call_user_func(run_upgrade, Array (), Array ()) called at [/opt/processmaker/workflow/engine/classes/class.cli.php:300]
#8 CLI::run() called at [/opt/processmaker/workflow/engine/bin/cli.php:127]
#9 include(/opt/processmaker/workflow/engine/bin/cli.php) called at [/opt/processmaker/processmaker:11]
root@ubuntu16:/opt/processmaker#