Installation failure

Any help would be appreciated.

fatal: [localhost]: FAILED! => changed=false
  elapsed: 300
  msg: Timeout when waiting for file /etc/opcenter/webhost/.config/

PLAY RECAP *****************************************************************************************
localhost                  : ok=667  changed=36   unreachable=0    failed=1    skipped=336  rescued=0    ignored=1

[root@box playbooks]# grep -m1 failed=1 -B20 /root/apnscp-bootstrapper.log
        ),
      ),
       'previous' => NULL,
    ))

             0B. Error_Reporter::handle_error(32, "TypeError::__set_state(array(   'message' => 'socket_bind(): Argument #1 ($socket) must be of type Socket, bool given',   'string' => '',   'code' => 0,   'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',   'line' => 54,   'trace' =>   array (    0 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',      'line' => 54,      'function' => 'socket_bind',      'args' =>       array (        0 => false,        1 => '::1',        2 => 0,      ),    ),    1 =>     array (      'file' => '/usr/local/apnscp/lib/error_reporter.php',      'line' => 1225,      'function' => 'Opcenter\\Net\\{closure}',      'class' => 'Opcenter\\Net\\IpCommon',      'type' => '::',      'args' =>       array (      ),    ),    2 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',      'line' => 54,      'function' => 'silence',      'class' => 'Error_Reporter',      'type' => '::',      'args' =>       array (        0 =>         Closure::__set_state(array(        )),      ),    ),    3 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 189,      'function' => 'bound',      'class' => 'Opcenter\\Net\\IpCommon',      'type' => '::',      'args' =>       array (        0 => '::1',      ),    ),    4 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 151,      'function' => 'commandArgs',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (      ),    ),    5 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 223,      'function' => 'command',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (        0 => 'start',      ),    ),    6 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 312,      'function' => 'start',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (      ),    ),    7 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 233,      'function' => 'startFrontend',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    8 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 169,      'function' => 'start',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    9 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 1456,      'function' => '__construct',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    10 =>     array (      'file' => '/usr/local/apnscp/lib/lservice.php',      'line' => 28,      'function' => 'init',      'class' => 'ListenerService\\Daemon',      'type' => '::',      'args' =>       array (      ),    ),  ),   'previous' => NULL,))", null, null, Exception)
                [/usr/local/apnscp/lib/error_reporter.php:1314]
             1B. Error_Reporter::report("TypeError::__set_state(array(   'message' => 'socket_bind(): Argument #1 ($socket) must be of type Socket, bool given',   'string' => '',   'code' => 0,   'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',   'line' => 54,   'trace' =>   array (    0 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',      'line' => 54,      'function' => 'socket_bind',      'args' =>       array (        0 => false,        1 => '::1',        2 => 0,      ),    ),    1 =>     array (      'file' => '/usr/local/apnscp/lib/error_reporter.php',      'line' => 1225,      'function' => 'Opcenter\\Net\\{closure}',      'class' => 'Opcenter\\Net\\IpCommon',      'type' => '::',      'args' =>       array (      ),    ),    2 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',      'line' => 54,      'function' => 'silence',      'class' => 'Error_Reporter',      'type' => '::',      'args' =>       array (        0 =>         Closure::__set_state(array(        )),      ),    ),    3 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 189,      'function' => 'bound',      'class' => 'Opcenter\\Net\\IpCommon',      'type' => '::',      'args' =>       array (        0 => '::1',      ),    ),    4 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 151,      'function' => 'commandArgs',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (      ),    ),    5 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 223,      'function' => 'command',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (        0 => 'start',      ),    ),    6 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 312,      'function' => 'start',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (      ),    ),    7 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 233,      'function' => 'startFrontend',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    8 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 169,      'function' => 'start',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    9 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 1456,      'function' => '__construct',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    10 =>     array (      'file' => '/usr/local/apnscp/lib/lservice.php',      'line' => 28,      'function' => 'init',      'class' => 'ListenerService\\Daemon',      'type' => '::',      'args' =>       array (      ),    ),  ),   'previous' => NULL,))", ["TypeError::__set_state(array(   'message' => 'socket_bind(): Argument #1 ($socket) must be of type Socket, bool given',   'string' => '',   'code' => 0,   'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',   'line' => 54,   'trace' =>   array (    0 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',      'line' => 54,      'function' => 'socket_bind',      'args' =>       array (        0 => false,        1 => '::1',        2 => 0,      ),    ),    1 =>     array (      'file' => '/usr/local/apnscp/lib/error_reporter.php',      'line' => 1225,      'function' => 'Opcenter\\Net\\{closure}',      'class' => 'Opcenter\\Net\\IpCommon',      'type' => '::',      'args' =>       array (      ),    ),    2 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',      'line' => 54,      'function' => 'silence',      'class' => 'Error_Reporter',      'type' => '::',      'args' =>       array (        0 =>         Closure::__set_state(array(        )),      ),    ),    3 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 189,      'function' => 'bound',      'class' => 'Opcenter\\Net\\IpCommon',      'type' => '::',      'args' =>       array (        0 => '::1',      ),    ),    4 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 151,      'function' => 'commandArgs',      'class' => 'Opcenter\\Http\\Apn[root@box playbooks]# grep -m1 failed=1 -B20 /root/apnscp-bootstrapper.log
        ),
      ),
       'previous' => NULL,
    ))

             0B. Error_Reporter::handle_error(32, "TypeError::__set_state(array(   'message' => 'socket_bind(): Argument #1 ($socket) must be of type Socket, bool given',   'string' => '',   'code' => 0,   'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',   'line' => 54,   'trace' =>   array (    0 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',      'line' => 54,      'function' => 'socket_bind',      'args' =>       array (        0 => false,        1 => '::1',        2 => 0,      ),    ),    1 =>     array (      'file' => '/usr/local/apnscp/lib/error_reporter.php',      'line' => 1225,      'function' => 'Opcenter\\Net\\{closure}',      'class' => 'Opcenter\\Net\\IpCommon',      'type' => '::',      'args' =>       array (      ),    ),    2 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',      'line' => 54,      'function' => 'silence',      'class' => 'Error_Reporter',      'type' => '::',      'args' =>       array (        0 =>         Closure::__set_state(array(        )),      ),    ),    3 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 189,      'function' => 'bound',      'class' => 'Opcenter\\Net\\IpCommon',      'type' => '::',      'args' =>       array (        0 => '::1',      ),    ),    4 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 151,      'function' => 'commandArgs',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (      ),    ),    5 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 223,      'function' => 'command',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (        0 => 'start',      ),    ),    6 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 312,      'function' => 'start',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (      ),    ),    7 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 233,      'function' => 'startFrontend',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    8 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 169,      'function' => 'start',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    9 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 1456,      'function' => '__construct',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    10 =>     array (      'file' => '/usr/local/apnscp/lib/lservice.php',      'line' => 28,      'function' => 'init',      'class' => 'ListenerService\\Daemon',      'type' => '::',      'args' =>       array (      ),    ),  ),   'previous' => NULL,))", null, null, Exception)
                [/usr/local/apnscp/lib/error_reporter.php:1314]
             1B. Error_Reporter::report("TypeError::__set_state(array(   'message' => 'socket_bind(): Argument #1 ($socket) must be of type Socket, bool given',   'string' => '',   'code' => 0,   'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',   'line' => 54,   'trace' =>   array (    0 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',      'line' => 54,      'function' => 'socket_bind',      'args' =>       array (        0 => false,        1 => '::1',        2 => 0,      ),    ),    1 =>     array (      'file' => '/usr/local/apnscp/lib/error_reporter.php',      'line' => 1225,      'function' => 'Opcenter\\Net\\{closure}',      'class' => 'Opcenter\\Net\\IpCommon',      'type' => '::',      'args' =>       array (      ),    ),    2 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',      'line' => 54,      'function' => 'silence',      'class' => 'Error_Reporter',      'type' => '::',      'args' =>       array (        0 =>         Closure::__set_state(array(        )),      ),    ),    3 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 189,      'function' => 'bound',      'class' => 'Opcenter\\Net\\IpCommon',      'type' => '::',      'args' =>       array (        0 => '::1',      ),    ),    4 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 151,      'function' => 'commandArgs',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (      ),    ),    5 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 223,      'function' => 'command',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (        0 => 'start',      ),    ),    6 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 312,      'function' => 'start',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (      ),    ),    7 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 233,      'function' => 'startFrontend',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    8 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 169,      'function' => 'start',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    9 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 1456,      'function' => '__construct',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    10 =>     array (      'file' => '/usr/local/apnscp/lib/lservice.php',      'line' => 28,      'function' => 'init',      'class' => 'ListenerService\\Daemon',      'type' => '::',      'args' =>       array (      ),    ),  ),   'previous' => NULL,))", ["TypeError::__set_state(array(   'message' => 'socket_bind(): Argument #1 ($socket) must be of type Socket, bool given',   'string' => '',   'code' => 0,   'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',   'line' => 54,   'trace' =>   array (    0 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',      'line' => 54,      'function' => 'socket_bind',      'args' =>       array (        0 => false,        1 => '::1',        2 => 0,      ),    ),    1 =>     array (      'file' => '/usr/local/apnscp/lib/error_reporter.php',      'line' => 1225,      'function' => 'Opcenter\\Net\\{closure}',      'class' => 'Opcenter\\Net\\IpCommon',      'type' => '::',      'args' =>       array (      ),    ),    2 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',      'line' => 54,      'function' => 'silence',      'class' => 'Error_Reporter',      'type' => '::',      'args' =>       array (        0 =>         Closure::__set_state(array(        )),      ),    ),    3 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 189,      'function' => 'bound',      'class' => 'Opcenter\\Net\\IpCommon',      'type' => '::',      'args' =>       array (        0 => '::1',      ),    ),    4 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 151,      'function' => 'commandArgs',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (      ),    ),    5 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 223,      'function' => 'command',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (        0 => 'start',      ),    ),    6 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 312,      'function' => 'start',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (      ),    ),    7 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 233,      'function' => 'startFrontend',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    8 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 169,      'function' => 'start',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    9 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 1456,      'function' => '__construct',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    10 =>     array (      'file' => '/usr/local/apnscp/lib/lservice.php',      'line' => 28,      'function' => 'init',      'class' => 'ListenerService\\Daemon',      'type' => '::',      'args' =>       array (      ),    ),  ),   'previous' => NULL,))"])
                [/usr/local/apnscp/lib/apnscpcore.php:145]
             2B. Error_Reporter\ReportFilterInterface@anonymous/usr/local/apnscp/lib/apnscpcore.php:135$1->filter(128, "socket_bind(): Argument #1 ($socket) must be of type Socket, bool given", "/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php", 54, TypeError)
                [/usr/local/apnscp/lib/error_reporter.php:249]
             3B. Error_Reporter::handle_error(128, "socket_bind(): Argument #1 ($socket) must be of type Socket, bool given", "/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php", 54, TypeError)
                [/usr/local/apnscp/lib/error_reporter.php:157]
             4B. Error_Reporter::handle_exception(TypeError)
                [n/a]

    Control panel has not come online yet. This may be due to an invalid license.
    The last 40 lines from the backend logfile, /usr/local/apnscp/storage/logs/start.log,
    are included above.
