• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Customer and Business Manager not available

M

markross

Guest
I've just upgraded from Plesk 9.5.4 to 10.2 and the Customer and Business Manager isn't available even though the update manager says it is installed. I believe there should be some extra menu options on the left but there are none. Has something gone wrong or do I need to do something else to enable it? My OS is CentOS.
 
Yes I can access Customer & Business Manager through the direct URL. I can't login using my normal Plesk username though. What would my login credentials be?

"rpm -qa | grep billing" gives:

plesk-billing-plugins-10.11.0-cos5.build1011110331.11
plesk-billing-10.2.0-20110331.12
 
Try to execute the following command:
shell> /usr/share/plesk-billing/repair-integration --command=repair-all --idp-url=https://your_domain.com:8443
 
Also please verify that hostname "your_domain.com" can be resolved both locally on server and globally (via your browser).
If not, add corresponding entries into hosts file:
On Linux add entry "10.10.10.10 your_domain.com" into /etc/hosts file
On Windows add entry "10.10.10.10 your_domain.com" into C:\Windows\system32\drivers\etc\hosts file
 
I have noticed that when I login to Plesk I get the following message:

Warning: You have connected this server to Business Manager, but the connection is damaged. This could happen because one of the applications was upgraded separately, or because a full server restoration was performed. Please log in to the Business Manager and repair the connection to this server. All business operations in the Panel are currently disabled.

Also I get an error when I run the repair integration command:

The command 'repair-integration:repair-all' completed with this error: "Failed to run command '/usr/local/psa/bin/sw-engine-pleskrun /usr/share/plesk-billing/register-local-panel.php --name='Local Parallels Plesk Panel server (mydomain.com)' --url='https://mydomain.com:8443' --login='admin' --password='mypassword' --guid='85b522b3-fa3f-4db8-913b-3465b987d0dc'':
Please revise admin credentials for the following panel: <a href="modules.php?action=362&configGroupID=74">Local Parallels Plesk Panel</a><br>".
The '/usr/share/plesk-billing/repair-integration' command was failed with the unknown message: <message>Failed to run command '/usr/local/psa/bin/sw-engine-pleskrun /usr/share/plesk-billing/register-local-panel.php --name='Local Parallels Plesk Panel server (mydomain.com)' --url='https://mydomain.com:8443' --login='admin' --password='mypassword' --guid='85b522b3-fa3f-4db8-913b-3465b987d0dc'':
Please revise admin credentials for the following panel: <a href="modules.php?action=362&configGroupID=74">Local Parallels Plesk Panel</a><br></message>. All details of the problem has been stored into the '/usr/share/plesk-billing/repair-integration.crash.log' file.
 
Execute firstly /usr/share/plesk-billing/update-admin --password=mypassword where mypassword is your Panel password.
Then execute again
/usr/share/plesk-billing/repair-integration --command=repair-all --idp-url=https://your_domain.com:8443
 
When I run update-admin I get this:

Please revise admin credentials for the following panel: <a href="modules.php?action=362&configGroupID=74">Local Parallels Plesk Panel</a><br>

Then when I run repair-integration I get the same as before.
 
Try to log in into CBM using your new password (which you used for update-admin command), go to System Configuration > Server Groups and try to set up correct password for local Panel (administrator password for Panel). Please use the same password for local Panel and CBM.

Then try to execute command repair-integration once more.

If you don't have any customers/subcriptions in CBM, you can also try to remove local Panel completely and execute command repair-integration.
 
It's kind of worked. When a last ran repair-integration I get some errors. When I login to Custom & Business Manager I can't see any of my Plesk customers. Should they have been synced? The error messages I got are:



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

FIRSTNAME Mark Ross (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:

Mark Ross (ID: 1).......................................[ FAILED ]
ERROR: exception 'ProductException' with message 'Failed to repair customer`s #1 contact #1 in SSO: Invalid parameters: contact_username' in /opt/plesk-billing/htdocs/billing-libs/object_managers/SSOManager.php:66
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}

The command 'sso:repair-accounts' completed with 4 errors.
The command 'repair-integration:repair-all' completed.
 
Great, you have a progress.
Now you can just set up e-mails and other info for all administrators - go to system Configuration > Administrators, open each profile, fill it and save
After it command repair-integration should work without errors.

What about syncing accounts - CBM and Panel have one-way synchronization: when you create customer and hosting subscription in CBM, they are provisioned into Panel. Refer to documentation to get more details - http://download1.parallels.com/Ples...ide/plesk-business-manager-quick-start-guide/ and http://download1.parallels.com/Ples...e/plesk-business-manager-administrator-guide/
One of the next versions of CBM will provide such feature as import of customers, susbcriptions and service plans from Panel to CBM, but not 10.2 version.
 
how do I run this repair even resetting the password on Windows 2008? because I couldn't login with my plesk login.
 
nevermind I got it...

c:\Program Files (x86)\Parallels\Plesk\admin\bin>billing_update_admin --password
=(-PASSWORD-REMOVED-FOR-SECURITY-) where mypassword

c:\Program Files (x86)\Parallels\Plesk\admin\bin>billing-repair-integration --co
mmand=repair-all --idp-url=https://mypanel.nukermusic.com:8443
Repair integration with local panel:
Try to repair integration...................................[ OK ]

Repair SSO connections (may take a few minutes, please wait...):
Repair SSL settings in IIS for SSO server:

Try to re-install CA certificate........................[ OK ]
Try to configure SSL settings in IIS....................[ OK ]
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:

(-NAME-REMOVED-FOR-SECURITY-) (ID: 1)..................................[ OK ]
OrderForm User (ID: 2)..................................[ OK ]
API User (ID: 3)........................................[ OK ]
Cron User (ID: 4).......................................[ OK ]

Repair customers accounts:

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

c:\Program Files (x86)\Parallels\Plesk\admin\bin>

EDIT: I just realized this was posted in linux forum while searching on google then it pointed me to here earlier and I'm very sorry about that.
 
Last edited:
Back
Top