adding an addon domain fails under a specific user account

I am trying to add an addon domain and getting the following error after clicking “Activate Changes”. I have never used the reseller features.

Util_Process::formatDataCallProc(): EditDomain: (apnscpException) EXCEPTION: fatal(): unknown configuration value(s) `reseller_id' located in service `reseller' 
[/usr/local/apnscp/lib/error_reporter.php:703]
         0. Error_Reporter::append_msg("fatal(): unknown configuration value(s) `reseller_id' located in service `reseller'", ["fatal", "unknown configuration value(s) `reseller_id' located in service `reseller'"], 64)
            [/usr/local/apnscp/lib/error_reporter.php:1341]
         1. Error_Reporter::trigger_fatal("unknown configuration value(s) `reseller_id' located in service `reseller'", ["reseller_id", "reseller"])
            [/usr/local/apnscp/lib/log_wrapper.php:50]
         2. fatal("unknown configuration value(s) `%s' located in service `%s'", "reseller_id", "reseller")
            [/usr/local/apnscp/lib/Opcenter/SiteConfiguration.php:188]
         3. Opcenter\SiteConfiguration->__construct("site3", [[["domain1.com", "domain2.com"], enabled:1], [[enabled:1, jail:1, subnum:null, version:3.2, ]]])
            [/usr/local/apnscp/lib/Opcenter/Account/Edit.php:103]
         4. Opcenter\Account\Edit->installServices()
            [/usr/local/apnscp/lib/Opcenter/Account/Edit.php:88]
         5. Opcenter\Account\Edit->exec()
            [/usr/local/apnscp/bin/EditDomain:119]
  • What version of apnscp are you running?
timestamp: 1753317801
ver_maj: 3
ver_min: 2
ver_patch: 48
ver_pre: ''
dirty: false
debug: false
  • Which version of RHEL or CentOS are you using?
    AlmaLinux release 8.10 (Cerulean Leopard)
  • Can you reproduce this bug reliably? Provide steps. If not, provide steps to the best of your recollection.
    • The issue seems to be isolated to one particular user account.
    • From the frontend, navigate to DNS->Addon Domains.
    • Add a domain.
    • Click “Activate Changes.”
    • The domain is not added to the account.

reseller_id was renamed to “id” in 3.2.46 released March 2025.

A migration was included in this release to rename reseller,reseller_id to reseller,id.

You may run this migration independently to update service metadata:

upcp -m '*pyenv-switch*'
1 Like

Thanks! That solved it.