coolify
coolify copied to clipboard
[Bug]: Can't reach Minio S3 console after deploy
Description
Hello Everyone, I've been facing problems with MinioS3. I can't react the minio console after deploy.
Minimal Reproduction (if possible, example repository)
Exception or Error
No response
Version
v4.0.0-beta.271
how did you managed to fix this issue?
how did you managed to fix this issue?
i didn't. I think its a major problem. I guess, we should use v3 or use custom docker-compose.yml.
@nimaa77 i found a solution. I change my proxy server into Caddy and it worked
this problem still persists. I tried to debug the docker compose by myself, but with no luck. Traefik rule doesn't appear on dashboard, so it's probably related to that.
this problem still persists. I tried to debug the docker compose by myself, but with no luck. Traefik rule doesn't appear on dashboard, so it's probably related to that.
Did you try using Caddy as a proxy server? That's an easy process.
this problem still persists. I tried to debug the docker compose by myself, but with no luck. Traefik rule doesn't appear on dashboard, so it's probably related to that.
Did you try using Caddy as a proxy server? That's an easy process.
Yes, but I prefer to keep traefik. Nonetheless, I'll take a look on using Caddy.
I'm using Caddy but still cannot login. Any other ideas?
I'm using Caddy but still cannot login. Any other ideas?
Did you add DNS records?
i don't use cloudflare, in namecheap like this:
and in coolify
version v4.0.0-beta.294 btw
i don't use cloudflare, in namecheap like this:
and in coolify
version v4.0.0-beta.294 btw
Can you try uploads.example.com and minio-console.example.com instead of *.minio.example.com. (aliases up to you, you can try what ever you want but not double sub domain)
Still doesn't work. I noticed when I visited the console URL, it always took a while to redirect to login. When I looked at the network log, there was a timeout calling https://minio.my-domain/api/v1/session with error:
{
"detailedMessage": "Get \"https://upload-minio.my-domain/minio/admin/v3/accountinfo\": dial tcp <ip-address>:443: i/o timeout",
"message": "invalid session"
}
i wonder if it's related.
some more info if needed:
- the server running minio is not the same with coolify instance.
- i have entered the wildcard domain in the server -> general setting page
- i don't change anything in the caddy configuration file.
So i tried to add a new server, then installed and deployed minio, without any change, no custom domain. It worked I could login but no https.
Then I set my custom domain with https in the minio setting. This caused the "Invalid Login" error.
Then I changed the proxy to caddy. Now it worked!
So I guess because in my previous server I have the wildcard domain set? Any ideas how to fix without removing the wildcard domain?
So i tried to add a new server, then installed and deployed minio, without any change, no custom domain. It worked I could login but no https.
Then I set my custom domain with https in the minio setting. This caused the "Invalid Login" error.
Then I changed the proxy to caddy. Now it worked!
So I guess because in my previous server I have the wildcard domain set? Any ideas how to fix without removing the wildcard domain?
Double subdomain is something new for coolify i guess. Just use single subdomain with the wildcard. I always use this.
I think the difference between your setup and mine is that I have two servers, one for coolify instance and another one where I tried to deploy minio.
The coolify instance has https://coolify.example.com domain with Traefik proxy. The other server where I installed minio has https://magic.coolify.example.com wildcard with Caddy proxy.
When I added the third server without setting the wildcard domain (but with caddy proxy), minio can be accessed.
Honestly I'm not familiar with Traefik and Caddy but that's my finding.
After tinkering for hours and a good quick nap, I finally figured out the problem: I have ufw enabled in my server!
Disabling the ufw fixed it. But I want to keep the ufw enabled. Allowing incoming to port 9000 and 9001 didn't work. What worked was adding rule to allow all incoming traffic from the ip address of the minio container:
- Get the ip of the minio container:
sudo docker network inspect <minio service uuid>
. You can get the uuid from the url in the coolify dashboard when you're in the minio service page, likehttps://coolifydomain/project/<project-id>/production/service/<the-minio-id-we-want>#webhooks
- Find the "IPv4Address" of the container in the output of the command above.
- then run
sudo ufw allow from <the ipv4 address from step 2>
-
sudo ufw reload
Same here. I have made multiple attempts with minio
. The containers are able to start, and they run in an unhealthy state. When going to the console URL, I always get 404
.
I am facing the same difficulties here, too: an unhealthy state of Minio. If I change the proxy from Traefik to Caddy, Minio works, but one of our services, Ghost, stops working. Well, I would rather stay with Traefik for now. Version: v4.0.0-beta.306
Just to add the screenshots of the steps to reproduce on the latest version 306 and Traefik. It works fine with Caddy, but if i use Caddy, Ghost stops working.
Details
@tolstenko So it looks like the problem is related to the proxy 🧐
This problem has already been resolved in PR #2829