커뮤니티에서 오랫동안 요청해 온 기능이 마침내 등장했습니다! 오늘부터 $35짜리 Raspberry Pi에 완전한 Discourse 인스턴스를 호스팅할 수 있습니다. 공식 설치 가이드를 따라 진행하시면, 최신 Raspberry Pi 모델에서 바로 작동합니다.
이것은 https://blog.discourse.org/2021/12/2021-12-07-discourse-on-a-raspberry-pi/의 원본 게시물을 위한 동반 토론 주제입니다.
커뮤니티에서 오랫동안 요청해 온 기능이 마침내 등장했습니다! 오늘부터 $35짜리 Raspberry Pi에 완전한 Discourse 인스턴스를 호스팅할 수 있습니다. 공식 설치 가이드를 따라 진행하시면, 최신 Raspberry Pi 모델에서 바로 작동합니다.
다시 한번, 디스코스가 업계에 정말 큰 영향을 미치고 있습니다!
정말 멋지네요.
오라클 클라우드가 “항상 무료”(Always Free) 플랜으로 최대 4개의 VM에 사용할 수 있는 ARM 기반 Ampere A1 코어 4개와 24GB의 RAM을 제공한다는 점도 언급할 가치가 있다고 생각합니다.
이건 또 다른 라즈베리파이를 사야 할 완벽한 이유가 되네요 ![]()
정말 놀랍네요! ![]()
항상 우리 동네에 로컬 네트워크를 구축해서 포럼의 미러를 올려두면, 정전 시 비상 통신용으로 사용할 수 있으면 좋겠다고 생각했어요. 지금 이걸 한번 시도해 보면 재미있을 것 같아요!
정말 좋습니다.
Jeff Geerling에게 언급해 보았습니다.
아마 라즈베리파이 클러스터로 디스커스 사이트를 구축하는 유튜브 영상이 나올지도 모르겠네요.
일반적인 사용자가 설명서를 꼼꼼히 따라 Discourse를 설치할 수 있다고 생각하시나요, 아니면 용어를 이해하는 것조차 개발자여야 가능한가요?
정말 좋습니다!
RPi4에 SD카드를 사용하는 경우와 SSD를 사용하는 경우의 성능 차이는 어떻게 되나요? SD카드만으로도 충분한가요?
다음과 같은 내용을 찾았습니다: Install Discourse on a residential internet with Cloudflare Tunnel
마지막 질문입니다: RPi4에 64비트 OS를 사용 중이신가요, 아니면 32비트인가요? Raspberry Pi 4용 Ubuntu Server 20.04.3 LTS 64비트인가요?
데이터베이스가 작다면 차이가 없을 것입니다. 데이터베이스 크기가 Pi의 RAM보다 크다면 조금 더 견고한 저장 장치로 변경하는 것이 좋을 수 있습니다 ![]()
Index of /raspios_lite_arm64/images/raspios_lite_arm64-2021-11-08 에서 가져온 Raspbian arm64 버전입니다.
불행히도 실패했습니다…
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && [ ! -d 'node_modules' ] || su discourse -c 'yarn install --production && yarn cache clean' failed with return #<Process::Status: pid 3539 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "cmd"=>["[ ! -d 'node_modules' ] || su discourse -c 'yarn install --production && yarn cache clean'"]}
53e9103763b3963785452f314d9c0023f280ebe76d33a1271a6439d23e8c8ad9
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
다음 내용을 확인해 주시겠어요?
위쪽으로 스크롤하여 이전 오류 메시지를 찾아보세요. 오류가 하나 이상 있을 수 있습니다.
?
I, [2022-01-24T00:30:34.893970 #1] INFO -- : > cd /var/www/discourse && [ ! -d 'node_modules' ] || su discourse -c 'yarn install --production && yarn cache clean'
warning Resolution field "lodash@4.17.21" is incompatible with requested version "lodash@4.17.15"
2022-01-24 00:31:15.883 UTC [59] LOG: using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:31:26.025 UTC [3596] LOG: using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:31:55.876 UTC [59] LOG: using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:32:06.068 UTC [3606] LOG: using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:32:15.830 UTC [59] LOG: using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:32:26.023 UTC [3617] LOG: using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:32:40.294 UTC [3621] LOG: using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:32:55.848 UTC [59] LOG: using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:33:06.000 UTC [3627] LOG: using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:33:20.766 UTC [3628] LOG: using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:33:55.862 UTC [59] LOG: using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:34:06.039 UTC [3634] LOG: using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:34:22.558 UTC [3635] LOG: using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:34:35.852 UTC [59] LOG: using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:34:46.031 UTC [3637] LOG: using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:34:55.859 UTC [59] LOG: using stale statistics instead of current ones because stats collector is not responding
2022-01-24 00:35:06.036 UTC [3638] LOG: using stale statistics instead of current ones because stats collector is not responding
error An unexpected error occurred: "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.3.tgz: ESOCKETTIMEDOUT".
I, [2022-01-24T00:35:14.127245 #1] INFO -- : yarn install v1.22.17
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info If you think this is a bug, please open a bug report with the information provided in "/var/www/discourse/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
I, [2022-01-24T00:35:14.128342 #1] INFO -- : Terminating async processes
I, [2022-01-24T00:35:14.128463 #1] INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main pid: 52
I, [2022-01-24T00:35:14.128549 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 113
2022-01-24 00:35:14.128 UTC [52] LOG: received fast shutdown request
113:signal-handler (1642984514) Received SIGTERM scheduling shutdown...
113:M 24 Jan 2022 00:35:14.221 # User requested shutdown...
113:M 24 Jan 2022 00:35:14.221 * Saving the final RDB snapshot before exiting.
I, [2022-01-24T00:35:24.131678 #1] INFO -- : HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main pid:52 did not terminate cleanly, forcing termination!
I, [2022-01-24T00:35:24.132139 #1] INFO -- : exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid:113 did not terminate cleanly, forcing termination!
그리고 바로 그 부분이 있습니다:
Discourse를 빌드하기에는 네트워크 연결이 너무 불안정합니다. 저는 유선으로 연결된 Pi4에서 아무 문제 없이 다시 빌드했으므로, 네트워크 설정을 점검해 보시는 것이 좋겠습니다.
아, 상기시켜 주셔서 감사합니다. 몇 달 전에 이사할 때 잃어버렸어요. 방금 다시 켜서 최신 버전으로 업데이트했습니다.
감사합니다!
안녕하세요 @Falco, 이렇게 훌륭한 정보를 공유해 주셔서 감사합니다.
드디어 제가 직접 만든 첫 번째 포럼을 성공적으로 구동시켰습니다!!! 덕분에 정말 감사합니다!!!
제가 로컬 IP 주소로 포럼에 접근할 수 있을까요? 현재 Discourse 호스트명이 도메인(freenom에서 발급받은)으로 설정되어 있습니다.
기기의 IP 주소로 포럼에 접속을 시도해 봤는데, 페이지가 항상 로딩 중 상태에 멈추고 제대로 로드되지 않았습니다.
클라이언트 기기가 VPN에 연결되어 있어 인터넷에 접근할 수 없는 상황이 있습니다. 이 경우 포럼에 접근할 수 있는 유일한 방법은 로컬 네트워크 IP 주소를 사용하는 것입니다.
이 토론이 도움이 될 수 있습니다. 매우 비표준적인 설치 환경에 대한 지원을 요청하고 계신 것 같습니다:
@merefield 감사합니다.
서버의 로컬 IP 주소를 사용하여 curl을 실행하면 페이지가 반환되지만, 브라우저에서는 그렇지 않습니다.
브라우저 설정과 관련이 있을까요?
여러 가지 이유로 도메인 이름을 통해 앱에 액세스해야 합니다. IP 접근은 지원되지 않는 것으로 알고 있습니다.
확인했습니다! 확인해 주셔서 감사합니다.