YunoHost-Apps / discourse_ynh

Discourse package for YunoHost
https://www.discourse.org/
GNU General Public License v2.0
24 stars 11 forks source link

Internal server error when trying to use official Shared Edits plugin #151

Open mxmilkiib opened 1 year ago

mxmilkiib commented 1 year ago

Describe the bug

When I enable the Shared Edits and then try to use it, I get an Internal Server Error

https://meta.discourse.org/t/enable-shared-edits-gives-internal-server-error-message/266281/3

Context

Logs

ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR:  relation "shared_edit_revisions" does not exist
LINE 8:  WHERE a.attrelid = '"shared_edit_revisions"'::regclass
                            ^
)
app/controllers/application_controller.rb:387:in `block in with_resolved_locale'
app/controllers/application_controller.rb:387:in `with_resolved_locale'
lib/middleware/omniauth_bypass_middleware.rb:71:in `call'
lib/content_security_policy/middleware.rb:12:in `call'
lib/middleware/anonymous_cache.rb:361:in `call'
config/initializers/100-quiet_logger.rb:23:in `call'
config/initializers/100-silence_logger.rb:31:in `call'
lib/middleware/enforce_hostname.rb:23:in `call'
lib/middleware/request_tracker.rb:198:in `call'

Failed to handle exception in exception app middleware : PG::UndefinedTable: ERROR:  relation "shared_edit_revisions" does not exist
LINE 8:  WHERE a.attrelid = '"shared_edit_revisions"'::regclass

P.S. is there not a ./launcher available, like apparently with the default Discourse install?