رسائل التحقق الإلكترونية لا تُرسل

مرحبًا مجددًا،

لقد قرأت هذا الموضوع هنا، والمشكلة التي أواجهها تشبه إلى حد كبير ما يحدث في الرابط التالي:

إلا أن الفرق هو أن رسائل التحقق من البريد الإلكتروني لا تُرسل مطلقًا - سواء كان الأمر يتعلق عضوًا جديدًا أو عضوًا موجودًا مسبقًا. يبدو من خلال ذلك الموضوع أن الرسائل كانت تُرسل إلى حد ما.

كان لدي بالفعل حساب اختبار موجود على منتدياتي (أنا لست مالك المنتدى، بل مجرد مشرف تم تعيينه) لأختبر بعض الأمور التي نواجه فيها مشاكل. كان هذا الحساب الاختباري قد تم التحقق منه منذ عامين تقريبًا. قمت بالنقر على زر “تعطيل الحساب” ضمن صفحة إدارة الحساب الاختباري، والتي تحتوي على خيار “يجب على المستخدم المعطل إعادة التحقق من بريده الإلكتروني”، لكنني لم أستلم أي رسالة بريد إلكتروني.

إليك ما قمت به:

لاحظت في الموضوع الذي أشرت إليه أعلاه أن هناك خيارًا في تبويب “تسجيل الدخول” يتطلب من الموظفين الموافقة على جميع حسابات المستخدمين الجدد، لذا قمت بتفعيل هذا الخيار. ثم قمت بإنشاء حساب اختباري جديد تمامًا، وبعد النقر على زر “إنشاء حساب جديد”، انتقلت إلى صفحة أخرى تقول: “لا يمكننا اكتشاف ما إذا كان حسابك قد تم إنشاؤه، يرجى التأكد من تفعيل ملفات تعريف الارتباط (Cookies)”. ذهبت إلى تبويب “المستخدمون الجدد” في الإعدادات، ووجدت الحساب هناك باللون الرمادي (مما يعني أنه غير مفعل). قمت بالنقر على اسم الحساب الجديد الذي أنشأته، ثم النقر على زر “تفعيل الحساب” ضمن صفحة إدارة الحساب، فتم تفعيله. بعد ذلك، تلقيت إشعارًا يخبرني بأنني بحاجة إلى مراجعة والموافقة على الحساب الذي قمت بتفعيله. قمت بالنقر على “موافقة على المستخدم”. ثم عدت إلى تبويب “المستخدمون الجدد”، وأصبح اسم المستخدم باللون الأزرق، مما يعني أنه مفعل وجاهز للاستخدام.

لم تُرسل أي رسالة بريد إلكتروني خلال هذه العملية بأكملها.

عندما ألقِ نظرة على قائمة أحدث الأعضاء الجدد، أجد أن آخر 37 حسابًا تم إنشاؤها على المنتدى يظهر اسم المستخدم باللون الرمادي، أي أنها غير مفعله.

لم أقم بتغيير أي إعداد لجعل هذا يحدث. الشيء الوحيد الذي يمكنني التفكير فيه هو أن أحد التحديثات التي قمت بها قد يكون هو السبب.

أعني، أنا والمشرفون الآخرون في المنتدى يمكننا تفعيل والموافقة على جميع المستخدمين يدويًا، لكن من المفترض أن تكون العملية… ليست تلقائية، لكنها أيضًا لا تتطلب تدخل موظفي المنتدى.

هل حدث أي تغيير مؤخرًا جعل الأمور على هذا النحو؟ أم أن هناك إعدادًا في القائمة يحتاج إلى تعديل أو إصلاح؟ لقد بحثت في كل مكان ضمن الإعدادات ولم أجد أي شيء. الإصدار المثبت حاليًا هو 2.4.0.beta7.

شكرًا لكم!

إعجابَين (2)

What do your mail logs say? Can you send a test email? What do your mail service logs show?

إعجاب واحد (1)

Specifically, where do I find the mail logs? Are you talking about screened emails under logs in the settings? If so, it says “No results found.” Test emails don’t work either. I forgot to mention that. I also don’t know where to find the mail service logs.

إعجابَين (2)

You might want to take a quick check on your disable emails setting.

You can find various logs at /admin/email. :slight_smile:

3 إعجابات

Sorry for the wait.

The disable emails setting is currently set to ‘no’.

I skimmed through the /admin/email settings and nothing really stood out. Is there anything else I can check, or something specific I need to look for?

Edit: I think I did an upgrade just a bit ago (it told me an upgrade was needed, so I started it and it told me it failed. Then it said there were no updates available) and it said something about sideqik not working and that it does multiple functions such as emails, if I remember correctly. Would this cause my problem?

3 إعجابات

Yes

How was this instance installed?

إعجابَين (2)

Honestly, I’ve never seen sideqik mentioned before. I’ve looked through the settings several times and never saw anything about sideqik until this last update maybe an hour ago.

I’m assuming it’s something needed?

إعجابَين (2)

Yep. Same happened to me on a recent update. If it’s the same, your best bet is to have it manually update:

cd /var/discourse
git pull
./launcher rebuild app

I manually retried the failed mail queues, because I like seeing screens automatically refresh, but I believe it will clear itself up after running a while. You can check the logs.

3 إعجابات

Sidekiq handles all the scheduling in the back-end.

A rebuild as indicated above may help, but without more insight on your instance I honestly can’t say.

إعجابَين (2)

I’ve done a couple more updates since then and it’s still telling me sideqik isn’t working at the end of it. At this point I think it’s safe to say it won’t fix itself and someone has to go in manually and fix it?

Also, I don’t know if this is super important, but it doesn’t seem normal to me, but when it was in the middle of updating the last time, in the midst of all the text flying by on my screen, it was throwing a whole bunch of:

WARN: Side effects in initialization of unused variable [more text here]

WARN: Dropping unused variable _value [more text here]

and

WARN: Dropping unused variable _desc [more text here]

at me. 615 lines. Is this still something from sideqik or something completely different? And should I be worried about this?

Edit: just performed another update. Here’s what it gave me:

https://pastebin.com/YaEkiD5v

It’s still saying it failed to update, but when I go back it says everything is up to date, along with this still on the dashboard:

إعجابَين (2)