System account login

Hello! I am new to this! How do I login to the ‘system’ account?

「いいね!」 3

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.

「いいね!」 3

I just want to change some of the settings.

「いいね!」 2

@downey Also is there a way to create an account manually without an email?

「いいね!」 2

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… :slight_smile:

「いいね!」 3

I see. I’ll try it out!

「いいね!」 1

You can’t login as system.

Admins do that not system.

「いいね!」 2

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.

「いいね!」 3

@pfaffman Is there a way to stage a user? Bit confused by what that means/

「いいね!」 2

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.

「いいね!」 4

「system」としてログインする必要があるかもしれないケースがあります。

間違ってカテゴリを別のカテゴリに移動してしまい(サブカテゴリを作成)、権限にユーザーを追加せずにサブカテゴリを保存してしまいました。そのため、管理者であってもアクセスできません。「おっと!そのページは存在しないか、プライベートです。」というエラーが表示されます。

システムとしてログインして、管理者がそのサブカテゴリにアクセスできるように権限を再追加できることを願っていました。

更新

/safe-mode を使用して問題を解決できました :slight_smile:

「いいね!」 1

セーフモードで修正できたとのこと、よかったです :+1:

参考情報ですが、権限に特定のグループを指定せずにカテゴリを保存すると、デフォルトでスタッフのみアクセス/表示可能になるはずです。もしそうでない場合や、プラグインやテーマコンポーネントがそれをブロックしている可能性がある場合は、詳細を共有していただけると幸いです。:crossed_fingers:

「いいね!」 1

私もです!

そうしたかったのですが、今は問題を再現できないため、謎のままになります。
提供できる最善の説明は次のとおりです。

元々、カテゴリ#1があり、その中にサブカテゴリ#1がありました。

  • 両方とも、全員が読み取り/書き込みできる権限を持っています。

サブカテゴリ#1の設定内で、親をカテゴリ#2に変更しました。

  • カテゴリ#2には、カスタムグループに読み取り権限、スタッフに読み取り/書き込み権限があります。
  • サブカテゴリ#1には、権限を持つユーザーはいません。

変更を保存しようとすると、少なくとも1人のユーザーに権限を追加しないと保存できないというエラーが表示されました。そのため、何も追加する代わりに、ホームページに戻り、カテゴリ#2に移動しましたが、サブカテゴリ#1が見つかりませんでした。

カテゴリ#1に戻っても、サブカテゴリ#1が見つかりませんでした。これは、変更を保存できなかった場合、そうなると思っていた場所です。

その後、検索を使用してサブカテゴリ#1内のトピックを見つけました。トピックを見ることができました。しかし、他のトピックを表示するためにサブカテゴリ#1に移動しようとすると、404エラーが発生しました。

セーフモードを使用すると、サブカテゴリが元々あったカテゴリ#1に戻っていることがわかりました。

それがいくらか役立つことを願っています。

「いいね!」 3