New installation, not able to log in
-
Hi
Just installed PeerTube, and tried to log in as per "First Time Setup" instructionsusername: root
password: changemeBut it says: "incorrect username or password"
Anyone experienced this, and know what to do?
-
@stoccafisso I experienced this with another app the other day "Koel" still unstable as of now but this should not be the case with peertube, can you have the log output from this app open when you try to login and then report the errors or particular log trace that show what's happening ?
-
Hi, and thanks for helping
Here is the log output:
Nov 07 16:54:00 [video.xxx.xx:443] 2020-11-07 15:54:00.182 info: 172.18.0.1 - - [07/Nov/2020:15:54:00 +0000] "GET / HTTP/1.1" 200 3921 "-" "Mozilla (CloudronHealth)" Nov 07 16:54:00 Nov 07 16:54:09 [video.xxx.xx:443] 2020-11-07 15:54:09.374 warn: Login error. { Nov 07 16:54:09 "err": { Nov 07 16:54:09 "statusCode": 400, Nov 07 16:54:09 "status": 400, Nov 07 16:54:09 "code": 400, Nov 07 16:54:09 "message": "Invalid grant: user credentials are invalid", Nov 07 16:54:09 "name": "invalid_grant", Nov 07 16:54:09 "stack": "invalid_grant: Invalid grant: user credentials are invalid\n at new InvalidGrantError (/app/code/server/node_modules/oauth2-server/lib/errors/invalid-grant-error.js:27:14)\n at /app/code/server/node_modules/oauth2-server/lib/grant-types/password-grant-type.js:94:15\n at tryCatcher (/app/code/server/node_modules/bluebird/js/release/util.js:16:23)\n at Promise._settlePromiseFromHandler (/app/code/server/node_modules/bluebird/js/release/promise.js:547:31)\n at Promise._settlePromise (/app/code/server/node_modules/bluebird/js/release/promise.js:604:18)\n at Promise._settlePromise0 (/app/code/server/node_modules/bluebird/js/release/promise.js:649:10)\n at Promise._settlePromises (/app/code/server/node_modules/bluebird/js/release/promise.js:729:18)\n at _drainQueueStep (/app/code/server/node_modules/bluebird/js/release/async.js:93:12)\n at _drainQueue (/app/code/server/node_modules/bluebird/js/release/async.js:86:9)\n at Async._drainQueues (/app/code/server/node_modules/bluebird/js/release/async.js:102:5)\n at Immediate.Async.drainQueues [as _onImmediate] (/app/code/server/node_modules/bluebird/js/release/async.js:15:14)\n at processImmediate (internal/timers.js:456:21)" Nov 07 16:54:09 }
-
@stoccafisso just installed it and it logged in without an issue.
try reinstall?
-
@stoccafisso I haven't hit this issue in the tests or in manual installs. Can you please try re-install? There was a bug we discovered in another cloudron about LDAP install not working and this had to do with some networking routing issue not allowing us to install the plugin - https://forum.cloudron.io/topic/3500/peertube-ldap-not-working.
-
@stoccafisso what browser are you using? Have you tried in another?
-
@stoccafisso do you consistently install it to the same subdomain?
-
@stoccafisso do you have a cloudron user named root?
-
@stoccafisso said in New installation, not able to log in:
invalid_grant: Invalid grant: user credentials
could it be related to LDAP ?
https://github.com/Chocobozzz/PeerTube/issues/2773 -
@stoccafisso are you installing to the dashboard domain or another domain? If other, try dashboard domain first.
-
@stoccafisso Can you quick try to install on the demo cloudron (https://my.demo.cloudron.io/) and check if it works there? The username/password is
cloudron
.Otherwise, can you post the full log of your installation at https://paste.cloudron.io ? And send the link to support@cloudron.io.
-
Hi @girish
I tried installing PeerTube on your demo server, and was able to log in to PeerTube using "root" and "changeme".
Full log from my own installation is sent you at support@cloudron.io