Forem Creators and Builders

Discussion on: Self-host Instruction Issue

gfhopper profile image
G. F. Hopper Author

So, I SSH'd in, and ran the command, and the site is still not up. Same error. Is there a set of logs I need to dump somewhere? This is a stack I'm unfamiliar with, although I've used Rails lightly in the past.

Thread Thread
coffeecraftcode profile image
Christina Gorton

Hey our systems team said you can use the journalctlcommand to view logs.

To output logs for a single service to file:

journalctl -u forem-traefik.service > forem_traefik_service_logs.txt
Enter fullscreen mode Exit fullscreen mode

Also they wanted me to ask when you orginially cloned the repo. If it was before Aug 9th you may need to repull the repo and rebuild your Forem from scratch because of the PR below.

Add retry logic to forem-container service #32

This backports a fix for an issue seen in Forem Cloud, where forem-container.service would run too quickly on initial boot, and be unable to pull the app container image down (but the service wouldn't fail, due to the exit 0 in the affected if block inside foremimg).

Thread Thread
gfhopper profile image
G. F. Hopper Author

Gonna have to repull. The output of git show says the last commit was July 27th by you, actually lol

Thread Thread
coffeecraftcode profile image
Christina Gorton

Let me know if you run in to any more trouble after you repull. I'm happy to help debug any more issues.

Thread Thread
gfhopper profile image
G. F. Hopper Author • Edited on

So, I just got done re-pulling and doing everything over. I deleted the original VM in GCP as well. Re-pulled from scratch, went through the motions, STILL getting an internal SSL error, same as before. Even re-ran the Traefik command in the VM. I can Zoom if you or any other staff are available, I followed the instructions down to a T. The most I can think of is user error in the GCP admin console, but even then I went through that to a T as well. I'm actually pretty frustrated right now. I don't know many web apps that are this difficult to get running...or maybe I'm just getting old lmao

Thread Thread
coffeecraftcode profile image
Christina Gorton

I'm away from my computer right now but I'd be happy to set up a quick zoom call with you this week to see if we can debug this error you are getting.
I'll get back to you tomorrow morning with some possible times to see if you are available.

Thread Thread
gfhopper profile image
G. F. Hopper Author

@coffeecraftcode I just took a log dump like recommended as well. It's a lot to post, and there's sensitive information in it such as IPs, connections made, etc, and in the interest of security I can't post it here. HOWEVER, Traefik appears to not be working even after restarting the service. It seems to loop, trying to create a cert, cert not working, failure to abort process, repeat. Too long to exactly to paste here.

Thread Thread
coffeecraftcode profile image
Christina Gorton

Yeah, don't worry about pasting the logs here. Let's set up a time this week to chat over zoom and see if can help.

Thread Thread
gfhopper profile image
G. F. Hopper Author

Thank you so much! I appreciate the work you and the kind folks at DEV do! :-)

Thread Thread
coffeecraftcode profile image
Christina Gorton

I have some time available tomorrow and Friday. Let me know if any of the times/days work for you.
calendly.com/christina-forem/30min

Thread Thread
gfhopper profile image
G. F. Hopper Author

Do you have any times available next Monday or Tuesday?

Thread Thread
coffeecraftcode profile image
Christina Gorton

I added some time on Monday and Tuesday.
calendly.com/christina-forem/30min

Thread Thread
gfhopper profile image
G. F. Hopper Author

I'm sorry, I'm gonna have to wait for a day off it looks like. Most days I work 11AM-10PM.

Thread Thread
coffeecraftcode profile image
Christina Gorton

If you happen to have a Calendly you could send me a link and I can see if there is a time available for both of us? Maybe that would be easier for you 😄

Thread Thread
gfhopper profile image
G. F. Hopper Author

Yeah, I'll set one up