Jump to content

Server sync issues


jessasaurus
Go to solution Solved by jessasaurus,

Recommended Posts

Im having some issues with the server sync with plesk  under the module/server  "No match found on server" 

the domains, ips and usernames been redataed for privicy

 

 

Server Sync

Step 2 of 4: Analyse

  Module/Server WHMCS Import
/Sync
  Domain Primary IP Username Product Status Created ID Domain Primary IP Username Product Status Created
No match found on server 1 domain.co.uk 127.0.0.1 a username Advanced Hosting Active 2021-03-07
No match found on server 2 domain.co.uk 127.0.0.1 a username Advanced Hosting Active 2019-06-02
No match found on server 5 domain.co.uk 127.0.0.1 a username Premium Hosting Active 2022-02-14
No match found on server 14 domain.co.uk 127.0.0.1 a username Platinum Hosting Active 2019-04-21
No match found on server 15 domain.co.uk 127.0.0.1 a username Platinum Hosting Active 2019-04-21
No match found on server 16 domain.co.uk 127.0.0.1 a username Platinum Hosting Active 2019-04-21
No match found on server 17 domain.co.uk 127.0.0.1 a username Platinum Hosting Active 2023-10-31
No match found on server 19 domain.co.uk 127.0.0.1 a username Platinum Hosting Active 2019-04-23
No match found on server 113 domain.co.uk 127.0.0.1 a username Platinum Hosting Active 2024-02-13
No match found on server 114 domain.co.uk 127.0.0.1 a username Platinum Hosting Active 2026-09-28
No Records Found
 
 
 
 
Link to comment
Share on other sites

I ran into the same "No match found on server" result with Plesk a while back and in my case it turned out the API login WHMCS was using could not actually see the subscriptions. Worth logging into Plesk with those exact API credentials and checking that the subscriptions are listed there — if they are not, the credentials are probably tied to the wrong reseller or owner. Also double check that the usernames in WHMCS match the Plesk usernames exactly, as even a small mismatch stops the match.

Link to comment
Share on other sites

  • 4 weeks later...

One thing in your output matters more than the matching: the left-hand (Module/Server) side ends with "No Records Found". That means the sync didn't get a single account back from Plesk, so this isn't a username or domain mismatch. WHMCS is getting an empty list, and Test Connection succeeding only proves the login works, not that the account list call returns anything.

Before anything else, don't tick Import/Sync on those rows and continue. For services that exist in WHMCS but not "on the server", the sync terminates them in WHMCS and sets them to Terminated, so you'd mark 10 live customers as terminated.

