Summary
Upgrade fails from v1.7.2 to v1.8.0 due to migration errors that spam the log with messages such as {"timestamp":"2025-05-15 05:51:34.350 Z","level":"warn","msg":"Failed to apply upgrade function","caller":"app/plugin_api.go:1014","plugin_id":"com.github.matterpoll.matterpoll","poll_id":"poll_xxx","error":"Failed to get post for migration: GetSinglePost: Unable to get the post."}
Steps to reproduce
Steps to reproduce the behavior:
- Upgrade plugin from v1.7.2 to v1.8.0 by replacing archive in folder
prepackaged_plugins.
Expected behavior
Upgrade with migration succeeds.
Observed behavior (that appears unintentional)
Service went down due to failing plugin migrations. Log contains messages such as:
{"timestamp":"2025-05-15 05:51:34.350 Z","level":"warn","msg":"Failed to apply upgrade function","caller":"app/plugin_api.go:1014","plugin_id":"com.github.matterpoll.matterpoll","poll_id":"poll_xxx","error":"Failed to get post for migration: GetSinglePost: Unable to get the post."}
Server configuration
Operating system:
Ubuntu 24.04.1 LTS
Mattermost version:
10.6.1
Matterpoll version:
1.8.0
Updated from an older Matterpoll version or fresh install:
Mattermost server logs
{"timestamp":"2025-05-15 05:51:34.350 Z","level":"warn","msg":"Failed to apply upgrade function","caller":"app/plugin_api.go:1014","plugin_id":"com.github.matterpoll.matterpoll","poll_id":"poll_xxx","error":"Failed to get post for migration: GetSinglePost: Unable to get the post."}
Summary
Upgrade fails from v1.7.2 to v1.8.0 due to migration errors that spam the log with messages such as
{"timestamp":"2025-05-15 05:51:34.350 Z","level":"warn","msg":"Failed to apply upgrade function","caller":"app/plugin_api.go:1014","plugin_id":"com.github.matterpoll.matterpoll","poll_id":"poll_xxx","error":"Failed to get post for migration: GetSinglePost: Unable to get the post."}Steps to reproduce
Steps to reproduce the behavior:
prepackaged_plugins.Expected behavior
Upgrade with migration succeeds.
Observed behavior (that appears unintentional)
Service went down due to failing plugin migrations. Log contains messages such as:
{"timestamp":"2025-05-15 05:51:34.350 Z","level":"warn","msg":"Failed to apply upgrade function","caller":"app/plugin_api.go:1014","plugin_id":"com.github.matterpoll.matterpoll","poll_id":"poll_xxx","error":"Failed to get post for migration: GetSinglePost: Unable to get the post."}Server configuration
Operating system:
Ubuntu 24.04.1 LTS
Mattermost version:
10.6.1
Matterpoll version:
1.8.0
Updated from an older Matterpoll version or fresh install:
Mattermost server logs
{"timestamp":"2025-05-15 05:51:34.350 Z","level":"warn","msg":"Failed to apply upgrade function","caller":"app/plugin_api.go:1014","plugin_id":"com.github.matterpoll.matterpoll","poll_id":"poll_xxx","error":"Failed to get post for migration: GetSinglePost: Unable to get the post."}