illacloud / illa-builder

Low-code platform allows you to build business apps, enables you to quickly create internal tools such as dashboard, crud app, admin panel, crm, cms, etc. Supports PostgreSQL, MySQL, Supabase, GraphQL, MongoDB, MSSQL, Rest API, Hugging Face, Redis, etc. Automate workflows with schedule or webhook. Open source Retool.
https://illacloud.com
Apache License 2.0
11.24k stars 1.08k forks source link

encounter "301 Moved Permanently" after docker deployment #3763

Closed Roan123 closed 4 months ago

Roan123 commented 4 months ago

Describe the bug After the deployment following the guide, ran the builder but failed to access.

To Reproduce Steps to reproduce the behavior:

  1. create mounted directory mkdir -p ~/illa/database mkdir -p ~/illa/drive

  2. run the docker command docker run -d \ --name illa-builder \ -v ~/illa/database:/opt/illa/database \ -v ~/illa/drive:/opt/illa/drive \ -p 80:2022 \ illasoft/illa-builder:latest

  3. access by curl curl "http://localhost" -v

  4. See error < HTTP/1.1 301 Moved Permanently < location: http://localhost/cloud < date: Tue, 26 Mar 2024 06:34:20 GMT < server: envoy < content-length: 0 <

    • Connection #0 to host localhost left intact
  5. docker remains running 375a61a59cb8 illasoft/illa-builder:latest "/usr/bin/dumb-init …" 45 minutes ago Up 22 minutes 5432/tcp, 0.0.0.0:80->2022/tcp, :::80->2022/tcp illa-builder

Expected behavior HTTP 200 for access successfully

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context ESC[1;34m┌[checking porcess postgres]ESC[0m ESC[0;32m├─ postgres 63 0.3 1.0 213316 19448 ? S 06:21 0:00 postgresESC[0m ESC[0;32m├─ postgres 74 0.0 0.1 213316 2432 ? Ss 06:21 0:00 postgres: checkpointerESC[0m ESC[0;32m├─ postgres 75 0.0 0.1 213316 2668 ? Ss 06:21 0:00 postgres: background writerESC[0m ESC[0;32m├─ postgres 76 0.0 0.3 213316 6616 ? Ss 06:21 0:00 postgres: walwriterESC[0m ESC[0;32m├─ postgres 77 0.0 0.1 213852 3428 ? Ss 06:21 0:00 postgres: autovacuum launcherESC[0m ESC[0;32m├─ postgres 78 0.0 0.1 68040 2508 ? Ss 06:21 0:00 postgres: stats collectorESC[0m ESC[0;32m├─ postgres 79 0.0 0.1 213752 2920 ? Ss 06:21 0:00 postgres: logical replication launcherESC[0m ESC[0;32m├─ postgres 137 0.0 0.2 214248 4720 ? Ss 06:21 0:00 postgres: illa_supervisor illa_supervisor 127.0.0.1(49856) idleESC[0m ESC[0;32m├─ postgres 139 0.0 0.2 214248 4720 ? Ss 06:21 0:00 postgres: illa_supervisor illa_supervisor 127.0.0.1(49862) idleESC[0m ESC[0;32m├─ postgres 147 0.0 0.2 214248 4720 ? Ss 06:21 0:00 postgres: illa_builder illa_builder 127.0.0.1(49880) idleESC[0m ESC[0;32m├─ postgres 149 0.0 0.2 214248 4720 ? Ss 06:21 0:00 postgres: illa_builder illa_builder 127.0.0.1(49884) idleESC[0m

ESC[1;34m┌[checking porcess redis]ESC[0m ESC[0;32m├─ root 86 0.1 0.2 55856 4380 ? Sl 06:21 0:00 redis-server *:6379ESC[0m

ESC[1;34m┌[checking porcess minio]ESC[0m ESC[0;32m├─ root 88 4.5 4.4 811112 79372 ? Sl 06:21 0:00 /usr/local/bin/minio server /opt/illa/drive/ESC[0m

ESC[1;34m┌[checking porcess envoy]ESC[0m ESC[0;32m├─ envoy 100 0.8 2.0 2257552 36380 ? Sl 06:21 0:00 /usr/local/bin/envoy -c /opt/illa/envoy/illa-unit-ingress.yamlESC[0m

ESC[1;34m┌[checking porcess nginx]ESC[0m ESC[0;32m├─ root 115 0.0 0.0 8920 900 ? Ss 06:21 0:00 nginx: master process nginx -e /dev/stderrESC[0m ESC[0;32m├─ nginx 116 0.0 0.0 9340 1556 ? S 06:21 0:00 nginx: worker processESC[0m

ESC[1;34m┌[checking porcess illa-builder-backend]ESC[0m ESC[0;32m├─ root 90 1.1 1.7 791828 32360 ? Sl 06:21 0:00 /opt/illa/illa-builder-backend/bin/illa-builder-backendESC[0m ESC[0;32m├─ root 92 0.7 1.4 765940 25972 ? Sl 06:21 0:00 /opt/illa/illa-builder-backend/bin/illa-builder-backend-websocketESC[0m

ESC[1;34m┌[checking porcess illa-builder-backend-websocket]ESC[0m ESC[0;32m├─ root 92 0.7 1.4 765940 25972 ? Sl 06:21 0:00 /opt/illa/illa-builder-backend/bin/illa-builder-backend-websocketESC[0m

ESC[1;34m┌[checking porcess illa-supervisor-backend]ESC[0m ESC[0;32m├─ root 94 0.2 0.6 728412 12188 ? Sl 06:21 0:00 /opt/illa/illa-supervisor-backend/bin/illa-supervisor-backendESC[0m ESC[0;32m├─ root 96 0.2 0.6 727600 11656 ? Sl 06:21 0:00 /opt/illa/illa-supervisor-backend/bin/illa-supervisor-backend-internalESC[0m

ESC[1;34m┌[checking porcess illa-supervisor-backend-internal]ESC[0m ESC[0;32m├─ root 96 0.2 0.6 727600 11656 ? Sl 06:21 0:00 /opt/illa/illa-supervisor-backend/bin/illa-supervisor-backend-internalESC[0m

ESC[1;34m[checkout post init status] done.ESC[0m

[envoy] [2024-03-26 06:36:51.368][100][info][main] [source/server/drain_manager_impl.cc:70] shutting down parent after drain

github-actions[bot] commented 4 months ago

This issue is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 2 days.

github-actions[bot] commented 4 months ago

This issue was closed because it has been stalled for 2 days with no activity.