passbolt / passbolt_help

Passbolt help and knowledge base site for the open source password manager for teams!
https://help.passbolt.com
GNU Affero General Public License v3.0
52 stars 183 forks source link

Update might fail with 'apt upgrade' #79

Closed b-me1 closed 1 year ago

b-me1 commented 1 year ago

Tested on Ubuntu Server 20.04

When mariadb is updated in the same apt upgrade-run as passbolt then the database upgrade fails.

Setting up passbolt-ce-server (3.8.1-1) ...
Installing new version of config file /etc/passbolt/app.default.php ...
Installing new version of config file /etc/passbolt/app.php ...
Installing new version of config file /etc/passbolt/bootstrap.php ...
Installing new version of config file /etc/passbolt/default.php ...
Installing new version of config file /etc/passbolt/routes.php ...
Installing new version of config file /etc/passbolt/version.php ...

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

 Open source password manager for teams
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
 Running migration scripts.
-------------------------------------------------------------------------------
using migration paths
 - /etc/passbolt/Migrations
using seed paths
 - /etc/passbolt/Seeds
Exception: There was a problem connecting to the database: SQLSTATE[HY000] [2002] Connection refused
In [/usr/share/php/passbolt/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/PdoAdapter.php, line 96]

dpkg: error processing package passbolt-ce-server (--configure):
 installed passbolt-ce-server package post-installation script subprocess returned error exit status 1

So passbolt upgade should be triggered before the remaining system.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

b-me1 commented 1 year ago

Ups - wrong file edited... just stumbled over this comment https://github.com/passbolt/passbolt_help/pull/60#issuecomment-1040529878