YunoHost-Apps / peertube_ynh

Federated (ActivityPub) video streaming platform using P2P for YunoHost
https://joinpeertube.org/fr/
GNU Affero General Public License v3.0
88 stars 28 forks source link

database access authentication failed #396

Closed CptCurk closed 10 months ago

CptCurk commented 11 months ago

Describe the bug

Can't connect to the database using psql peertube. Ask for password, enter the root user password (the one sended by mail).

Context

basicly,

I don't know what's this password. When is it created and from what does that refer ? I guess that's this database ?

database: hostname: 'localhost' port: 5432 ssl: false suffix: '_APP' username: 'DB_USER' password: '__DB_PWD__' pool: max: 5

My purpose is just doing that : https://github.com/Chocobozzz/PeerTube/issues/870 DELETE FROM actor WHERE "preferredUsername" = '...' and "serverId" is null;

Thank you !

tomtoom1978 commented 11 months ago

I think the password is somewhere inside the config file, you can find there: /var/www/peertube/config

CptCurk commented 11 months ago

thank you for answer ! The config file you're speaking about is the production.yaml ?