Migration V2.13.5 to V3.0.1 issue

[x ] I have read intro post: About the Installation Issues category
[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


I’m using a Self hosted server running Debian 9, and using Passbolt since V2.0 RC.
I was on V2.13.5 for a long time i decided to migrate on V3 today.

I followed the Update Step and i have an issue. I’m stuck.

There was no problems with composer version, i’v check V2.

root@pwd:/var/www/passbolt# su passbolt 
passbolt@pwd:/var/www/passbolt$ php -d allow_url_fopen=on /usr/bin/composer install --no-dev -n -o
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 20 installs, 6 updates, 0 removals
  - Downloading symfony/service-contracts (v2.2.0)
  - Downloading symfony/polyfill-php73 (v1.22.1)
  - Downloading symfony/console (v5.2.3)
  - Downloading symfony/filesystem (v5.2.3)
  - Downloading symfony/config (v5.2.3)
  - Downloading laminas/laminas-zendframework-bridge (1.1.1)
  - Downloading laminas/laminas-diactoros (1.8.7p2)
  - Downloading cakephp/cakephp (3.9.5)
  - Syncing burzum/cakephp-imagine-plugin (3.0.0) into cache
  - Syncing singpolyma/openpgp-php (dev-master c961eca) into cache
  - Installing knplabs/gaufrette (v0.8.3): Extracting archive
  - Installing symfony/polyfill-ctype (v1.22.1): Extracting archive
  - Installing symfony/deprecation-contracts (v2.2.0): Extracting archive
  - Installing symfony/yaml (v5.2.3): Extracting archive
  - Installing symfony/polyfill-php80 (v1.22.1): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.22.1): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.22.1): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.22.1): Extracting archive
  - Installing symfony/string (v5.2.3): Extracting archive
  - Installing psr/container (1.0.0): Extracting archive
  - Installing symfony/service-contracts (v2.2.0): Extracting archive
  - Installing symfony/polyfill-php73 (v1.22.1): Extracting archive
  - Installing symfony/console (v5.2.3): Extracting archive
  - Installing symfony/filesystem (v5.2.3): Extracting archive
  - Installing symfony/config (v5.2.3): Extracting archive
  - Installing laminas/laminas-zendframework-bridge (1.1.1): Extracting archive
  - Installing laminas/laminas-diactoros (1.8.7p2): Extracting archive
  - Installing cakephp/cakephp (3.9.5): Extracting archive
    Install of knplabs/gaufrette failed
    Install of symfony/polyfill-ctype failed
    Install of symfony/deprecation-contracts failed
    Install of symfony/yaml failed
    Install of symfony/polyfill-php80 failed
    Install of symfony/polyfill-mbstring failed
    Install of symfony/polyfill-intl-normalizer failed
    Install of symfony/polyfill-intl-grapheme failed
    Install of symfony/string failed
    Install of psr/container failed
    Install of symfony/service-contracts failed
    Install of symfony/polyfill-php73 failed
    Install of symfony/console failed
    Install of symfony/filesystem failed
    Install of symfony/config failed
    Install of laminas/laminas-zendframework-bridge failed
    Install of cakephp/cakephp failed
    Install of laminas/laminas-diactoros failed

  Source directory /var/www/passbolt/vendor/burzum/cakephp-imagine-plugin has uncommitted changes.

2021-03-04 15:09:43 Error: [Cake\Routing\Exception\MissingRouteException] A route matching "/resource-types.json" could not be found. (/var/www/passbolt/vendor/cakephp/cakephp/src/Routing/RouteCollection.php:216)
Request URL: /resource-types.json?api-version=v2

hi @vig,

It looks like you have some uncomited changes on a plugin in the vendor directory, e.g. you modified the source for this plugin. One way of solving this issues would be to delete the content of the vendor folder
and run composer command again. Moreover Passbolt v3 requires PHP 7.3 that is not available by default on Debian 9, so you will need to upgrade to Debian 10 or install php 7.3 on Debian 9.

Btw since you’re on debian, you may want to switch to the debian 10 package instead for ease of upgrade in the future:

Hi @remy ,

thank you for your quick reply !

Ok i’m going to check the migration scripts to Debian Package.


@remy ,

i have :

License error: License not found in /etc/passbolt/license

and i haven’t any licence under my CE version /var/www/passbolt/config .

Is it normal ?

ahh ! ok i used


instead of


Do i have to remove and reinstall all ?