Page 1 of 1

workspace-backup access denied

Posted: Wed Dec 30, 2020 2:04 pm
by rbahntje
Where I can set the username/password to connect to mysql database when executing a workspace-backup?

$ php processmaker workspace-backup workflow
Backing up to /opt/processmaker/shared/backups/workflow.tar
Backing up database...
Saving database wf_workflow
mysqldump: [Warning] Using a password on the command line interface can be insecure.
mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces

Re: workspace-backup access denied

Posted: Fri Jan 01, 2021 11:21 pm
by Ironguts25
You need to log into the terminal as a root user (or root privileges) before you can run the ProcessMaker backup command. "$" at command prompt means you don't have admin rights.
e.g. execute su or sudo su - from the terminal and enter the root username and password when prompted.

Then navigate to the opt/processmaker directory and run the backup command from that location.
If that doesn't work then you should review your processmaker setup for the stack you are currently using including processmaker privileges.

Re: workspace-backup access denied

Posted: Wed Jul 06, 2022 3:17 pm
by ernestogonzalezmx
I have the same problem. I've reviewed the installation and it seems to be ok. I'm using Processmaker 3.5(Centos)

Re: workspace-backup access denied

Posted: Thu Jul 07, 2022 4:07 am
by Elwand25
useful information