Users are experiencing deprecation notices in their error logs related to outdated site settings, such as SiteSetting.enable_personal_messages and SiteSetting.secure_media, which are being replaced in Discourse 3.0. Andro is concerned about the volume of these messages, which obscure other important logs like mail bounces. RGJ explains that these notices stem from plugins, particularly the docker_manager plugin, and advises contacting plugin authors for updates. Falco notes that deprecation notices are primarily for developers, while hiddenseal reassures that docker_manager can be safely disabled. Jonathan5 suggests checking if old settings were not properly converted during upgrades. Richie confirms that even on Discourse 3.0, these warnings persist and asks for guidance on identifying the source plugin. The discussion highlights the need for better suppression options or resolution of these messages, especially for non-developers.
Our error log consists mostly of dozens of messages similar to this:
Deprecation notice: SiteSetting.enable_personal_messages has been deprecated. Please use SiteSetting.personal_message_enabled_groups instead. (removal in Discourse 3.0)
At /var/www/discourse/lib/site_setting_extension.rb:211:in public_send
Are these going to go away? Do we have to wait until the formal 3.0.0 to see the end of them? Maybe I have missed something but I don’t see any way to update these settings according to the messages.
These notices are caused by plugins. They’re not going to go away, the plugins are going to stop working / break your install at some point in time instead.
So you should find out which plugin is causing these notices and contact the plugin author and ask them to update the plugin.
Maybe you started with an ancient version of Discourse and somehow on upgrades the old setting was never converted to the new. This is just a wild guess. What’s your value for personal message enabled groups?
Yes but all I see in the Error Lo g is dozens or repetitions of these messages, and it’s very hard to find what I want. for example, mail bounce log items. I see I am not alone - others have this same issue.
Why can’t they be removed/fixed? Everyone on this forum is fantastically helpful, don’t get me wrong, but this is not at all resolved. I still do not understand where I start to troubleshoot this. I am not a Ruby on Rails developer, so I don’t know.
What is site_setting_extension.rb? Thank you for your patience.
Deprecation notice: SiteSetting.secure_media has been deprecated. Please use SiteSetting.secure_uploads instead. (removal in Discourse 3.0) At /var/www/discourse/lib/site_setting_extension.rb:211
Any suggestions on how to work out which plugin is causing these warnings?