Hi @amy.blais,
I stopped the mattermost server, renamed the /data/emoji folder and dropped the Emoji Table in the Database ( I had dumped it before, so that I could recreate after testing). I started the server again, but not “Custom Emoji” Button. I stopped the server again, and created an empty /data/emoji/ folder with the correct rights and ownership. I started the server again, and no “Custom Emoji” Button. Meanwhile I checked the database and saw that the Emoji Table was reacreated after I had created the empty /data/emoji folder.
Unfortunately, renaming and recreating did not show any effect.
I restored the the old /data/emoji folder and imported the dropped Emoji table. Now everything is back to its old state.
Here the values of all config.json entries related to emojis:
cat /opt/myname_mattermost/config/config.json | grep -ie “emoji”
“EnableCustomEmoji”: true,
“EnableEmojiPicker”: true,
“RestrictCustomEmojiCreation”: “all”,
And, as requested, the start up log of the mattermost server in debug mode:
{“level”:“info”,“ts”:1549874189.3560343,“caller”:“app/app.go:237”,“msg”:“Server stopped”}
{“level”:“info”,“ts”:1549874411.3610606,“caller”:“utils/i18n.go:78”,“msg”:“Loaded system translations for ‘de’ from ‘/opt/hgbutze_mattermost/i18n/de.json’”}
{“level”:“info”,“ts”:1549874411.3611588,“caller”:“app/app.go:143”,“msg”:“Server is initializing…”}
{“level”:“debug”,“ts”:1549874411.361195,“caller”:“utils/html.go:30”,“msg”:“Parsing server templates at /opt/hgbutze_mattermost/templates”}
{“level”:“info”,“ts”:1549874411.362768,“caller”:“sqlstore/supplier.go:207”,“msg”:“Pinging SQL master database”}
{“level”:“debug”,“ts”:1549874411.3921201,“caller”:“sqlstore/preference_store.go:41”,“msg”:“Deleting any unused pre-release features”}
{“level”:“debug”,“ts”:1549874411.3945224,“caller”:“jobs/schedulers.go:29”,“msg”:“Initialising schedulers.”}
{“level”:“info”,“ts”:1549874411.7277234,“caller”:“commands/server.go:82”,“msg”:“Current version is 5.7.0 (5.7.1/Fri Feb 1 08:43:17 UTC 2019/ad3ddac9b935fb842ca4301f69266ffb87ec8c86/none)”}
{“level”:“info”,“ts”:1549874411.7278051,“caller”:“commands/server.go:83”,“msg”:“Enterprise Enabled: false”}
{“level”:“info”,“ts”:1549874411.7278283,“caller”:“commands/server.go:84”,“msg”:“Current working directory is /opt/hgbutze_mattermost”}
{“level”:“info”,“ts”:1549874411.7279158,“caller”:“commands/server.go:85”,“msg”:“Loaded config file from /opt/hgbutze_mattermost/config/config.json”}
{“level”:“info”,“ts”:1549874411.728119,“caller”:“filesstore/localstore.go:33”,“msg”:“Able to write files to local storage.”}
{“level”:“info”,“ts”:1549874411.7297485,“caller”:“app/plugin.go:130”,“msg”:“Starting up plugins”}
{“level”:“info”,“ts”:1549874414.5943766,“caller”:“app/server.go:166”,“msg”:“Starting Server…”}
{“level”:“info”,“ts”:1549874414.5945168,“caller”:“app/server.go:226”,“msg”:“Server is listening on [::]:8066”}
{“level”:“debug”,“ts”:1549874414.599957,“caller”:“api4/plugin.go:20”,“msg”:“EXPERIMENTAL: Initializing plugin api”}
{“level”:“debug”,“ts”:1549874414.600547,“caller”:“app/email_batching.go:74”,“msg”:“Email batching job starting. Checking for pending emails every 30 seconds.”}
{“level”:“info”,“ts”:1549874414.600595,“caller”:“app/web_hub.go:75”,“msg”:“Starting 8 websocket hubs”}
{“level”:“debug”,“ts”:1549874414.6006944,“caller”:“web/web.go:27”,“msg”:“Initializing web routes”}
{“level”:“debug”,“ts”:1549874414.6007116,“caller”:“app/web_hub.go:412”,“msg”:“Hub for index 1 is starting with goroutine 3734”}
{“level”:“debug”,“ts”:1549874414.6008236,“caller”:“app/web_hub.go:412”,“msg”:“Hub for index 0 is starting with goroutine 3733”}
{“level”:“debug”,“ts”:1549874414.600909,“caller”:“app/web_hub.go:412”,“msg”:“Hub for index 2 is starting with goroutine 3735”}
{“level”:“debug”,“ts”:1549874414.6009316,“caller”:“utils/subpath.go:59”,“msg”:“No rewrite required for static assets”,“path”:"/static/"}
{“level”:“debug”,“ts”:1549874414.6009138,“caller”:“app/web_hub.go:412”,“msg”:“Hub for index 6 is starting with goroutine 3739”}
{“level”:“debug”,“ts”:1549874414.6009755,“caller”:“web/static.go:26”,“msg”:“Using client directory at /opt/hgbutze_mattermost/client”}
{“level”:“debug”,“ts”:1549874414.601004,“caller”:“app/web_hub.go:412”,“msg”:“Hub for index 7 is starting with goroutine 3740”}
{“level”:“debug”,“ts”:1549874414.6010497,“caller”:“app/web_hub.go:412”,“msg”:“Hub for index 5 is starting with goroutine 3738”}
{“level”:“debug”,“ts”:1549874414.6010964,“caller”:“app/web_hub.go:412”,“msg”:“Hub for index 3 is starting with goroutine 3736”}
{“level”:“debug”,“ts”:1549874414.6035306,“caller”:“app/web_hub.go:412”,“msg”:“Hub for index 4 is starting with goroutine 3737”}
{“level”:“info”,“ts”:1549874414.6058104,“caller”:“sqlstore/post_store.go:1286”,“msg”:“Post.Message supports at most 16383 characters (65535 bytes)”}
{“level”:“debug”,“ts”:1549874414.6316621,“caller”:“app/email_batching.go:74”,“msg”:“Email batching job starting. Checking for pending emails every 30 seconds.”}
{“level”:“info”,“ts”:1549874414.676912,“caller”:“jobs/workers.go:68”,“msg”:“Starting workers”}
{“level”:“debug”,“ts”:1549874414.6769533,“caller”:“sqlstore/session_store.go:227”,“msg”:“Cleaning up session store.”}
{“level”:“info”,“ts”:1549874414.6770053,“caller”:“commands/server.go:266”,“msg”:“Sending systemd READY notification.”}
{“level”:“debug”,“ts”:1549874414.677013,“caller”:“sqlstore/command_webhook_store.go:88”,“msg”:“Cleaning up command webhook store.”}
{“level”:“debug”,“ts”:1549874414.677129,“caller”:“sqlstore/tokens_store.go:72”,“msg”:“Cleaning up token store.”}
{“level”:“debug”,“ts”:1549874414.6772213,“caller”:“jobs/jobs_watcher.go:39”,“msg”:“Watcher Started”}
{“level”:“debug”,“ts”:1549874414.67728,“caller”:“migrations/worker.go:44”,“msg”:“Worker started”,“worker”:“Migrations”}
{“level”:“info”,“ts”:1549874414.6773245,“caller”:“jobs/schedulers.go:72”,“msg”:“Starting schedulers.”}
{“level”:“debug”,“ts”:1549874414.6810791,“caller”:“jobs/schedulers.go:167”,“msg”:“Next run time for scheduler MigrationsScheduler: 2019-02-11 09:41:14.680974 +0100 CET m=+63.487891771”}
{“level”:“debug”,“ts”:1549874418.4677734,“caller”:“web/handlers.go:50”,“msg”:“GET - /login”}
{“level”:“debug”,“ts”:1549874419.1450047,“caller”:“web/handlers.go:50”,“msg”:“GET - /api/v4/config/client”}
{“level”:“debug”,“ts”:1549874419.1465063,“caller”:“web/handlers.go:50”,“msg”:“GET - /api/v4/license/client”}
{“level”:“debug”,“ts”:1549874419.1677806,“caller”:“web/handlers.go:50”,“msg”:“GET - /api/v4/plugins/webapp”}
{“level”:“debug”,“ts”:1549874433.1886218,“caller”:“web/handlers.go:50”,“msg”:“GET - /api/v4/websocket”}
{“level”:“debug”,“ts”:1549874433.2355554,“caller”:“web/handlers.go:50”,“msg”:“GET - /api/v4/plugins/webapp”}
{“level”:“debug”,“ts”:1549874433.2362404,“caller”:“web/handlers.go:50”,“msg”:“GET - /api/v4/users/me/teams/313ecjjg3tgui8qpo77qkfo5zh/channels”}
{“level”:“debug”,“ts”:1549874433.2363687,“caller”:“web/context.go:84”,“msg”:“Invalid or expired session, please login again.”,“path”:"/api/v4/users/me/teams/313ecjjg3tgui8qpo77qkfo5zh/channels",“request_id”:“bfew6dzbd7r18mgiueec7chqmo”,“ip_addr”:“83.137.191.1”,“user_id”:"",“method”:“GET”,“err_where”:"",“http_code”:401,“err_details”:“UserRequired”}
{“level”:“debug”,“ts”:1549874433.2365782,“caller”:“web/handlers.go:50”,“msg”:“GET - /api/v4/users/me/teams/313ecjjg3tgui8qpo77qkfo5zh/channels/members”}
{“level”:“debug”,“ts”:1549874433.2366788,“caller”:“web/context.go:84”,“msg”:“Invalid or expired session, please login again.”,“path”:"/api/v4/users/me/teams/313ecjjg3tgui8qpo77qkfo5zh/channels/members",“request_id”:“sgfcstwz1tyimm96mti7zarido”,“ip_addr”:“83.137.191.1”,“user_id”:"",“method”:“GET”,“err_where”:"",“http_code”:401,“err_details”:“UserRequired”}
{“level”:“debug”,“ts”:1549874433.2368047,“caller”:“web/handlers.go:50”,“msg”:“GET - /api/v4/users/me/teams/unread”}
{“level”:“debug”,“ts”:1549874433.2369072,“caller”:“web/context.go:84”,“msg”:“Invalid or expired session, please login again.”,“path”:"/api/v4/users/me/teams/unread",“request_id”:“mh577ek93fncxrixxa1ixstity”,“ip_addr”:“83.137.191.1”,“user_id”:"",“method”:“GET”,“err_where”:"",“http_code”:401,“err_details”:“UserRequired”}
{“level”:“debug”,“ts”:1549874433.2371564,“caller”:“web/handlers.go:50”,“msg”:“GET - /api/v4/channels/z7xy456577gi5keyy89ioqexco/posts”}
{“level”:“debug”,“ts”:1549874433.2372751,“caller”:“web/context.go:84”,“msg”:“Invalid or expired session, please login again.”,“path”:"/api/v4/channels/z7xy456577gi5keyy89ioqexco/posts",“request_id”:“ndtrmxh7k7gpxykyoc9sx75h5a”,“ip_addr”:“83.137.191.1”,“user_id”:"",“method”:“GET”,“err_where”:"",“http_code”:401,“err_details”:“UserRequired”}
{“level”:“debug”,“ts”:1549874433.3740442,“caller”:“app/web_conn.go:147”,“msg”:“websocket.read: client side closed socket userId=”}
{“level”:“debug”,“ts”:1549874433.7245283,“caller”:“web/handlers.go:50”,“msg”:“POST - /api/v4/users/logout”}
{“level”:“debug”,“ts”:1549874434.6048982,“caller”:“web/handlers.go:50”,“msg”:“GET - /”}
{“level”:“debug”,“ts”:1549874437.603696,“caller”:“web/handlers.go:50”,“msg”:“GET - /api/v4/config/client”}
{“level”:“debug”,“ts”:1549874437.60427,“caller”:“web/handlers.go:50”,“msg”:“GET - /api/v4/license/client”}
{“level”:“debug”,“ts”:1549874437.629027,“caller”:“web/handlers.go:50”,“msg”:“GET - /api/v4/plugins/webapp”}
{“level”:“debug”,“ts”:1549874444.631978,“caller”:“app/email_batching.go:110”,“msg”:“Email batching job ran. 0 user(s) still have notifications pending.”}
{“level”:“debug”,“ts”:1549874455.0002499,“caller”:“web/handlers.go:50”,“msg”:“POST - /api/v4/users/status/ids”}
{“level”:“debug”,“ts”:1549874461.022048,“caller”:“web/handlers.go:50”,“msg”:“POST - /api/v4/users/status/ids”}
Once more thank you.
Nils