Ask questions about installing and configuring ProcessMaker 3
#827196
Currently trying to upgrade from 2.8 to 3.2
I have done:
old machine RHEL6 to new machine RHEL7
all migration in RHEL7 is working. So 2.8 now in RHEL 7
I have also upgrade the php from 5.4 to 5.6

but now i have met the problem when upgrading
Code: Select all
...
 ./gulliver/js/codemirror/mode/clike/scala.html
 ./gulliver/js/codemirror/test/doc_test.js
 ./gulliver/js/codemirror/test/vim_test.js
 ./gulliver/js/codemirror/test/run.js
 ./gulliver/js/codemirror/test/mode_test.js
 ./gulliver/js/codemirror/test/search_test.js
 ./gulliver/js/codemirror/test/index.html
 ./gulliver/js/codemirror/test/test.js
 ./gulliver/js/codemirror/test/mode_test.css
 ./gulliver/js/codemirror/test/emacs_test.js
 ./gulliver/js/codemirror/test/comment_test.js
 ./gulliver/js/codemirror/test/driver.js
 ./gulliver/js/codemirror/keymap/vim.js
 ./gulliver/js/codemirror/keymap/emacs.js
 ./gulliver/js/codemirror/LICENSE
 ./gulliver/js/grid/core/grid.js
 ./gulliver/js/form/core/form.js
 ./gulliver/js/common/core/common.js
 ./phpunit.xml
 ./build.xml
 ./.gitignore
Integrity check failed, do you want to continue the upgrade? [Y/n] n
Upgrade failed
It will be successful when choose yes.
Code: Select all
 ./.gitignore
Integrity check failed, do you want to continue the upgrade? [Y/n] y
Clearing cache...
Upgrading workspaces (1/1): workflow
> Updating database...
-> 40 tables to alter
-> 26 indexes to add
-> 3 indexes to alter
-> 1 tables to alter
-> 3 indexes to add
-> Row updated in DASHLET
-> Row updated in DASHLET
-> Row updated in DASHLET
-> Row updated in DASHLET
-> Verifying roles permissions in RBAC
    Add permission missing PM_SETUP_LOGO...
    Add permission missing PM_SETUP_EMAIL...
    Add permission missing PM_SETUP_CALENDAR...
    Add permission missing PM_SETUP_PROCESS_CATEGORIES...
    Add permission missing PM_SETUP_CLEAR_CACHE...
    Add permission missing PM_SETUP_HEART_BEAT...
    Add permission missing PM_SETUP_ENVIRONMENT...
    Add permission missing PM_SETUP_PM_TABLES...
    Add permission missing PM_SETUP_LOGIN...
    Add permission missing PM_SETUP_DASHBOARDS...
    Add permission missing PM_SETUP_LANGUAGE...
    Add permission missing PM_SETUP_SKIN...
    Add permission missing PM_SETUP_CASES_LIST_CACHE_BUILDER...
    Add permission missing PM_SETUP_PLUGINS...
    Add permission missing PM_SETUP_USERS_AUTHENTICATION_SOURCES...
    Add permission missing PM_SETUP_LOGS...
    Add permission missing PM_DELETE_PROCESS_CASES...
    Add permission missing PM_EDITPERSONALINFO_CALENDAR...
    Add permission missing PM_UNCANCELCASE...
    Add permission missing PM_REST_API_APPLICATIONS...
    Add permission missing PM_EDIT_USER_PROFILE_FIRST_NAME...
    Add permission missing PM_EDIT_USER_PROFILE_LAST_NAME...
    Add permission missing PM_EDIT_USER_PROFILE_USERNAME...
    Add permission missing PM_EDIT_USER_PROFILE_EMAIL...
    Add permission missing PM_EDIT_USER_PROFILE_ADDRESS...
    Add permission missing PM_EDIT_USER_PROFILE_ZIP_CODE...
    Add permission missing PM_EDIT_USER_PROFILE_COUNTRY...
    Add permission missing PM_EDIT_USER_PROFILE_STATE_OR_REGION...
    Add permission missing PM_EDIT_USER_PROFILE_LOCATION...
    Add permission missing PM_EDIT_USER_PROFILE_PHONE...
    Add permission missing PM_EDIT_USER_PROFILE_POSITION...
    Add permission missing PM_EDIT_USER_PROFILE_REPLACED_BY...
    Add permission missing PM_EDIT_USER_PROFILE_EXPIRATION_DATE...
    Add permission missing PM_EDIT_USER_PROFILE_CALENDAR...
    Add permission missing PM_EDIT_USER_PROFILE_STATUS...
    Add permission missing PM_EDIT_USER_PROFILE_ROLE...
    Add permission missing PM_EDIT_USER_PROFILE_TIME_ZONE...
    Add permission missing PM_EDIT_USER_PROFILE_DEFAULT_LANGUAGE...
    Add permission missing PM_EDIT_USER_PROFILE_COSTS...
    Add permission missing PM_EDIT_USER_PROFILE_PASSWORD...
    Add permission missing PM_EDIT_USER_PROFILE_USER_MUST_CHANGE_PASSWORD_AT_NEXT_LOGON...
    Add permission missing PM_EDIT_USER_PROFILE_PHOTO...
    Add permission missing PM_EDIT_USER_PROFILE_DEFAULT_MAIN_MENU_OPTIONS...
    Add permission missing PM_EDIT_USER_PROFILE_DEFAULT_CASES_MENU_OPTIONS...
    Add permission missing PM_REASSIGNCASE_SUPERVISOR...
    Add permission missing PM_SETUP_CUSTOM_CASES_LIST...
    Add permission missing PM_SETUP_LOG_FILES...
