That is quite the upgrade chain, and not a surprise if something goes awry along the way along the lines of e.g. SQL data table column changes, PostgreSQL version compatibility issues and / or OS changes to access right handling.
However, as 24.01 was still on PostgreSQL 9.2, we will attempt to add more recent --clean --if-exists flags to all pg_restore command that have been available since v9.4. No guarantee it will solve it, but adding those flags are safe nevertheless, since pg_restore directly follows sipxconfig db drop createdb.
Provided no regression errors found the above restore flags will be included in update 10 shortly.