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. Minio
  3. Changed credentials does not work for login

Changed credentials does not work for login

Scheduled Pinned Locked Moved Minio
7 Posts 3 Posters 598 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.
    • luckowL Offline
      luckowL Offline
      luckow
      translator
      wrote on last edited by
      #1

      Package version: io.minio.cloudronapp@2.3.2
      Fresh install

      /app/code/minio-credentials set admin secret
      

      App restart

      /app/code/minio-credentials get 
      Access Key: admin
      Secret Key: secret
      

      https://minio.example.org
      admin:secret
      Error: The Access Key Id you provided does not exist in our records.

      But
      https://minio.example.org
      minioadmin:minioadmin

      works.

      Pronouns: he/him | Primary language: German

      1 Reply Last reply
      1
      • luckowL Offline
        luckowL Offline
        luckow
        translator
        wrote on last edited by
        #2

        Now I have found a second place where I can change the login data.

        Web terminal -> env file

        export MINIO_ROOT_USER=minioadmin
        export MINIO_ROOT_PASSWORD=minioadmin
        

        If you change these values, they will be accepted in the web browser.
        It sounds like a documentation issue to me.

        Pronouns: he/him | Primary language: German

        1 Reply Last reply
        2
        • luckowL Offline
          luckowL Offline
          luckow
          translator
          wrote on last edited by
          #3

          Next topic for documentation:
          API server domain.
          I lost an hour of my life because I learned in previous versions of minio that location = the URL in each app setting. Now it's not like that anymore.
          You have to select the API server domain in the app settings to connect to your minio instance.
          The error messages in the browser console tell you about CORS errors. CORS could become a new hobby topic 🙂

          Pronouns: he/him | Primary language: German

          girishG 1 Reply Last reply
          1
          • luckowL luckow

            Next topic for documentation:
            API server domain.
            I lost an hour of my life because I learned in previous versions of minio that location = the URL in each app setting. Now it's not like that anymore.
            You have to select the API server domain in the app settings to connect to your minio instance.
            The error messages in the browser console tell you about CORS errors. CORS could become a new hobby topic 🙂

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

            @luckow yes, correct, with latest minio, the UI and the API are in different locations. Also see, https://forum.cloudron.io/topic/5395/possibly-breaking-changes-in-next-package and https://forum.cloudron.io/topic/2495/minio-package-updates/79

            I will look into the minio-credentials script, it was for the legacy minio. I probaby should remove it.

            timconsidineT 1 Reply Last reply
            3
            • girishG girish

              @luckow yes, correct, with latest minio, the UI and the API are in different locations. Also see, https://forum.cloudron.io/topic/5395/possibly-breaking-changes-in-next-package and https://forum.cloudron.io/topic/2495/minio-package-updates/79

              I will look into the minio-credentials script, it was for the legacy minio. I probaby should remove it.

              timconsidineT Offline
              timconsidineT Offline
              timconsidine
              App Dev
              wrote on last edited by timconsidine
              #5

              @girish small polite reminder that setup instructions don't seem to be updated.

              Just having the same issue this evening as reported by @luckow

              I will try his 'fix'

              EDIT : I tried to edit env.sh in /app/code. But it is readonly.
              So I tried in /app/data. It works there.
              But isn't /app/data potentially reachable from internet?
              If so, putting access keys there seems bad idea.
              Maybe I'm not understanding access rights of /app/data

              girishG 2 Replies Last reply
              1
              • timconsidineT timconsidine

                @girish small polite reminder that setup instructions don't seem to be updated.

                Just having the same issue this evening as reported by @luckow

                I will try his 'fix'

                EDIT : I tried to edit env.sh in /app/code. But it is readonly.
                So I tried in /app/data. It works there.
                But isn't /app/data potentially reachable from internet?
                If so, putting access keys there seems bad idea.
                Maybe I'm not understanding access rights of /app/data

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

                @timconsidine Forgot about this one, thanks for the reminder. I have fixed the instructions.

                Something like below in /app/data/env.sh is the way to go:

                export MINIO_ROOT_USER=superadmin
                export MINIO_ROOT_PASSWORD=CorrectHorseBatteryStaple
                
                1 Reply Last reply
                2
                • timconsidineT timconsidine

                  @girish small polite reminder that setup instructions don't seem to be updated.

                  Just having the same issue this evening as reported by @luckow

                  I will try his 'fix'

                  EDIT : I tried to edit env.sh in /app/code. But it is readonly.
                  So I tried in /app/data. It works there.
                  But isn't /app/data potentially reachable from internet?
                  If so, putting access keys there seems bad idea.
                  Maybe I'm not understanding access rights of /app/data

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

                  @timconsidine said in Changed credentials does not work for login:

                  But isn't /app/data potentially reachable from internet?

                  /app/data is just the part of the file system that the app can write to. It is only reachable via the Cloudron dashboard.

                  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