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


Navigation

    Cloudron Forum

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

    How do I find relevant logs for bucket endpoint etc?

    Minio
    4
    11
    58
    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 🙂

      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?

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

          @robi no, nothing there

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

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

            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 1 Reply 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!

                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 2
                  • 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 2
                    • 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).

                      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

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post