-
-
Notifications
You must be signed in to change notification settings - Fork 474
Description
Describe the bug
The console page loads, and can type in the credentials.
However, cannot login to the admin console after a fresh setup.
"Unable to connect to server. Please check your connection and try again."
To Reproduce
Steps to reproduce the behavior:
Using Firefox or Vivaldi browser.
Followed the steps exactly shown on https://appflowy.com/docs/Local-Host-Deployment.
- git clone https://github.com/AppFlowy-IO/AppFlowy-Cloud.git
- cp deploy.env .env
- Modify .env PASSWORD, SECRET, and DEFAULT_EMAIL and NGINX port.
- docker compose up -d
- Go to host-ip:NGINX_port/console (in my case 192.168.0.102:8100/console), loads admin page.
- Type in password and user from the .env file (copy pasted to make sure I didn't type wrong)
- Greeted with "Unable to connect to server. Please check your connection and try again."
Expected behavior
After docker setup, should be able to login to the admin console to start using it.
Screenshots
Desktop (please complete the following information):
- OS: Almalinux 10
- Browser Firefox 144.0.2, Vivaldi 7.6.3797.63
- Version [e.g. 22]
Additional context
I did not modify any of the docker-compose.yml files.
I did not use external proxy yet, using direct port and ip of host. (will use npmplus).
I also tried to use the host machine itself (localhost:8100/console) - same issue.
I already added port 8100 to the firewall, it is fine.
I've already tried to delete and reclone the workspace.
I tried docker compose down -v to reset everything as well.
I tried the dev.env setup instead, and no luck either.
I tried to login with the defaults (e.g. [email protected]) but no luck either.
I checked the docker logs of gotrue, it creates the admin user fine.
Creating admin user for gotrue...
{"level":"info","msg":"Go runtime metrics collection started","time":"2025-11-06T22:29:01Z"}
{"level":"info","msg":"Create schema if not exists: auth","time":"2025-11-06T22:29:01Z"}
{"component":"pop","level":"info","msg":"Migrations already up to date, nothing to apply","time":"2025-11-06T22:29:01Z"}
{"args":[0.008818754],"component":"pop","level":"info","msg":"%.4f seconds","time":"2025-11-06T22:29:01Z"}
{"level":"info","msg":"GoTrue migrations applied successfully","time":"2025-11-06T22:29:01Z"}
{"component":"api","level":"warning","msg":"DEPRECATION NOTICE: GOTRUE_JWT_ADMIN_GROUP_NAME not supported by Supabase's GoTrue, will be removed soon","time":"2025-11-06T22:29:01Z"}
{"level":"info","msg":"GoTrue API started on: :9999","time":"2025-11-06T22:29:01Z"}
The docker logs of admin_frontend is also quite empty:
Updating server.js with runtime configuration...
Starting application on port 3000...
Environment variables:
APPFLOWY_BASE_URL=http://localhost
APPFLOWY_GOTRUE_BASE_URL=http://localhost/gotrue
▲ Next.js 15.2.3
- Local: http://ab41ffc7e414:3000
- Network: http://ab41ffc7e414:3000
✓ Starting...
✓ Ready in 661ms