Forem Creators and Builders 🌱

Michael Scott Shappe
Michael Scott Shappe

Posted on

Problem creating a welcome thread

I've attempted to create a welcome thread, but following the link to it after it's created yields a 404, and trying to create another one yields an error page.

I'm pretty Rails console savvy (I'm an engineer by day). How can I debug this?

Top comments (5)

Collapse
 
igrir profile image
Giri Prahasta Putra

This problem looks like from 2022 but still happened to me.

Looks like the problem was the generated link for the welcome thread has no "preview" parameter. I accidentally found the post for the welcome thread with this link in my forem instance

https://www.gimid.dev/igrir/welcome-thread-v0-2kk9-temp-slug-302430?preview=286b332ab23b3ccd8db884c3270a13357e14336fd82ce7906694ea726c002642d0035dcc2894b725a80acd1f6364cf43f8ff4f255cf57815a3769da9

as you can see there's preview=xxx parameter, but instead the link for the thread is only this
https://www.gimid.dev/igrir/welcome-thread-v0-2kk9-temp-slug-302430

and it can't be accessible

Collapse
 
igrir profile image
Giri Prahasta Putra • Edited

Looks like I found the workaround. Here's how it's done:

  1. Open your dashboard, find your welcome thread, and click Edit Image description
  2. There you'll find a line published: false. Change it to true Image description
  3. Your welcome thread now will be available
Collapse
 
ben profile image
Ben Halpern

Yup, the temp-slug and preview stuff are because the post is not published.

Btw, there are two styles of editor, one with this basic yml style which can be used in some cases as simpler to automate, but users will see the more graphical, interactive version.

Collapse
 
ellativity profile image
Ella (she/her/elle)

Hey @mshappe, thanks for asking this question. Can you tell us a little more about how you're making your welcome thread and your installation of Forem please?

Collapse
 
lee profile image
Lee

Heya just seen this, I had a similar issue and remember it had something to do with the user ID of the welcome thread, did u get it fixed?