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. Etherpad Lite
  3. Update to package v4.0 broke login

Update to package v4.0 broke login

Scheduled Pinned Locked Moved Solved Etherpad Lite
11 Posts 5 Posters 8.1k Views 5 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.
    • David 0D Offline
      David 0D Offline
      David 0
      wrote on last edited by David 0
      #1

      Hey,

      I just noticed that after the (automatic) update to v4.0 of the cloudron package some things wouldn't work anymore:

      1. The login-Button has on the Splashscreen has disappeared. adding /admin to the URL showed a "Forbidden" site.
      2. There was a new "All Pads" link on the splash screen, where anyone could just browse all created pads (which I do not want).
      3. Localization (at least of the splashscreen) was set to english (was german before)

      Thankfully, I was able to restore cloudronapp3.7.1 from the backup. But I wonder if these are bugs or just me having misconfigured the application.

      best
      David

      1 Reply Last reply
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        Right, we removed our custom cloudron plugin, which previously did auth and also other things like pad listing. We now use only upstream plugins so things are expected to be different. This was also the reason why it was a major package version update, so there shouldn't be any automatic update happening.

        1. The app now uses https://github.com/ether/ep_openid_connect for auth and this is automatic, so there is no login button anymore but it will always redirect to the openid provider, which in most cases will perform an autologin with a redirect back to the app. So most likely if you visit etherpad you are simply already logged in. This is not obvious behavior but this is what upstream provides.

        2. This is the same as pad listing before only different UI, only logged in users can see this.

        3. Not sure where the German came from, but the UI was provided by our custom module https://git.cloudron.io/cloudron/ep_cloudron and that has no German either. Maybe you customized that one?

        1 Reply Last reply
        2
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #3

          Forgot to mention the admin permissions are also now handled by the regular etherpad settings and thus have to be adjusted if used. See https://docs.cloudron.io/apps/etherpad/#admin-user

          1 Reply Last reply
          1
          • S Offline
            S Offline
            sparkwise
            wrote on last edited by
            #4

            Re #2, if you have "requireAuthentication" set to "false", the homepage links to the full index of pads even if the user isn't signed in at all (incognito window), which is surprising.

            girishG 1 Reply Last reply
            0
            • S sparkwise

              Re #2, if you have "requireAuthentication" set to "false", the homepage links to the full index of pads even if the user isn't signed in at all (incognito window), which is surprising.

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

              @sparkwise that setting makes the documents public - https://docs.cloudron.io/apps/etherpad/#make-documents-public

              1 Reply Last reply
              0
              • nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #6

                hm this list comes from the https://www.npmjs.com/package/ep_padlist2 plugin. I had put that as always for that version, but I will then make a new release without that plugin to be installed and then it is up to the admin to decide.

                The plugins which will always be ensured are ep_openid_connect ep_user_displayname ep_health_check then.

                S 1 Reply Last reply
                0
                • nebulonN nebulon

                  hm this list comes from the https://www.npmjs.com/package/ep_padlist2 plugin. I had put that as always for that version, but I will then make a new release without that plugin to be installed and then it is up to the admin to decide.

                  The plugins which will always be ensured are ep_openid_connect ep_user_displayname ep_health_check then.

                  S Offline
                  S Offline
                  sparkwise
                  wrote on last edited by
                  #7

                  @nebulon Sounds good! Agree that it makes sense to leave this up to the admin. Thank you!

                  1 Reply Last reply
                  0
                  • nebulonN Offline
                    nebulonN Offline
                    nebulon
                    Staff
                    wrote on last edited by
                    #8

                    @sparkwise alright, the new package does not enforce ep_padlist2 still when updating it has to be manually removed if it was already installed.

                    1 Reply Last reply
                    0
                    • nebulonN Offline
                      nebulonN Offline
                      nebulon
                      Staff
                      wrote on last edited by
                      #9

                      I think this does not apply to latest packages anymore.

                      1 Reply Last reply
                      0
                      • nebulonN nebulon marked this topic as a question on
                      • nebulonN nebulon has marked this topic as solved on
                      • sponchS Offline
                        sponchS Offline
                        sponch
                        wrote on last edited by
                        #10

                        Same here. Just updated but can't login on /admin page anymore with my credentials (login failed). Don't get the opened_connect thing as posted in post #2 here.. what can I do?

                        David 0D 1 Reply Last reply
                        0
                        • sponchS sponch

                          Same here. Just updated but can't login on /admin page anymore with my credentials (login failed). Don't get the opened_connect thing as posted in post #2 here.. what can I do?

                          David 0D Offline
                          David 0D Offline
                          David 0
                          wrote on last edited by
                          #11

                          @sponch Same here. But I guess, this should be a new topic in this forum.

                          I've got the

                              "username": {
                                "is_admin": true
                          

                          in the setting.json, but I can't login with the users' credentials.

                          1 Reply Last reply
                          0
                          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