nextcloud / previewgenerator

Nextcloud app to do preview generation in the background.
https://apps.nextcloud.com/apps/previewgenerator
GNU Affero General Public License v3.0
455 stars 57 forks source link

Doctrine\DBAL\Exception #283

Closed Dedsd closed 2 years ago

Dedsd commented 2 years ago
An unhandled exception has been thrown:
Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[08006] [7] could not translate host name "postgres" to address: Name or service not known in /home/pi/nextcloud/lib/private/DB/Connection.php:87
st3iny commented 2 years ago

It looks like your Nextcloud server is not able to connect to your database. Please make sure that the host name of your database postgres is resolveable.

Dedsd commented 2 years ago

Hi! It's strange that nextcloud can't connect to the database with preview generator, since I made the installation and works fine. What do you suggest me to do? Also, what exactly do you mean with resolveable?

st3iny commented 2 years ago

"Resolveable" means that the name postgres can be translated to an IP address. Does your issue persist?

Dedsd commented 2 years ago

Oh, sorry for haven't given you any update on this. In the end was a dns issue. Thanks!