• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

loggin loop

S

Skaterstuff

Guest
after i upgraded my plesk to 10.2 i got the login loop so i searched for a fix and used /usr/share/plesk-billing/repair-integration --command=repair-all --idp-url=https://MY.IP:8443

and i get errors like this

Try to repair integration...................................[ OK ]

Repair SSO connections (may take a few minutes, please wait...):
/usr/share/plesk-billing/repair-integration --command=repair-all --idp-url=https://MY.IP:8443 Repair CBM and Plesk Panel connections with SSO:

Try to detach the 'customer' application from SSO.......[ OK ]
Try to detach the 'admin' application from SSO..........[ OK ]
Try to clear the SSO database...........................[ OK ]
Try to attach the 'admin' application to SSO............[ OK ]
Try to attach the 'customer' application to SSO.........[ OK ]
Try to enable the 'admin' application to use SSO........[ OK ]
Try to enable the 'customer' application to use SSO.....[ OK ]

The command 'sso:repair-all' completed.
Synchronize local panel:
Try to synchronize local panel..............................[ OK ]

Repair SSO accounts (may take a few minutes, please wait...):
Repair administrative accounts:

FIRSTNAME JUSTANAME (ID: 1)...........................[ OK ]
OrderForm User (ID: 2)..................................[ FAILED ]
ERROR: exception 'ProductException' with message 'Failed to repair admin #2 in SSO: Invalid parameters: admin_email' in /opt/plesk-billing/htdocs/billing-libs/object_managers/SSOManager.php:47
Stack trace:
#0 /usr/share/plesk-billing/sso.php(257): SSOManager::repairUsers(true)
#1 /usr/share/plesk-billing/sso.php(249): __command_repair_accounts()
#2 /usr/share/plesk-billing/sso.php(127): command_repair_accounts(Object(Zend_Console_Getopt))
#3 {main}
API User (ID: 3)........................................[ FAILED ]
ERROR: exception 'ProductException' with message 'Failed to repair admin #3 in SSO: Invalid parameters: admin_email' in /opt/plesk-billing/htdocs/billing-libs/object_managers/SSOManager.php:47
Stack trace:
#0 /usr/share/plesk-billing/sso.php(257): SSOManager::repairUsers(true)
#1 /usr/share/plesk-billing/sso.php(249): __command_repair_accounts()
#2 /usr/share/plesk-billing/sso.php(127): command_repair_accounts(Object(Zend_Console_Getopt))
#3 {main}
Cron User (ID: 4).......................................[ FAILED ]
ERROR: exception 'ProductException' with message 'Failed to repair admin #4 in SSO: Invalid parameters: admin_email' in /opt/plesk-billing/htdocs/billing-libs/object_managers/SSOManager.php:47
Stack trace:
#0 /usr/share/plesk-billing/sso.php(257): SSOManager::repairUsers(true)
#1 /usr/share/plesk-billing/sso.php(249): __command_repair_accounts()
#2 /usr/share/plesk-billing/sso.php(127): command_repair_accounts(Object(Zend_Console_Getopt))
#3 {main}

Repair customers accounts:

No customers found.
The command 'sso:repair-accounts' completed with 3 errors.
The command 'repair-integration:repair-all' completed.

i am running the latest centos os

and it never gets out of the loop im sure it has something to do with the errors above
 
As far as I know "Invalid parameters: admin_email" problem while repairing the SSO accounts has been fixed since 10.0.1 version. Are you sure that upgrade to 10.2 has been successfully completed?
 
yes as before i did a server reset from plesk it said it 10.2 then after the server comes back online i get the login loop

[root@]# cat /usr/local/psa/version
10.2.0 CentOS 5 1011110331.10
 
so any help or should i just get rid of plesk as im not getting help
 
still getting the same 3 errors after all that


[root@ skaterstuff]# /usr/share/plesk-billing/sso --command=att ach --app-type=customer --idp-url=https://MYIP:8443
Application type: client
Connected with SSO: On
SSO enabled: Off
SSO API URL: https://MYIP:8443
SSO Relay port: https://MYIP:8443
Service Provider ID: tvbw0d3jfupmfc3kfxinl6l4dh4cqvojy8
[root@]# /usr/share/plesk-billing/sso --command=ena ble --app-type=admin
Application type: admin
Connected with SSO: On
SSO enabled: On
SSO API URL: https://MYIP:8443
SSO Relay port: https://MYIP:8443
Service Provider ID: q2bi8rlvdjvw2rpctuyxmngdfdh4cf26y7x
[root@]# /usr/share/plesk-billing/sso --command=ena ble --app-type=customer
Application type: client
Connected with SSO: On
SSO enabled: On
SSO API URL: https://MYIP:8443
SSO Relay port: https://MYIP:8443
Service Provider ID: tvbw0d3jfupmfc3kfxinl6l4dh4cqvojy8
[root@]# /usr/share/plesk-billing/sso --command=rep air-accounts
Repair administrative accounts:

FIRSTNAME skaterstuff (ID: 1)...........................[ OK ]
OrderForm User (ID: 2)..................................[ FAILED ]
ERROR: exception 'ProductException' with message 'Failed to repair admin #2 in S SO: Invalid parameters: admin_email' in /opt/plesk-billing/htdocs/billing-libs/o bject_managers/SSOManager.php:47
Stack trace:
#0 /usr/share/plesk-billing/sso(258): SSOManager::repairUsers(true)
#1 /usr/share/plesk-billing/sso(250): __command_repair_accounts()
#2 /usr/share/plesk-billing/sso(128): command_repair_accounts(Object(Zend_Consol e_Getopt))
#3 {main}
API User (ID: 3)........................................[ FAILED ]
ERROR: exception 'ProductException' with message 'Failed to repair admin #3 in S SO: Invalid parameters: admin_email' in /opt/plesk-billing/htdocs/billing-libs/o bject_managers/SSOManager.php:47
Stack trace:
#0 /usr/share/plesk-billing/sso(258): SSOManager::repairUsers(true)
#1 /usr/share/plesk-billing/sso(250): __command_repair_accounts()
#2 /usr/share/plesk-billing/sso(128): command_repair_accounts(Object(Zend_Consol e_Getopt))
#3 {main}
Cron User (ID: 4).......................................[ FAILED ]
ERROR: exception 'ProductException' with message 'Failed to repair admin #4 in S SO: Invalid parameters: admin_email' in /opt/plesk-billing/htdocs/billing-libs/o bject_managers/SSOManager.php:47
Stack trace:
#0 /usr/share/plesk-billing/sso(258): SSOManager::repairUsers(true)
#1 /usr/share/plesk-billing/sso(250): __command_repair_accounts()
#2 /usr/share/plesk-billing/sso(128): command_repair_accounts(Object(Zend_Consol e_Getopt))
#3 {main}

Repair customers accounts:

No customers found.
The command 'sso:repair-accounts' completed with 3 errors.
 
yes and i cant login to plesk like stated above as all its doing is staying in a loop and i did everything in post 6 and still no go
 
Did you try contact Parallels Support Team if this issue critical for you?
 
Back
Top