-
Notifications
You must be signed in to change notification settings - Fork 44
Command with a trigger /remind not found #115
Comments
@scottleedavis hey, tks. The version with quote still doesn't work, as below. Could you check. One thing I recognized though, if I disable the plugin then re-enable it, it works for a while, then crash again |
@tungle could you share the logs when this happens? Also what server and os are you running? |
I am currently not able to repro given this information, on 5.11 & v0.3.1. Trying to see what might be going on. |
HI @scottleedavis, sorry for late rep. Plugin version: 0.1.9. |
Try version 0.3.1 and we will go from there? |
HI @scottleedavis, I have the same problem. Plugin version: 0.3.1.
|
@jkvd17 & @tungle It has logging in the OnActivate function, you should see
if anything is missing that will help to identify where the issue might be. |
Well, on Monday I'll try this version. |
Install https://github.com/scottleedavis/mattermost-plugin-remind/releases/tag/v0.3.1.issue_115
|
@tungle is your mattermost install's siteURL set? |
@jkvd17 I setup a vmware + ubuntu 18.04 + mattermost 5.11 install, and could not replicate your error. Another mattermost user in the community developers channel had this exact same error. I am still trying to replicate it. |
@scottleedavis after upgrading to version 0.3.1 it's all good for me now. Thanks |
@jkvd17 I am sorry this isn't working. On recommendation, I setup logging not through the plugin API to see what is going wrong. Could you try this logging version just updated please? you should see output like
|
@scottleedavis, thanks, i install ver. 0.3.2. Send logs on Thursday. |
posted by @sapnasivakumar a place of 'where' seems determined. curious to know if it is the same place/fix for yours @jkvd17 . |
also, do you have a siteURL set in config? |
@scottleedavis, siteURL is not set in config. {"level":"info","ts":1560409260.6738114,"caller":"go-plugin/stream.go:15","msg":"REMIND: OnConfigurationChange","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind","source":"plugin_stdout"} {"level":"info","ts":1560409260.6740112,"caller":"go-plugin/stream.go:15","msg":"REMIND: GetConfig","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind","source":"plugin_stdout"} {"level":"error","ts":1560409260.6850522,"caller":"mlog/log.go:172","msg":"RPC call to OnActivate plugin failed.","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind","error":"unexpected EOF"} {"level":"error","ts":1560409260.697891,"caller":"mlog/log.go:172","msg":"RPC call OnConfigurationChange to plugin failed.","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind","error":"connection is shut down"} {"level":"error","ts":1560409260.7317314,"caller":"mlog/log.go:172","msg":"RPC call OnConfigurationChange to plugin failed.","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind","error":"connection is shut down"} {"level":"info","ts":1560409332.9870844,"caller":"scheduler/worker.go:78","msg":"Worker: Job is complete","worker":"Plugins","job_id":"i73ojwhnmbnkjxbgibnqxe53ar"} {"level":"info","ts":1560409393.1111243,"caller":"scheduler/worker.go:78","msg":"Worker: Job is complete","worker":"Plugins","job_id":"qpza4w66htd7ip8dxiwi8hcaar"} {"level":"error","ts":1560409412.7433195,"caller":"mlog/log.go:172","msg":"RPC call OnDeactivate to plugin failed.","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind","error":"connection is shut down"} {"level":"warn","ts":1560409412.744432,"caller":"plugin/hclog_adapter.go:50","msg":"error closing client during Kill","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind","wrapped_extras":"errconnection is shut down"} {"level":"debug","ts":1560409426.8141391,"caller":"jobs/schedulers.go:167","msg":"Next run time for scheduler PluginsScheduler: 2019-06-13 07:04:46.8141175 +0000 UTC m=+57162.458044101"} {"level":"debug","ts":1560409433.2626,"caller":"web/handlers.go:58","msg":"POST - /api/v4/users/status/ids"} {"level":"debug","ts":1560409433.4025016,"caller":"web/handlers.go:58","msg":"POST - /api/v4/users/status/ids"} {"level":"debug","ts":1560409437.288321,"caller":"web/handlers.go:58","msg":"POST - /api/v4/users/status/ids"} {"level":"debug","ts":1560409437.5511773,"caller":"web/handlers.go:58","msg":"POST - /api/v4/users/status/ids"} {"level":"debug","ts":1560409441.4790287,"caller":"web/handlers.go:58","msg":"POST - /api/v4/users/status/ids"} {"level":"debug","ts":1560409441.6975455,"caller":"web/handlers.go:58","msg":"GET - /api/v4/plugins/statuses"} {"level":"debug","ts":1560409447.0613053,"caller":"web/handlers.go:58","msg":"POST - /api/v4/plugins/com.github.scottleedavis.mattermost-plugin-remind/enable"} {"level":"debug","ts":1560409447.0694468,"caller":"jobs/schedulers.go:185","msg":"Schedulers received config change."} {"level":"debug","ts":1560409447.0738382,"caller":"jobs/schedulers.go:167","msg":"Next run time for scheduler MigrationsScheduler: "} {"level":"debug","ts":1560409447.0812418,"caller":"plugin/hclog_adapter.go:32","msg":"starting plugin","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind","wrapped_extras":"pathplugins/com.github.scottleedavis.mattermost-plugin-remind/server/dist/plugin-linux-amd64args[plugins/com.github.scottleedavis.mattermost-plugin-remind/server/dist/plugin-linux-amd64]"} {"level":"debug","ts":1560409447.0819569,"caller":"plugin/hclog_adapter.go:32","msg":"plugin started","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind","wrapped_extras":"pathplugins/com.github.scottleedavis.mattermost-plugin-remind/server/dist/plugin-linux-amd64pid2524"} {"level":"debug","ts":1560409447.0820363,"caller":"plugin/hclog_adapter.go:32","msg":"waiting for RPC address","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind","wrapped_extras":"pathplugins/com.github.scottleedavis.mattermost-plugin-remind/server/dist/plugin-linux-amd64"} {"level":"debug","ts":1560409447.09816,"caller":"plugin/hclog_adapter.go:32","msg":"plugin address","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind","wrapped_extras":"address/tmp/plugin165932939networkunixtimestamp2019-06-13T07:04:07.097Z"} {"level":"debug","ts":1560409447.0984712,"caller":"plugin/hclog_adapter.go:32","msg":"using plugin","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind","wrapped_extras":"version1"} {"level":"debug","ts":1560409447.1145725,"caller":"plugin/hclog_adapter.go:34","msg":"panic: runtime error: invalid memory address or nil pointer dereference","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind"} {"level":"debug","ts":1560409447.1150777,"caller":"plugin/hclog_adapter.go:34","msg":"[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x9e3b10]","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind"} {"level":"debug","ts":1560409447.1151795,"caller":"plugin/hclog_adapter.go:34","msg":"","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind"} {"level":"debug","ts":1560409447.115458,"caller":"plugin/hclog_adapter.go:34","msg":"goroutine 16 [running]:","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind"} {"level":"debug","ts":1560409447.115887,"caller":"plugin/hclog_adapter.go:34","msg":"main.(*Plugin).OnConfigurationChange(0xc0001925a0, 0xbb6b40, 0xc0001925a0)","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind"} {"level":"debug","ts":1560409447.1193955,"caller":"plugin/hclog_adapter.go:34","msg":"\t/Users/scottd/go/src/github.com/scottleedavis/mattermost-plugin-remind/server/activate.go:85 +0xe0","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind"} {"level":"debug","ts":1560409447.1201222,"caller":"plugin/hclog_adapter.go:34","msg":"github.com/mattermost/mattermost-server/plugin.(*hooksRPCServer).OnActivate(0xc00000da60, 0xc000023740, 0xc000236100, 0x0, 0x0)","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind"} {"level":"debug","ts":1560409447.1206057,"caller":"plugin/hclog_adapter.go:34","msg":"\t/Users/scottd/go/pkg/mod/github.com/mattermost/mattermost-server@v5.11.0+incompatible/plugin/client_rpc.go:207 +0x204","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind"} {"level":"debug","ts":1560409447.1218839,"caller":"plugin/hclog_adapter.go:34","msg":"reflect.Value.call(0xc000224300, 0xc00000eae8, 0x13, 0xbba9f1, 0x4, 0xc00007df18, 0x3, 0x3, 0xc000195d00, 0xc0001a28e8, ...)","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind"} {"level":"debug","ts":1560409447.122331,"caller":"plugin/hclog_adapter.go:34","msg":"\t/usr/local/Cellar/go/1.12.5/libexec/src/reflect/value.go:447 +0x461","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind"} {"level":"debug","ts":1560409447.1233773,"caller":"plugin/hclog_adapter.go:34","msg":"reflect.Value.Call(0xc000224300, 0xc00000eae8, 0x13, 0xc000041f18, 0x3, 0x3, 0xc0001a28c0, 0xc000041f10, 0xc000041fb8)","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind"} {"level":"debug","ts":1560409447.1238024,"caller":"plugin/hclog_adapter.go:34","msg":"\t/usr/local/Cellar/go/1.12.5/libexec/src/reflect/value.go:308 +0xa4","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind"} {"level":"debug","ts":1560409447.1249628,"caller":"plugin/hclog_adapter.go:34","msg":"net/rpc.(*service).call(0xc000195f40, 0xc000088d20, 0xc0000235c0, 0xc0000235d0, 0xc0000dae80, 0xc0002265e0, 0xa7ca20, 0xc000023740, 0x16, 0xa7ca60, ...)","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind"} {"level":"debug","ts":1560409447.125371,"caller":"plugin/hclog_adapter.go:34","msg":"\t/usr/local/Cellar/go/1.12.5/libexec/src/net/rpc/server.go:384 +0x14e","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind"} {"level":"debug","ts":1560409447.1255937,"caller":"plugin/hclog_adapter.go:34","msg":"created by net/rpc.(*Server).ServeCodec","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind"} {"level":"debug","ts":1560409447.1259785,"caller":"plugin/hclog_adapter.go:34","msg":"\t/usr/local/Cellar/go/1.12.5/libexec/src/net/rpc/server.go:481 +0x42b","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind"} {"level":"error","ts":1560409447.1309047,"caller":"mlog/log.go:172","msg":"RPC call to OnActivate plugin failed.","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind","error":"unexpected EOF"} {"level":"error","ts":1560409447.1352947,"caller":"mlog/log.go:172","msg":"RPC call OnConfigurationChange to plugin failed.","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind","error":"connection is shut down"} {"level":"debug","ts":1560409447.13606,"caller":"jobs/workers.go:108","msg":"Workers received config change."} {"level":"debug","ts":1560409447.1394982,"caller":"plugin/hclog_adapter.go:32","msg":"plugin process exited","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind","wrapped_extras":"pathplugins/com.github.scottleedavis.mattermost-plugin-remind/server/dist/plugin-linux-amd64pid2524errorexit status 2"} {"level":"debug","ts":1560409447.1689384,"caller":"jobs/workers.go:108","msg":"Workers received config change."} {"level":"error","ts":1560409447.178536,"caller":"mlog/log.go:172","msg":"RPC call OnConfigurationChange to plugin failed.","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind","error":"connection is shut down"} {"level":"debug","ts":1560409447.180897,"caller":"jobs/schedulers.go:185","msg":"Schedulers received config change."} {"level":"debug","ts":1560409447.3104737,"caller":"jobs/schedulers.go:167","msg":"Next run time for scheduler PluginsScheduler: 2019-06-13 07:05:07.3104527 +0000 UTC m=+57182.954379401"} {"level":"debug","ts":1560409447.31318,"caller":"jobs/schedulers.go:167","msg":"Next run time for scheduler MigrationsScheduler: "} {"level":"debug","ts":1560409447.5364702,"caller":"jobs/schedulers.go:167","msg":"Next run time for scheduler PluginsScheduler: 2019-06-13 07:05:07.5364503 +0000 UTC m=+57183.180377001"} {"level":"debug","ts":1560409456.0820568,"caller":"web/handlers.go:58","msg":"POST - /api/v4/users/status/ids"} {"level":"debug","ts":1560409462.6429138,"caller":"web/handlers.go:58","msg":"POST - /api/v4/users/status/ids"} {"level":"debug","ts":1560409469.0002484,"caller":"web/handlers.go:58","msg":"POST - /api/v4/users/status/ids"} {"level":"debug","ts":1560409469.10974,"caller":"web/handlers.go:58","msg":"POST - /api/v4/users/status/ids"} {"level":"debug","ts":1560409474.342725,"caller":"web/handlers.go:58","msg":"PUT - /api/v4/config"} {"level":"debug","ts":1560409474.3605459,"caller":"jobs/schedulers.go:185","msg":"Schedulers received config change."} {"level":"error","ts":1560409474.3672292,"caller":"mlog/log.go:172","msg":"RPC call OnConfigurationChange to plugin failed.","plugin_id":"com.github.scottleedavis.mattermost-plugin-remind","error":"connection is shut down"} {"level":"debug","ts":1560409474.3677678,"caller":"jobs/workers.go:108","msg":"Workers received config change."} {"level":"debug","ts":1560409474.3782322,"caller":"jobs/schedulers.go:167","msg":"Next run time for scheduler MigrationsScheduler: "} {"level":"debug","ts":1560409474.6205635,"caller":"jobs/schedulers.go:167","msg":"Next run time for scheduler PluginsScheduler: 2019-06-13 07:05:34.6205207 +0000 UTC m=+57210.264447401"} {"level":"debug","ts":1560409480.5409012,"caller":"web/handlers.go:58","msg":"POST - /api/v4/users/status/ids"} {"level":"debug","ts":1560409482.8705063,"caller":"web/handlers.go:58","msg":"POST - /api/v4/users/status/ids"} |
@jkvd17 SiteURL must be set for the remind plugin to work. Thank you for sharing logs! |
@jkvd17 https://github.com/scottleedavis/mattermost-plugin-remind/releases/tag/v0.3.3 blocks plugin activation if no siteURL exists. This was the cause of the error. |
@scottleedavis, thanks. Plugin work with SiteURL set. |
Reposting for @tungle
Hi, suddenly I got this error "Command with a trigger /remind not found". What just happened? (I can still remind myself though, like "/remind me ...." )
The text was updated successfully, but these errors were encountered: