How do I find relevant logs for bucket endpoint etc?
-
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
-
aren't they part of the App logs? You just click on the logs button?
-
@robi no, nothing there
-
@jdaviescoates have you looked via the file manager or terminal?
-
@jdaviescoates Those docs were meant for minio standalone. On Cloudron, you have to use https://docs.cloudron.io/apps/minio/#admin-credentials
-
@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:
So I think I just need to know what my Endpoint and Region are - how do I know?
Thanks!
-
@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 useus-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.
-
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
-
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).
-
@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.
-
@fbartels thanks, I think you're right