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. Etherpad admin access failed

Etherpad admin access failed

Scheduled Pinned Locked Moved Solved Etherpad Lite
7 Posts 2 Posters 396 Views 2 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.
    • BenoitB Offline
      BenoitB Offline
      Benoit
      translator
      wrote on last edited by
      #1

      Hi,

      I can't seem to log in as an admin on Etherpad, whether it's a fresh installation or an updated one. Can you confirm if you're experiencing the same issue on your end?

      My setup : Cloudron v8.2.3 (Ubuntu 24.04.1 LTS)

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

        Indeed, it seems bits of the usermanagent have changed with openid. We have to update the docs. But to make a user admin, first login via openid, then edit the settings.json in the app:

        {
          "users": {
            "<username>": {
              "is_admin": true
            }
        }
        

        The password field needs to be removed if it is there. Then restart the app.

        1 Reply Last reply
        1
        • nebulonN nebulon marked this topic as a question on
        • BenoitB Offline
          BenoitB Offline
          Benoit
          translator
          wrote on last edited by Benoit
          #3

          @nebulon i have tried on 2 Cloudron here but it failed, with different users and new users...

          I have an error when i stop the app but the app can restart

          Jan 22 16:55:43 box:apptask run: startTask installationState: pending_stop runState: stopped
          Jan 22 16:55:43 box:tasks update 10367: {"percent":20,"message":"Stopping container"}
          Jan 22 16:55:43 box:shell reverseproxy /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh nginx
          Jan 22 16:55:44 box:shell 2025/01/22 15:55:43 [notice] 65744#65744: signal process started
          Jan 22 16:55:44 Command failed with signal "SIGTERM"
          Jan 22 16:55:44 [2025-01-22T15:55:44.241] [INFO] server - Exiting...
          Jan 22 16:55:44 [2025-01-22T15:55:44.241] [INFO] server - Received SIGTERM signal
          Jan 22 16:55:44 [2025-01-22T15:55:44.242] [INFO] http - Closing HTTP server...
          Jan 22 16:55:44 [2025-01-22T15:55:44.242] [INFO] server - Stopping Etherpad...
          Jan 22 16:55:44 [2025-01-22T15:55:44.243] [INFO] socket.io - All socket.io clients have disconnected
          Jan 22 16:55:44 [2025-01-22T15:55:44.243] [INFO] socket.io - Closing socket.io engine...
          Jan 22 16:55:44 [2025-01-22T15:55:44.245] [INFO] http - HTTP server closed
          Jan 22 16:55:44 [2025-01-22T15:55:44.245] [INFO] server - Etherpad stopped
          Jan 22 16:55:44 [2025-01-22T15:55:44.245] [INFO] ueberDB - Database closed
          Jan 22 16:55:44 [2025-01-22T15:55:44.246] [INFO] server - Received SIGTERM signal
          Jan 22 16:55:44 [2025-01-22T15:55:44.246] [INFO] server - Waiting for Node.js to exit...
          Jan 22 16:55:44 [2025-01-22T15:55:44.245] [DEBUG] secret-rotation expressSessionSecrets - stopping secret rotation
          Jan 22 16:55:44  ELIFECYCLE  Command failed.
          Jan 22 16:55:44  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  ep_etherpad-lite@2.2.7 dev: `cross-env NODE_ENV=development node --require tsx/cjs node/server.ts "--settings" "/run/etherpad-lite/settings.json" "--credentials" "/app/data/settings.json"`
          Jan 22 16:55:44 /run/etherpad-lite/src:
          Jan 22 16:55:45 box:tasks update 10367: {"percent":50,"message":"Stopping app services"}
          Jan 22 16:55:45 box:tasks update 10367: {"percent":100,"message":"Done"}
          Jan 22 16:55:46 box:tasks setCompleted - 10367: {"result":null,"error":null}
          Jan 22 16:55:46 box:tasks update 10367: {"percent":100,"result":null,"error":null}
          Jan 22 16:55:46 box:taskworker Task took 2.241 seconds
          
          1 Reply Last reply
          0
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #4

            Just tried again and looks like you have to relogin after app restart after adding that user in the settings.json and provide the admin flag.

            BenoitB 1 Reply Last reply
            0
            • nebulonN nebulon

              Just tried again and looks like you have to relogin after app restart after adding that user in the settings.json and provide the admin flag.

              BenoitB Offline
              BenoitB Offline
              Benoit
              translator
              wrote on last edited by
              #5

              @nebulon I just retried, but it failed. I tried logging out of Cloudron after restarting Etherpad, and it still failed.

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

                I fixed up the docs at https://docs.cloudron.io/apps/etherpad/ this works reliably for me. Quite possibly the different login views were the issue?

                BenoitB 1 Reply Last reply
                1
                • nebulonN nebulon

                  I fixed up the docs at https://docs.cloudron.io/apps/etherpad/ this works reliably for me. Quite possibly the different login views were the issue?

                  BenoitB Offline
                  BenoitB Offline
                  Benoit
                  translator
                  wrote on last edited by
                  #7

                  @nebulon it works ! The "or createing a new pad works" part in the documentation was important 🙂

                  Thanks for your lights !

                  1 Reply Last reply
                  0
                  • nebulonN nebulon has marked this topic as solved on
                  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