-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Scheduled Posts not working. #439
Comments
Is this the managed version of Postiz or self hosted? |
It's self-hosted with Coolify. Yesterday I tried rescheduling my posts to have unique individual timestamps like 11:40, 11:41, 11:42 and etc, but it didn't run, I can't seem to find the logs that it attempted to do so ("proceccsing" console.log) |
UPDATE: I decided to check all scheduled posts last night to see if they got registered in Redis, and the answer is yes. All of these IDs (bull:post:) below were supposed to run today at exactly 8:40 AM.
NOTE: Some of the posts above are scheduled to be "automatically" posted 2 - 3 days from now. Then I checked my social media channels right now to see if the scheduled posts got posted, but again, it didn't work; not a single post was made. I revisited the Redis instance to see if the keys are still present, they're all gone.
Also checked the logs to see if " Checked the DB, and one of the rows shows that the status is still in Queued, which is correct because obviously it hasn't been posted My hypothesis is that the keys that are being stored in Redis by BullMQ have some form of expiration and the expiration precedes the actual processing or posting event. OR it is being discarded due to an error? |
I also encountered a similar issue. After investigation, I found that I had started multiple services, and since all the services were connected to the same Redis, it caused the delayed tasks to seemingly be randomly pushed to one of the services. Due to a VPN issue with one of the services, the scheduled posts assigned to this service failed to send. The symptom was that the scheduled posts would randomly fail, and there were no corresponding logs on the other services. |
Mine's just using a single service but in some cases, I saw the logs from Redis where it states that the Redis instance went from Master to Slave and based on that I did this |
Found the problem. I got infected by the Kinsing malware. The bots scan open ports, typically targeting containerized Redis or other database ports, and exploit weaknesses in your security, such as missing authentication. I blindly copied and pasted the Docker Compose file from the docs page (moved too fast, I guess). I highly recommend that the team make the following changes to the documentation:
If anyone else has been infected, I recommend the following steps:
|
📜 Description
I scheduled multiple posts for all of my registered channels inside the app (IG, FB Page, Threads, Bluesky, and Pinterest) at 11:43 AM. I waited for the app to have it all posted, but it didn't happen.
👟 Reproduction steps
It seems like the problem stems from multiple posts with the same timestamp. In my case, it's 11:43 AM.
👍 Expected behavior
Have all items be posted.
👎 Actual Behavior with Screenshots
💻 Operating system
MacOS
🤖 Node Version
20
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: