I am trying to upgrade from a very old ce verion 4.5.2 to current. And am getting an invalid version error. It seems to have partially upgraded, because I can’t access the old version anymore.
using migration paths
- /etc/passbolt/Migrations
using seed paths
using environment default
using adapter mysql
using database passbolt
ordering by creation time
RuntimeException: Invalid version `2147483647`, should be in format `YYYYMMDDHHMMSS` (length of 14). in /usr/share
/php/passbolt/vendor/robmorgan/phinx/src/Phinx/Migration/AbstractMigration.php:394
Stack trace:
#0 /usr/share/php/passbolt/vendor/robmorgan/phinx/src/Phinx/Migration/AbstractMigration.php(79): Phinx\Migration\A
bstractMigration->validateVersion()
#1 /usr/share/php/passbolt/vendor/robmorgan/phinx/src/Phinx/Migration/Manager.php(826): Phinx\Migration\AbstractMi
gration->__construct()
#2 /usr/share/php/passbolt/vendor/robmorgan/phinx/src/Phinx/Migration/Manager.php(314): Phinx\Migration\Manager->g
etMigrations()
#3 /usr/share/php/passbolt/vendor/robmorgan/phinx/src/Phinx/Console/Command/Migrate.php(91): Phinx\Migration\Manag
er->migrate()
#4 /usr/share/php/passbolt/vendor/cakephp/migrations/src/Command/Phinx/CommandTrait.php(37): Phinx\Console\Command
\Migrate->execute()
#5 /usr/share/php/passbolt/vendor/cakephp/migrations/src/Command/Phinx/Migrate.php(91): Migrations\Command\Phinx\M
igrate->parentExecute()
#6 /usr/share/php/passbolt/vendor/symfony/console/Command/Command.php(341): Migrations\Command\Phinx\Migrate->exec
ute()
#7 /usr/share/php/passbolt/vendor/symfony/console/Application.php(1079): Symfony\Component\Console\Command\Command
->run()
#8 /usr/share/php/passbolt/vendor/symfony/console/Application.php(356): Symfony\Component\Console\Application->doR
unCommand()
#9 /usr/share/php/passbolt/vendor/symfony/console/Application.php(195): Symfony\Component\Console\Application->doR
un()
#10 /usr/share/php/passbolt/vendor/cakephp/migrations/src/Command/MigrationsCommand.php(131): Symfony\Component\Co
nsole\Application->run()
#11 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Console/BaseCommand.php(201): Migrations\Command\Migrations
Command->execute()
#12 /usr/share/php/passbolt/vendor/cakephp/migrations/src/Command/MigrationsCommand.php(204): Cake\Console\BaseCom
mand->run()
#13 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Console/BaseCommand.php(292): Migrations\Command\Migrations
Command->run()
#14 /usr/share/php/passbolt/src/Command/DatabaseAwareCommandTrait.php(62): Cake\Console\BaseCommand->executeComman
d()
#15 /usr/share/php/passbolt/src/Command/MigrateCommand.php(107): App\Command\MigrateCommand->runMigrationsMigrateC
ommand()
#16 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Console/BaseCommand.php(201): App\Command\MigrateCommand->e
xecute()
#17 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Console/CommandRunner.php(339): Cake\Console\BaseCommand->r
un()
#18 /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Console/CommandRunner.php(175): Cake\Console\CommandRunner-
runCommand()
#19 /usr/share/php/passbolt/bin/cake.php(13): Cake\Console\CommandRunner->run()
#20 {main}
dpkg: error processing package passbolt-ce-server (–configure):
installed passbolt-ce-server package post-installation script subprocess returned error exit status 1
Processing triggers for nginx (1.24.0-2ubuntu7.6) …
Triggering nginx reload …
Errors were encountered while processing:
passbolt-ce-server
E: Sub-process /usr/bin/dpkg returned an error code (1)