지금 두 개의 다른 VM에 Discourse를 설치했습니다.
공식 설치 지침을 따르고 있습니다.
하나는 Mac Pro에서 VMware Fusion 인스턴스로 실행되는 Debian 12이고, 다른 하나는 TrueNAS에서 실행되는 VM의 Ubuntu 24입니다.
둘 다 로컬 네트워크에서 실행되는 전용 서버이며 브리지 네트워크를 사용하고 고유한 접근 가능한 IP 주소를 가지고 있습니다.
TN 서버는 여러 다른 도커 컨테이너화 된 애플리케이션을 호스팅하고 있으며, 모두 LAN과 인터넷을 통해 정상적으로 작동하고 접근할 수 있습니다. Mac Pro는 기본적으로 위키를 호스팅하고 있습니다.
양쪽 모두에서 부트스트랩 기능이 완료되지만, 작동하는 사이트를 얻지 못합니다. 브라우저에서는 '서버에 응답 없음’만 표시됩니다. docker ps에 따르면 컨테이너 "app"은 실행 중이며 80포트와 443포트에서 리스닝하고 있고, ufw는 해당 포트를 허용하고 있다고 보고합니다.
처음에는 Debian 사이트가 nginx 기본 환영 페이지를 표시했지만, 이제는 그것도 응답하지 않습니다.
저는 개발자나 웹 전문가가 아니어서 문제를 어떻게 해결해야 할지 모르겠습니다. Grok에게 도움을 요청했지만, 지금까지 아무것도 효과가 없었습니다.
공개적으로 접근 가능한 정적 IP 주소와 해당 주소로 포인팅하는 도메인 이름을 보유하고 있습니다.
일반적으로 와일드카드 A 레코드를 사용하여 모든 호스트를 해당 IP로 포인팅하지만, 문제 해결 과정에서 Cloudflare DNS의 프록시된 주소와 Discourse가 호환되지 않을 수 있다는 게시물을 확인하여, 해당 도메인에 대해 전용 A 레코드를 생성하고 프록시를 비활성화했습니다.
‘bootstrap function’이라는 용어를 올바르게 사용하고 있나요?
같은 것에 대해 이야기하고 있는지 확인하고 싶어서요.
./discourse-setup 자체가 bootstrap인 거죠?
그렇다면 제가 “bootstrap를 수행하고, 컨테이너가 실행 중”이라고 하면, setup의 가장 처음에 이루어지는 연결 테스트가 통과했다는 뜻이 되나요?
690:M 30 Apr 2025 22:05:22.859 # Warning: Could not create server TCP listening socket *:6379: bind: Address already in use
690:M 30 Apr 2025 22:05:22.859 # Failed listening on port 6379 (TCP), aborting.
109:M 30 Apr 2025 21:59:42.411 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition...
2025-04-30 21:59:41.125 UTC [60] postgres@postgres ERROR: database "discourse" already exists
2025-04-30 21:59:41.274 UTC [63] postgres@discourse ERROR: role "discourse" already exists
WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
stringio (>= 0)
Available/installed versions of this gem:
- 3.1.7
- 3.1.5
- 3.1.1
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.
The setting 'staticAddonTrees' will default to true in the next version of Embroider and can't be turned off. To prepare for this you should set 'staticAddonTrees: true' in your Embroider config.
The setting 'staticAddonTestSupportTrees' will default to true in the next version of Embroider and can't be turned off. To prepare for this you should set 'staticAddonTestSupportTrees: true' in your Embroider config.
Node.js heap_size_limit is less than 2048MB. Setting --max-old-space-size=2048 and CHEAP_SOURCE_MAPS=1
-e DISCOURSE_SMTP_DOMAIN=discourse.example.com
[BABEL] Note: The code generator has deoptimised the styling of /var/www/discourse/app/assets/javascripts/discourse/ember/ember-template-compiler.js as it exceeds the max of 500KB.
[BABEL] Note: The code generator has deoptimised the styling of /var/www/discourse/app/assets/javascripts/discourse/ember/ember.js as it exceeds the max of 500KB.