-> Migrating the Intermediate Email Event
   Migrating Itee Done
0 records where patched to use SELF_SERVICE feature.
<*>   Database Upgrade Process took 28.362056970596 seconds.
> Check Intermediate Email Event...
<*>   Database Upgrade Process took 0.0052788257598877 seconds.
> Verify enterprise old...
    Without changes...
<*>   Verify took 7.4863433837891E-5 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 10.196628093719 seconds.
> Updating Content...
->   Start To Update...
Rows Processed ---> 32389 .....
Rows Clustered ---> 32389 .....
Rows Unchanged ---> 32389 .....
Rows Inserted  ---> 0 .....
Rows Total     ---> 32389 .....
<*>   Updating Content Process took 0.60333204269409 seconds.
> Check Mafe Requirements...
<*>   Check Mafe Requirements Process took 0.0062739849090576 seconds.
> Updating Triggers...
<*>   Updating Triggers Process took 0.06140923500061 seconds.
> Backup log files...
<*>   Backup log files Process took 0.00023102760314941 seconds.
> Optimizing content data...
|--> Add content data in table GROUPWF
|--> Add content data in table PROCESS
|--> Add content data in table DEPARTMENT
|--> Add content data in table TASK
|--> Add content data in table INPUT_DOCUMENT
|--> Add content data in table APPLICATION
|--> Add content data in table APP_DOCUMENT
|--> Add content data in table DYNAFORM
|--> Add content data in table OUTPUT_DOCUMENT
|--> Add content data in table REPORT_TABLE
|--> Add content data in table TRIGGERS
|--> Add content data in table WEB_ENTRY_EVENT
<*>   Optimizing content data took 86.447811126709 seconds.
> Migrating and populating indexing for avoiding the use of table APP_CACHE_VIEW...
-> Migrating an populating indexing for avoiding the use of table APP_CACHE_VIEW Start
->   Populating APP_DELEGATION.APP_NUMBER
->   Populating APP_DELEGATION.USR_ID
->   Populating APP_DELEGATION.PRO_ID
->   Populating APP_DELEGATION.TAS_ID
->   Populating APPLICATION.APP_STATUS_ID
->   Populating APP_DELAY.USR_ID
->   Populating APP_DELAY.PRO_ID
->   Populating APP_DELAY.APP_NUMBER
->   Populating APP_MESSAGE.APP_NUMBER
->   Populating APP_MESSAGE.TAS_ID and APP_MESSAGE.PRO_ID
->   Populating APP_MESSAGE.PRO_ID
->   Populating APP_MESSAGE.APP_MSG_STATUS_ID
->   Populating APP_MESSAGE.APP_MSG_TYPE_ID
->   Populating PRO_ID, USR_ID at LIST_*
->   Populating APP_ASSIGN_SELF_SERVICE_VALUE.APP_NUMBER
->   Populating APP_ASSIGN_SELF_SERVICE_VALUE.TAS_ID
-> Populating APP_ASSIGN_SELF_SERVICE_VALUE.TAS_ID  Done
-> Migrating And Populating Indexing for avoiding the use of table APP_CACHE_VIEW Done
<*>   Migrating an populating indexing for avoiding the use of table APP_CACHE_VIEW process took 171.37611198425 seconds.
> Updating Files Manager...
<*>   Updating Files Manager took 0.0097939968109131 seconds.
> Clean access and refresh tokens...
|--> Clean data in table OAUTH_ACCESS_TOKENS rows 0
|--> Clean data in table OAUTH_REFRESH_TOKENS rows 0
<*>   Clean access and refresh tokens took 0.005497932434082 seconds.
> Optimizing Self-Service data...
-> Migrating Self-Service by Value Cases
   Migrating Self-Service by Value Cases Done
