# 只有两个主题出现502网关错误

**URL:** <https://meta.discourse.org/t/502-bad-gateway-for-only-two-topics/242981>\
**Category:** Self-hosting\
**Tags:** arm\
**Created:** [2022年十月26日 16:24 UTC](https://meta.discourse.org/t/502-bad-gateway-for-only-two-topics/242981 "2022-10-26T16:24:48Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![niccokunzmann](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/niccokunzmann/32/131771_2.png) [@niccokunzmann](https://meta.discourse.org/u/niccokunzmann)\
**Post date:** [2022年十月28日 08:23 UTC](https://meta.discourse.org/t/502-bad-gateway-for-only-two-topics/242981/8 "2022-10-28T08:23:14Z")

</div>

> [@Benjamin\_D](#):
>
> `Topic.where(id: 58)`

我进入了[Rails 控制台](https://meta.discourse.org/t/how-do-i-open-the-rails-console-in-discourse-docker-in-production-mode/16970/6?u=niccokunzmann)。

```ruby
pry(main)> Topic.where(id: 58)
=> [#<Topic:0x0000aaab01b22260
  id: 58,
  title: "[WIP] Arduino Workshop",
  last_posted_at: Sun, 23 Oct 2022 22:13:09.895053000 UTC +00:00,
  created_at: Fri, 23 Sep 2022 10:30:18.827248000 UTC +00:00,
  updated_at: Sun, 23 Oct 2022 22:13:10.291385000 UTC +00:00,
  views: 26,
  posts_count: 6,
  user_id: 1,
  last_post_user_id: 1,
  reply_count: 4,
  featured_user1_id: 2,
  featured_user2_id: nil,
  featured_user3_id: nil,
  deleted_at: nil,
  highest_post_number: 6,
  like_count: 1,
  incoming_link_count: 16,
  category_id: 6,
  visible: true,
  moderator_posts_count: 0,
  closed: false,
  archived: false,
  bumped_at: Sun, 23 Oct 2022 22:13:09.895053000 UTC +00:00,
  has_summary: false,
  archetype: "regular",
  featured_user4_id: nil,
  notify_moderators_count: 0,
  spam_count: 0,
  pinned_at: nil,
  score: 11.233333333333333,
  percent_rank: 1.0,
  subtype: nil,
  slug: "wip-arduino-workshop",
  deleted_by_id: nil,
  participant_count: 2,
  word_count: 184,
  excerpt:
   "I can run a workshop to introduce into programming arduinos. I post this here, so that we can organize \n\nOrganization\n\n\n make a poster @DomAman made one\n\n get material down from the community center\n\n make a list of what…",
  pinned_globally: false,
  pinned_until: nil,
  fancy_title: "[WIP] Arduino Workshop",
  highest_staff_post_number: 6,
  featured_link: nil,
  reviewable_score: 0.0,
  image_upload_id: nil,
  slow_mode_seconds: 0,
  bannered_until: nil,
  external_id: nil>]

```

---

_[View the full topic](https://meta.discourse.org/t/502-bad-gateway-for-only-two-topics/242981)._
