Post AM7aRN6teHNFrHsujw by Stan@blimey.social
(DIR) More posts by Stan@blimey.social
(DIR) Post #AM4FlEBR3R67rdtASu by alex@gleasonator.com
2022-08-01T00:44:17.024368Z
1 likes, 0 repeats
When you create a scheduled post, a background job is created in the oban_jobs table. At the time when the post should go live, the job fires off and posts it.In the scheduled posts view - just refresh the page. If they’re still there after that (and haven’t been posted), that sounds like a bug. I’d be curious if it was something about the timezone of your server, or maybe the Oban job itself is failing.
(DIR) Post #AM4FwzfmpVXEKshCU4 by Stan@blimey.social
2022-07-31T18:12:43.680535Z
1 likes, 0 repeats
@alex How does the scheduled post feature work in Soapbox FE?I used it once or twice before and it worked perfectly. Now, however, the posts don’t publish and in the “scheduled posts” view, a dialogue shows something along the lines of “moments to go” to the publish time, despite that time already being passed.Is there a service I can restart or something to get it working again?Thanks in advance for any advice.
(DIR) Post #AM4GFLFDMmSYS1133o by feld@bikeshed.party
2022-08-01T00:49:51.865501Z
0 likes, 0 repeats
Curious and willing to help debug if this is an issue. Am familiar with Oban
(DIR) Post #AM5YQ4K0cLQdU6U0ps by Stan@blimey.social
2022-08-01T09:09:07.455628Z
0 likes, 0 repeats
After refreshing the page, the posts are still there with “moments remaining”.What should I check to see what’s going on with Oban? Is there a way to restart Oban..?
(DIR) Post #AM5YQ4sOYUvzCkZTQu by feld@bikeshed.party
2022-08-01T15:48:11.594609Z
0 likes, 0 repeats
Oban is an internal process within the Elixir application.You have two options to pull out some useful info:1. connect to the remote iex console (elixir) and run some Oban functions to scrape out the records in the :scheduled_activities queue2. connect to the Postgres database and query the Oban table to find the scheduled_activities entries that are still activeBoth should be able to provide you with a log of what happened / what the state is as it is stored in the row with the job.If you're not familiar with Elixir and know just enough to connect to the database we can probably walk you through that
(DIR) Post #AM7aRN6teHNFrHsujw by Stan@blimey.social
2022-08-02T14:22:27.132225Z
0 likes, 0 repeats
I will definitely need some help to get through that. Unfortunately, I’m an absolute novice and am still amazed on a daily basis that my instance is up and running 😂