<*>   Migrating Self-Service records Process took 0.0028910636901855 seconds.
> Updating rows in Web Entry table for classic processes...
<*>   Updating rows in Web Entry table for classic processes took 0.0073590278625488 seconds.
> Update framework paths...
    /opt/processmaker/shared/framework [OK]
    /opt/processmaker/shared/framework/cache [OK]
<*>   Update framework paths took 0.00040698051452637 seconds.
> Migrating and populating plugin singleton data...
<*>   Migrating and populating plugin singleton data took 0.00063490867614746 seconds.
> Clearing History of Use from APP_HISTORY table...
-> Table fixed for wf_workflow.APP_HISTORY
<*>   Clearing History of Use from APP_HISTORY table took 0.53938698768616 seconds.
> Optimizing Self-Service data in table APP_ASSIGN_SELF_SERVICE_VALUE_GROUP....
->    Update table GROUP_USER
->    Update table APP_ASSIGN_SELF_SERVICE_VALUE_GROUP
<*>   Optimizing Self-Service data in table APP_ASSIGN_SELF_SERVICE_VALUE_GROUP took 0.012140989303589 seconds.

Check/Fix serialized instance in serverConf.singleton file


Safe upgrade for files cached by the browser

Upgrade successful
but the web page return 500. Any advice on this?
#827206
programerboy wrote: Wed Dec 18, 2019 4:06 pm Hi,

What exactly did you update to?
Check for server error logs to get the cause of the 500 error
Did you configure Apache settings correctly?

https://www.youtube.com/channel/UCYiyz1 ... 1iw/videos
Thanks
Hi, Thanks for your reply,
I have checked the log for the web server,
Code: Select all
syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) in /opt/processmaker/gulliver/system/class.g.php on line 55, referer: http://hk1ldvapwkf002/sysworkflow/en/classic/cases/main_init
I found one similar post but i have already upgrade my PHP from 5.4 to 5.6
No idea how to solve this issue
#827257
Hi,
Thanks for your kindly help.
I found the root cause of that. I have link the php to 5.6 but the configuration is still using 5.4
As a result, the PM3.2 does not work under PHP5.4

So i change the config of PHP5.4 to 5.6 and it work.
Code: Select all
mv /etc/httpd/conf.d/php.conf /etc/httpd/conf.d/php54.off
mv /etc/httpd/conf.modules.d/10-php.conf /etc/httpd/conf.modules.d/10-php54.off

cp /opt/rh/httpd24/root/etc/httpd/conf.d/rh-php56-php.conf /etc/httpd/conf.d/
cp /opt/rh/httpd24/root/etc/httpd/conf.modules.d/10-rh-php56-php.conf /etc/httpd/conf.modules.d/
cp /opt/rh/httpd24/root/etc/httpd/modules/librh-php56-php5.so /etc/httpd/modules/
This is the solution to my problem.
Thanks again for you advice, it is really helpful to check the error log.

Try the CloudMigration PST Converter to convert […]

In the rapidly evolving world of online sports be[…]

STEPN integrates social networking and games that […]

Cenforce 150 is a medication used to cope with a c[…]