2023-12-17 16:50:43,523 p=13145 u=root n=ansible | PLAY RECAP *********************************************************************
2023-12-17 16:50:43,523 p=13145 u=root n=ansible | localhost                  : ok=781  changed=285  unreachable=0    failed=1    skipped=246  rescued=2    ignored=13

Did a reboot, updated:

[root@box playbooks]# grep -m1 failed=1 -B20 /root/apnscp-bootstrapper.log
        ),
      ),
       'previous' => NULL,
    ))

             0B. Error_Reporter::handle_error(32, "TypeError::__set_state(array(   'message' => 'socket_bind(): Argument #1 ($socket) must be of type Socket, bool given',   'string' => '',   'code' => 0,   'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',   'line' => 54,   'trace' =>   array (    0 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',      'line' => 54,      'function' => 'socket_bind',      'args' =>       array (        0 => false,        1 => '::1',        2 => 0,      ),    ),    1 =>     array (      'file' => '/usr/local/apnscp/lib/error_reporter.php',      'line' => 1225,      'function' => 'Opcenter\\Net\\{closure}',      'class' => 'Opcenter\\Net\\IpCommon',      'type' => '::',      'args' =>       array (      ),    ),    2 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',      'line' => 54,      'function' => 'silence',      'class' => 'Error_Reporter',      'type' => '::',      'args' =>       array (        0 =>         Closure::__set_state(array(        )),      ),    ),    3 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 189,      'function' => 'bound',      'class' => 'Opcenter\\Net\\IpCommon',      'type' => '::',      'args' =>       array (        0 => '::1',      ),    ),    4 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 151,      'function' => 'commandArgs',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (      ),    ),    5 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 223,      'function' => 'command',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (        0 => 'start',      ),    ),    6 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 312,      'function' => 'start',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (      ),    ),    7 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 233,      'function' => 'startFrontend',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    8 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 169,      'function' => 'start',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    9 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 1456,      'function' => '__construct',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    10 =>     array (      'file' => '/usr/local/apnscp/lib/lservice.php',      'line' => 28,      'function' => 'init',      'class' => 'ListenerService\\Daemon',      'type' => '::',      'args' =>       array (      ),    ),  ),   'previous' => NULL,))", null, null, Exception)
                [/usr/local/apnscp/lib/error_reporter.php:1314]
             1B. Error_Reporter::report("TypeError::__set_state(array(   'message' => 'socket_bind(): Argument #1 ($socket) must be of type Socket, bool given',   'string' => '',   'code' => 0,   'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',   'line' => 54,   'trace' =>   array (    0 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',      'line' => 54,      'function' => 'socket_bind',      'args' =>       array (        0 => false,        1 => '::1',        2 => 0,      ),    ),    1 =>     array (      'file' => '/usr/local/apnscp/lib/error_reporter.php',      'line' => 1225,      'function' => 'Opcenter\\Net\\{closure}',      'class' => 'Opcenter\\Net\\IpCommon',      'type' => '::',      'args' =>       array (      ),    ),    2 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',      'line' => 54,      'function' => 'silence',      'class' => 'Error_Reporter',      'type' => '::',      'args' =>       array (        0 =>         Closure::__set_state(array(        )),      ),    ),    3 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 189,      'function' => 'bound',      'class' => 'Opcenter\\Net\\IpCommon',      'type' => '::',      'args' =>       array (        0 => '::1',      ),    ),    4 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 151,      'function' => 'commandArgs',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (      ),    ),    5 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 223,      'function' => 'command',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (        0 => 'start',      ),    ),    6 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 312,      'function' => 'start',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (      ),    ),    7 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 233,      'function' => 'startFrontend',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    8 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 169,      'function' => 'start',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    9 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 1456,      'function' => '__construct',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    10 =>     array (      'file' => '/usr/local/apnscp/lib/lservice.php',      'line' => 28,      'function' => 'init',      'class' => 'ListenerService\\Daemon',      'type' => '::',      'args' =>       array (      ),    ),  ),   'previous' => NULL,))", ["TypeError::__set_state(array(   'message' => 'socket_bind(): Argument #1 ($socket) must be of type Socket, bool given',   'string' => '',   'code' => 0,   'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',   'line' => 54,   'trace' =>   array (    0 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',      'line' => 54,      'function' => 'socket_bind',      'args' =>       array (        0 => false,        1 => '::1',        2 => 0,      ),    ),    1 =>     array (      'file' => '/usr/local/apnscp/lib/error_reporter.php',      'line' => 1225,      'function' => 'Opcenter\\Net\\{closure}',      'class' => 'Opcenter\\Net\\IpCommon',      'type' => '::',      'args' =>       array (      ),    ),    2 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php',      'line' => 54,      'function' => 'silence',      'class' => 'Error_Reporter',      'type' => '::',      'args' =>       array (        0 =>         Closure::__set_state(array(        )),      ),    ),    3 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 189,      'function' => 'bound',      'class' => 'Opcenter\\Net\\IpCommon',      'type' => '::',      'args' =>       array (        0 => '::1',      ),    ),    4 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 151,      'function' => 'commandArgs',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (      ),    ),    5 =>     array (      'file' => '/usr/local/apnscp/lib/Opcenter/Http/Apnscp.php',      'line' => 223,      'function' => 'command',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (        0 => 'start',      ),    ),    6 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 312,      'function' => 'start',      'class' => 'Opcenter\\Http\\Apnscp',      'type' => '::',      'args' =>       array (      ),    ),    7 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 233,      'function' => 'startFrontend',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    8 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 169,      'function' => 'start',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    9 =>     array (      'file' => '/usr/local/apnscp/lib/lservicelib8.pht',      'line' => 1456,      'function' => '__construct',      'class' => 'ListenerService\\Daemon',      'type' => '->',      'args' =>       array (      ),    ),    10 =>     array (      'file' => '/usr/local/apnscp/lib/lservice.php',      'line' => 28,      'function' => 'init',      'class' => 'ListenerService\\Daemon',      'type' => '::',      'args' =>       array (      ),    ),  ),   'previous' => NULL,))"])
                [/usr/local/apnscp/lib/apnscpcore.php:145]
             2B. Error_Reporter\ReportFilterInterface@anonymous/usr/local/apnscp/lib/apnscpcore.php:135$1->filter(128, "socket_bind(): Argument #1 ($socket) must be of type Socket, bool given", "/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php", 54, TypeError)
                [/usr/local/apnscp/lib/error_reporter.php:249]
             3B. Error_Reporter::handle_error(128, "socket_bind(): Argument #1 ($socket) must be of type Socket, bool given", "/usr/local/apnscp/lib/Opcenter/Net/IpCommon.php", 54, TypeError)
                [/usr/local/apnscp/lib/error_reporter.php:157]
             4B. Error_Reporter::handle_exception(TypeError)
                [n/a]

    Control panel has not come online yet. This may be due to an invalid license.
    The last 40 lines from the backend logfile, /usr/local/apnscp/storage/logs/start.log,
    are included above.
