Hello! I am new to this! How do I login to the ‘system’ account?
I don’t think that’s possible. What are you trying to accomplish after you log in as system? There might be an alternative method.
I just want to change some of the settings.
@downey Also is there a way to create an account manually without an email?
Almost any setting can be changed by your own account through the web interface, as long as your account has ‘admin’ rights.
AFAIK, they only way to do so, is you’d need to go through the account creation process and use any email address. Again as an admin account for the site, you can go pull up the user in the admin tools and manually override their email verification (for example in the case you used a fake email address).
Others may know more… ![]()
I see. I’ll try it out!
You can’t login as system.
Admins do that not system.
You can’t. You really need to get mail working or you won’t have a forum. This might help you, though: Create Admin Account from Console.
@pfaffman Is there a way to stage a user? Bit confused by what that means/
As others have replied here, it is not possible to login as the system user. The system user is a special account that is automatically created by Discourse. It is used for performing some automated functions on the site. It is also used as the API user if you make API requests with the All Users API key.
If the site that you are asking about is on our hosting, you do not have access to the Rails console, so the guide for creating accounts from the Rails console will not apply to you.
Have a look at this topic What is a staged user?
If you can give us specific details about what you are trying to accomplish, we will try to help.
لدي حالة قد تبرر الحاجة إلى تسجيل الدخول بصفتي “system”
إذًا… لقد ارتكبت خطأ ونقلت فئة إلى فئة أخرى (مما أدى إلى إنشاء فئة فرعية). قمت بحفظ الفئة الفرعية دون إضافة أي مستخدمين في الأذونات… لذلك حتى بصفتي مسؤولاً، لا يمكنني الوصول إليها. عندما أحاول، أحصل على الخطأ Oops! That page doesn’t exist or is private. (عذرًا! هذه الصفحة غير موجودة أو خاصة).
كنت آمل أن أتمكن من تسجيل الدخول بصفتي system لإعادة إضافة الأذونات حتى يتمكن المسؤولون من الوصول إلى تلك الفئة الفرعية.
تحديث
لقد تمكنت من استخدام /safe-mode لإصلاح المشكلة ![]()
يسرني أن الوضع الآمن سمح لك بإصلاحه ![]()
للعلم فقط، ولكن حفظ فئة بدون مجموعة محددة في الأذونات يجب أن يعينها افتراضيًا إلى وصول/عرض خاص بالموظفين فقط. إذا لم يكن الأمر كذلك، أو إذا قام مكون إضافي أو سمة بمنع ذلك بطريقة ما، فسيكون من الجيد إذا كان بإمكانك مشاركة التفاصيل. ![]()
وأنا أيضاً!
كنت سأفعل ذلك، لكن لا يمكنني تكرار المشكلة الآن لذا ستبقى لغزاً.
أفضل تفسير يمكنني تقديمه هو…
في الأصل، كان لدي الفئة #1 مع الفئة الفرعية #1 بداخلها.
- كلاهما لديه أذونات للقراءة/الكتابة للجميع.
ضمن إعدادات الفئة الفرعية #1، قمت بتغيير الأصل إلى الفئة #2.
- الفئة #2 لديها أذونات للمجموعة المخصصة مع القراءة، والموظفين مع القراءة/الكتابة.
- الفئة الفرعية #1 ليس لديها أحد تحت الأذونات.
عندما حاولت حفظ التغييرات، تلقيت خطأ يفيد بأنني لا أستطيع الحفظ حتى أضيف أذونات لمستخدم واحد على الأقل. لذلك، بدلاً من إضافة أي شيء، عدت إلى الصفحة الرئيسية، وذهبت إلى الفئة #2 ولم أتمكن من رؤية الفئة الفرعية #1.
كما عدت إلى الفئة #1 ولم أتمكن من العثور على الفئة الفرعية #1. هذا هو المكان الذي كان ينبغي أن تكون فيه لو لم أتمكن من حفظ التغييرات كما كنت سأعتقد.
بعد ذلك، استخدمت البحث للعثور على موضوع داخل الفئة الفرعية #1. تمكنت من رؤية الموضوع. ولكن عندما حاولت الذهاب إلى الفئة الفرعية #1 لعرض المواضيع الأخرى، حصلت على خطأ 404.
عندما استخدمت الوضع الآمن، تمكنت من العثور على الفئة الفرعية مرة أخرى في مكانها الأصلي في الفئة #1.
آمل أن يساعد ذلك إلى حد ما.