kuaza
(kuaza)
1월 10, 2023, 1:58오전
1
서로 다른 두 개의 Discourse 사이트를 통합할 수 있을까요? 현재 두 개의 Discourse 사이트를 운영하고 있으며, 그중 하나를 폐쇄하려고 합니다. 폐쇄할 사이트의 콘텐츠를 메인 사이트로 이전할 수 있을까요? 두 번째 사이트는 Discourse Connect 를 통해 메인 사이트와 연결되어 있어 회원 정보가 공유되고 있습니다. 감사합니다.
Stephen
(Stephen)
1월 10, 2023, 3:13오전
2
Kuaza님, 네, 가능합니다. 아래를 참고하세요:
If you have two Discourse sites that you wish were one, this guide is for you.
There’s a tool called discourse_merger that can take one Discourse site and merge it into another.
Prereqs
This is not an easy task, and should be treated like any other migration to Discourse. You will not be running discourse_merger on a live production site. You will perform the merge in another environment where you can review the output before moving the result to production.
Copy vs Merge
Almost everythin…
nathank
(Nathan Kershaw)
1월 10, 2023, 10:49오전
3
1년 반 전에 시도해 봤는데 생각보다 쉽지 않았습니다.
여러 번 실패한 끝에 결국 @pfaffman에게 도움을 요청했습니다. Discourse 팀 밖에서比他 더 뛰어난 Discourse 마이그레이션 전문가를 찾기 어렵습니다!! 그런데 그분도 고생하셨습니다.
주요 문제는 다음과 같았습니다:
스크립트에 불편한 gem 의존성과 다른 세밀한 문제들이 많아 정리해야 했습니다.
‘from’ 데이터베이스에 실행 전에 해결해야 할 문제가 많았습니다. 정말 많은 문제들이었죠!!
UCF, 좋아요, 또는 다른 풍부한 콘텐츠에 대한 지원이 없어 충실도가 실망스러웠습니다.
결국 저는 그 방법을 포기하고, 내 작은 포럼의 카테고리를 간단히 가져온 후 해당 콘텐츠의 낮은 충실도를 감수했습니다.
(변화가 없다면) 머지 스크립트가 충분히 자주 사용되어 세련되지 않은 상태인 것 같습니다. 하지만 이 링크는 확실히 유용합니다:
Need to move some stuff from one instance of Discourse to another?
There is a command line tool to export a topic, a set of topics, or an entire category, and another to import them in at the other end.
Topic Export/Import
one or more topics and their replies
the users who posted in the topic
Category Export/Import
the category and all its subcategories
its security settings
custom groups mentioned in the security settings
if any of the groups have ‘membership requests’ enable…
kuaza
(kuaza)
1월 20, 2023, 2:52오후
4
감사합니다만, 일부 부분에서 오류가 발생했고 불행히도 설명이 부족합니다. 예를 들어 env 설정 섹션의 경우, 어디서 이 작업을 수행해야 하는지, 어떻게 해야 하는지에 대한 정보가 전혀 없습니다. 이 주제를 잘 모르는 사람들을 위해 더 상세하게 업데이트하는 것이 필요합니다.