What I'd check, in this order:

  1. Configuration > System Logs > Module Log: enable logging, run the sync again, then open the Plesk entries. Look at the response to the account/subscription listing request. If it's an XML error (permission denied, protocol version, parse error), that's your answer. If it's a valid response with no results, go to step 2.
  2. On the Plesk box, run plesk bin subscription --list and confirm these domains are really subscriptions on that server, not domains added under one subscription (additional domains don't show up as separate accounts).
  3. Make sure the hostname/IP on the WHMCS server record is this Plesk server. If it points at an old or different server with the same admin login, Test Connection passes and the list is still empty. The Module Log request URL shows exactly where it's going.
  4. Check the WHMCS and Plesk versions. The current module needs Plesk Onyx 17.8 or Obsidian 18.0+.

If the Module Log shows a clean response that does list the subscriptions and the left side is still empty, that's a module bug. Open a ticket with WHMCS and attach the log entry with the credentials and domains redacted.

Link to comment
Share on other sites

from the list accounts response i see the following 

 

Array
(
    [@attributes] => Array
        (
            [version] => 1.6.9.1
        )

    [webspace] => SimpleXMLElement Object
        (
            [get] => SimpleXMLElement Object
                (
                    [result] => Array
                        (
                            [0] => SimpleXMLElement Object
                                (
                                    [status] => ok
                                    [filter-id] => 1
                                    [id] => 1
                                    [data] => SimpleXMLElement Object
                                        (
                                            [hosting] => SimpleXMLElement Object
                                                (
                                                    [vrt_hst] => SimpleXMLElement Object
                                                        (
                                                            [property] => Array
                                                                (
                                                                    [0] => SimpleXMLElement Object
                                                                        (
                                                                            [name] => seo-redirect
                                                                            [value] => none
                                                                        )

                                                                    [1] => SimpleXMLElement Object
                                                                        (
                                                                            [name] => ftp_login


and more like that in it wont send all of it as it has usernames and password in it

as shown in the images i posted plesk is fully up to date!!! (Plesk Obsidian 18.0.81 Update #6)
and running WHMCS version 9.0.9

 

 

this is the requests WHMCS is sending for list accounts

<?xml version="1.0" encoding="UTF-8"?><packet version="1.6.9.1"><!-- Copyright 1999-2016. Parallels IP Holdings GmbH. -->
<server>
    <get_protos/>
</server>
</packet>

<?xml version="1.0" encoding="UTF-8"?><packet version="1.6.9.1"><webspace>
    <get>
                    <filter/>
                <dataset>
                            <hosting/>
                <subscriptions/>
                    </dataset>
    </get>
</webspace>
</packet>

Link to comment
Share on other sites

That output helps a lot. The response comes back with version 1.6.9.1 and status "ok" on the webspace results, so Plesk is returning your subscriptions, and 9.0.9 is already talking the new protocol (the 1.6.9.1 update shipped in 9.0.9 as WHMCS-27404). So the empty left side isn't Plesk hiding accounts. WHMCS is getting a valid list back and not turning it into rows on the Analyse screen.

On the panel.ini idea: I couldn't find oldVersionsSupported anywhere in Plesk's documentation. The [api] options Plesk documents are things like enabled, allowedIPs and deprecationWarning. And since your requests already go out as 1.6.9.1, a setting for older protocol versions shouldn't change anything here. If you want to try it anyway, back up panel.ini first and take the line out again if the sync still comes back empty.

What I'd do next:

1. Open a ticket with WHMCS and attach the full Module Log entries for one sync run (request and response), with usernames, passwords and domains redacted. A valid 1.6.9.1 response with status ok and an empty Analyse table is exactly the evidence they need. Mention WHMCS 9.0.9 and Plesk Obsidian 18.0.81 Update 6.

2. While you wait, check /var/log/plesk/panel.log around the time of the sync. If one of the WHMCS requests is being rejected by Plesk's XML schema validation, it shows up there even when the main listing call succeeds.

3. Test create, suspend and unsuspend on one test service. The sync screen is only a reconciliation tool, so if those still work you can carry on normally and treat Plesk as the source of truth until there's a fix.

And still don't tick Import/Sync on any of those rows while the left side shows nothing.

Link to comment
Share on other sites

50 minutes ago, Waqas Ahmed Waseer said:

On the panel.ini idea: I couldn't find oldVersionsSupported anywhere in Plesk's documentation. The [api] options Plesk documents are things like enabled, allowedIPs and deprecationWarning. And since your requests already go out as 1.6.9.1, a setting for older protocol versions shouldn't change anything here. If you want to try it anyway, back up panel.ini first and take the line out again if the sync still comes back empty.

It’s mentioned in the last changelog https://docs.plesk.com/release-notes/obsidian/change-log/

Link to comment
Share on other sites

@azzepis you're right, thanks for the link, I missed that one. It's in the Plesk Obsidian 18.0.82 release notes under Deprecated and Removed Items: 18.0.82 dropped support for XML API protocol versions older than 1.6.9.1, and the oldVersionsSupported option (in the api section of panel.ini, set to true) temporarily turns the old versions back on. Plesk itself calls that not secure and not recommended, so I'd only treat it as a stopgap.

@jessasaurus that gives you a quick test. If your Plesk is on 18.0.82 or later, add that option, run the sync again and see whether the Analyse table fills in. If it does, some request in the sync is still going out with an older protocol version even though the listing response you pasted says 1.6.9.1, and that's worth adding to the WHMCS ticket along with the Module Log. Take the option back out once WHMCS ships a fix. If you're still on 18.0.81 (which is what you mentioned earlier), nothing was removed yet, so the setting won't change anything and the ticket is the way to go.

Same caution as before: don't tick Import/Sync on any rows while the left side is empty.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated