- 🐛 Fixed post scheduling for sites with transferred ownership (#17075) - Chris Raible
View the changelog for full details: v5.52.1...v5.52.2
🌐 Help us translate Ghost + Portal: https://forum.ghost.org/t/help-translate-ghost-beta/37461
Tag Name: v5.52.2
Release Date: 6/21/2023
GhostOpen-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.
This patch release addresses an important issue where scheduled posts would fail to publish on Ghost sites where ownership had been transferred from the original admin. The bug occurred because the post scheduler was attempting to run operations as user_id = 1 (the original owner), which could cause database foreign key constraint failures if that user no longer existed. This fix ensures scheduled posts will publish correctly regardless of site ownership changes.
No migration steps are required for this patch release. The fix is automatically applied when updating to v5.52.2.
This patch release is highly recommended for all Ghost sites where:
The update is a standard patch release with minimal risk. We recommend all Ghost installations update to v5.52.2 to ensure reliable operation of the post scheduling system.
This release fixes a critical bug in the post scheduling system that affected sites where ownership had been transferred from the original admin:
post_revisions table that occurred when the scheduler tried to update posts using user_id = 1 (the original owner) who may no longer existThis fix addresses Ghost issue #3494.
No new features were added in this patch release.
No security fixes were included in this patch release.
No specific performance improvements were included in this patch release.
This patch release fixes a specific but critical bug in Ghost's post scheduling system that affected sites with transferred ownership. The impact is significant for sites that have changed ownership from the original admin (user_id = 1) and rely on scheduled posts.
Before this fix, scheduled posts would fail to publish on affected sites due to database foreign key constraint failures. This occurred because the scheduler was attempting to run as the original owner who might no longer exist in the system.
The fix ensures that the post scheduler will always use a valid user context, falling back to the current site owner if needed. This makes the scheduling system more resilient to administrative changes and ensures content publishing workflows remain reliable regardless of site ownership history.
This update requires no configuration changes or migration steps and should be applied to all Ghost installations to ensure proper functionality of the scheduling system.
View the changelog for full details: v5.52.1...v5.52.2
🌐 Help us translate Ghost + Portal: https://forum.ghost.org/t/help-translate-ghost-beta/37461