2023-12-17 16:50:43,523 p=13145 u=root n=ansible | PLAY RECAP *********************************************************************
2023-12-17 16:50:43,523 p=13145 u=root n=ansible | localhost                  : ok=781  changed=285  unreachable=0    failed=1    skipped=246  rescued=2    ignored=13

Resolved, I think.

I was able to logon into the panel and it appears to be functioning, without any errors to this point.

Not sure if this is related, but unable to add a domain/account via both ssh or panel:

 Action failed

    AddDomain command: /usr/local/apnscp/bin/AddDomain --fd=%d --output=json  -c 'siteinfo,email'='XXXXXXX' -c 'siteinfo,admin_user'='besthosts7ca' -c 'siteinfo,domain'='XXXXXXX' -c 'auth,tpasswd'='XXXXXX' -c 'aliases,enabled'='0' -c 'apache,jail'='1' -c 'bandwidth,threshold'='5' -c 'bandwidth,rollover'='1' -c 'billing,invoice'='XXXXXXXXX' -c 'cgroup,memory'='256' -c 'cgroup,cpuweight'='50' -c 'cgroup,ioweight'='50' -c 'diskquota,quota'='1000' -c 'dns,enabled'='0' -c 'dns,proxyaddr'='None' -c 'dns,proxy6addr'='None' -c 'dns,key'='None' -c 'ftp,enabled'='0' -c 'mail,enabled'='0' -c 'mail,provider'='null' -c 'mail,key'='None' -c 'mlist,enabled'='0' -c 'mysql,dbaseprefix'='bh_' -c 'rampart,enabled'='0' -c 'spamfilter,provider'='None' -c 'ssh,enabled'='0' -c 'ssl,enabled'='0' -c 'vacation,enabled'='0'
    Util_Process::formatDataCallProc(): AddDomain: ERROR  : Opcenter\Service\Validators\Common\Enabled::update(): Exception raised on `Opcenter\Service\Validators\Metrics\Enabled': `SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "metric_attributes" does not exist
    LINE 1: SELECT attr_id, name FROM metric_attributes
                                      ^'
             0. Error_Reporter::add_error("Exception raised on `%s': `%s'", ["Opcenter\Service\Validators\Metrics\Enabled", "SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "metric_attributes" does not existLINE 1: SELECT attr_id, name FROM metric_attributes                                  ^"])
                [/usr/local/apnscp/lib/log_wrapper.php:62]
             1. error("Exception raised on `%s': `%s'", "Opcenter\Service\Validators\Metrics\Enabled", "SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "metric_attributes" does not existLINE 1: SELECT attr_id, name FROM metric_attributes                                  ^")
                [/usr/local/apnscp/lib/Opcenter/Service/Validators/Common/Enabled.php:107]
             2. Opcenter\Service\Validators\Common\Enabled->update("service.success", Opcenter\SiteConfiguration)
                [/usr/local/apnscp/lib/Event/Cardinal.php:143]
             3. Event\Contracts\Subscriber@anonymous/usr/local/apnscp/lib/Event/Cardinal.php:132$99->update("service.success", Opcenter\SiteConfiguration)
                [/usr/local/apnscp/lib/Event/Manager.php:187]
             4. Event\Manager->fire("service.success", Opcenter\SiteConfiguration)
                [/usr/local/apnscp/lib/Event/Cardinal.php:172]
             5. Event\Cardinal::fire(["service", "success"], Opcenter\SiteConfiguration)
                [/usr/local/apnscp/lib/Opcenter/Account/Create.php:206]
             6. Opcenter\Account\Create->installServices("FILESYSTEM.created", Opcenter\Filesystem)
                [/usr/local/apnscp/lib/Event/Cardinal.php:143]
             7. Event\Contracts\Subscriber@anonymous/usr/local/apnscp/lib/Event/Cardinal.php:132$99->update("FILESYSTEM.created", Opcenter\Filesystem)
                [/usr/local/apnscp/lib/Event/Manager.php:187]
             8. Event\Manager->fire("FILESYSTEM.created", Opcenter\Filesystem)
                [/usr/local/apnscp/lib/Event/Cardinal.php:172]
             9. Event\Cardinal::fire(["FILESYSTEM", "created"], Opcenter\Filesystem)
                [/usr/local/apnscp/lib/Opcenter/Filesystem.php:68]
            10. Opcenter\Filesystem->populate()
                [/usr/local/apnscp/lib/Opcenter/Filesystem.php:46]
            11. Opcenter\Filesystem::create("site1")
                [/usr/local/apnscp/lib/Opcenter/Account/Create.php:154]
            12. Opcenter\Account\Create->exec()
                [/usr/local/apnscp/bin/AddDomain:36]
    ERROR  : Event\Manager::fire(): SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "metric_attributes" does not exist
    LINE 1: SELECT attr_id, name FROM metric_attributes
                                      ^
             0. Error_Reporter::add_error("SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "metric_attributes" does not existLINE 1: SELECT attr_id, name FROM metric_attributes                                  ^", [])
                [/usr/local/apnscp/lib/log_wrapper.php:62]
             1. error("SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "metric_attributes" does not existLINE 1: SELECT attr_id, name FROM metric_attributes                                  ^", )
                [/usr/local/apnscp/lib/Event/Manager.php:195]
             2. Event\Manager->fire("service.fail", Opcenter\SiteConfiguration)
                [/usr/local/apnscp/lib/Event/Cardinal.php:172]
             3. Event\Cardinal::fire(["service", "fail"], Opcenter\SiteConfiguration)
                [/usr/local/apnscp/lib/Opcenter/Account/Create.php:210]
             4. Opcenter\Account\Create->installServices("FILESYSTEM.created", Opcenter\Filesystem)
                [/usr/local/apnscp/lib/Event/Cardinal.php:143]
             5. Event\Contracts\Subscriber@anonymous/usr/local/apnscp/lib/Event/Cardinal.php:132$99->update("FILESYSTEM.created", Opcenter\Filesystem)
                [/usr/local/apnscp/lib/Event/Manager.php:187]
             6. Event\Manager->fire("FILESYSTEM.created", Opcenter\Filesystem)
                [/usr/local/apnscp/lib/Event/Cardinal.php:172]
             7. Event\Cardinal::fire(["FILESYSTEM", "created"], Opcenter\Filesystem)
                [/usr/local/apnscp/lib/Opcenter/Filesystem.php:68]
             8. Opcenter\Filesystem->populate()
                [/usr/local/apnscp/lib/Opcenter/Filesystem.php:46]
             9. Opcenter\Filesystem::create("site1")
                [/usr/local/apnscp/lib/Opcenter/Account/Create.php:154]
            10. Opcenter\Account\Create->exec()
                [/usr/local/apnscp/bin/AddDomain:36]
    FATAL  : fatal(): domain `site1' missing from domainmap but site id `1' found
             0. Error_Reporter::trigger_fatal("domain `site1' missing from domainmap but site id `1' found", [[domain:"site1", id:1]])
                [/usr/local/apnscp/lib/log_wrapper.php:45]
             1. fatal("domain `%(domain)s' missing from domainmap but site id `%(id)d' found", [domain:"site1", id:1])
                [/usr/local/apnscp/lib/Auth.php:498]
             2. Auth::context("XXXXXXX", "site1")
                [/usr/local/apnscp/lib/ContextableTrait.php:122]
             3. Module\Support\Webapps\MetaManager->__ctwakeup()
                [/usr/local/apnscp/lib/Module/Support/Webapps/MetaManager.php:67]
             4. Module\Support\Webapps\MetaManager->__wakeup()
                [/usr/local/apnscp/lib/Module/Support/Webapps/MetaManager.php:56]
             5. Module\Support\Webapps\MetaManager->__construct()
                [/usr/local/apnscp/lib/ContextableTrait.php:41]
             6. Module\Support\Webapps\MetaManager::instantiateContexted(Auth_Info_User)
                [/usr/local/apnscp/lib/Module/Support/Webapps/MetaManager.php:110]
             7. Module\Support\Webapps\MetaManager::factory(Auth_Info_User)
                [/usr/local/apnscp/lib/Module/Support/Webapps/App/UIPanel.php:37]
             8. Module\Support\Webapps\App\UIPanel->__construct(Auth_Info_User)
                [/usr/local/apnscp/lib/Module/Support/Webapps/App/UIPanel.php:137]
             9. Module\Support\Webapps\App\UIPanel::proxy(Auth_Info_User)
                [/usr/local/apnscp/lib/Module/Support/Webapps/App/UIPanel.php:142]
            10. Module\Support\Webapps\App\UIPanel::instantiateContexted(Auth_Info_User)
                [/usr/local/apnscp/lib/Opcenter/Service/Validators/Siteinfo/Domain.php:98]
            11. Opcenter\Service\Validators\Siteinfo\Domain::Opcenter\Service\Validators\Siteinfo\{closure}("*.end", Opcenter\SiteConfiguration)
                [/usr/local/apnscp/lib/Event/Cardinal.php:143]
            12. Event\Contracts\Subscriber@anonymous/usr/local/apnscp/lib/Event/Cardinal.php:132$99->update("*.end", Opcenter\SiteConfiguration)
                [/usr/local/apnscp/lib/Event/Manager.php:187]
            13. Event\Manager->fire("*.end", Opcenter\SiteConfiguration)
                [/usr/local/apnscp/lib/Event/Cardinal.php:172]
            14. Event\Cardinal::fire(["*", "end"], Opcenter\SiteConfiguration)
                [/usr/local/apnscp/lib/Opcenter/Account/DomainOperation.php:48]
            15. Opcenter\Account\DomainOperation->fireCleanup(Opcenter\SiteConfiguration)
                [/usr/local/apnscp/lib/Opcenter/Account/Create.php:200]
            16. Opcenter\Account\Create->Opcenter\Account\{closure}()
                [/usr/local/apnscp/lib/helpers.php:105]
            17. class@anonymous/usr/local/apnscp/lib/helpers.php:95$3->__destruct()
                [/usr/local/apnscp/lib/Event/Cardinal.php:143]
            18. Event\Contracts\Subscriber@anonymous/usr/local/apnscp/lib/Event/Cardinal.php:132$99->update("FILESYSTEM.created", Opcenter\Filesystem)
                [/usr/local/apnscp/lib/Event/Manager.php:187]
            19. Event\Manager->fire("FILESYSTEM.created", Opcenter\Filesystem)
                [/usr/local/apnscp/lib/Event/Cardinal.php:172]
            20. Event\Cardinal::fire(["FILESYSTEM", "created"], Opcenter\Filesystem)
                [/usr/local/apnscp/lib/Opcenter/Filesystem.php:68]
            21. Opcenter\Filesystem->populate()
                [/usr/local/apnscp/lib/Opcenter/Filesystem.php:46]
            22. Opcenter\Filesystem::create("site1")
                [/usr/local/apnscp/lib/Opcenter/Account/Create.php:154]
            23. Opcenter\Account\Create->exec()
                [/usr/local/apnscp/bin/AddDomain:36]
    3 more messages
        Admin_Module::add_site(): Opcenter\Service\Validators\Common\Enabled::update(): Exception raised on `Opcenter\Service\Validators\Metrics\Enabled': `SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "metric_attributes" does not exist
        LINE 1: SELECT attr_id, name FROM metric_attributes
                                          ^'
        Admin_Module::add_site(): Event\Manager::fire(): SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "metric_attributes" does not exist
        LINE 1: SELECT attr_id, name FROM metric_attributes
                                          ^
        fatal(): domain `site1' missing from domainmap but site id `1' found


