Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. PeerTube
  3. New installation, not able to log in

New installation, not able to log in

Scheduled Pinned Locked Moved Solved PeerTube
22 Posts 4 Posters 2.3k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S stoccafisso

      @rmdes

      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 }
      
      
      robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #4

      @stoccafisso just installed it and it logged in without an issue.

      try reinstall?

      Conscious tech

      1 Reply Last reply
      1
      • S stoccafisso

        @rmdes

        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 }
        
        
        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #5

        @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.

        S 1 Reply Last reply
        1
        • girishG girish

          @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.

          S Offline
          S Offline
          stoccafisso
          wrote on last edited by stoccafisso
          #6

          @girish and @robi

          Thank you, I have tried reinstalling, but problem persist. Still not able to login using "root" and "changeme".

          robiR 1 Reply Last reply
          0
          • S stoccafisso

            @girish and @robi

            Thank you, I have tried reinstalling, but problem persist. Still not able to login using "root" and "changeme".

            robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #7

            @stoccafisso what browser are you using? Have you tried in another?

            Conscious tech

            S 1 Reply Last reply
            0
            • robiR robi

              @stoccafisso what browser are you using? Have you tried in another?

              S Offline
              S Offline
              stoccafisso
              wrote on last edited by
              #8

              @robi

              I have tried using Chrome, Firefox and Brave browser. No login

              robiR 1 Reply Last reply
              0
              • S stoccafisso

                @robi

                I have tried using Chrome, Firefox and Brave browser. No login

                robiR Offline
                robiR Offline
                robi
                wrote on last edited by
                #9

                @stoccafisso do you consistently install it to the same subdomain?

                Conscious tech

                rmdesR S 2 Replies Last reply
                1
                • robiR robi

                  @stoccafisso do you consistently install it to the same subdomain?

                  rmdesR Offline
                  rmdesR Offline
                  rmdes
                  wrote on last edited by
                  #10

                  I would double check by installing in a new sub directory ..

                  1 Reply Last reply
                  1
                  • robiR robi

                    @stoccafisso do you consistently install it to the same subdomain?

                    S Offline
                    S Offline
                    stoccafisso
                    wrote on last edited by
                    #11

                    @robi Yes

                    Tried now using a different subdomain, still same problem.

                    robiR 1 Reply Last reply
                    0
                    • S stoccafisso

                      @robi Yes

                      Tried now using a different subdomain, still same problem.

                      robiR Offline
                      robiR Offline
                      robi
                      wrote on last edited by
                      #12

                      @stoccafisso do you have a cloudron user named root?

                      Conscious tech

                      S 1 Reply Last reply
                      0
                      • robiR robi

                        @stoccafisso do you have a cloudron user named root?

                        S Offline
                        S Offline
                        stoccafisso
                        wrote on last edited by
                        #13

                        @robi No user named "root"

                        robiR 1 Reply Last reply
                        0
                        • rmdesR Offline
                          rmdesR Offline
                          rmdes
                          wrote on last edited by
                          #14

                          @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

                          S 1 Reply Last reply
                          0
                          • S stoccafisso

                            @robi No user named "root"

                            robiR Offline
                            robiR Offline
                            robi
                            wrote on last edited by
                            #15

                            @stoccafisso are you installing to the dashboard domain or another domain? If other, try dashboard domain first.

                            Conscious tech

                            rmdesR S 2 Replies Last reply
                            0
                            • robiR robi

                              @stoccafisso are you installing to the dashboard domain or another domain? If other, try dashboard domain first.

                              rmdesR Offline
                              rmdesR Offline
                              rmdes
                              wrote on last edited by
                              #16

                              @robi I'm using it on a non-dashboard domain, with a subdomain and it's going just fine

                              1 Reply Last reply
                              0
                              • rmdesR rmdes

                                @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

                                S Offline
                                S Offline
                                stoccafisso
                                wrote on last edited by
                                #17

                                @rmdes I chose to have the app have its own usermanagement, so LDAP should not be involved?

                                1 Reply Last reply
                                0
                                • robiR robi

                                  @stoccafisso are you installing to the dashboard domain or another domain? If other, try dashboard domain first.

                                  S Offline
                                  S Offline
                                  stoccafisso
                                  wrote on last edited by
                                  #18

                                  @robi I am using it on the dashboard (main) domain, on a subdomain

                                  girishG 1 Reply Last reply
                                  0
                                  • S stoccafisso

                                    @robi I am using it on the dashboard (main) domain, on a subdomain

                                    girishG Offline
                                    girishG Offline
                                    girish
                                    Staff
                                    wrote on last edited by girish
                                    #19

                                    @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.

                                    S 1 Reply Last reply
                                    0
                                    • girishG girish

                                      @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.

                                      S Offline
                                      S Offline
                                      stoccafisso
                                      wrote on last edited by
                                      #20

                                      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

                                      girishG 1 Reply Last reply
                                      1
                                      • S stoccafisso

                                        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

                                        girishG Offline
                                        girishG Offline
                                        girish
                                        Staff
                                        wrote on last edited by
                                        #21

                                        @stoccafisso Thanks for the logs. It seems the culprit is this:

                                        2020-11-08T18:07:28.000Z > peertube@2.4.0 reset-password /app/code/server
                                        2020-11-08T18:07:28.000Z > node ./dist/scripts/reset-password.js "-u" "root"
                                        2020-11-08T18:07:28.000Z 
                                        2020-11-08T18:07:29.000Z Killed
                                        

                                        This means that it ran out of memory and got Killed. Not sure why, maybe there are many apps on the server already or something? Per https://github.com/Chocobozzz/PeerTube/blob/develop/FAQ.md#should-i-have-a-big-server-to-run-peertube the default 256MB should be enough.

                                        You can run this in the terminal and check if it works:

                                        echo "changeme" | npm run reset-password -- -u root
                                        
                                        S 1 Reply Last reply
                                        2
                                        • girishG girish

                                          @stoccafisso Thanks for the logs. It seems the culprit is this:

                                          2020-11-08T18:07:28.000Z > peertube@2.4.0 reset-password /app/code/server
                                          2020-11-08T18:07:28.000Z > node ./dist/scripts/reset-password.js "-u" "root"
                                          2020-11-08T18:07:28.000Z 
                                          2020-11-08T18:07:29.000Z Killed
                                          

                                          This means that it ran out of memory and got Killed. Not sure why, maybe there are many apps on the server already or something? Per https://github.com/Chocobozzz/PeerTube/blob/develop/FAQ.md#should-i-have-a-big-server-to-run-peertube the default 256MB should be enough.

                                          You can run this in the terminal and check if it works:

                                          echo "changeme" | npm run reset-password -- -u root
                                          
                                          S Offline
                                          S Offline
                                          stoccafisso
                                          wrote on last edited by
                                          #22

                                          @girish said in New installation, not able to log in:

                                          echo "changeme" | npm run reset-password -- -u root

                                          Thank you @girish. I actually had a lot running on this cloudron, but could not get PeerTube to work even if I removed several other apps to free up memory.

                                          But the above command for some strange reason fixed it and solved the problem. PeerTube is now working!

                                          Thank you 🙂

                                          1 Reply Last reply
                                          2
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                            • Login

                                            • Don't have an account? Register

                                            • Login or register to search.
                                            • First post
                                              Last post
                                            0
                                            • Categories
                                            • Recent
                                            • Tags
                                            • Popular
                                            • Bookmarks
                                            • Search