Hey @shannon1024 - Are you using embeddings by any chance? If so, I suspect we could have failed to migrate the embedding config to the new way. Which embeddings provider are you using? Try disabling ai_embeddings_enabled until we figure it out.
Great. Which provider are you using for generating embeddings?
I’m really sorry this happened. It was never the intent to leave things unconfigured or in a broken state. We do have a migration that automatically copies the configuration, so something must have gone wrong there. If you could please let me know that, I’ll look into it.
저는 임베딩 생성을 위해 OpenAI 모델을 사용하고 있습니다. 제 경험을 바탕으로 시스템 개선에 도움이 될 수 있는 개인적인 피드백과 제안을 공유하고자 합니다:
AI 설정의 마이그레이션 문제:
백업을 복원하거나 Discourse 커뮤니티를 마이그레이션할 때, AI 모델의 구성 및 설정(예: API 키, 플러그인 설정)이 올바르게 마이그레이션되지 않습니다. 이로 인해 여러 문제가 발생했으며, 오늘 제가 겪은 문제도 그 중 하나입니다. 예를 들어, 커뮤니티를 마이그레이션하고 백업을 복원한 후에도 AI 모델 설정, API 키, 플러그인 구성이 제대로 이전되지 않아 기능 장애가 발생했습니다.
혼란을 주는 AI 플러그인 설정 인터페이스:
현재 AI 플러그인의 설정 인터페이스는 매우 복잡합니다. 예를 들어, 임베딩 모델이 구성되지 않았음에도 불구하고 특정 관련 설정(예: AI embeddings semantic related topics enabled)은 활성화될 수 있습니다. 이는 직관에 반하며 예상치 못한 문제를 초래할 수 있습니다. 또한, 플러그인에는 수십 개의 설정이 한 페이지에 모두 표시되어 탐색하고 설정 간의 관계를 이해하기 어렵습니다.
설정 인터페이스를 Google Search Models, Semantic Embeddings Models, Image Generation Models 등의 기능 섹션으로 정리할 수 있습니다.
특정 AI 모델(예: 임베딩)이 구성되지 않은 경우, 혼란과 오류를 방지하기 위해 관련 설정을 자동으로 비활성화하거나 숨기는 것이 좋습니다.
I hear what you said about the configuration being overwhelming. We’ve been working on improving the UX by moving how LLMs are configured, and now we have done the same with embeddings, which led to the removal of +25 site settings. These changes often require us to rewrite a big part of the plugin internals though, so they take time and effort but you can expect things to keep improving over time.
Regarding the restoration issues you mentioned, it’s unclear to me if this is a recurrent issue with the backup not capturing the tables where AI models config live. If so, let me know and I’ll investigate.
For this particular case, the problem was a bug in the database migration I wrote, which grabs data from multiple site settings and inserts a row in the embeddings config table. The bug turned it into a no-op for Open AI models and it’s unrelated to backup/restores.