[root@box ~]# AddDomain -c siteinfo,domain=XXXXXX.XX -c siteinfo,admin_user=XXXXXXX
INFO   : no billing identifier specified for site, generated `apnscp-AFBLGSGS'
INFO   : no mysql database prefix specified - suggesting `best_'
INFO   : no bandwidth rollover date specified, using day of month, `17'
INFO   : No password specified - generating random password: `ennySfq1TfeW8ECwSRlM62F2FtWyAPxY'
INFO   : allocated port range [40010,40019] for account
INFO   : DNS not configured for `XXXXXXX', bypassing DNS hooks
ERROR  : Opcenter\Service\Validators\Common\Enabled::update(): Exception raised on `Opcenter\Service\Validators\Metrics\Enabled': `SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "metric_attributes" does not exist
LINE 1: SELECT attr_id, name FROM metric_attributes
                                  ^'
         0. Error_Reporter::add_error("Exception raised on `%s': `%s'", ["Opcenter\Service\Validators\Metrics\Enabled", "SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "metric_attributes" does not existLINE 1: SELECT attr_id, name FROM metric_attributes                                  ^"])
            [/usr/local/apnscp/lib/log_wrapper.php:62]
         1. error("Exception raised on `%s': `%s'", "Opcenter\Service\Validators\Metrics\Enabled", "SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "metric_attributes" does not existLINE 1: SELECT attr_id, name FROM metric_attributes                                  ^")
            [/usr/local/apnscp/lib/Opcenter/Service/Validators/Common/Enabled.php:107]
         2. Opcenter\Service\Validators\Common\Enabled->update("service.success", Opcenter\SiteConfiguration)
            [/usr/local/apnscp/lib/Event/Cardinal.php:143]
         3. Event\Contracts\Subscriber@anonymous/usr/local/apnscp/lib/Event/Cardinal.php:132$99->update("service.success", Opcenter\SiteConfiguration)
            [/usr/local/apnscp/lib/Event/Manager.php:187]
         4. Event\Manager->fire("service.success", Opcenter\SiteConfiguration)
            [/usr/local/apnscp/lib/Event/Cardinal.php:172]
         5. Event\Cardinal::fire(["service", "success"], Opcenter\SiteConfiguration)
            [/usr/local/apnscp/lib/Opcenter/Account/Create.php:206]
         6. Opcenter\Account\Create->installServices("FILESYSTEM.created", Opcenter\Filesystem)
            [/usr/local/apnscp/lib/Event/Cardinal.php:143]
         7. Event\Contracts\Subscriber@anonymous/usr/local/apnscp/lib/Event/Cardinal.php:132$99->update("FILESYSTEM.created", Opcenter\Filesystem)
            [/usr/local/apnscp/lib/Event/Manager.php:187]
         8. Event\Manager->fire("FILESYSTEM.created", Opcenter\Filesystem)
            [/usr/local/apnscp/lib/Event/Cardinal.php:172]
         9. Event\Cardinal::fire(["FILESYSTEM", "created"], Opcenter\Filesystem)
            [/usr/local/apnscp/lib/Opcenter/Filesystem.php:68]
        10. Opcenter\Filesystem->populate()
            [/usr/local/apnscp/lib/Opcenter/Filesystem.php:46]
        11. Opcenter\Filesystem::create("site1")
            [/usr/local/apnscp/lib/Opcenter/Account/Create.php:154]
        12. Opcenter\Account\Create->exec()
            [/usr/local/apnscp/bin/AddDomain:36]
