mattermost-community / mattermost-plugin-custom-attributes

Mattermost plugin for adding custom attributes to users!
Apache License 2.0
46 stars 23 forks source link

Custom Attribute section is not visible #56

Closed sureshveernala closed 3 years ago

sureshveernala commented 4 years ago

After installing the custom attribute plugin, we enabling the plugin but can't see the custom attributes section.

marianunez commented 4 years ago

@sureshveernala the custom attribute section is not visible in the configuration screen in the System Console? What Mattermost version are you seeing this issue in?

aaronrothschild commented 4 years ago

@sureshveernala - Just curious, what solved this issue?

sureshveernala commented 4 years ago

@sureshveernala the custom attribute section is not visible in the configuration screen in the System Console? What Mattermost version are you seeing this issue in?

@marianunez version 5.23.1

sureshveernala commented 4 years ago

@sureshveernala - Just curious, what solved this issue?

Issue not resolved. I accidentally closed the issue.

marianunez commented 4 years ago

cc\ @catalintomai This seems to be the same as https://mattermost.atlassian.net/browse/MM-28871

catalintomai commented 4 years ago

cc\ @catalintomai This seems to be the same as https://mattermost.atlassian.net/browse/MM-28871

@sureshveernala - could not repro the issue on 5.27/5.28, can you help confirm? Thanks.

sureshveernala commented 4 years ago

@catalintomai I can't understand what you are asking. Can you ask more clearly?

nandeep12345 commented 4 years ago

@catalintomai @sureshveernala I am also facing the same issue.. I am getting the following error after enabling the plugin and I could not see custom attributes settings section

"msg":"Failed to notify cluster on plugin enable","error":"GetPluginStatus: Plugin is not installed., "

But when I checked config.json which Iam maintaining in database, it showing plugin as installed.

Can anyone help me. TIA

catalintomai commented 4 years ago

@catalintomai I can't understand what you are asking. Can you ask more clearly?

@sureshveernala, you were mentioning above that you are using MM version version 5.23.1. I was asking you if you can try testing the same on MM versions 5.27/5.28 (since I cannot repro it on these later versions).

catalintomai commented 4 years ago

@catalintomai @sureshveernala I am also facing the same issue.. I am getting the following error after enabling the plugin and I could not see custom attributes settings section

"msg":"Failed to notify cluster on plugin enable","error":"GetPluginStatus: Plugin is not installed., "

But when I checked config.json which Iam maintaining in database, it showing plugin as installed.

Can anyone help me. TIA

@nandeep12345, we would need more info wrt to your setup: which MM+plugin version+edition, environment, the exact steps (install+activation), more detailed logs, what steps have you tried to fix the issue (e.g. did you try removing the local plugin manually and reinstall, etc.)

deiansp commented 3 years ago

@sureshveernala @marianunez Same issue here.

Mattermost Version: 5.29.0  
Database Schema Version: 5.29.0  
Database: mysql  
Free edition, installed on our server, CentOS7
Custom User Attributes (com.mattermost.custom-attributes - 1.3.0)

During the installation everything went fine in Systems Console. No errors. When I try to add a new custom field - It's visible in the System Console and in config.json ↓ 553

But I receive this notice in the log when I click Save on the above screenshot:

{"level":"info","ts":1608122749.4361625,"caller":"go-plugin@v1.3.0/stream.go:15","msg":"2020/12/16 12:45:49 LoadPluginConfiguration API failed to unmarshal: json: cannot unmarshal string into Go struct field CustomAttribute.CustomAttributes.GroupIDs of type []string","plugin_id":"com.mattermost.custom-attributes","source":"plugin_stderr"}

And nothing is visible in users Account Settings: ↓ 554

marianunez commented 3 years ago

Hi @devact! Once you configure a custom field in the System Console, you should see it in the user popover as shown in the example here but not on the Account Settings.

Are you able to see your added attribute there?