업데이트 후 이 토론 포럼을 구동하는 소프트웨어에서 예상치 못한 문제가 발생했습니다

명령어 .launcher rebuild app 을 통해 업그레이드한 후 이 메시지가 표시됩니다:

Oops
이 토론 포럼을 구동하는 소프트웨어에서 예상치 못한 문제가 발생했습니다. 불편을 드려 죄송합니다.

오류에 대한 상세 정보는 로그에 기록되었으며 자동 알림이 생성되었습니다. 확인하겠습니다.

추가 조치는 필요하지 않습니다. 그러나 오류 상태가 지속된다면, 오류 재현 단계를 포함한 추가 세부 정보를 사이트의 피드백 카테고리에 토론 주제를 게시하여 제공할 수 있습니다.

Sitetor.com/logs 링크로 로그를 볼 수 없습니다. 이는 404 오류 페이지로 정상적인 것입니다.

안전 모드 페이지에 접근하는 것은 가능하지만, 다음 항목을 선택해도 동작이 없습니다:

  • 테마 및 테마 구성 요소 비활성화
  • 비공식 클라이언트 측 플러그인 커스터마이징 비활성화
  • 모든 클라이언트 측 플러그인 커스터마이징 비활성화

app.yml 파일에서 플러그인을 가져오는 각 줄 앞에 ##를 추가했습니다. Docker 관리자 플러그인만 백그라운드로 설정했습니다.

그리고 launcher Rebuild app 명령을 실행했습니다.

하지만 효과가 없습니다.

1시간 후 Vultr 서버를 재시작했지만 여전히 같은 Oops 메시지가 표시됩니다.

:frowning:

음. :thinking: 이건 좀 까다로운 문제네요. 브라우저 콘솔의 오류로 추측할 수 있는 정보가 별로 없습니다.

로그인이 안 되어 있어서 /logs를 볼 수 없는 건 아닌지 궁금합니다. /u/admin-login 페이지로 관리자 로그인을 시도해 보면, 현재 발생 중인 문제를 우회해서 로그에 접근할 수 있을지도 모릅니다. 한번 시도해 보실 수 있나요?

이메일 admin을 입력하고 이메일로 로그인 세션 링크를 받았지만, 해당 링크를 따라가면 다시 그 메시지가 표시됩니다:

Ops
…
…

조금 무리한 시도였네요.

플러그인을 주석 처리해도 문제가 해결되지 않는다는 것은 좀 이례적인 상황입니다. 이후 다시 빌드했을 때, 빌드가 성공적으로 완료되었나요?

감사합니다. 성공했습니다.
어제 앱을 재구축했는데 성공했고, 제 포럼도 정상적으로 작동했습니다. 그 후 관리자 페이지에서 업그레이드 알림을 받았고, 웹사이트를 통해 업그레이드를 진행했습니다. 그런데 나중에 "Ops… …"라는 메시지가 나타났습니다.
그래서 다시 명령줄을 통해 재구축을 시도했습니다. 하지만 현재까지도 오류가 발생하고 있습니다.

아래는 페이지 로그에 기록된 내역입니다.

