Passbolt CE (v5.0.0.0) Error 500 on docker

Hi

After having great experience with v4 of the docker installation, I’m now runing into issues with v5. I always experience the error 500 issue when the conatiner passbolt starts up. I use mariadb:10.6.13 on a Balena Devices (Raspberry Pi 3) connecting to the internet. It’s always been fine with the earlier realease (built in 12/2024).

Checklist
[ x] I have read intro post: https://community.passbolt.com/t/about-the-installation-issues-category/12
[ x] I have read the tutorials, help and searched for similar issues
[ x] I provide relevant information about my server (component names and versions, etc.)
[ x] I provide a copy of my logs and healthcheck
[ x] I describe the steps I have taken to trouble shoot the problem
[x ] I describe the steps on how to reproduce the issue

 passbolt  Stack Trace
 passbolt  : #0 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Schema/Collection.php(116): Cake\Database\Schema\Collection->_reflect()
 passbolt  #1 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Schema/CachedCollection.php(92): Cake\Database\Schema\Collection->describe()
 passbolt  #2 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/ORM/Table.php(544): Cake\Database\Schema\CachedCollection->describe()
 passbolt  #3 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/ORM/Query/CommonQueryTrait.php(48): Cake\ORM\Table->getSchema()
 passbolt  #4 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/ORM/Query/SelectQuery.php(202): Cake\ORM\Query\SelectQuery->addDefaultTypes()
 passbolt  #5 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/ORM/Query/QueryFactory.php(34): Cake\ORM\Query\SelectQuery->__construct()
 passbolt  #6 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/ORM/Table.php(1757): Cake\ORM\Query\QueryFactory->select()
 passbolt  #7 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/ORM/Table.php(1294): Cake\ORM\Table->selectQuery()
 passbolt  #8 /usr/share/php/passbolt/plugins/PassboltCe/Log/src/Model/Table/ActionsTable.php(153): Cake\ORM\Table->find()
 passbolt  #9 /usr/share/php/passbolt/plugins/PassboltCe/Log/src/Model/Table/ActionsTable.php(180): Passbolt\Log\Model\Table\ActionsTable->getCachedActions()
 passbolt  #10 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/ORM/Association.php(1171): Passbolt\Log\Model\Table\ActionsTable->findOrCreateAction()
 passbolt  #11 /usr/share/php/passbolt/plugins/PassboltCe/Log/src/Model/Table/ActionLogsTable.php(131): Cake\ORM\Association->__call()
 passbolt  #12 /usr/share/php/passbolt/plugins/PassboltCe/Log/src/Service/ActionLogs/ActionLogsCreateService.php(52): Passbolt\Log\Model\Table\ActionLogsTable->create()
 passbolt  #13 /usr/share/php/passbolt/plugins/PassboltCe/Log/src/Events/ActionLogsBeforeRenderListener.php(51): Passbolt\Log\Service\ActionLogs\ActionLogsCreateService->create()
 passbolt  #14 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Event/EventManager.php(330): Passbolt\Log\Events\ActionLogsBeforeRenderListener->logControllerAction()
 passbolt  #15 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Event/EventManager.php(308): Cake\Event\EventManager->_callListener()
 passbolt  #16 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php(88): Cake\Event\EventManager->dispatch()
 passbolt  #17 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Controller/Controller.php(691): Cake\Controller\Controller->dispatchEvent()
 passbolt  #18 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php(419): Cake\Controller\Controller->render()
 passbolt  #19 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php(290): Cake\Error\Renderer\WebExceptionRenderer->_outputMessage()
 passbolt  #20 /usr/share/php/passbolt/src/Error/AppExceptionRenderer.php(39): Cake\Error\Renderer\WebExceptionRenderer->render()
 passbolt  #21 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php(239): App\Error\AppExceptionRenderer->render()
 passbolt  #22 [internal function]: Cake\Error\ExceptionTrap->handleException()
 passbolt  #23 {main}

Hello @b23prodtm and welcome to the forum!
Have you tried the healthcheck command through the command line? Could you share the output, blinding all the sensitive information?

root@6d531bfd582e:/usr/share/php/passbolt# su -s /bin/bash -c "/usr/share/php/passbolt/bin/cake passbolt healthcheck" www-data

____ __ ____
/ __ \____ _____ ____/ /_ ____ / / /_
/ /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/
/ ____/ /_/ (__ |__ ) /_/ / /_/ / / /
/_/ \__,_/____/____/_.___/\____/_/\__/

