Jagster
(Jakke Lehtonen)
13. August 2024 um 06:13
1
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)
Single container setup, nothing fancy.
Is this something I can do about it?
pfaffman
(Jay Pfaffman)
13. August 2024 um 06:57
2
You can try updating the url for the Microsoft plugin for starters, though I’d not think that it’ll cause/fix the error you describe.
Click the url you have now to get redirected to the new url.
1 „Gefällt mir“
Jagster
(Jakke Lehtonen)
13. August 2024 um 07:00
3
Well, I still trust plugin itself will fix it because the plugin and its old settings is the reason
But you are right, it has nothing to do with this issue and it pops up quite often.
My bet is it has something to do with pqsl, again, because it did something that could be updating something.
pfaffman
(Jay Pfaffman)
13. August 2024 um 07:02
4
There was a recent update to postgres, so if you have a two container setup you need to rebuild the data container.
Jagster
(Jakke Lehtonen)
13. August 2024 um 07:03
5
Oh, quote is counted as an empty message. I didn’t know that — everyday something new.
1 „Gefällt mir“
merefield
(Robert)
13. August 2024 um 07:07
6
Why would this have anything to do with an Auth plugin?
Are you sure it’s not related to another plugin you are installing?
btw, the file still exists, so it’s probably something to do with the way it is referenced:
# frozen_string_literal: true
class TopicListItemSerializer < ListableTopicSerializer
include TopicTagsMixin
attributes :views,
:like_count,
:has_summary,
:archetype,
:last_poster_username,
:category_id,
:op_like_count,
:pinned_globally,
:liked_post_numbers,
:featured_link,
:featured_link_root_domain,
:allowed_user_count,
:participant_groups
has_many :posters, serializer: TopicPosterSerializer, embed: :objects
This file has been truncated. show original
1 „Gefällt mir“
merefield
(Robert)
13. August 2024 um 07:12
7
yeah, that came up in that empty post feature request.
Ah! That’s a point. Sometimes on my forums, someone asks me where a certain sentence came from - and I quote the original post. Then I find that Discourse tells me that I must add at least one word, and I can’t send a pure quote. I don’t quite understand why.
Jagster
(Jakke Lehtonen)
13. August 2024 um 07:12
8
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?
1 „Gefällt mir“
Jagster
(Jakke Lehtonen)
13. August 2024 um 07:15
9
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?
merefield
(Robert)
13. August 2024 um 07:24
11
HOOOOLD the front page - I think this is a failure in Topic List Previews Sidecar.
Looks like after a long spell of compatibility, something just broke.
I’ll take a look.
1 „Gefällt mir“
merefield
(Robert)
13. August 2024 um 09:15
12
@Jagster this should be fixed now.
You can rebuild with the Topic List Previews Sidecar.
Jagster
(Jakke Lehtonen)
13. August 2024 um 10:28
13
Yeah, you did your magic and it worked. Thanks!
3 „Gefällt mir“
system
(system)
Geschlossen,
12. September 2024 um 10:28
14
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.