Problem connecting to database

Hi, My Passbolt instance has been running well on Docker, but from one day to another, it started throwing this error without me making any change. Now it doesn’t boot with docker-compose up command. Can someone help me please? This seems to be that it can’t reach the db but the network is well configured. Thanks.

passbolt_1  |      ____                  __          ____  
passbolt_1  |     / __ \____  _____ ____/ /_  ____  / / /_ 
passbolt_1  |    / /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/ 
passbolt_1  |   / ____/ /_/ (__  |__  ) /_/ / /_/ / / /    
passbolt_1  |  /_/    \__,_/____/____/_.___/\____/_/\__/   
passbolt_1  | 
passbolt_1  |  Open source password manager for teams
passbolt_1  | ---------------------------------------------------------------
passbolt_1  | 
passbolt_1  | Running baseline checks, please wait...
passbolt_1  | Exception: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known in [/var/www/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php, line 92]
passbolt_1  | 
passbolt_1  |      ____                  __          ____  
passbolt_1  |     / __ \____  _____ ____/ /_  ____  / / /_ 
passbolt_1  |    / /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/ 
passbolt_1  |   / ____/ /_/ (__  |__  ) /_/ / /_/ / / /    
passbolt_1  |  /_/    \__,_/____/____/_.___/\____/_/\__/   
passbolt_1  | 
passbolt_1  |  Open source password manager for teams
passbolt_1  | ---------------------------------------------------------------
passbolt_1  |  Running migration scripts.
passbolt_1  | ---------------------------------------------------------------
passbolt_1  | using migration paths 
passbolt_1  |  - /var/www/passbolt/config/Migrations
passbolt_1  | using seed paths 
passbolt_1  |  - /var/www/passbolt/config/Seeds
passbolt_1  | Exception: There was a problem connecting to the database: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known in [/var/www/passbolt/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/MysqlAdapter.php, line 127]

Checklist
[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

Problem was solved by rebooting the server. Weird behaviour. Thanks

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.