Skip to content

Some plugins are disabled after service restart and need to be re-enabled #1472

@brocaar

Description

@brocaar

Describe the bug

Answer does not store plugin status. I have upgraded from v1.6.0 to v1.7.1 and added two additional plugins (Quicklinks + Code Highlight). When I enable these plugins, they work fine, however when restarting the Answer service, these two plugins are disabled again and I have to re-enable them. The other plugins do stay enabled.

Image

To Reproduce

  • I previously I had v1.6.0 installed with the above plugins minus Quicklinks and Code Highlight
  • I built v1.7.1 with all the above plugins
  • I stopped the Answer service, copied the new binary to the server, ran the upgrade command and re-started the service
  • The new Quicklinks + Code Highlight plugins were disabled by default and I enabled them
  • I configured the Quicklinks plugin and verified that both plugins are working properly
  • After restarting the Apache answer service both plugins are disabled
  • After re-enabling them, they still have the correct config.

Expected behavior

Answer should maintain the plugin state after a server / service restart.

Platform

  • Linux AMD64
  • Version v1.7.1
  • PostgreSQL v17

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions