mfc
(Stephane)
August 10, 2019, 9:10am
1
Hello
I’m new in this forum.
We have moved a week ago a productive phpbb forum to discourse.
I have to say, this discourse wonderfull… Everithing went well.
There is just une littel point what worries me.
Sidekiq reports…
Jobs::UserEmail
{"type"=>"user_private_message", "user_id"=>xxxx, "notification_id"=>yyyyy, "notification_data_hash"=>{"topic_title"=>"aaaa", "original_post_id"=>zzzz, "original_post_type"=>1, "original_username"=>"uuuu", "revision_number"=>nil, "display_username"=>"uuuu"}, "notification_type"=>"private_message", "post_id"=>pppp, "current_site_id"=>"default"}
Jobs::HandledExceptionWrapper: Wrapped NoMethodError: **undefined method `with_view_paths'** for UserNotifications::UserNotificationRenderer:Class Did you mean? with_options
I didn’t find any advice about UserNotificationRenderer except
DEV: Add support for Rails 6 Minor fixes to add Rails 6 support to Discourse, we now will boot with RAILS_MASTER=1, all specs pass Only one tiny deprecation left Largest change was the way ActiveModel:Errors changed interface a bit but there is a...
Reading time: 1 mins 🕑
Likes: 2 ❤
And affected file in
app/mailers/user_notifications.rb
For me it looks like notifications or messages are not going out…
Can anybody advice how to fix this ?
For info we have v2.4.0.beta2 + 183 installed, based on docker container…
Many thanks.
Stephane
pfaffman
(Jay Pfaffman)
August 10, 2019, 11:54am
2
Are you using any nonstandard plugins?
mfc
(Stephane)
August 10, 2019, 12:15pm
3
I don’t think so. All from discourse.
Here what we use
discourse-email-all
discourse-events
discourse-sidebar-categories
discourse-sitemap
docker_manager
jaron
(Jaron Easterbrook)
August 11, 2019, 8:30pm
4
I was running into the same error, but was able to fix it:
I upgraded Ubuntu to the latest release (still had the error).
I rebuilt the app (sudo ./launcher rebuild app) which fixed things. I’m running the latest release so otherwise would have tried upgrading instead of rebuilding.
mfc
(Stephane)
August 11, 2019, 8:57pm
5
Many thanks we will try.
We run Ubuntu 18.04.
Regarding discourse what is you version now ?
mfc
(Stephane)
August 11, 2019, 9:58pm
6
Ok, after rebuild it looks ok. Many thanks for the tip.
1 Like
system
(system)
Closed
September 10, 2019, 9:59pm
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.