Error connectig to postgres DB from a container

Hello,

We’re trying to install Nextcloud on a new OpenShift container using a external PostgreSQL database. It fails with the error message shown below.
A test with an internal sqllite db worked just fine. Even a test with exactly the same procedure (with postgres) but using Owncloud instead was successful. So, does anyone have an idea how to solve this issue? Are there any special requirements to meet for the postgres database?

Btw. I’m totally new to the container topic and the installation is not done by myself. Please don’t mind if there is some important information missing.

Thanks loads for your help.

Error: Call to a member function getTimestamp() on bool in /var/www/html/apps/circles/lib/Model/Circle.php:847

Stack trace:

#0 /var/www/html/apps/circles/vendor/artificial-owl/my-small-php-tools/lib/Db/Nextcloud/nc22/NC22ExtendedQueryBuilder.php(1304): OCA\Circles\Model\Circle->importFromDatabase(Array)

#1 /var/www/html/apps/circles/vendor/artificial-owl/my-small-php-tools/lib/Db/Nextcloud/nc22/NC22ExtendedQueryBuilder.php(1327): ArtificialOwl\MySmallPhpTools\Db\Nextcloud\nc22\NC22ExtendedQueryBuilder->parseSimpleSelectSql(Array, Object(OCA\Circles\Db\CoreQueryBuilder), ‘OCA\Circles\Mod…’, Array)

#2 /var/www/html/apps/circles/vendor/artificial-owl/my-small-php-tools/lib/Db/Nextcloud/nc22/NC22ExtendedQueryBuilder.php(1266): ArtificialOwl\MySmallPhpTools\Db\Nextcloud\nc22\NC22ExtendedQueryBuilder->getRow(Array, ‘OCA\Circles\Mod…’, Array)

#3 /var/www/html/apps/circles/lib/Db/CircleRequestBuilder.php(106): ArtificialOwl\MySmallPhpTools\Db\Nextcloud\nc22\NC22ExtendedQueryBuilder->asItem(‘OCA\Circles\Mod…’)

#4 /var/www/html/apps/circles/lib/Db/CircleRequest.php(317): OCA\Circles\Db\CircleRequestBuilder->getItemFromRequest(Object(OCA\Circles\Db\CoreQueryBuilder))

#5 /var/www/html/apps/circles/lib/Service/FederatedUserService.php(911): OCA\Circles\Db\CircleRequest->getSingleCircle(Object(OCA\Circles\Model\FederatedUser))

#6 /var/www/html/apps/circles/lib/Service/FederatedUserService.php(883): OCA\Circles\Service\FederatedUserService->getSingleCircle(Object(OCA\Circles\Model\FederatedUser), true)

#7 /var/www/html/apps/circles/lib/Service/FederatedUserService.php(504): OCA\Circles\Service\FederatedUserService->fillSingleCircleId(Object(OCA\Circles\Model\FederatedUser))

#8 /var/www/html/apps/circles/lib/Service/MigrationService.php(196): OCA\Circles\Service\FederatedUserService->getAppInitiator(‘circles’, 10001)

#9 /var/www/html/apps/circles/lib/Migration/Migration.php(97): OCA\Circles\Service\MigrationService->migration()

#10 /var/www/html/lib/private/Repair.php(123): OCA\Circles\Migration\Migration->run(Object(OC\Repair))

#11 /var/www/html/core/Command/Maintenance/Repair.php(125): OC\Repair->run()

#12 /var/www/html/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\Maintenance\Repair->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

#13 /var/www/html/3rdparty/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

#14 /var/www/html/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\Maintenance\Repair), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

#15 /var/www/html/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

#16 /var/www/html/lib/private/Console/Application.php(209): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

#17 /var/www/html/console.php(99): OC\Console\Application->run()

#18 /var/www/html/occ(11): require_once(’/var/www/html/c…’)