업데이트 시 zip 파일 테마가 업데이트로 표시되어 업그레이드 불가

다음 명령을 실행했습니다:

cd /var/discourse
sudo git pull
sudo ./launcher rebuild app

수 분간 실행된 후 실패했습니다. 마지막 출력 줄은 다음과 같습니다:

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake themes:update assets:precompile' failed with return #<Process::Status: pid 3766 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'bundle exec rake themes:update assets:precompile'"]}
c4da976a2f26c73ac3ea657689d16be28f54cd216c133ceb90af4898c8175010
** 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.

그 후 다음 명령을 실행하면

sudo ./discourse-doctor

찾을 수 있는 유일한 의미 있는 항목은 다음과 같습니다:

I, [2021-07-23T05:33:02.903723 #1]  INFO -- : Updating Dunkel...
Error updating Dunkel: Error cloning git repository, access is denied or repository is not found

제 질문

이 문제를 해결하는 방법에 대한 힌트를 주실 수 있으신가요?

1개의 좋아요

Dunkel 저장소는 비공개이거나 더 이상 존재하지 않습니다.

2개의 좋아요

감사합니다. 이미 "app.yml"을 확인해 보았지만 "Dunkel"에 대한 참조는 찾을 수 없었습니다.

확인할 수 있는 유일한 것은 “Dunkel”(독일어로 "어두운"이라는 뜻)이라는 이름의 테마로, 다음과 같이 표시됩니다.

이 테마는 ZIP 파일에서 가져왔습니다

테마에는 다음 체크박스가 있습니다.

Discourse 업데이트 시 테마를 자동으로 업데이트합니다

이제 이 체크박스를 해제했습니다.

그 후 다음 명령을 실행하면

cd /var/discourse
sudo git pull
sudo ./launcher rebuild app

이제 실제로 성공합니다. :white_check_mark:

1개의 좋아요

zip 파일 테마에서 자동 업데이트를 활성화할 수 있다는 건 버그인 것 같습니다. 이 이슈를 이동하겠습니다.

2개의 좋아요

로그에 접속을 시도할 저장소 URL도 함께 출력하면, 어떤 일이 일어나고 있는지 더 명확하게 파악할 수 있지 않을까요?

저장소 URL을 확인할 수 있는 방법을 찾지 못했습니다. 로그 파일에도, GUI에도 URL이 표시되지 않았습니다.

1개의 좋아요

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.