During the dbcli based upgrade of the database, before the upgrade really started I ran into an error that the instance could not be started from the 23ai Oracle Home:
Trying to start the instance manually from the 23ai Oracle Home gave the same error. Drilling down into the pfile created through dbua (/u01/app/oracle/product/23.0.0.0/dbhome_1/dbs/initCDBTESTD.ora) and by eliminating row by row I found the following line to cause the problem:
Bringing up the 19c database up again doing
SQL> show parameter "_bct_public_dba_buffer_size";
SQL>
Bringing up the 19c database up again doing
SQL> create pfile='/tmp/pfile_org.ora' from spfile;
File created.
SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.24.0.0.0
[oracle@master240125db ~]$ grep bct /tmp/pfile_org.ora
ebscdb._bct_public_dba_buffer_size=2621376#_bct_public_dba_buffer_size
The strange thing is that ebscdb is not a SID that was ever valid on this environment. Eventually this is part of the initial deployment through EBS Cloud Manager.
Anyway the good thing is that the solution is easy:
alter system reset "_bct_public_dba_buffer_size" scope=SPFILE sid='ebscdb';
A second attempt to run dbcli upgrade-database was successful then.