خطأ في CleanUpUnmatchedIPs: الطابع الزمني هو 2.7 مليون سنة قبل الميلاد

يبدو أن هذا ناتج عن قيمة تالفة لـ last_match_at في جدول screened_ip_addresses الخاص بك.
يمكنك إصلاحه عن طريق تشغيل ما يلي في وحدة تحكم Rails (./launcher enter app ثم rails c):

# أولاً، ابحث عن السجل (السجلات) المسببة للمشكلة
ScreenedIpAddress.where("last_match_at < '0001-01-01'").each do |sip|
  puts "ID: #{sip.id}, IP: #{sip.ip_address}, last_match_at: #{sip.last_match_at}"
end

# ثم إما حذفه
ScreenedIpAddress.where("last_match_at < '0001-01-01'").destroy_all

# أو إصلاح الطابع الزمني إلى `NULL` (حتى يستخدم `created_at` بدلاً من ذلك لمنطق التنظيف)
ScreenedIpAddress.where("last_match_at < '0001-01-01'").update_all(last_match_at: nil)