WARNING: Opcenter\Provisioning\Pam::disable(): pam service `ssh' not enabled
ERROR  : DataStream::pipeline(): Common_Module::set_user_preferences(): failed to open preferences files for user `besthosts7ca'
         0. Error_Reporter::merge_buffer([[message:"Common_Module::set_user_preferences(): failed to open preferences files for user `besthosts7ca'", severity:16, caller:"Common_Module::set_user_preferences", bt:"         0B. Error_Reporter::add_error("failed to open preferences files for user `%s'", ["besthosts7ca"])            [/usr/local/apnscp/lib/log_wrapper.php:62]         1B. error("failed to open preferences files for user `%s'", "besthosts7ca")            [/usr/local/apnscp/lib/modules/common.php:929]         2B. Common_Module->set_user_preferences("besthosts7ca", [_ts:1702844555.0435, [[]]])            [/usr/local/apnscp/lib/modules/common.php:904]         3B. Common_Module->save_preferences([_ts:1702844555.0435, [[]]])            [/usr/local/apnscp/lib/Module/Skeleton/Standard.php:145]         4B. Module\Skeleton\Standard->_invoke("save_preferences", [[_ts:1702844555.0435, []]])            [/usr/local/apnscp/lib/apnscpfunction.php:992]         5B. apnscpFunctionInterceptor->call("common_save_preferences", [[_ts:1702844555.0435, []]])            [/usr/local/apnscp/lib/lservicelib8.pht:1180]         6B. ListenerService\Daemon->process_backend_data("oO:12:"apnscpObject":8:{s:7:"command";s:23:"common_save_preferences";s:4:"args";a:1:{i:0;a:2:{s:3:"_ts";d:1702844555.04354095458984375;s:7:"webapps";a:1:{s:5:"paths";a:0:{}}}}s:5:"error";N;s:10:"session_id";s:32:"vwBn3IfwVIaYtGouyVHM3eUV0F5D1YEj";s:13:"returned_data";N;s:7:"options";N;s:12:"error_buffer";N;s:16:"apnscpObjectip";s:15:"172.103.149.218";}")            [/usr/local/apnscp/lib/lservicelib8.pht:1097]         7B. ListenerService\Daemon->client_processing_loop()            [/usr/local/apnscp/lib/lservicelib8.pht:1053]         8B. ListenerService\Daemon->spawn()            [/usr/local/apnscp/lib/lservicelib8.pht:861]         9B. ListenerService\Daemon->findWorker(460078)            [/usr/local/apnscp/lib/lservicelib8.pht:1403]        10B. ListenerService\Daemon->dispatch(Socket)            [/usr/local/apnscp/lib/lservicelib8.pht:1275]        11B. ListenerService\Daemon->master()            [/usr/local/apnscp/lib/lservicelib8.pht:1224]        12B. ListenerService\Daemon->create_master_socket_server()            [/usr/local/apnscp/lib/lservicelib8.pht:289]        13B. ListenerService\Daemon->start()            [/usr/local/apnscp/lib/lservicelib8.pht:169]        14B. ListenerService\Daemon->__construct()            [/usr/local/apnscp/lib/lservicelib8.pht:1456]        15B. ListenerService\Daemon::init()            [/usr/local/apnscp/lib/lservice.php:28]"]])
            [/usr/local/apnscp/lib/datastream.php:310]
         1. DataStream->unpack("oO:12:"apnscpObject":8:{s:7:"command";s:23:"common_save_preferences";s:4:"args";a:1:{i:0;a:2:{s:3:"_ts";d:1702844555.04354095458984375;s:7:"webapps";a:1:{s:5:"paths";a:0:{}}}}s:5:"error";b:0;s:10:"session_id";s:32:"vwBn3IfwVIaYtGouyVHM3eUV0F5D1YEj";s:13:"returned_data";b:0;s:7:"options";N;s:12:"error_buffer";a:1:{i:0;a:4:{s:7:"message";s:95:"Common_Module::set_user_preferences(): failed to open preferences files for user `besthosts7ca'";s:8:"severity";i:16;s:6:"caller";s:35:"Common_Module::set_user_preferences";s:2:"bt";s:2373:"         0B. Error_Reporter::add_error("failed to open preferences files for user `%s'", ["besthosts7ca"])            [/usr/local/apnscp/lib/log_wrapper.php:62]         1B. error("failed to open preferences files for user `%s'", "besthosts7ca")            [/usr/local/apnscp/lib/modules/common.php:929]         2B. Common_Module->set_user_preferences("besthosts7ca", [_ts:1702844555.0435, [[]]])            [/usr/local/apnscp/lib/modules/common.php:904]         3B. Common_Module->save_preferences([_ts:1702844555.0435, [[]]])            [/usr/local/apnscp/lib/Module/Skeleton/Standard.php:145]         4B. Module\Skeleton\Standard->_invoke("save_preferences", [[_ts:1702844555.0435, []]])            [/usr/local/apnscp/lib/apnscpfunction.php:992]         5B. apnscpFunctionInterceptor->call("common_save_preferences", [[_ts:1702844555.0435, []]])            [/usr/local/apnscp/lib/lservicelib8.pht:1180]         6B. ListenerService\Daemon->process_backend_data("oO:12:"apnscpObject":8:{s:7:"command";s:23:"common_save_preferences";s:4:"args";a:1:{i:0;a:2:{s:3:"_ts";d:1702844555.04354095458984375;s:7:"webapps";a:1:{s:5:"paths";a:0:{}}}}s:5:"error";N;s:10:"session_id";s:32:"vwBn3IfwVIaYtGouyVHM3eUV0F5D1YEj";s:13:"returned_data";N;s:7:"options";N;s:12:"error_buffer";N;s:16:"apnscpObjectip";s:15:"172.103.149.218";}")            [/usr/local/apnscp/lib/lservicelib8.pht:1097]         7B. ListenerService\Daemon->client_processing_loop()            [/usr/local/apnscp/lib/lservicelib8.pht:1053]         8B. ListenerService\Daemon->spawn()            [/usr/local/apnscp/lib/lservicelib8.pht:861]         9B. ListenerService\Daemon->findWorker(460078)            [/usr/local/apnscp/lib/lservicelib8.pht:1403]        10B. ListenerService\Daemon->dispatch(Socket)            [/usr/local/apnscp/lib/lservicelib8.pht:1275]        11B. ListenerService\Daemon->master()            [/usr/local/apnscp/lib/lservicelib8.pht:1224]        12B. ListenerService\Daemon->create_master_socket_server()            [/usr/local/apnscp/lib/lservicelib8.pht:289]        13B. ListenerService\Daemon->start()            [/usr/local/apnscp/lib/lservicelib8.pht:169]        14B. ListenerService\Daemon->__construct()            [/usr/local/apnscp/lib/lservicelib8.pht:1456]        15B. ListenerService\Daemon::init()            [/usr/local/apnscp/lib/lservice.php:28]";}}s:16:"apnscpObjectip";s:15:"172.103.149.218";}")
            [/usr/local/apnscp/lib/datastream.php:403]
         2. DataStream->pipeline("oO:12:"apnscpObject":8:{s:7:"command";s:23:"common_save_preferences";s:4:"args";a:1:{i:0;a:2:{s:3:"_ts";d:1702844555.04354095458984375;s:7:"webapps";a:1:{s:5:"paths";a:0:{}}}}s:5:"error";N;s:10:"session_id";s:32:"vwBn3IfwVIaYtGouyVHM3eUV0F5D1YEj";s:13:"returned_data";N;s:7:"options";N;s:12:"error_buffer";N;s:16:"apnscpObjectip";s:15:"172.103.149.218";}")
            [/usr/local/apnscp/lib/datastream.php:392]
         3. DataStream->query("common_save_preferences", [_ts:1702844555.0435, [[]]])
            [/usr/local/apnscp/lib/Module/Skeleton/Standard.php:200]
         4. Module\Skeleton\Standard->query("common_save_preferences", [_ts:1702844555.0435, [[]]])
            [/usr/local/apnscp/lib/modules/common.php:898]
         5. Common_Module->save_preferences([_ts:1702844555.0435, [[]]])
            [/usr/local/apnscp/lib/Module/Skeleton/Standard.php:145]
         6. Module\Skeleton\Standard->_invoke("save_preferences", [[_ts:1702844555.0435, []]])
            [/usr/local/apnscp/lib/apnscpfunction.php:992]
         7. apnscpFunctionInterceptor->call("common_save_preferences", [[_ts:1702844555.0435, []]])
            [/usr/local/apnscp/lib/apnscpfunction.php:932]
         8. apnscpFunctionInterceptor->__call("common_save_preferences", [[_ts:1702844555.0435, []]])
            [/usr/local/apnscp/lib/Preferences.php:310]
         9. Preferences->sync()
            [/usr/local/apnscp/lib/Preferences.php:236]
        10. Preferences->__destruct()
            [/usr/local/apnscp/lib/Opcenter/Service/Validators/Aliases/Aliases.php:181]
        11. Opcenter\Service\Validators\Aliases\Aliases->depopulate(Opcenter\SiteConfiguration)
            [/usr/local/apnscp/lib/Opcenter/Service/ServiceValidator.php:78]
        12. Opcenter\Service\ServiceValidator->fire(["service"], Opcenter\SiteConfiguration)
            [/usr/local/apnscp/lib/Opcenter/Service/ServiceValidator.php:52]
        13. Opcenter\Service\ServiceValidator->update("service.fail", Opcenter\SiteConfiguration)
            [/usr/local/apnscp/lib/Event/Cardinal.php:143]
        14. Event\Contracts\Subscriber@anonymous/usr/local/apnscp/lib/Event/Cardinal.php:132$99->update("service.fail", Opcenter\SiteConfiguration)
            [/usr/local/apnscp/lib/Event/Manager.php:187]
        15. Event\Manager->fire("service.fail", Opcenter\SiteConfiguration)
            [/usr/local/apnscp/lib/Event/Cardinal.php:172]
        16. Event\Cardinal::fire(["service", "fail"], Opcenter\SiteConfiguration)
            [/usr/local/apnscp/lib/Opcenter/Account/Create.php:210]
        17. Opcenter\Account\Create->installServices("FILESYSTEM.created", Opcenter\Filesystem)
            [/usr/local/apnscp/lib/Event/Cardinal.php:143]
        18. Event\Contracts\Subscriber@anonymous/usr/local/apnscp/lib/Event/Cardinal.php:132$99->update("FILESYSTEM.created", Opcenter\Filesystem)
            [/usr/local/apnscp/lib/Event/Manager.php:187]
        19. Event\Manager->fire("FILESYSTEM.created", Opcenter\Filesystem)
            [/usr/local/apnscp/lib/Event/Cardinal.php:172]
        20. Event\Cardinal::fire(["FILESYSTEM", "created"], Opcenter\Filesystem)
            [/usr/local/apnscp/lib/Opcenter/Filesystem.php:68]
        21. Opcenter\Filesystem->populate()
            [/usr/local/apnscp/lib/Opcenter/Filesystem.php:46]
        22. Opcenter\Filesystem::create("site1")
            [/usr/local/apnscp/lib/Opcenter/Account/Create.php:154]
        23. Opcenter\Account\Create->exec()
            [/usr/local/apnscp/bin/AddDomain:36]
WARNING: Opcenter\Provisioning\Pam::disable(): pam service `ftp' not enabled
ERROR  : Event\Manager::fire(): SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "metric_attributes" does not exist
LINE 1: SELECT attr_id, name FROM metric_attributes
                                  ^
         0. Error_Reporter::add_error("SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "metric_attributes" does not existLINE 1: SELECT attr_id, name FROM metric_attributes                                  ^", [])
            [/usr/local/apnscp/lib/log_wrapper.php:62]
         1. error("SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "metric_attributes" does not existLINE 1: SELECT attr_id, name FROM metric_attributes                                  ^", )
            [/usr/local/apnscp/lib/Event/Manager.php:195]
         2. Event\Manager->fire("service.fail", Opcenter\SiteConfiguration)
            [/usr/local/apnscp/lib/Event/Cardinal.php:172]
         3. Event\Cardinal::fire(["service", "fail"], Opcenter\SiteConfiguration)
            [/usr/local/apnscp/lib/Opcenter/Account/Create.php:210]
         4. Opcenter\Account\Create->installServices("FILESYSTEM.created", Opcenter\Filesystem)
            [/usr/local/apnscp/lib/Event/Cardinal.php:143]
         5. Event\Contracts\Subscriber@anonymous/usr/local/apnscp/lib/Event/Cardinal.php:132$99->update("FILESYSTEM.created", Opcenter\Filesystem)
            [/usr/local/apnscp/lib/Event/Manager.php:187]
         6. Event\Manager->fire("FILESYSTEM.created", Opcenter\Filesystem)
            [/usr/local/apnscp/lib/Event/Cardinal.php:172]
         7. Event\Cardinal::fire(["FILESYSTEM", "created"], Opcenter\Filesystem)
            [/usr/local/apnscp/lib/Opcenter/Filesystem.php:68]
         8. Opcenter\Filesystem->populate()
            [/usr/local/apnscp/lib/Opcenter/Filesystem.php:46]
         9. Opcenter\Filesystem::create("site1")
            [/usr/local/apnscp/lib/Opcenter/Account/Create.php:154]
        10. Opcenter\Account\Create->exec()
            [/usr/local/apnscp/bin/AddDomain:36]
FATAL  : fatal(): domain `site1' missing from domainmap but site id `1' found
         0. Error_Reporter::trigger_fatal("domain `site1' missing from domainmap but site id `1' found", [[domain:"site1", id:1]])
            [/usr/local/apnscp/lib/log_wrapper.php:45]
         1. fatal("domain `%(domain)s' missing from domainmap but site id `%(id)d' found", [domain:"site1", id:1])
            [/usr/local/apnscp/lib/Auth.php:498]
         2. Auth::context("besthosts7ca", "site1")
            [/usr/local/apnscp/lib/ContextableTrait.php:122]
         3. Module\Support\Webapps\MetaManager->__ctwakeup()
            [/usr/local/apnscp/lib/Module/Support/Webapps/MetaManager.php:67]
         4. Module\Support\Webapps\MetaManager->__wakeup()
            [/usr/local/apnscp/lib/Module/Support/Webapps/MetaManager.php:56]
         5. Module\Support\Webapps\MetaManager->__construct()
            [/usr/local/apnscp/lib/ContextableTrait.php:41]
         6. Module\Support\Webapps\MetaManager::instantiateContexted(Auth_Info_User)
            [/usr/local/apnscp/lib/Module/Support/Webapps/MetaManager.php:110]
         7. Module\Support\Webapps\MetaManager::factory(Auth_Info_User)
            [/usr/local/apnscp/lib/Module/Support/Webapps/App/UIPanel.php:37]
         8. Module\Support\Webapps\App\UIPanel->__construct(Auth_Info_User)
            [/usr/local/apnscp/lib/Module/Support/Webapps/App/UIPanel.php:137]
         9. Module\Support\Webapps\App\UIPanel::proxy(Auth_Info_User)
            [/usr/local/apnscp/lib/Module/Support/Webapps/App/UIPanel.php:142]
        10. Module\Support\Webapps\App\UIPanel::instantiateContexted(Auth_Info_User)
            [/usr/local/apnscp/lib/Opcenter/Service/Validators/Siteinfo/Domain.php:98]
        11. Opcenter\Service\Validators\Siteinfo\Domain::Opcenter\Service\Validators\Siteinfo\{closure}("*.end", Opcenter\SiteConfiguration)
            [/usr/local/apnscp/lib/Event/Cardinal.php:143]
        12. Event\Contracts\Subscriber@anonymous/usr/local/apnscp/lib/Event/Cardinal.php:132$99->update("*.end", Opcenter\SiteConfiguration)
            [/usr/local/apnscp/lib/Event/Manager.php:187]
        13. Event\Manager->fire("*.end", Opcenter\SiteConfiguration)
            [/usr/local/apnscp/lib/Event/Cardinal.php:172]
        14. Event\Cardinal::fire(["*", "end"], Opcenter\SiteConfiguration)
            [/usr/local/apnscp/lib/Opcenter/Account/DomainOperation.php:48]
        15. Opcenter\Account\DomainOperation->fireCleanup(Opcenter\SiteConfiguration)
            [/usr/local/apnscp/lib/Opcenter/Account/Create.php:200]
        16. Opcenter\Account\Create->Opcenter\Account\{closure}()
            [/usr/local/apnscp/lib/helpers.php:105]
        17. class@anonymous/usr/local/apnscp/lib/helpers.php:95$3->__destruct()
            [/usr/local/apnscp/lib/Event/Cardinal.php:143]
        18. Event\Contracts\Subscriber@anonymous/usr/local/apnscp/lib/Event/Cardinal.php:132$99->update("FILESYSTEM.created", Opcenter\Filesystem)
            [/usr/local/apnscp/lib/Event/Manager.php:187]
        19. Event\Manager->fire("FILESYSTEM.created", Opcenter\Filesystem)
            [/usr/local/apnscp/lib/Event/Cardinal.php:172]
        20. Event\Cardinal::fire(["FILESYSTEM", "created"], Opcenter\Filesystem)
            [/usr/local/apnscp/lib/Opcenter/Filesystem.php:68]
        21. Opcenter\Filesystem->populate()
            [/usr/local/apnscp/lib/Opcenter/Filesystem.php:46]
        22. Opcenter\Filesystem::create("site1")
            [/usr/local/apnscp/lib/Opcenter/Account/Create.php:154]
        23. Opcenter\Account\Create->exec()
            [/usr/local/apnscp/bin/AddDomain:36]

Did you copy /root/apnscp-vars-runtime.yml from a previous machine? What’s reported by ip addr list?

No, I did not, it was a complete fresh install from the installer.

I did not get notification of a response and have since moved on.

But I have a new attempt:

2024-01-06 00:34:56,053 p=19652 u=root n=ansible | ok: [localhost]
2024-01-06 00:34:56,090 p=19652 u=root n=ansible | TASK [packages/install : yum] **************************************************
2024-01-06 00:35:00,342 p=19652 u=root n=ansible | changed: [localhost]
2024-01-06 00:35:00,361 p=19652 u=root n=ansible | TASK [packages/install : Check if GPG key needs relink] ************************
2024-01-06 00:35:00,535 p=19652 u=root n=ansible | ok: [localhost]
2024-01-06 00:35:00,552 p=19652 u=root n=ansible | TASK [packages/install : Link PGDG-15 to PGDG] *********************************
2024-01-06 00:35:00,708 p=19652 u=root n=ansible | fatal: [localhost]: FAILED! => changed=false
  msg: 'src file does not exist, use "force=yes" if you really want to create the link: /etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-15'
  path: /etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG
  src: /etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-15
2024-01-06 00:35:00,709 p=19652 u=root n=ansible | RUNNING HANDLER [filesystem/make-mounts : Reload tmp.mount] ********************
2024-01-06 00:35:00,710 p=19652 u=root n=ansible | RUNNING HANDLER [filesystem/make-mounts : Restart polkitd] *********************
2024-01-06 00:35:00,710 p=19652 u=root n=ansible | RUNNING HANDLER [common : noop] ************************************************
2024-01-06 00:35:00,712 p=19652 u=root n=ansible | PLAY RECAP *********************************************************************
2024-01-06 00:35:00,713 p=19652 u=root n=ansible | localhost                  : ok=110  changed=38   unreachable=0    failed=1    skipped=60   rescued=0    ignored=0

Give it another go, fixed in edge. Postgres’ latest RPM release on January 3 consistently links the GPG key, so the relink is no longer necessary (nor valid).

Ok, how about this:

TASK [php/install-extensions : Build and install imagick library.] *************
fatal: [localhost]: FAILED! => changed=true
  cmd:
  - /usr/local/apnscp/resources/playbooks/roles/php/install-extensions/files/installPecl.sh
  - https://pecl.php.net/get/imagick-3.7.0.tgz
  - ''
  delta: '0:00:31.067627'
  end: '2024-01-07 19:01:52.548487'
  msg: non-zero return code
  rc: 6
  start: '2024-01-07 19:01:21.480860'
  stderr: |2-
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Transient problem: timeout Will retry in 1 seconds. 5 retries left.
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Transient problem: timeout Will retry in 2 seconds. 4 retries left.
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Transient problem: timeout Will retry in 4 seconds. 3 retries left.
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Transient problem: timeout Will retry in 8 seconds. 2 retries left.
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Transient problem: timeout Will retry in 16 seconds. 1 retries left.
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: pecl.php.net
  stderr_lines: <omitted>
  stdout: /usr/local/apnscp/storage/tmp/extension.oAzIqYM /usr/local/apnscp/resources/playbooks
  stdout_lines: <omitted>

PLAY RECAP *********************************************************************
localhost                  : ok=1145 changed=429  unreachable=0    failed=1    skipped=349  rescued=1    ignored=12

ERR: Stage 2 bootstrap failed
Run 'cd /usr/local/apnscp/resources/playbooks && env ANSIBLE_LOG_PATH=/root/apnscp-bootstrapper.log BOOTSTRAP_SH=/root/resume_apnscp_setup.sh  ansible-playbook -l localhost -c local bootstrap.yml' to resume
Installation failed

Ok, I ran the installer and it completed the install.

Ok, I am at a brick wall again.

1.) Panel installed successfully.
2.) I ran upcp -sb
3.) I setup a number of domains via command line successfully.
4.) Did a refresh on an already open panel window.
5.) After logging into panel again it takes me to a blank page: https://XXX.XX1.XX1.2XX:2083/apps/login?domain
6.) Running upcp -sb fails.

