I have issue with passbolt application currently we are running on 4.1.1 i have pasted the error code
[Cake\Routing\Exception\MissingRouteException] A route matching “/password-policies/settings.json” could not be found. in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Routing/RouteCollection.php on line 197
I have a few question in order to have a clearer picture on the issue:
When did this error has been triggered? Could you explain the context?
It looks like this is related to password policies, a feature that has been implemented in v4.2, since you are on v4.1.1 there is most likely a conflict with the browser extension.
Could you share the status-report from the CLI? We have a dedicated guide for this.
Can you share the mobile logs from the application? You need to click on the question mark icon.
We recently release Passbolt v4.6, is there any reasons on your side for not updating to latest?
In this case, I’m really confident that if there is no database migration issues (that you can fix with cleanup), updating to latest might solve it.
It looks like the issue is similar to this one, updating to latest version should fix the problem and it won’t cause any data loss. However, I share the importance of not losing data and and in order to add another layer of security regarding any data loss, it can be a good manner to always do a backup before updating.
Debian 11 is coming with PHP7.4 by default, we are still supporting this php version however in a near future we will most likely drop the support (probably for our future major release), what I would recommend is to already migrate to a new Debian 12 server since you’d have PHP8.2 by default.