Failing Updates on ApisCP

I receive update failures since about a month from one of my Apis hosts that runs on rocky.

Steps i already tried:

systemctl restart apiscp
./artisan migrate --force

The usual upcp commands failed and migrate --force upcp --reset revealed also a .test domain that seemed blocking the update so i deleted the domain in hope that fixes it.

At last i tried upcp -sbf php/install-extensions with no luck.

Every night i receive 2 failed update reports from this host that i uploaded here.

Thanks for your time and support!

update-log0.zip (9.5 KB)

cd /usr/local/apnscp
git checkout v3.2.45
./artisan migrate --force

If I recall correctly, this was caused by empty vfs mountpoints awaiting recycle. /usr/local/apnscp/bin/scripts/mapCheck.php rebuild should also fix it if you’re unable to upgrade to .45 due to pending platform migrations.

Yes that worked finally! Thanks!
Initially ./artisan migrate --force failed but after
apnscp/bin/scripts/mapCheck.php rebuild it went trough.

however somehow test domains were also be recreated which shouldnt be the case i guess?!

# /usr/local/apnscp/bin/scripts/mapCheck.php rebuild

INFO   : Scanning apache.domainmap
WARNING: unknown(): site6 NOT IN apache.domainmap map
         0. Error_Reporter::add_warning("%(site)s NOT IN %(map)s map", [[site:"site6", map:"apache.domainmap"]])
            [/usr/local/apnscp/lib/log_wrapper.php:95]
         1. warn("%(site)s NOT IN %(map)s map", [site:"site6", map:"apache.domainmap"])
            [/usr/local/apnscp/bin/scripts/mapCheck.php:275]
INFO   : ADD www.=site6 (apache.domainmap - webserver)
INFO   : Scanning billing.domainmap
WARNING: unknown(): site6 NOT IN billing.domainmap map
         0. Error_Reporter::add_warning("%(site)s NOT IN %(map)s map", [[site:"site6", map:"billing.domainmap"]])
            [/usr/local/apnscp/lib/log_wrapper.php:95]
         1. warn("%(site)s NOT IN %(map)s map", [site:"site6", map:"billing.domainmap"])
            [/usr/local/apnscp/bin/scripts/mapCheck.php:275]
INFO   : ADD apnscp-YXRVPJRM=site6 (billing.domainmap - invoice)
INFO   : Scanning billing.parentmap
INFO   : Scanning domainmap
INFO   : Invalid site reference site8 in domainmap - tracking
INFO   : Found dangling site site8 in domainmap - removing
INFO   : Scanning ipmap
INFO   : Scanning mysql.prefixmap
WARNING: unknown(): site6 NOT IN mysql.prefixmap map
         0. Error_Reporter::add_warning("%(site)s NOT IN %(map)s map", [[site:"site6", map:"mysql.prefixmap"]])
            [/usr/local/apnscp/lib/log_wrapper.php:95]
         1. warn("%(site)s NOT IN %(map)s map", [site:"site6", map:"mysql.prefixmap"])
            [/usr/local/apnscp/bin/scripts/mapCheck.php:275]
INFO   : ADD apis_=site6 (mysql.prefixmap - dbaseprefix)
INFO   : Scanning mysql.usermap
WARNING: unknown(): site6 NOT IN mysql.usermap map
         0. Error_Reporter::add_warning("%(site)s NOT IN %(map)s map", [[site:"site6", map:"mysql.usermap"]])
            [/usr/local/apnscp/lib/log_wrapper.php:95]
         1. warn("%(site)s NOT IN %(map)s map", [site:"site6", map:"mysql.usermap"])
            [/usr/local/apnscp/bin/scripts/mapCheck.php:275]
INFO   : ADD cwfdizcttgpiiakv=site6 (mysql.usermap - dbaseadmin)
INFO   : Scanning pgsql.prefixmap
INFO   : Scanning pgsql.usermap
INFO   : Scanning ssh.portmap
WARNING: unknown(): site6 NOT IN ssh.portmap map
         0. Error_Reporter::add_warning("%(site)s NOT IN %(map)s map", [[site:"site6", map:"ssh.portmap"]])
            [/usr/local/apnscp/lib/log_wrapper.php:95]
         1. warn("%(site)s NOT IN %(map)s map", [site:"site6", map:"ssh.portmap"])
            [/usr/local/apnscp/bin/scripts/mapCheck.php:275]
INFO   : ADD 5=site6 (ssh.portmap - port_index)
INFO   : Scanning reseller
INFO   : Scanning whitelist
INFO   : Removing dangling link /home/virtual/apvtdrxelcszkulzhvifgqzw.test
INFO   : Rebuilt domainmap.tch
INFO   : Imported missing domain `apiscp-int-uccdebharkipadna.test' (`6')

This is vivified to satisfy the account maps. You may safely delete the site.