공개 프로필에서 로케일 또는 국기를 가져올 수 있는 방법이 있나요? 예를 들어, 제 프로필에는 캐나다 국기가 표시되는데, 제 사용자 이름을 기준으로 ca 부분을 가져오고 싶습니다. 프로필은 공개되어 있으므로 개인정보 보호 문제는 없습니다. HTTP를 통해 사용자의 국기를 가져오는 방법은 무엇인가요?
** INCOMPATIBLE PLUGIN **
You are unable to build Discourse due to errors in the plugin at
/var/www/discourse/plugins/discourse-nationalflags
Please try removing this plugin and rebuilding again!
I, [2020-11-05T14:45:08.794566 #1] INFO -- :
I, [2020-11-05T14:45:08.795106 #1] INFO -- : Terminating async processes
I, [2020-11-05T14:45:08.795163 #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/12/bin/postmaster -D /etc/postgresql/12/main pid: 49
I, [2020-11-05T14:45:08.795215 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 166
2020-11-05 14:45:08.795 UTC [49] LOG: received fast shutdown request
166:signal-handler (1604587508) Received SIGTERM scheduling shutdown...
2020-11-05 14:45:08.799 UTC [49] LOG: aborting any active transactions
2020-11-05 14:45:08.802 UTC [49] LOG: background worker "logical replication launcher" (PID 58) exited with exit code 1
2020-11-05 14:45:08.803 UTC [53] LOG: shutting down
166:M 05 Nov 2020 14:45:08.808 # User requested shutdown...
166:M 05 Nov 2020 14:45:08.808 * Saving the final RDB snapshot before exiting.
2020-11-05 14:45:08.815 UTC [49] LOG: database system is shut down
166:M 05 Nov 2020 14:45:09.329 * DB saved on disk
166:M 05 Nov 2020 14:45:09.329 # Redis is now ready to exit, bye bye...
** INCOMPATIBLE PLUGIN **
/var/www/discourse/plugins/discourse-nationalflags 플러그인에 오류가 있어 Discourse를 빌드할 수 없습니다.
이 플러그인을 제거한 후 다시 빌드해 주세요!
I, [2020-11-30T14:32:04.274044 #1] INFO -- :
I, [2020-11-30T14:32:04.274927 #1] INFO -- : Terminating async processes
I, [2020-11-30T14:32:04.275231 #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/12/bin/postmaster -D /etc/postgresql/12/main pid: 49
I, [2020-11-30T14:32:04.275574 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 166
2020-11-30 14:32:04.275 UTC [49] LOG: received fast shutdown request
166:signal-handler (1606746724) Received SIGTERM scheduling shutdown...
2020-11-30 14:32:04.285 UTC [49] LOG: aborting any active transactions
2020-11-30 14:32:04.292 UTC [49] LOG: background worker "logical replication launcher" (PID 58) exited with exit code 1
2020-11-30 14:32:04.292 UTC [53] LOG: shutting down
2020-11-30 14:32:04.321 UTC [49] LOG: database system is shut down
166:M 30 Nov 2020 14:32:04.328 # User requested shutdown...
166:M 30 Nov 2020 14:32:04.329 * Saving the final RDB snapshot before exiting.
166:M 30 Nov 2020 14:32:04.378 * DB saved on disk
166:M 30 Nov 2020 14:32:04.379 # Redis is now ready to exit, bye bye...
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 1628 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
a8ea6480b7070def0c0cfa68b65d9bdb510bc53284b3c0e5dfa6441d128ab199
** FAILED TO BOOTSTRAP ** 이전의 오류 메시지를 확인하려면 위로 스크롤하세요. 오류가 하나 이상 있을 수 있습니다.
./discourse-doctor를 사용하면 문제를 진단하는 데 도움이 될 수 있습니다.