Open source password manager for teams
-------------------------------------------------------------------------------
Healthcheck shell
If you want to have more information about the different checks, please take a look at the documentation: https://www.passbolt.com/docs/admin/server-maintenance/passbolt-api-status/................................................2025-04-22 21:30:59 error: [Cake\Database\Exception\DatabaseException] SQLSTATE[42S02]: Base table or view not found: 1146 Table 'passbolt.organization_settings' doesn't exist in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Schema/Collection.php on line 158
Caused by: [PDOException] SQLSTATE[42S02]: Base table or view not found: 1146 Table 'passbolt.organization_settings' doesn't exist in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Statement/Statement.php on line 159
2025-04-22 21:30:59 warning: Throwable - Failed to render error template `error500`. Error: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'passbolt.actions' doesn't exist
Stack Trace
: #0 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Schema/Collection.php(116): Cake\Database\Schema\Collection->_reflect()
#1 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Schema/CachedCollection.php(92): Cake\Database\Schema\Collection->describe()
#2 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/ORM/Table.php(544): Cake\Database\Schema\CachedCollection->describe()
#3 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/ORM/Query/CommonQueryTrait.php(48): Cake\ORM\Table->getSchema()
#4 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/ORM/Query/SelectQuery.php(202): Cake\ORM\Query\SelectQuery->addDefaultTypes()
#5 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/ORM/Query/QueryFactory.php(34): Cake\ORM\Query\SelectQuery->__construct()
#6 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/ORM/Table.php(1757): Cake\ORM\Query\QueryFactory->select()
#7 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/ORM/Table.php(1294): Cake\ORM\Table->selectQuery()
#8 /usr/share/php/passbolt/plugins/PassboltCe/Log/src/Model/Table/ActionsTable.php(153): Cake\ORM\Table->find()
#9 /usr/share/php/passbolt/plugins/PassboltCe/Log/src/Model/Table/ActionsTable.php(180): Passbolt\Log\Model\Table\ActionsTable->getCachedActions()
#10 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/ORM/Association.php(1171): Passbolt\Log\Model\Table\ActionsTable->findOrCreateAction()
#11 /usr/share/php/passbolt/plugins/PassboltCe/Log/src/Model/Table/ActionLogsTable.php(131): Cake\ORM\Association->__call()
#12 /usr/share/php/passbolt/plugins/PassboltCe/Log/src/Service/ActionLogs/ActionLogsCreateService.php(52): Passbolt\Log\Model\Table\ActionLogsTable->create()
#13 /usr/share/php/passbolt/plugins/PassboltCe/Log/src/Events/ActionLogsBeforeRenderListener.php(51): Passbolt\Log\Service\ActionLogs\ActionLogsCreateService->create()
#14 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Event/EventManager.php(330): Passbolt\Log\Events\ActionLogsBeforeRenderListener->logControllerAction()
#15 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Event/EventManager.php(308): Cake\Event\EventManager->_callListener()
#16 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php(88): Cake\Event\EventManager->dispatch()
#17 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Controller/Controller.php(691): Cake\Controller\Controller->dispatchEvent()
#18 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php(419): Cake\Controller\Controller->render()
#19 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php(290): Cake\Error\Renderer\WebExceptionRenderer->_outputMessage()
#20 /usr/share/php/passbolt/src/Error/AppExceptionRenderer.php(39): Cake\Error\Renderer\WebExceptionRenderer->render()
#21 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php(239): App\Error\AppExceptionRenderer->render()
#22 [internal function]: Cake\Error\ExceptionTrap->handleException()
#23 {main}
<!DOCTYPE html>
<html class="passbolt no-js no-passboltplugin version" lang="en">
<head>
<meta charset="utf-8">
<title>Passbolt | Error</title>
<!--

____ __ ____
/ __ \____ _____ ____/ /_ ____ / / /_
/ /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/
/ ____/ /_/ (__ )__ ) /_/ / /_/ / / /_
/_/ \__,_/____/____/_.___/\____/_/\__/

Open source password manager for teams
Copyright (c) Passbolt SA (https://www.passbolt.com)


This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see http://www.gnu.org/licenses/.


-->
<meta name="description" content="Open source password manager for teams">
<meta name="keywords" content="Passbolt, password manager, online password manager, open source password manager">
<meta name="robots" content="noindex, nofollow">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/x-icon" href="https://myip.balena-devices.com/favicon.ico" />
<link rel="icon" href="https://myip.balena-devices.com/favicon.svg" />
<link rel="icon" href="https://myip.balena-devices.com/favicon_32.png" sizes="32x32" />
<link rel="icon" href="https://myip.balena-devices.com/favicon_57.png" sizes="57x57" />
<link rel="icon" href="https://myip.balena-devices.com/favicon_76.png" sizes="76x76" />
<link rel="icon" href="https://myip.balena-devices.com/favicon_96.png" sizes="96x96" />
<link rel="icon" href="https://myip.balena-devices.com/favicon_128.png" sizes="128x128" />
<link rel="icon" href="https://myip.balena-devices.com/favicon_192.png" sizes="192x192" />
<link rel="icon" href="https://myip.balena-devices.com/favicon_228.png" sizes="228x228" />
<base href="https://myip.balena-devices.com/">
<link rel="stylesheet" href="https://myip.balena-devices.com/css/themes/default/api_main.min.css?v=5.0.0"></head>
<body spellcheck="false">
<div id="container" class="error page error-500">
<!-- header navigation -->
<header>
<div class="header first ">
<nav>
<div class="top navigation primary">
<ul>
<li class="left"><a href="https://myip.balena-devices.com/"><span>home</span></a></li>
<li class="right"><a href="https://myip.balena-devices.com/auth/login"><span>login</span></a></li>
</ul>
</div>
</nav>
</div>
</header>
<div id="content">
<div class="grid">
<div class="row">
<h2>An Internal Error Has Occurred</h2>
<p class="error">
An Internal Error Has Occurred. </p>
</div>
</div>
</div>
</div>
<footer>
<div class="footer">
<ul class="footer-links">
<li><a href="https://www.passbolt.com/terms">Terms</a></li>
<li><a href="https://www.passbolt.com/credits">Credits</a></li>
<li id="version">
<a href="https://www.passbolt.com/credits" class="tooltip-left" data-tooltip="5.0.0">
<i class="fa fa-heart-o"></i>
<span class="visuallyhidden">Versions</span>
</a>
</li>
</ul>
</div>
</footer>
</div>
</body>
</html>

Here you are . Looks like the migrations did not success