Warning: The following instructions could cause data loss. Do not run the commands below blindly, without understanding what they do. Backup database first. If, while starting the PostgreSQL service: sudo systemctl start postgresql.service it didn't work and the following message came up: Job for postgresql.service failed because the control process exited with error code. See "systemctl status postgresql.service" and "journalctl -xe" for details....