Pad_Pors
(Pad Pors)
1월 24, 2020, 7:09오전
1
Move your Discourse Instance to a Different Server 토론을 계속합니다:
새 서버에 Discourse를 설치하고, 새 관리자(기존 관리자와 동일한 사용자 이름)를 등록한 후 백업을 복원하면 마지막까지 모든 과정이 순조롭게 진행되지만, 결국 다음과 같은 오류가 발생합니다:
[2020-01-24 07:06:47] Notifying 'padpors' of the end of the restore... [2020-01-24 07:06:47] Something went wrong while notifying user.
이로 인해 백업을 복원할 수 없습니다.
1개의 좋아요
Pad_Pors
(Pad Pors)
1월 24, 2020, 2:54오후
2
사이트에서 백업 파일을 하나 더 받아서, 다음 howto에 따라 터미널에서 복원을 시도했습니다: Restore a backup from the command line . 하지만 복원이 끝날 무렵 터미널에 동일한 오류가 발생했습니다:
Notifying 'system' of the end of the restore...
Something went wrong while notifying user.
Finished!
[FAILED]
Restore done.
백업 파일에는 문제가 없었으므로, 이는 버그라고 생각합니다.
6개의 좋아요
techAPJ
(Arpit Jalan)
1월 24, 2020, 3:09오후
3
@gerhard 이 문제가 발생하는 원인에 대해 혹시 아는 게 있나요?
7개의 좋아요
pfaffman
(Jay Pfaffman)
1월 24, 2020, 4:33오후
5
최근 백업/복원 코드에 많은 변경 사항이 있었습니다. 최신 버전으로 업데이트되어 있으신가요?
2개의 좋아요
RGJ
(Richard - Communiteq)
1월 24, 2020, 4:46오후
6
저도 이 오류를 계속 보고 있습니다.
하지만… 이 오류는 복원 이후에 발생하며, 복원은 SUCCESS(성공)로 종료됩니다. 따라서 오류는 맞지만, 복원 실패의 원인은 분명히 아닙니다.
Unpausing sidekiq...
Marking restore as finished...
Notifying 'DHSupport' of the end of the restore...
Something went wrong while notifying user.
Finished!
[SUCCESS]
더 위에 다른 오류가 없는지 확인해 보셨나요?
6개의 좋아요
RGJ
(Richard - Communiteq)
1월 24, 2020, 4:57오후
7
이 문제를 좀 더 살펴봤습니다.
#<NoMethodError: undefined method `join' for nil:NilClass>
Backtrace:
lib/discourse.rb:45:in `pretty_logs'
/var/www/discourse/lib/backup_restore/restorer.rb:134:in `notify_user'
@logs가 초기화되지 않은 것 같습니다.
7개의 좋아요
Pad_Pors
(Pad Pors)
1월 24, 2020, 6:04오후
8
pfaffman:
최신 버전인가요?
네, 두 인스턴스 모두 매우 최신 상태로 설치하고 업데이트를 마쳤습니다.
RGJ:
위쪽에 다른 오류가 없는지 확인해 보셨나요?
위쪽에는 다른 오류가 없었지만, 확실하게 확인하기 위해 다시 한 번 점검해 보겠습니다.
1개의 좋아요
Pad_Pors
(Pad Pors)
1월 24, 2020, 6:48오후
9
맞아요, 이전 에러는 다음과 같습니다:
ERROR: could not create unique index "index_tags_on_lower_name"
DETAIL: Key (lower(name::text))=(زبا�) is duplicated.
EXCEPTION: psql failed: DETAIL: Key (lower(name::text))=(زبا�) is duplicated.
이것은 아마도 여기: Can't restore due to corrupt indexes (with some clues on how to deal with corrupt indexes) 와 여기 There are some duplicated tags due to database corruption and I can't merge 에서 이미 보고된 것 같습니다.
8개의 좋아요