Can I migrate from binary to docker?

Ah very interesting. It did that and restarted the container. Now it looks like it can get further than before!

# docker logs 3e8d21b6eef6
{"timestamp":"2022-07-28 22:32:50.309 -05:00","level":"info","msg":"Server is initializing...","caller":"app/server.go:237","go_version":"go1.16.7"}
{"timestamp":"2022-07-28 22:32:50.314 -05:00","level":"info","msg":"Starting websocket hubs","caller":"app/web_hub.go:93","number_of_hubs":2}
{"timestamp":"2022-07-28 22:32:50.317 -05:00","level":"info","msg":"Pinging SQL","caller":"sqlstore/store.go:262","database":"master"}
[mysql] 2022/07/28 22:32:50 packets.go:37: unexpected EOF
[mysql] 2022/07/28 22:32:50 packets.go:37: unexpected EOF
[mysql] 2022/07/28 22:32:50 packets.go:37: unexpected EOF
{"timestamp":"2022-07-28 22:32:50.331 -05:00","level":"error","msg":"Failed to ping DB","caller":"sqlstore/store.go:272","error":"driver: bad connection","retrying in seconds":10}
{"timestamp":"2022-07-28 22:33:00.332 -05:00","level":"info","msg":"Pinging SQL","caller":"sqlstore/store.go:262","database":"master"}
{"timestamp":"2022-07-28 22:33:00.337 -05:00","level":"info","msg":"Pinging SQL","caller":"sqlstore/store.go:262","database":"migrations"}
{"timestamp":"2022-07-28 22:33:00.901 -05:00","level":"warn","msg":"Could not create foreign key: Error 1826: Duplicate foreign key constraint name 'FK_RetentionPoliciesChannels_RetentionPolicies'","caller":"sqlstore/store.go:1153"}
{"timestamp":"2022-07-28 22:33:00.903 -05:00","level":"warn","msg":"Could not create foreign key: Error 1826: Duplicate foreign key constraint name 'FK_RetentionPoliciesTeams_RetentionPolicies'","caller":"sqlstore/store.go:1153"}
{"timestamp":"2022-07-28 22:33:01.079 -05:00","level":"info","msg":"Loaded system translations","caller":"i18n/i18n.go:93","for locale":"en","from locale":"/mattermost/i18n/en.json"}
{"timestamp":"2022-07-28 22:33:01.161 -05:00","level":"info","msg":"License key from https://mattermost.com required to unlock enterprise features.","caller":"app/license.go:90"}
{"timestamp":"2022-07-28 22:33:01.171 -05:00","level":"info","msg":"Current version is 6.3.9 (6.3.9/Fri Jun 10 13:02:42 UTC 2022/f2f46f8da34f483288604f26ae395d7da8ebea2e/325928afed97af61de9f7bb03f156e4f17d759d1)","caller":"app/server.go:514","current_version":"6.3.9","build_number":"6.3.9","build_date":"Fri Jun 10 13:02:42 UTC 2022","build_hash":"f2f46f8da34f483288604f26ae395d7da8ebea2e","build_hash_enterprise":"325928afed97af61de9f7bb03f156e4f17d759d1"}
{"timestamp":"2022-07-28 22:33:01.171 -05:00","level":"info","msg":"Enterprise Build","caller":"app/server.go:523","enterprise_build":true}
{"timestamp":"2022-07-28 22:33:01.171 -05:00","level":"info","msg":"Printing current working","caller":"app/server.go:529","directory":"/mattermost"}
{"timestamp":"2022-07-28 22:33:01.171 -05:00","level":"info","msg":"Loaded config","caller":"app/server.go:530","source":"file:///mattermost/config/config.json"}
{"timestamp":"2022-07-28 22:33:01.198 -05:00","level":"info","msg":"Starting workers","caller":"jobs/workers.go:140"}
{"timestamp":"2022-07-28 22:33:01.219 -05:00","level":"info","msg":"Starting schedulers.","caller":"jobs/schedulers.go:116"}
{"timestamp":"2022-07-28 22:33:01.904 -05:00","level":"info","msg":"Starting up plugins","caller":"app/plugin.go:185"}
{"timestamp":"2022-07-28 22:33:01.904 -05:00","level":"info","msg":"Syncing plugins from the file store","caller":"app/plugin.go:259"}
{"timestamp":"2022-07-28 22:33:01.981 -05:00","level":"info","msg":"Syncing plugin from file store","caller":"app/plugin.go:319","bundle":"plugins/mattermost-file-list.tar.gz"}
{"timestamp":"2022-07-28 22:33:01.994 -05:00","level":"info","msg":"Syncing plugin from file store","caller":"app/plugin.go:319","bundle":"plugins/com.github.matterpoll.matterpoll.tar.gz"}
{"timestamp":"2022-07-28 22:33:02.010 -05:00","level":"info","msg":"Syncing plugin from file store","caller":"app/plugin.go:319","bundle":"plugins/com.github.moussetc.mattermost.plugin.diceroller.tar.gz"}
{"timestamp":"2022-07-28 22:33:02.030 -05:00","level":"info","msg":"Syncing plugin from file store","caller":"app/plugin.go:319","bundle":"plugins/com.mattermost.voice.tar.gz"}
{"timestamp":"2022-07-28 22:33:02.050 -05:00","level":"info","msg":"Syncing plugin from file store","caller":"app/plugin.go:319","bundle":"plugins/jitsi.tar.gz"}
{"timestamp":"2022-07-28 22:33:02.070 -05:00","level":"info","msg":"Syncing plugin from file store","caller":"app/plugin.go:319","bundle":"plugins/mattermost-autolink.tar.gz"}
{"timestamp":"2022-07-28 22:33:02.091 -05:00","level":"info","msg":"Syncing plugin from file store","caller":"app/plugin.go:319","bundle":"plugins/net.appmodule.mattermost-jitsi-plugin.tar.gz"}
{"timestamp":"2022-07-28 22:33:02.111 -05:00","level":"info","msg":"Syncing plugin from file store","caller":"app/plugin.go:319","bundle":"plugins/com.github.moussetc.mattermost.plugin.giphy.tar.gz"}
{"timestamp":"2022-07-28 22:33:02.131 -05:00","level":"info","msg":"Syncing plugin from file store","caller":"app/plugin.go:319","bundle":"plugins/com.github.moussetc.mattermost.plugin.spoiler.tar.gz"}
{"timestamp":"2022-07-28 22:33:02.151 -05:00","level":"info","msg":"Syncing plugin from file store","caller":"app/plugin.go:319","bundle":"plugins/com.github.scottleedavis.mattermost-plugin-remind.tar.gz"}
{"timestamp":"2022-07-28 22:33:02.171 -05:00","level":"info","msg":"Syncing plugin from file store","caller":"app/plugin.go:319","bundle":"plugins/com.mattermost.custom-attributes.tar.gz"}
{"timestamp":"2022-07-28 22:33:02.191 -05:00","level":"info","msg":"Syncing plugin from file store","caller":"app/plugin.go:319","bundle":"plugins/com.mattermost.draw-plugin.tar.gz"}
{"timestamp":"2022-07-28 22:33:02.212 -05:00","level":"info","msg":"Syncing plugin from file store","caller":"app/plugin.go:319","bundle":"plugins/com.mattermost.plugin-todo.tar.gz"}

I’m not sure what state it’s in now. If I try to go to the http port in my browser, it doesn’t load however, so I think there’s still some issue remaining.