Cleanup shell: what to run `--dry-run` with?

apt upgrade outputs:

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

 Open source password manager for teams
-------------------------------------------------------------------------------
 Cleanup shell (dry-run)
-------------------------------------------------------------------------------
3 issues found in table Passbolt/Folders.FoldersRelations (duplicated folders relations)
3 issues detected, please re-run without --dry-run to fix.

Question:

What should be ‘re-run with --dry-run to fix’?

The command which was run during the version update was the built-in passbolt cleanup which was run with the --dry-run flag to show problems to you so you can optionally check before actually fixing.

The full command without the flag and run by your webserver user would be something like:
sudo -u www-data /usr/share/php/passbolt/bin/cake passbolt cleanup

If you run the base passbolt command without cleanup you will see other available commands.

3 Likes

It would be useful to add this to the output.

Thank you @garrett.

1 Like