Question - Issue upgrading to 3.29.0

I’m currently trying to upgrade our Eramba Community v3.28.3 installation to 3.29.0. To do this I have replaced the running container image with ghcr.io/eramba/eramba:3.29.0-13. However that image fails to start with the following message:

Composer Exclude Files plugin activated. 
PHP CodeSniffer Config installed_paths set to ../../cakephp/cakephp-codesniffer,../../slevomat/coding-standard
Welcome to Eramba installation procedure!                           
> App\Console\Installer::postInstall
Created `config/app_local.php` file
Please enter the following database details to continue.
You entered information:
Database host: localhost
Database login username: 
Database login password: 
Database name: 
Database port: 3306
Updated Database credentials in config/app_local.php
Created `/var/www/eramba/app/upgrade/tmp/cache/views` directory
Created `/var/www/eramba/app/upgrade/tmp/sessions` directory
Created `/var/www/eramba/app/upgrade/tmp/tests` directory
Permissions set on /var/www/eramba/app/upgrade/tmp/cache/views
Permissions set on /var/www/eramba/app/upgrade/tmp/sessions
Permissions set on /var/www/eramba/app/upgrade/tmp/tests
Updated Security.salt value in config/app_local.php
sending incremental file list
.gitkeep
backups/.gitkeep
emails/.gitkeep
files/.gitkeep
files/account_reviews/.gitkeep
files/awareness/.gitkeep
files/awareness/questionnaires/.gitkeep
files/awareness/text_files/.gitkeep
files/awareness/videos/.gitkeep
files/translations/.gitkeep
files/uploads/.gitkeep
files/vendor_assessment/.gitkeep
resources/.gitkeep
resources/locales/.gitkeep
swagger/.gitkeep

sent 1,324 bytes  received 323 bytes  3,294.00 bytes/sec
total size is 0  speedup is 0.00
sending incremental file list
.gitkeep

sent 183 bytes  received 37 bytes  440.00 bytes/sec
total size is 0  speedup is 0.00
Using connection: default
-------------------------------------------------------------------------------
Database is currently not empty.
Running structural migrations.
using connection default
using paths /var/www/eramba/app/upgrade/config/Migrations
ordering by creation time

All Done. Took 0.0074s
Running data migrations.
using connection default
using paths /var/www/eramba/app/upgrade/plugins/DataMigrations/config/Migrations 
ordering by creation time

 == 20251016103230 VendorAssessmentQuestionScoringMigration: migrating 
Class "Eramba\VendorAssessments\Models\VendorAssessmentQuestion" not found
Data migrations failed.
Migration process failed.
Initialisation process failed.
2026-03-30 13:22:25 warning: The connection is going to be closed but there is an active transaction.

Any idea what is going on?

Thanks,
Robert

You’ll probably want to roll back and then do the update from the administration area. From what I can tell, the upgrade process doesn’t swap the container out, but instead updates your container….

Thanks!

Running the upgrade from the administration area did the trick! After doing this I can now even start the new container!

I see it’s solved now, but do you remember deleting the docker_app volume when changing the image?

For other users, if you encounter a “migration not found” error, or any other error when doing an image switch, it usually is one of the following:

  • You are using an older image (for example, forgetting to tag it as latest, or simply using an older one)

  • You are not following sequential upgrades between versions (e.g., upgrading from 3.28.0 directly to 3.29.0 instead of going through 3.28.1)

  • You may have missed a step in the guide, for example the docker_app volume was not deleted

  • Lastly, although not very common, the image may be corrupted during download (try downloading it again).

Image switch guide: