YunoHost-Apps / codimd_ynh

CodiMD package for YunoHost
https://hackmd.io/
GNU General Public License v3.0
11 stars 12 forks source link

On upgrade: Unhandled rejection SequelizeConnectionError: password authentication failed for user "codimd" #36

Closed nin0-0 closed 4 years ago

nin0-0 commented 4 years ago

Versions

To Reproduce Steps to reproduce the behavior.

Logs

Warning: Jun 21 11:11:40 npm[29455]:     at connection.connect.err (/var/www/codimd/node_modules/sequelize/lib/dialects/postgres/connection-manager.js:182:24)
Warning: Jun 21 11:11:40 npm[29455]:     at Connection.connectingErrorHandler (/var/www/codimd/node_modules/pg/lib/client.js:194:14)
Warning: Jun 21 11:11:40 npm[29455]:     at Connection.emit (events.js:198:13)
Warning: Jun 21 11:11:40 npm[29455]:     at Socket.<anonymous> (/var/www/codimd/node_modules/pg/lib/connection.js:134:12)
Warning: Jun 21 11:11:40 npm[29455]:     at Socket.emit (events.js:198:13)
Warning: Jun 21 11:11:40 npm[29455]:     at addChunk (_stream_readable.js:288:12)
Warning: Jun 21 11:11:40 npm[29455]:     at readableAddChunk (_stream_readable.js:269:11)
Warning: Jun 21 11:11:40 npm[29455]:     at Socket.Readable.push (_stream_readable.js:224:10)
Warning: Jun 21 11:11:40 npm[29455]:     at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
ericgaspar commented 4 years ago

@nin0-0 Don't really know what's going wrong here. can you try to upgrade from the current PR ? sudo yunohost app upgrade codimd -u https://github.com/ericgaspar/codimd_ynh/tree/patch

nin0-0 commented 4 years ago

Yeah it's pretty unclear to me too, I'm gonna just reinstall and close the issue, since it was testing branch

I tried upgrading that way already, but the codimd user auth error remains. It's just unclear to me where npm authenticated with this user.

Thanks for looking anyway !