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. Linkwarden
  3. User Creation Failing

User Creation Failing

Scheduled Pinned Locked Moved Solved Linkwarden
14 Posts 6 Posters 1.6k Views 7 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.
  • J Offline
    J Offline
    JLX89
    wrote on last edited by JLX89
    #1

    Hello All,
    I'm excited to see that Linkwarden was added as a new app! I have the app installed, but there seems to be a few issues when creating a new user, either via the admin page or trying to register. This does seem to only be an issue when the app is setup with leaving the user management to the app "Login with dedicated account" vs. SSO via Cloudron.

    I'm seeing the following errors in the dev console, when trying to submit the form.

    admin-e6140dc4287cb378.js:1 
     POST https://app.cloudron.tld/api/v1/users 400 (Bad Request)
    
    admin-e6140dc4287cb378.js:1 Uncaught (in promise) Error: Please fill out all the fields.
        at Object.mutationFn (admin-e6140dc4287cb378.js:1:5312)
    

    I wasn't sure if this was an upstream issue or package issue. Any thoughts or any further information needed on this?

    Thank you!

    Edit: Updated authentication use-case context

    1 Reply Last reply
    2
    • J Offline
      J Offline
      JLX89
      wrote on last edited by
      #2

      Actually, come to find out I was able to dig this up from their GitHub.

      https://github.com/linkwarden/linkwarden/issues/225#issuecomment-1762781340

      1 Reply Last reply
      3
      • archosA Offline
        archosA Offline
        archos
        wrote on last edited by
        #3

        It seems I'm not the only one struggling with this. It's a real shame, because otherwise, the app is really great.

        1 Reply Last reply
        2
        • nebulonN nebulon marked this topic as a question on
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #4

          I just tried to reproduce this, but the signup works just fine here if Cloudron usermanagment is disabled. Is this still an issue for you?

          1 Reply Last reply
          1
          • J Offline
            J Offline
            JLX89
            wrote on last edited by JLX89
            #5

            @nebulon I just gave this another shot and it seems if Cloudron User Management is enabled, I'm able to login without issues. Although, I'm still not able to delete the admin user or change the admin in the env file to NEXT_PUBLIC_ADMIN=1.

            If I create the app without Cloudron User Management, I'm still facing the same error.

            1 Reply Last reply
            0
            • J Offline
              J Offline
              JLX89
              wrote on last edited by JLX89
              #6

              Edit: Actually, it looks like the admin account reverts, so the below doesn't seem to work. Also logging into the account and trying the "Delete" account, doesn't seem to work either. If you login to the account, click delete account, it logs you out, but the account remains.

              I have a bit more info on this. So the workaround is to complete the change in the env file and then manually go to https://{appurl}/admin after an app restart, delete the admin user, and you should be good. To note, once you make the change to the env, the "Server Administration" option in the menu will not show up, but going to the admin url will work.

              1 Reply Last reply
              1
              • J Offline
                J Offline
                joseph
                Staff
                wrote on last edited by
                #7

                @JLX89 do you think this is a Cloudron package issue or upstream?

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  JLX89
                  wrote on last edited by
                  #8

                  I'm actually not quite sure, I would have to look at the package. I had found another related GitHub issue upstream.

                  https://github.com/linkwarden/linkwarden/issues/244

                  1 Reply Last reply
                  1
                  • J Offline
                    J Offline
                    JLX89
                    wrote on last edited by
                    #9

                    Has anyone else been having any problems with this by chance?

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      joseph
                      Staff
                      wrote on last edited by
                      #10

                      Seems to work in the latest package.

                      1 Reply Last reply
                      0
                      • J Offline
                        J Offline
                        JLX89
                        wrote on last edited by
                        #11

                        This still doesn't seem to be working. But as an alternative, I can login to that account, change the password and update the env variable for NEXT_PUBLIC_ADMIN= to another ID and that seems to suffice.

                        1 Reply Last reply
                        0
                        • J Offline
                          J Offline
                          joseph
                          Staff
                          wrote on last edited by
                          #12

                          OK, glad you found a workaround. If someone else hits the issue please report here or upstream

                          1 Reply Last reply
                          0
                          • J joseph has marked this topic as solved on
                          • G Offline
                            G Offline
                            gwolfe28
                            wrote on last edited by
                            #13

                            I'm having the same issue here, but am not sure how to implement the workaround mentioned as it's not clear where I would modify the env variables

                            jdaviescoatesJ 1 Reply Last reply
                            1
                            • G gwolfe28

                              I'm having the same issue here, but am not sure how to implement the workaround mentioned as it's not clear where I would modify the env variables

                              jdaviescoatesJ Online
                              jdaviescoatesJ Online
                              jdaviescoates
                              wrote on last edited by
                              #14

                              @gwolfe28 said in User Creation Failing:

                              not clear where I would modify the env variables

                              Normally using the File Manager https://docs.cloudron.io/apps/#file-manager

                              I use Cloudron with Gandi & Hetzner

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