Skip to main content

[CPANEL-22499] Account suspension status isn't preserved after a server transfer

Comments

7 comments

  • snewton
    Just tried another migration for another server and the log shows they all transferred fine, but again, resellers do not have their reseller permissions or ownership of their accounts and on a side note: Previously suspended accounts were not re-suspended. This time both servers were running cPanel v74.0.6 Definitely something not right...
    0
  • snewton
    Just to add, I did 3 more migrations this weekend using the Transfer Tool and they all had the same result. All accounts transferred with no errors, but reseller permissions were not transferred and suspended accounts were not re-suspended. All servers running v74.0.6
    0
  • cPanelMichael
    Hello @snewton,
    While looking further into the issue, I also noticed all of the previously suspended accounts were active on the new server as with transfers with earlier versions of cPanel. The last few transfers I did, all suspended accounts were re-suspended during the transfer (which made my job a lot easier), so I hoped that would continue going forward. Has that changed or is this also related?

    I've reproduced this behavior in cPanel & WHM version 74 and opened internal case CPANEL-22499 to report the issue. I'll monitor this case and update this thread with more information as it becomes available. In the meantime, the temporary workaround is to manually suspend the account on the destination server post-transfer using WHM >> Manage Account Suspension.
    I checked the logs and found that the error was due to the reseller not having permission to access WHM. While diagnosing the issue I noticed when I clicked "Show Reseller Accounts" it showed every account on the system being owned by root and no reseller was listed.

    Can you confirm that you selected Copy Reseller Privileges under the list of accounts to transfer in WHM >> Transfer Tool interface? I tested a transfer and confirmed the reseller privileges and account ownership was correctly transferred. Thank you.
    0
  • snewton
    Just checked and Copy Reseller Privileges was not checked, so that does explain that. Not sure why it wasn't as it is typically something that is checked by default (from what I can remember from previous transfers) and is not something I unchecked. Weird. Thanks!
    0
  • cPanelMichael
    Just checked and Copy Reseller Privileges was not checked, so that does explain that. Not sure why it wasn't as it is typically something that is checked by default (from what I can remember from previous transfers) and is not something I unchecked. Weird.

    We changed the default behavior in version 74 so that it's not enabled by default: Fixed case CPANEL-19730: Transfer Tool: don't enable Copy Reseller Privileges by default. This is a security-focused change, as administrators should be required to 'opt in' to transferring reseller privileges. Additionally, it makes the behavior in WHM >> Transfer Tool consistent with how /scripts/restorepkg works via the command line. Thank you.
    0
  • snewton
    We changed the default behavior in version 74 so that it's not enabled by default: Fixed case CPANEL-19730: Transfer Tool: don't enable Copy Reseller Privileges by default. This is a security-focused change, as administrators should be required to 'opt in' to transferring reseller privileges. Additionally, it makes the behavior in WHM >> Transfer Tool consistent with how /scripts/restorepkg works via the command line. Thank you.

    I didn't notice that had changed. Thanks for the info!
    0
  • cPanelMichael
    Hello, cPanel & WHM version 74.0.9 is now published to the CURRENT 74 Change Log - Change Logs - cPanel Documentation Thanks!
    0

Please sign in to leave a comment.