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


Navigation

    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    SOLVED New installation, not able to log in

    PeerTube
    4
    22
    58
    Loading More Posts
    • 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 @robi last edited by

      @robi No user named "root"

      robi 1 Reply Last reply Reply Quote 0
      • rmdes
        rmdes last edited by

        @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 Reply Quote 0
        • robi
          robi @stoccafisso last edited by

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

          rmdes S 2 Replies Last reply Reply Quote 0
          • rmdes
            rmdes @robi last edited by

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

            1 Reply Last reply Reply Quote 0
            • S
              stoccafisso @rmdes last edited by

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

              1 Reply Last reply Reply Quote 0
              • S
                stoccafisso @robi last edited by

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

                girish 1 Reply Last reply Reply Quote 0
                • girish
                  girish Staff @stoccafisso last edited by 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 1 Reply Last reply Reply Quote 0
                  • S
                    stoccafisso @girish last edited by

                    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

                    girish 1 Reply Last reply Reply Quote 1
                    • girish
                      girish Staff @stoccafisso last edited by

                      @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 Reply Quote 2
                      • S
                        stoccafisso @girish last edited by

                        @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 Reply Quote 2
                        • First post
                          Last post