User Jagster encountered a LoadError: cannot load such file -- topic_list_item_serializer during a Discourse upgrade in a single-container setup. Initial speculation pointed to the Microsoft Auth plugin or PostgreSQL updates, but pfaffman and merefield clarified the issue was unrelated to plugins or PostgreSQL. merefield identified the root cause as a recent breakage in the Topic List Previews Sidecar, a compatibility issue that had resurfaced after a long period of stability. After investigating, merefield confirmed the issue was resolved, and Jagster confirmed the fix worked after rebuilding. The discussion also briefly touched on Discourse’s handling of empty posts, referencing a meta topic where merefield noted the behavior was previously discussed. Jagster humorously acknowledged learning something new about quote formatting counting as empty posts. No plugin disabling was needed — the fix was applied upstream by merefield.
I just tried do upgraiding and it failed. Only errorlike I found was this:
I, [2024-08-13T05:52:05.670992 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
Plugin name is 'discourse-microsoft-auth', but plugin directory is named 'discourse-plugin-office365-auth'
rake aborted!
LoadError: cannot load such file -- topic_list_item_serializer (LoadError)
It has nothing to dp with auth-plugin, and I didn’t say so. It just happened been there. I didn’ bother clean it because I was so sure practically everyone knows that and see what was the real error.
Well, I was wrong.
I don’t know what causes that. But when rebuilding shows to me acts of postgres updatingwise, and error shows to that direction (well, I’m not a pro) and there is no another error, so?
I knew the whole empty topic thing was bad idea Well, seriously — I’ll move to waiting mode and there is no need for me to try disabling plugins, right?