Ask questions about installing and configuring ProcessMaker 3

Moderator: amosbatto

By benoitp

This morning on my test platform, i can't login with the "admin" account : WARNING: User's account has expired

I tried this in mysql :
Code: Select all
MariaDB [wf_workflow]> update USERS set USR_DUE_DATE='2050-01-01';
But without success.

Any tips ?
Last edited by benoitp on Thu Jan 02, 2020 6:13 am, edited 1 time in total.
User avatar
By programerboy
You can use these queries :
Code: Select all
UPDATE `wf_workflow`.`rbac_users` SET `USR_DUE_DATE` = '2030-01-01' WHERE `USR_UID` = '00000000000000000000000000000001';
UPDATE `wf_workflow`.`users` SET `USR_DUE_DATE` = '2030-01-01' WHERE `USR_UID` = '00000000000000000000000000000001'; ... 1iw/videos
By benoitp
Hello Programerboy,

Thank you for the tip !

I found another way to unlock the account, i changed the date of the system, login into PM, change the expiration date of the "admin" account, and reboot the system.
By rohitambre
I am also facing the same issue.
Can please suggest any solution that can be done through code modification.
For development purpose I install many instances everyday, So it is very annoying to change the USR_DUE_DATE value in DB for every new instance.
By rohitambre
I found a solution for this issue through code.

Go to insert.sql file In /rbac/engine/data/mysql/ and change the insert value in RBAC_USERS table.
i.e from
Code: Select all
('00000000000000000000000000000001','admin','21232f297a57a5a743894a0e4a801fc3','Administrator','','[email protected]','2020-01-01','2007-08-03 12:24:36','2008-02-13 07:24:07',1,'MYSQL','00000000000000000000000000000000','',''),
Code: Select all
('00000000000000000000000000000001','admin','21232f297a57a5a743894a0e4a801fc3','Administrator','','[email protected]','2030-01-01','2007-08-03 12:24:36','2008-02-13 07:24:07',1,'MYSQL','00000000000000000000000000000000','',''),

Go to insert.sql file In /workflow/engine/data/mysql/ and change the insert value in USERS table.
i.e from
Code: Select all
('00000000000000000000000000000001','admin','21232f297a57a5a743894a0e4a801fc3','Administrator',' ',  '[email protected]','2020-01-01','1999-11-30 00:00:00','2008-05-23 18:36:19','ACTIVE',  'US','FL','MMK','','',  '1-305-402-0282','1-305-675-1400','','','Administrator',  '','1999-02-25','PROCESSMAKER_ADMIN','',''),
Code: Select all
('00000000000000000000000000000001','admin','21232f297a57a5a743894a0e4a801fc3','Administrator',' ',  '[email protected]','2030-01-01','1999-11-30 00:00:00','2008-05-23 18:36:19','ACTIVE',  'US','FL','MMK','','',  '1-305-402-0282','1-305-675-1400','','','Administrator',  '','1999-02-25','PROCESSMAKER_ADMIN','',''),

Note - we are going to be migrating all PM 4 open […]

Hello Everyone, I have a problem in fetching the d[…]

No puedo acceder al diseñador por https.

Tengo el mismo problema. ¿Ha habido alguna[…]

I am trying to add custom font "Ubuntu-Medium[…]