PG::UndefinedTable: خطأ: العلاقة "voice_rooms" غير موجودة

متابعة النقاش من Fatal: could not read Username for ‘https://github.com’:

أعتقد أن مشاكل GitHub قد حُلّت الآن، لكن عملية الترقية تفشل. هذا هو الحادث الأول:

rake aborted!
StandardError: An error has occurred, this and all later migrations canceled: (StandardError) 
PG::UndefinedTable: ERROR:  relation "voice_rooms" does not exist

أستخدم تكوين الحاويات المزدوج (وقمت بتشغيل data أيضًا، دون أخطاء)، وأنا على أحدث إصدار.

هل لديكم أي أفكار؟

يظهر الخطأ PG::UndefinedTable: ERROR: relation "voice_rooms" does not exist لأن هجرة قاعدة البيانات (migrations) الخاصة بإضافة voice الأساسية المدمجة في النواة لم تُنفَّذ بعد.

ما الذي كان يظهر فوق رسالة rake aborted!؟

يوجد… الكثير :laughing: لكن لا شيء يلفت انتباهي.

x86_64 arch detected.                                                                                                                                                 
Ensuring launcher is up to date                                                                                                                                       
Launcher is up-to-date                                                                                                                                                
Stopping old container                                                                                                                                                
+ /usr/bin/docker stop -t 600 web_only                                                                                                                                
web_only                                                                                                                                                              
2.0.20260812-0036: Pulling from discourse/base                                                                                                                        
Digest: sha256:837e8ed4b5916baa36856b842ad84fe262b6b1b5550701f8844b13cc7acad7a5                                                                                       
Status: Image is up to date for discourse/base:2.0.20260812-0036                                                                                                      
docker.io/discourse/base:2.0.20260812-0036                                                                                                                            
/usr/local/lib/ruby/gems/3.4.0/gems/pups-1.4.0/lib/pups.rb                                                                                                            
/usr/local/bin/pups --stdin                                                                                                                                           
I, [2026-09-03T08:55:23.418621 #1]  INFO -- : Reading from stdin                                                                                                      
I, [2026-09-03T08:55:23.453117 #1]  INFO -- : > thpoff echo "thpoff is installed!"                                                                                    
thpoff is installed!                                                                                                                                                  
I, [2026-09-03T08:55:23.461963 #1]  INFO -- : > /usr/local/bin/ruby -e 'if (ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com" && ENV["DISCOURSE_SKIP_EMAIL_SETUP"] != "1"); puts "Aborting! Mail is not configured!"; exit 1; end'                                                                                                        
I, [2026-09-03T08:55:23.608522 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'                                                                                                                                                   
I, [2026-09-03T08:55:23.743204 #1]  INFO -- : > /usr/local/bin/ruby -e 'if (ENV["DISCOURSE_CDN_URL"] || "")[0..1] == "//"; puts "Aborting! CDN must have a protocol specified"

أعتقد أن هذا قد يكون مرتبطًا بتطابق إصدارات هجرة إضافة resenha السابقة مع إصدارات إضافة الصوت الجديدة - على الأرجح لأنك قمت بتثبيتها من قبل؟ إذا لم تكن متأكدًا، هل يمكنك محاولة تنفيذ الأمر التالي في psql الخاص بك:

  SELECT version, name, direction, created_at, git_version
  FROM schema_migration_details
  WHERE version = '20241107000000'
  ORDER BY created_at;

راجع resenha/db/migrate/20241107000000_create_resenha_rooms.rb at b87ca4e20d649ba6b7bdc4615b289c414854889e · xfalcox/resenha · GitHub و discourse/plugins/voice/db/migrate/20241107000000_create_voice_rooms.rb at main · discourse/discourse · GitHub

يجب أن يكون هناك إصلاح أساسي لهذا التعارض في إصدارات الهجرات.. أتخيل أنه سيؤثر على الآخرين أيضًا. تابعوا معنا.

نعم، جرّبتُه في مراحله الأولى، لكنني أزلته لاحقًا.