cmdntd
(cmdntd)
9월 15, 2023, 2:15오후
1
최신 버전으로 업그레이드할 때 다음과 같은 오류가 발생합니다:
도와주실 수 있을까요?
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 888 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
bootstrap failed with exit code 1
** 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.
88bbed682282caba3443f559b68a7c49ac4995115633c09ffe4299aceea844ac
그 메시지 위로 스크롤해서 오류가 있는지 확인해 주시겠어요? (또는 출력 결과를 여기에 코드 블록으로 붙여넣어 주시면 확인해 드리겠습니다)
cmdntd
(cmdntd)
9월 15, 2023, 2:18오후
3
이전에는 다음과 같았습니다:
1 gem installed
gem install safe_ruby -v 1.0.4 -i /var/www/discourse/plugins/discourse-chatbot/gems/3.2.2 --no-document --ignore-dependencies --no-user-install
Successfully installed safe_ruby-1.0.4
1 gem installed
Compiled js-processor: tmp/js-processor.js
== 20230820010101 EnableEmbeddingExtension: migrating =========================
-- enable_extension(:embedding)
I, [2023-09-15T14:11:46.731576 #1] INFO -- : Terminating async processes
I, [2023-09-15T14:11:46.731720 #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: 42
I, [2023-09-15T14:11:46.731821 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 111
2023-09-15 14:11:46.731 UTC [42] LOG: received fast shutdown request
111:signal-handler (1694787106) Received SIGTERM scheduling shutdown...
2023-09-15 14:11:46.739 UTC [42] LOG: aborting any active transactions
2023-09-15 14:11:46.746 UTC [42] LOG: background worker "logical replication launcher" (PID 51) exited with exit code 1
2023-09-15 14:11:46.747 UTC [46] LOG: shutting down
111:M 15 Sep 2023 14:11:46.766 # User requested shutdown...
111:M 15 Sep 2023 14:11:46.766 * Saving the final RDB snapshot before exiting.
2023-09-15 14:11:46.828 UTC [42] LOG: database system is shut down
111:M 15 Sep 2023 14:11:46.910 * DB saved on disk
111:M 15 Sep 2023 14:11:46.910 # Redis is now ready to exit, bye bye...
여기 OP를 주의 깊게 읽어보세요:
Chatbot을 사용하려면 새로운 요구 사항이 있습니다.
제거하기 전에 반드시 설치 제거 지침을 따르십시오.
향후 버전에서 이 부분을 간소화할 가능성이 높지만, 당분간은 해당 지침을 반드시 따라야 합니다.
cmdntd
(cmdntd)
9월 15, 2023, 3:59오후
5
작동은 합니다. 하지만 너무 복잡해 보이네요.
더 간단하게 만들어 주실 수 있을까요?
봇이 읽을 수 있는 주제의 제한에 대한 표가 있나요? (디스코urs 콘텐츠 인덱싱을 더 똑똑하게 만들 때를 걱정하고 있습니다)