Jump to content

Server sync issues


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

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