Transfer site fails looking for reseller_id

  • What version of apnscp are you running?
    cpcmd misc_cp_version
    old machine 3.2.45. target machine is a fresh install
  • Which version of RHEL or CentOS are you using?
    cat /etc/redhat-release
    rocky 8.10
  • Can you reproduce this bug reliably? Provide steps. If not, provide steps to the best of your recollection.
    I’m trying to move my sites to a new server using apnscp_php /usr/local/apnscp/bin/scripts/transfersite.php --stage=0 -s {{new site}} --all
    The attempt fails for each site with the same error: FATAL: fatal(): unknown configuration value(s) reseller_id' located in service reseller’
  • Enable debug mode (cpcmd config_set apnscp.debug true). Restart backend by hand,
    cd /usr/local/apnscp/bin ; ./bin/apnscpd -f restart
    This will give more information including backtraces.

Place the old server on edge.

cpcmd scope:set cp.update-policy edge-major
upcp

Somehow the old server was on a tag instead HEAD detached at v3.2.45.2
Checked out master and the upcp and site transfer were successful.

Thanks!