We're Hiring!

Mattermost, Inc.

Community plugins do not work - siteURL is not set

Summary
Community plugins do not work

In this case for both Zoom and Matterpoll I have the same problem that the site URL is not set → “siteURL is not set. Please set a siteURL and restart the plugin”

MM version
5.35.0
MM is deployed on CentOS RHEL 8

Server logs
{“level”:“error”,“ts”:1621178706.8526454,“caller”:“go-plugin@v1.4.0/stream.go:15”,“msg”:" call to OnConfigurationChange failed, error: could not register site URL: could not fetch siteURL",“plugin_id”:“zoom”,“source”:“plugin_stderr”}
{“level”:“error”,“ts”:1621178706.8720345,“caller”:“mlog/log.go:247”,“msg”:“Unable to activate plugin”,“plugin_id”:“zoom”,“error”:“please configure APIKey”}
{“level”:“error”,“ts”:1621178706.8721318,“caller”:“mlog/log.go:247”,“msg”:“Unable to activate plugin”,“plugin_id”:“com.github.matterpoll.matterpoll”,“error”:“siteURL is not set. Please set a siteURL and restart the plugin”}
{“level”:“error”,“ts”:1621178706.992551,“caller”:“mlog/log.go:247”,“msg”:“Unable to activate plugin”,“plugin_id”:“com.github.matterpoll.matterpoll”,“error”:“siteURL is not set. Please set a siteURL and restart the plugin”}
{“level”:“error”,“ts”:1621178707.053352,“caller”:“go-plugin@v1.4.0/stream.go:15”,“msg”:" call to OnConfigurationChange failed, error: could not register site URL: could not fetch siteURL",“plugin_id”:“zoom”,“source”:“plugin_stderr”}
{“level”:“error”,“ts”:1621178707.0552769,“caller”:“mlog/log.go:247”,“msg”:“Unable to activate plugin”,“plugin_id”:“zoom”,“error”:“please configure APIKey”}
{“level”:“warn”,“ts”:1621178834.6215527,“caller”:“api4/config.go:335”,“msg”:“Unrecognized config permissions tag value.”,“tag_value”:“sysconsole_write_*_read”}
{“level”:“error”,“ts”:1621178834.6602573,“caller”:“go-plugin@v1.4.0/stream.go:15”,“msg”:" call to OnConfigurationChange failed, error: could not register site URL: could not fetch siteURL",“plugin_id”:“zoom”,“source”:“plugin_stderr”}
{“level”:“error”,“ts”:1621178834.6616764,“caller”:“mlog/log.go:247”,“msg”:“Unable to activate plugin”,“plugin_id”:“zoom”,“error”:“please configure APIKey”}
{“level”:“error”,“ts”:1621178834.6853263,“caller”:“mlog/log.go:247”,“msg”:“Unable to activate plugin”,“plugin_id”:“com.github.matterpoll.matterpoll”,“error”:“siteURL is not set. Please set a siteURL and restart the plugin”}
{“level”:“error”,“ts”:1621178834.765878,“caller”:“go-plugin@v1.4.0/stream.go:15”,“msg”:" call to OnConfigurationChange failed, error: could not register site URL: could not fetch siteURL",“plugin_id”:“zoom”,“source”:“plugin_stderr”}
{“level”:“error”,“ts”:1621178834.7697625,“caller”:“mlog/log.go:247”,“msg”:“Unable to activate plugin”,“plugin_id”:“zoom”,“error”:“please configure APIKey”}
{“level”:“error”,“ts”:1621178834.7814186,“caller”:“mlog/log.go:247”,“msg”:“Unable to activate plugin”,“plugin_id”:“com.github.matterpoll.matterpoll”,“error”:“siteURL is not set. Please set a siteURL and restart the plugin”}

Hi, @Anton .

While the error that is being displayed on mattermost.log shows that there is an issue with the Mattermost Server’s SiteURL, can you please confirm if you have actually set a value for that either through the System Console > Environment > Web Server or config.json?

Once we get that ironed out, can you please configure the plugins (for example, Zoom here), save the config, and see if you are still facing the same issue after that?

1 Like

Hi @ahmaddanial,

Thanks a lot for your reply.
Indeed I had to explicitly write my site URL in the System Console > Environment > Web Server.

Now works fine!

1 Like

Hello, @Anton

You are most welcome. Any time!