TASK [packages/install : Link PGDG-15 to PGDG] *************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "src file does not exist, use \"force=yes\" if you really want to create the link: /etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-15", "path": "/etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG", "src": "/etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-15"}

PLAY RECAP *************************************************************************************************************************************************************************
localhost                  : ok=113  changed=0    unreachable=0    failed=1    skipped=62   rescued=0    ignored=0

Unrelated events. You’ve flipped update policy back to major from edge-major, which is the default on new installations. It will switch to major upon the next release. PGDG RPM key relink was removed in 565f1cb0.

Check storage/logs/start.log. See also “Debugging”.

DNS traditionally goes over UDP, which never guarantees transmission. If there are delays in any leg of a recursive DNS query, then the result comes back invalid. ApisCP uses Cloudflare’s DNS servers (1.0.0.1, 1.1.1.1) which offer balanced quality and low latency if use_robust_dns is enabled in Bootstrapper.

cpcmd scope:get cp.bootstrapper use_robust_dns

If this reports 0, then you’re using the machine’s default DNS that in turn may be queried through resolvectl.

To switch over to Cloudflare for recursive DNS lookups:

cpcmd scope:set cp.bootstrapper use_robust_dns 1
upcp -sb common/update-config

Thanks.

I switched to major which seems to have resolved all issues; use_robust_dns was already enabled.

Brad