Hi!
First, thanks for take the time to answer me
Here’s what happens in the logs when I try to add the user using the command line:
{"level":"info","ts":1587660811.8833458,"caller":"utils/i18n.go:83","msg":"Loaded system translations","for locale":"en","from locale":"/srv/mattermost/i18n/en.json"}
{"level":"info","ts":1587660811.8959937,"caller":"app/server_app_adapters.go:58","msg":"Server is initializing..."}
{"level":"debug","ts":1587660811.8960571,"caller":"utils/html.go:30","msg":"Parsing server templates","templates_directory":"/srv/mattermost/templates"}
{"level":"info","ts":1587660811.8976185,"caller":"sqlstore/supplier.go:224","msg":"Pinging SQL","database":"master"}
{"level":"debug","ts":1587660811.954607,"caller":"sqlstore/preference_store.go:41","msg":"Deleting any unused pre-release features"}
{"level":"debug","ts":1587660812.22013,"caller":"filesstore/s3store.go:82","msg":"Connection to S3 or minio is good. Bucket exists."}
{"level":"info","ts":1587660812.2241628,"caller":"mlog/log.go:167","msg":"Starting up plugins"}
{"level":"info","ts":1587660812.224219,"caller":"app/plugin.go:202","msg":"Syncing plugins from the file store"}
{"level":"debug","ts":1587660812.2402098,"caller":"plugin/environment.go:506","msg":"Enabling plugin health check job","interval_s":30}
{"level":"info","ts":1587660812.2402604,"caller":"app/server.go:252","msg":"Current version is 5.22.0 (nixpkgs-5.22.0///)","current_version":"5.22.0","build_number":"nixpkgs-5.22.0","build_date":"","build_hash":"","build_hash_enterprise":""}
{"level":"info","ts":1587660812.240295,"caller":"app/server.go:263","msg":"Team Edition Build","enterprise_build":false}
{"level":"info","ts":1587660812.2403145,"caller":"app/server.go:267","msg":"Printing current working","directory":"/srv/mattermost"}
{"level":"info","ts":1587660812.2403274,"caller":"app/server.go:268","msg":"Loaded config","source":"postgres://mattermost:@localhost:5432/mattermost?sslmode=disable&connect_timeout=10"}
{"level":"debug","ts":1587660812.2403467,"caller":"plugin/health_check.go:31","msg":"Plugin health check job starting."}
{"level":"info","ts":1587660812.3798344,"caller":"sqlstore/post_store.go:1518","msg":"Post.Message has size restrictions","max_characters":4000,"max_bytes":0}
{"level":"debug","ts":1587660812.4565775,"caller":"jobs/schedulers.go:30","msg":"Initialising schedulers."}
Unable to add 'user@example.org to team-name
{"level":"info","ts":1587660812.463866,"caller":"app/server.go:399","msg":"Stopping Server..."}
{"level":"info","ts":1587660812.4639013,"caller":"app/web_hub.go:130","msg":"stopping websocket hub connections"}
{"level":"warn","ts":1587660812.4639175,"caller":"app/web_hub.go:135","msg":"We appear to have already sent the stop checking for deadlocks command"}
{"level":"info","ts":1587660812.4641974,"caller":"app/plugin.go:279","msg":"Shutting down plugins"}
{"level":"info","ts":1587660812.464493,"caller":"app/server.go:450","msg":"Server stopped"}
And with the API:
Apr 23 18:56:07 duck hmdhx8x473fi3fvivb84dps7nfsz7bs4-unit-script-mattermost-start[10708]: {"level":"debug","ts":1587660967.5912883,"caller":"web/handlers.go:85","msg":"Received HTTP request","method":"POST","url":"/api/v4/users/status/ids","request_id":"j1qqifgyp7ni5x7qpjtf3texzr"}
Apr 23 18:56:10 duck hmdhx8x473fi3fvivb84dps7nfsz7bs4-unit-script-mattermost-start[10708]: {"level":"debug","ts":1587660970.6370542,"caller":"web/handlers.go:85","msg":"Received HTTP request","method":"POST","url":"/api/v4/teams/***team_id***/members","request_id":"3hzg4hz94iyxfn151z77p1y4ge"}
Apr 23 18:56:10 duck hmdhx8x473fi3fvivb84dps7nfsz7bs4-unit-script-mattermost-start[10708]: {"level":"error","ts":1587660970.642299,"caller":"mlog/log.go:175","msg":"Unable to save the team member.","path":"/api/v4/teams/**team_id***/members","request_id":"3hzg4hz94iyxfn151z77p1y4ge","ip_addr":"::1","user_id":"***user_id***","method":"POST","err_where":"SqlTeamStore.SaveMember","http_code":500,"err_details":"team_id=***team_id***, user_id=***user_id***, pq: invalid input syntax for integer: \"true\""}
MaxUsersPerTeam
is 50, and we currently are 3 in the team.
Thanks again!