Questions and discussion about using ProcessMaker: user interface, running cases & functionality

Moderators: ArturoRobles, ArturoRobles

By socr112
#827363
Hi
I restore processmaker 3.2.1 to 3.2.1, always show "php fatal error".
What else should be changed besides max_limit?
Code: Select all
[[email protected] processmaker]# ./processmaker workspace-restore -o workflow
Restoring from /opt/processmaker/shared/backups/workflow.tar
Found 1 workspaces in backup:
-> workflow.meta

            Warning: A workspace from a newer version of ProcessMaker can NOT be restored in an older version of
            ProcessMaker. For example, restoring from v.3.0 to v.2.5 will not work. However, it may be possible
            to restore a workspace from an older version to an newer version of ProcessMaker, although error
            messages may be displayed during the restore process.
> Restoring workflow to workflow
> Workspace workflow already exist, overwriting!
+> Restoring directory 'workflow.files'
> Changing file permissions
> Connecting to system database in 'localhost'
+> Restoring database wf_workflow to wf_workflow
PHP Fatal error:  Allowed memory size of 10737418240 bytes exhausted (tried to allocate 3811764263 bytes) in /opt/processmaker/workflow/engine/classes/class.wsTools.php on line 1448
By dan123dan
#827366
Hi socr112,

Please, Could you tell me your current stack?

You should have installed:

-MySQL 5.5.x (If you have installed MySQL 5.6.x, you must disable the STRICT_MODE which is on by default)
-Apache 2.4.x
-PHP 5.6.x

if you've installed another stack, try to reinstall the corresponding, because this could be the issue you have.

Please, let me know if you have any doubts.

Regards.
By socr112
#827371
Hi dan123dan:

Centos 7
Apache 2.4
PHP 5.6
MySQL 5.5
Processmaker 3.2.1

That is my test machine is the same as the online machine, and I will upgrade ProcessMaker to 3.3.10 on the test machine.
So I want to restore the data from the online machine to the test machine, it always shows PHP fatal errors.
Now I use alternate backup of database and file to restore on test machine.
It doesn't same as online machine after restore.

Regards.
dan123dan wrote: Mon Jan 13, 2020 8:59 am Hi socr112,

Please, Could you tell me your current stack?

You should have installed:

-MySQL 5.5.x (If you have installed MySQL 5.6.x, you must disable the STRICT_MODE which is on by default)
-Apache 2.4.x
-PHP 5.6.x

if you've installed another stack, try to reinstall the corresponding, because this could be the issue you have.

Please, let me know if you have any doubts.

Regards.
By socr112
#827377
Hi programerboy

I backup use -s1000 and restore again. it still PHP Fatal error.
Code: Select all
[[email protected] processmaker]# ./processmaker workspace-restore -o -m /opt/tmp/workflow_20200114.tar
Restoring from /opt/tmp/workflow_20200114.tar
Restoring into /opt/processmaker/shared/upgrade/H5Qi5U
opt/processmaker/shared/sites/workflow/classes/PmtIT2.php
Uncompressed into: /opt/processmaker/shared/upgrade/H5Qi5U
Found 1 workspaces in backup:
-> workflow.meta
> Restoring workflow to workflow
> Workspace workflow already exist, overwriting!
+> Restoring directory 'workflow'
> Changing file permissions
> Connecting to system database in 'localhost'
+> Restoring database wf_workflow to wf_workflow
PHP Fatal error:  Allowed memory size of 10737418240 bytes exhausted (tried to allocate 3820861191 bytes) in /opt/processmaker/workflow/engine/classes/class.wsTools.php on line 1443
programerboy wrote: Tue Jan 14, 2020 12:56 am Hi,
Your backup file is big, please check this link:
https://wiki.processmaker.com/3.0/Backi ... Workspaces

https://www.youtube.com/channel/UCYiyz1 ... 1iw/videos
https://www.linkedin.com/in/pmlearning/
Thanks
disable value in dropdown

Check box is more helpful rather than drop down op[…]

Timeout Not Sending Email

I would like to thank you for the efforts you have[…]

use 'insert into' in a trigger

Is your syntax correct? Shouldn't you be using s[…]

issue with processmaker 3.2

You mean the code in the trigger below? That is t[…]