CSP Violation: 'https://sitetor.com/assets/plugins/footnote-79e2a367b53b791240c3504826b87b2787c9d197d77cd422969d592aae9cf23b.js'
5 Jun 8:27 am
CSP Violation: 'https://sitetor.com/assets/plugins/discourse-lazy-videos-bdf1486acc96b228a2163490640a2bdc90f5e0a1bb1949335fd1fde2ad48795c.js'
5 Jun 8:27 am
CSP Violation: 'https://sitetor.com/theme-javascripts/a3636f1729d8c81989eb6665a5a33c82564fcec4.js?__ws=sitetor.com'
5 Jun 8:27 am
CSP Violation: 'https://sitetor.com/theme-javascripts/ca4f2222209109b7d767260935bb303d2b284516.js?__ws=sitetor.com'
5 Jun 8:27 am
Deprecation notice: `SiteSetting.min_trust_level_to_allow_ignore` has been deprecated. Please use `SiteSetting.ignore_allowed_groups` instead. (removal in Discourse 3.3) At /var/www/discourse/lib/gua
8 Jun 7:55 pm
15
CSP Violation: 'https://www.google-analytics.com'
10 Jun 9:32 pm
2
CSP Violation: 'https://sitetor.com/svg-sprite/sitetor.com/svg-93-10018d578f2d963b00e0465dc2060daae0e3a6cc.js'
16 Jun 3:24 pm
CSP Violation: 'https://sitetor.com/javascripts/magnific-popup/1.1.0/jquery.magnific-popup.min.js'
16 Jun 3:24 pm
6
CSP Violation: 'wasm-eval'
22 Jun 10:05 am
ActiveRecord::RecordNotUnique (PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_topic_tags_on_topic_id_and_tag_id" DETAIL: Key (topic_id, tag_id)=(65105, 601) alread
30 Jun 11:47 am
Failed to handle exception in exception app middleware : ActiveRecord::RecordNotUnique : PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_topic_tags_on_topic_id_and_t
30 Jun 11:47 am
10
NoMethodError (undefined method `scan' for {:one=>"Categories (%{count} more)…", :other=>"Categories (%{count} more)…"}:Hash) lib/i18n/i18n_interpolation_keys_finder.rb:6:in `find' app/controllers/adm
30 Jun 9:19 pm
24
CSP Violation: 'eval' () => { utils.preloadCache() }
1 Jul 11:34 pm
21
NoMethodError (undefined method `slug_path' for nil:NilClass) app/models/category.rb:1103:in `slug_path' app/models/category.rb:945:in `block in url' lib/distributed_cache.rb:20:in `defer_get_set' app
4 Jul 9:59 am
3
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb
4 Jul 3:23 pm
3
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb
4 Jul 3:23 pm
3
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb
5 Jul 4:17 pm
3
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb
5 Jul 4:17 pm
Deprecation notice: `AdminDashboardData#add_problem_check` is deprecated. Implement a class that inherits `ProblemCheck` instead. (removal in Discourse 3.3) At /var/www/discourse/plugins/discourse-si
6 Jul 1:00 am
20
CSP Violation: 'https://sitetor.com/assets/start-discourse-c524a8995f2f0cbcea43353efe8e8f269da821ea97c21ef0f04df5fcd916170a.js'
Su 4:33 pm
20
CSP Violation: 'https://sitetor.com/assets/browser-update-9070f07226d022f68c06506e046ae33f8fe725302ff53955cd3d483f2fc47ff6.js'
Su 4:33 pm
CSP Violation: 'https://sitetor.com/svg-sprite/sitetor.com/svg-87-ca7d0fff2c92f16b8b655f85bb0a36f4c6eb98df.js'
Su 4:33 pm
CSP Violation: 'https://sitetor.com/uploads/default/original/2X/d/d8ce366bd7aad8f9fc7b26b08aecc855dd6d425c.js'
Su 4:33 pm
3
CSP Violation: 'https://pagead2.googlesyndication.com'
Su 4:33 pm
23
ActionView::Template::Error (undefined method `slug_path' for nil:NilClass) app/models/category.rb:1103:in `slug_path' app/models/category.rb:945:in `block in url' lib/distributed_cache.rb:20:in `defe
Mo 6:50 pm
69
RequestTracker.get_data failed : Encoding::UndefinedConversionError : "\xA3" from ASCII-8BIT to UTF-8
Tu 2:15 am
181
RequestTracker.get_data failed : Encoding::UndefinedConversionError : "\xA1" from ASCII-8BIT to UTF-8
Tu 3:52 pm
8
Deprecation notice: `UsersController#modify_user_params` method is deprecated. Please use the `users_controller_update_user_params` modifier instead. (deprecated since Discourse 3.1.0.beta4) (removal
Tu 11:18 pm
Deprecation notice: `AdminDashboardData#add_problem_check` is deprecated. Implement a class that inherits `ProblemCheck` instead. (removal in Discourse 3.3) At /var/www/discourse/plugins/discourse-si
We 2:46 pm
Corrupt cache... skipping entry for key _CACHE:sitemap/1/50000 : ArgumentError : dump format error (user class)
We 6:39 pm
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb
We 10:51 pm
MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb
We 10:51 pm
Deprecation notice: `AdminDashboardData#add_problem_check` is deprecated. Implement a class that inherits `ProblemCheck` instead. (removal in Discourse 3.3) At /var/www/discourse/plugins/discourse-si
5:40 am
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
5:57 am
Failed to handle exception in exception app middleware : ActionView::Template::Error : {:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}
5:57 am
Deprecation notice: `AdminDashboardData#add_problem_check` is deprecated. Implement a class that inherits `ProblemCheck` instead. (removal in Discourse 3.3) At /var/www/discourse/plugins/discourse-si
8:49 am
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
9:03 am
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
9:18 am
Deprecation notice: `AdminDashboardData#add_problem_check` is deprecated. Implement a class that inherits `ProblemCheck` instead. (removal in Discourse 3.3) At /var/www/discourse/plugins/discourse-si
10:11 am
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
10:48 am
3
NoMethodError (undefined method `slug_path' for nil) app/models/category.rb:1229:in `slug_path' app/models/category.rb:1069:in `block in url' lib/distributed_cache.rb:20:in `defer_get_set' app/models/
12:26 pm
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
1:21 pm
10
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
1:46 pm
16
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
1:48 pm
59
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
1:52 pm
47
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
2:10 pm
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
2:23 pm
16
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
2:24 pm
ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in `output_MF' app/controllers/
2:25 pm
17
Failed to handle exception in exception app middleware : ActionView::Template::Error : {:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}
2:25 pm

‘record not unique’ 오류는 인덱스가 손상되었음을 시사합니다. 해당 문제를 해결하는 방법을 정의하는 토픽을 찾아야 합니다(주로 중복된 태그를 삭제하는 것).

혹시 대문자와 소문자가 섞인 태그가 있나요? (예: mytag와 myTag)

기억나지 않네요.
생성된 태그 목록을 표시하는 SSH 명령어가 있을까요?
다행히 브라우저가 업그레이드 전의 오래된 탭을 유지하고 있어서, 새 탭에서 홈페이지에 접근할 수는 없지만 여전히 많은 새 주제를 로드할 수 있습니다.

태그 페이지로 이동할 수 있나요?

다만, 데이터베이스 문제는 수동으로 해결해야 합니다. 중복된 항목을 삭제하는 것이 가장 쉬운 방법입니다.

다른 상황에서 이를 수행하는 방법에 대해 몇 가지 주제가 있는 것 같습니다.

인덱스를 재구성하고, 실패의 원인을 찾아서 삭제하는 과정을 반복하면 작동하게 될 것이라고 생각합니다.

태그 페이지에 접근을 시도했지만 작동하지 않았습니다. 이 오류는 업그레이드할 때 발생했습니다. 왜 업그레이드하지 않아도 포럼은 정상적으로 작동하나요? 데이터베이스 문제를 수동으로 어떻게 해결하나요? 저는 일반 사용자일 뿐 개발자가 아닙니다 :frowning:

모르겠습니다. 어쩌면 무언가가 변경되어 이제 태그가 대소문자를 구분하지 않게 된 걸까요? 아니면 버그일 수도 있습니다.

하지만 이것은 태그가 어딘가에서 고유하지 않아서 발생하는 문제인 것 같습니다:

이것은 일반 사용자가 해결할 수 있는 문제가 아닙니다.

그리고 이 에러는 어떻게 될까요? ActionView::Template::Error ({:cause=>#<MiniRacer::RuntimeError: Error: The plural case one is not valid in this locale at line 4 col 15:>}) lib/js_locale_helper.rb:153:in output_MF’ app/controllers/`

이전에 Remove Dashes from Tag Names 를 사용했습니다. 이것이 태그가 중복되는 원인이 될까요?

태그 페이지에 성공적으로 접근했습니다:

태그 페이지에는 모든 태그가 있으며, 중복된 태그 쌍은 발견하지 못했습니다.

태그 페이지 상세 보기

태그

정렬: 개수 이름


Đắc địa

Góc 2 mặt tiền x 70

Góc 3 mặt tiền x 2

Góc 4 mặt tiền x 1

Domains

Add Villa x 4

Mặt Bằng Kinh Doanh

Raise Building x 2

Dự án

Vinhomes Central Park x 1

Hướng

Bắc x 1

Đông x 1

Đông Bắc x 1

Đông Nam x 1

Nam x 1

Tây x 1

Tây Bắc x 1

Kinh doanh

24h x 3

Anh ngữ

Cafe x 7

Cây xăng x 1

Chuỗi x 58

Cửa hàng thực phẩm x 1

Điện thoại x 2

Game x 1

Giải trí x 6

Giao hàng x 1

Giặt ủi x 1

Giày dép x 3

Gym x 1

Hầm rựu x 1

Karaoke x 8

Mắt kính x 1

Nhà hàng x 10

Nha khoa x 2

Nhà sách x 2

Nhà thuốc x 3

Nội thất x 5

Phòng công chứng

Phòng khám x 2

Phòng thu x 1

Pizza x 2

Quán ăn x 2

Quán nhậu x 3

Salon x 1

Sang x 1

Showroom x 10

Siêu thị x 8

Spa x 3

Thời trang x 11

Thức ăn nhanh x 2

Tiệm net x 1

Trà sữa x 1

Trái cây x 1

Trang sức x 1

Trường học x 2

Văn phòng x 18

Xe hơi x 1

Xe máy x 2

Xì gà x 1

Loại BĐS

Biệt thự Villa x 20

Căn hộ chung cư x 27

Căn hộ dịch vụ x 1

Chung cư x 23

Đất x 11

Duplex

Kho xưởng x 1

Kiot vỉa hè

Mall

Mặt bằng Nhà phố x 361

Penhouse

Phòng trọ

Sân thượng x 1

ShophouseViet x 3

Tòa nhà x 3

Văn phòng x 18

Loại giao dịch

Bán x 47

Cần mua x 32

Cần thuê x 413

Cho thuê x 12942

Mặt tiền (m)

Ngang 10m x 632

Ngang 11m x 539

Ngang 12m x 553

Ngang 13m x 396

Ngang 14m x 403

Ngang 15m x 504

Ngang 16m x 332

Ngang 17m x 158

Ngang 18m x 262

Ngang 19m x 38

Ngang 20m x 445

Ngang 3m x 988

Ngang 4m x 1562

Ngang 5m x 907

Ngang 6m x 977

Ngang 7m x 978

Ngang 8m x 959

Ngang 9m x 976

Mục đích sử dụng

Đầu tư x 1

Để ở x 5

Kinh doanh x 392

tickets_priority

tickets_reason

tickets_status

TPHCM

Bình Chánh

Bình Tân x 1

Bình Thạnh x 2

Cần Giờ x 1

Củ Chi x 1

Gò Vấp x 1

Hóc Môn x 1

Nhà Bè x 1

Quận 1 x 2

Quận 10 x 1

Quận 11 x 1

Quận 12 x 2

Quận 2 x 1

Quận 3 x 1

Quận 4 x 1

Quận 5 x 1

Quận 6 x 1

Quận 7 x 1

Quận 8 x 1

Quận 9 x 1

Quận Phú Nhuận x 1

Tân Bình

Tân Phú x 1

Thủ Đức x 1

Trạng thái giao dịch

Chưa xác định x 1

Đã giao dịch x 2

Đang giao dịch x 1

Ngưng giao dịch x 1

Vị trí

Hẻm ngõ x 8

Mặt tiền x 12914

Nội bộ x 1

Các thẻ khác

3PN x 2

4 lầu x 1

Bán đất x 2

Bán nhà x 1

Bình Trị Đông A x 1

Cơ hội x 2

Có Video x 6

cv x 1

Đã cập nhật sổ hồng x 2

Đã đặt cọc x 1

Đà Nẵng x 1

Đất trống x 1

DT 10x24m x 1

DT 17x31m x 1

DT 4x16m x 1

DT 4X17M x 1

DT 4x18 x 1

DT 4x20 x 1

DT 5x15m x 1

DT 5x19m x 1

DT 6x28 x 1

DT 7x21m x 1

DT 8x15m x 1

DT 8x20m x 1

DT 8x22m x 1

DT 8x26m x 1

DT 9x41m x 1

DT đất 105m2 x 1

DT: 10x7m x 1

DT: 6x17m x 1

DTS 120m2

DTS 2880m2 x 1

DTSD 805m2 x 1

dự án x 1

Flycam x 1

Giá 100 tỷ x 1

Giá 108 tỷ x 1

Giá 110 tỷ x 1

Giá 130 tỷ x 1

Giá 150 tỷ x 3

Giá 180 tỷ x 1

Giá 200 tỷ x 1

Giá 218 tỷ x 1

Giá 220 tỷ x 1

Giá 26 tỷ x 1

Giá 27 tỷ x 1

Giá 28 tỷ x 3

Giá 31 tỷ x 1

Giá 34 tỷ x 1

Giá 35 tỷ x 1

Giá 36 tỷ x 1

Giá 43 tỷ x 1

Giá 48 tỷ x 1

Giá 53 tỷ x 1

Giá 55 tỷ x 1

Giá 60 tỷ x 2

Giá 63 tỷ x 1

Giá 7 tỷ x 1

Giá 70 tỷ x 1

Giá 74 tỷ x 1

Giá 76 tỷ x 1

Giá 79 tỷ x 1

Giá 80 triệu x 1

Giá 80 tỷ x 1

Giá 85 tỷ x 1

Giá đất 350 triệu m2 x 1

Giá thuê 50 triệu x 1

Giá thuê 50 triệu tháng x 1

Giá: 27 tỷ x 1

Giá: 29 tỷ x 1

Giá: 32 tỷ x 1

Giá: 39 tỷ x 1

Kết cấu 7 lầu x 1

Kết cấu trệt 7 lầu x 1

khách nhà bán x 1

Không thuê x 2

Khu cây xanh x 1

Loại BĐS x 2

Mặt bằng x 1

Mặt Bằng Đẹp x 69

Mặt tiền 17

Mặt tiền 4m x 1

Ngang 26m x 1

Ngang 29m x 1

Ngưng bán x 2

Ngưng cho thuê x 1

Nhà x 5

Nhà Bến Nghé x 1

Nhà phố x 5

Nhà VT x 1

Phân khúc 100 200 tỷ x 3

Phần khúc 100 200 tỷ x 1

Phân khúc 20 50 tỷ x 1

Phân khúc 200 300 tỷ x 1

Phân khúc 50 100 tỷ x 3

Phân khúc dưới 10 tỷ x 1

Phường 13 Phú Nhuận x 1

Phường 9 Quận 3

Phường Bến Nghé x 5

Phường Bến Thành x 174

Phường Cầu Kho x 1

Phường Cầu Ông Lãnh x 1

Phường Đa Kao x 2

Phường Nguyễn Thái Bình x 2

Phường Thảo Điền x 3

Phường Võ Thị Sáu x 2

Quy hoạch Nhà ở Đô Thị x 1

Sang nhượng x 2

Tân Định x 1

TDT 62m2

Thiết kế Decor x 14

Thuê bao x 1

Tòa nhà văn phòng x 2

TPHCM x 417

Trệt 2 lầu x 1

Việc làm x 13

Villa x 1

vnBuildings x 4

Võ Văn Kiệt x 1

VP x 1

Xuống giá x 1

"Phân"과 "Phần"이라는 두 개의 동일한 태그를 발견했습니다.
Phân khúc 100 200 tỷ x 3
Phần khúc 100 200 tỷ x 1

이 태그를 삭제했습니다:
Phần khúc 100 200 tỷ x 1
하지만 여전히 홈페이지에 접근할 수 없습니다 :frowning:

이것은 #customization:theme-component이므로 컴포넌트 탭에서 비활성화할 수 있습니다. 제 이해로는 클라이언트 측 수정 사항이므로 문제가 되는지 확실하지 않습니다. 특히 이 컴포넌트는 태그의 외관만 변경할 뿐입니다. 그래도 원인을 배제해 보려고 테스트하는 데는 해가 되지 않습니다.

데이터베이스는 서버 측에 있습니다.

네! @Heliosurge 설정 페이지에 접속해서 모든 테마 구성 요소를 끄고 기본 테마를 선택했습니다. 그리고 홈페이지에 접속했지만 효과가 없었습니다.

안전 모드에서 실행해도 문제가 해결되지 않는다면, 수동으로 재구축하는 작업에 익숙하지 않거나 자신감이 없다면 Marketplace 채널에 게시물을 올려 도움을 요청하는 것을 고려해 보세요.

@pfaffman님의 말씀에 따르면, 이 상황에서는 도움을 구해야 할 것 같습니다.

안녕하세요, (topic_id, tag_id)=(65105, 601)을 삭제하려면 어떤 관리자 일괄 작업을 사용해야 하나요?

감사합니다

<편집으로 삭제된 불필요한 이메일 내용>

데이터베이스 문제를 수동으로 해결해야 하는 에러: 업그레이드 후 태그가 고유하지 않음이라는 제목의 토픽을 생성했습니다 Need to resolve my database problem by hand error with tags not being unique after upgrade forum . @ itsbhanusharma 님으로부터 지원을 받았지만, 여전히 원인을 찾을 수 없습니다.

2024년 4월에 백업했던 Vultr 서버를 복원했습니다. 그런 다음 대시보드의 .tar.gz 파일에 있는 백업 데이터를 복원했습니다. 하지만 여전히 위에서 언급한 것과 동일한 에러가 발생합니다. 이 백업(.tar.gz 파일)에도 동일한 에러가 있는 것으로 보이며, 복원은 되었지만 웹사이트에 접근할 수 없습니다.

저는 Vultr 서버 버전 044/2024를 재사용하여 지금까지 콘텐츠를 개발해 왔습니다.

오늘 admin/customize/site_texts/js.topic.read_more_MF?locale=en_GB에 접근하여

topic remaining
or browse other topics in
view latest topics

의 내용을 번역하려고 했습니다.

{ HAS_UNREAD_AND_NEW, select,
  true {
    { UNREAD, plural,
         =0 {}
        one {There is <a href="{basePath}/unread"># unread</a>}
      other {There are <a href="{basePath}/unread"># unread</a>}
    }
    { NEW, plural,
         =0 {}
        one { and <a href="{basePath}/new"># new</a> topic remaining,}
      other { and <a href="{basePath}/new"># new</a> topics remaining,}
    }
  }
  false {
    { UNREAD, plural,
         =0 {}
        one {There is <a href="{basePath}/unread"># unread</a> topic remaining,}
      other {There are <a href="{basePath}/unread"># unread</a> topics remaining,}
    }
    { NEW, plural,
         =0 {}
        one {There is <a href="{basePath}/new"># new</a> topic remaining,}
      other {There are <a href="{basePath}/new"># new</a> topics remaining,}
    }
  }
  other {}
}
{ HAS_CATEGORY, select,
  true { or browse other topics in {categoryLink}}
  false { or <a href="{basePath}/latest">view latest topics</a>}
  other {}
}

영어로는 성공적으로 저장되지만, 베트남어로 설정에서 저장할 때 다음과 같은 에러 메시지가 나타납니다:
Error: The plural case one is not valid in this locale at line 4 col 15:

그리고 이 에러가 페이지 로그(Log)의 내용과 일치하는 것을 발견했습니다:

이 사이에 어떤 연관성이 있을까요?

해당 문자열이 어떻게 번역되는지에 대한 주제를 읽어보셨나요?

왜 포럼의 텍스트를 사용자 지정하나요? 번역에 오류가 있는 건가요, 아니면 다른 표현을 선호하시나요?

튜토리얼에 대해 정말 감사합니다. 읽고 다음과 같이 수정했는데, 성공적으로 표시되었습니다:

{ HAS_UNREAD_AND_NEW, select,
  true {
    { UNREAD, plural,
        =0 {}
        other {<a href="{basePath}/unread">#개의 미확인</a>}
      }
    { NEW, plural,
        =0 {}
        other { 및 <a href="{basePath}/new">#개의 새</a> 미확인,}
      }
  }
  false {
    { UNREAD, plural,
        =0 {}
        other {<a href="{basePath}/unread">#개의 미확인</a>}
      }
    { NEW, plural,
        =0 {}
        other {<a href="{basePath}/new">#개의 새</a> 미확인,}
      }
  }
  other {}
}
{ HAS_CATEGORY, select,
  true { 또는 {categoryLink}에서 다른 뉴스를 보십시오}
  false { 또는 <a href="{basePath}/latest">최신 뉴스 보기</a>}
  other {}
}