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


    Cloudron Forum

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

    How do I find relevant logs for bucket endpoint etc?

    Minio
    5
    13
    346
    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.
    • jdaviescoates
      jdaviescoates last edited by

      The docs say:

      Once setup, minio will print the necessary information, like login credentials, region and endpoints in it's logs.

      Apologies for being a numpty, but where can I see those logs?

      I've created a bucket using the web interface, but now I'm not sure why I can find the endpoint etc?

      Note: I've never used Minio nor anything S3 related before, so bear with me, I've no idea what I'm doing 🙂

      I use Cloudron with Gandi & Hetzner

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

        aren't they part of the App logs? You just click on the logs button?

        Life of Advanced Technology

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

          @robi no, nothing there

          I use Cloudron with Gandi & Hetzner

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

            @jdaviescoates have you looked via the file manager or terminal?

            Life of Advanced Technology

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

              @jdaviescoates Those docs were meant for minio standalone. On Cloudron, you have to use https://docs.cloudron.io/apps/minio/#admin-credentials

              jdaviescoates 2 Replies Last reply Reply Quote 0
              • jdaviescoates
                jdaviescoates @girish last edited by

                @girish said in How do I find relevant logs for bucket endpoint etc?:

                On Cloudron, you have to use https://docs.cloudron.io/apps/minio/#admin-credentials

                OK. I'd actually already done that.

                So I know what my credentials are. But what is my endpoint?

                I'm trying to see if I can back-up my clients non-Cloudron hosted WordPress sites to my Cloudron using Minio.

                I'm using the BackWPup plugin and it asks for these fields:

                s3 fields.png

                So I think I just need to know what my Endpoint and Region are - how do I know?

                Thanks!

                I use Cloudron with Gandi & Hetzner

                fbartels 1 Reply Last reply Reply Quote 0
                • fbartels
                  fbartels App Dev @jdaviescoates last edited by fbartels

                  @jdaviescoates your endpoint is simply the url where you installed Minio on your Cloudron. e.g. https://minio.my-super-cool.domain. The region is not evaluated by minio as far as I know, I always simply use us-east-1.

                  Edit: and in your concrete example you want to also check the box for the "path style" buckets. Minio would also support "virtual-hosted-style" buckets, but that would require additional configuration on the side of the webserver.

                  1 Reply Last reply Reply Quote 3
                  • girish
                    girish Staff last edited by

                    To add to what @fbartels said. First make sure you create a bucket, you do this by creating the '+' sign in the bottom right in minio.

                    • Endpoint: https://minio.domain.com/<bucket name>
                    • Region: us-east-1
                    • Multipart: check this box
                    • Pathstyle-only: yes
                    jdaviescoates 1 Reply Last reply Reply Quote 3
                    • jdaviescoates
                      jdaviescoates @girish last edited by

                      Thanks @girish @fbartels !

                      OK, so I seem to have it working now 😄

                      Turns out in this specific case the Endpoint was just https://minio.domain.com/ with no need for <bucket name> at the end (and that checking the Pathstyle checkbox then pulled in a list of Buckets to select)

                      However, I'm getting an error:

                      ERROR: Allowed memory size of 268435456 bytes exhausted (tried to allocate 5242912 bytes)
                      

                      Adding more memory to my Minio app on Cloudron didn't seem to make any difference, so I'm guessing perhaps this a memory issue at the other host 😕 (the backups do still seem to complete though, so I guess perhaps I can safely ignore this).

                      I use Cloudron with Gandi & Hetzner

                      fbartels 1 Reply Last reply Reply Quote 0
                      • fbartels
                        fbartels App Dev @jdaviescoates last edited by

                        @jdaviescoates The way the error message is written i think it's rather the php memory limit on your wordpress host. Not minio running out of memory.

                        jdaviescoates 1 Reply Last reply Reply Quote 1
                        • jdaviescoates
                          jdaviescoates @fbartels last edited by

                          @fbartels thanks, I think you're right

                          I use Cloudron with Gandi & Hetzner

                          1 Reply Last reply Reply Quote 0
                          • jdaviescoates
                            jdaviescoates @girish last edited by jdaviescoates

                            @girish said in How do I find relevant logs for bucket endpoint etc?:

                            @jdaviescoates Those docs were meant for minio standalone. On Cloudron, you have to use https://docs.cloudron.io/apps/minio/#admin-credentials

                            I just updated my Minio to the latest version.

                            After changing the end point to the new api url everything was working fine, but I've gone and lost my secret key and now I can't work out how to find/ recreate it.

                            I have a env.sh but there are no MINIO_ROOT_USER and MINIO_ROOT_PASSWORD in there to edit (so how were the old credentials still working?)

                            Edit: and that's not what I want anyway. That for logging into the UI, I think. (But, again, how come I'm able to login fine given those values weren't there?!?)

                            I use Cloudron with Gandi & Hetzner

                            scooke 1 Reply Last reply Reply Quote 1
                            • scooke
                              scooke @jdaviescoates last edited by

                              @jdaviescoates Check out my answer to your other question about the Keys! Basically, Minio views Access Key/Secret Key as the same as User/Password, so by clicking to the User section in Minio you can reset the Secret Key.... but it's called "Password" in this Dashboard! Not too intuitive. Then, use your self-hosted VaultWarden or Joplin to save your newly reset Access Key/Password!

                              A life lived in fear is a life half-lived

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Powered by NodeBB