Thank you very much.
I copied and paste the log messages that a restart triggers now. I hide some ID like string, just in case if any of them should be hidden for my server’s security:
{"timestamp":"2023-03-17 19:30:41.344 -04:00","level":"info","msg":"Stopping Server...","caller":"app/server.go:654"}
{"timestamp":"2023-03-17 19:30:41.343 -04:00","level":"error","msg":"plugin process exited","caller":"plugin/hclog_adapter.go:79","plugin_id":"com.mattermost.apps","wrapped_extras":"pathplugins/com.mattermost.apps/server/dist/plugin-linux-amd64pid5371errorsignal: terminated"}
{"timestamp":"2023-03-17 19:30:41.344 -04:00","level":"error","msg":"plugin process exited","caller":"plugin/hclog_adapter.go:79","plugin_id":"com.mattermost.calls","wrapped_extras":"pathplugins/com.mattermost.calls/server/dist/plugin-linux-amd64pid5391errorsignal: terminated"}
{"timestamp":"2023-03-17 19:30:41.345 -04:00","level":"error","msg":"plugin process exited","caller":"plugin/hclog_adapter.go:79","plugin_id":"com.mattermost.nps","wrapped_extras":"pathplugins/com.mattermost.nps/server/dist/plugin-linux-amd64pid5351errorsignal: terminated"}
{"timestamp":"2023-03-17 19:30:41.345 -04:00","level":"error","msg":"plugin process exited","caller":"plugin/hclog_adapter.go:79","plugin_id":"playbooks","wrapped_extras":"pathplugins/playbooks/server/dist/plugin-linux-amd64pid5378errorsignal: terminated"}
{"timestamp":"2023-03-17 19:30:41.345 -04:00","level":"error","msg":"plugin process exited","caller":"plugin/hclog_adapter.go:79","plugin_id":"focalboard","wrapped_extras":"pathplugins/focalboard/server/dist/plugin-linux-amd64pid5398errorsignal: terminated"}
{"timestamp":"2023-03-17 19:30:41.369 -04:00","level":"info","msg":"Stopped workers","caller":"jobs/workers.go:90"}
{"timestamp":"2023-03-17 19:30:41.369 -04:00","level":"info","msg":"Stopping schedulers.","caller":"jobs/schedulers.go:118"}
{"timestamp":"2023-03-17 19:30:41.369 -04:00","level":"info","msg":"Schedulers stopped.","caller":"jobs/schedulers.go:50"}
{"timestamp":"2023-03-17 19:30:41.369 -04:00","level":"info","msg":"Shutting down plugins","caller":"app/plugin.go:384"}
{"timestamp":"2023-03-17 19:30:41.369 -04:00","level":"error","msg":"RPC call OnDeactivate to plugin failed.","caller":"plugin/client_rpc_generated.go:33","plugin_id":"com.mattermost.calls","error":"connection is shut down"}
{"timestamp":"2023-03-17 19:30:41.370 -04:00","level":"warn","msg":"error closing client during Kill","caller":"plugin/hclog_adapter.go:70","plugin_id":"playbooks","wrapped_extras":"errconnection is shut down"}
{"timestamp":"2023-03-17 19:30:41.370 -04:00","level":"warn","msg":"plugin failed to exit gracefully","caller":"plugin/hclog_adapter.go:72","plugin_id":"playbooks"}
{"timestamp":"2023-03-17 19:30:41.370 -04:00","level":"error","msg":"RPC call OnDeactivate to plugin failed.","caller":"plugin/client_rpc_generated.go:33","plugin_id":"com.mattermost.nps","error":"connection is shut down"}
{"timestamp":"2023-03-17 19:30:41.370 -04:00","level":"warn","msg":"error closing client during Kill","caller":"plugin/hclog_adapter.go:70","plugin_id":"com.mattermost.nps","wrapped_extras":"errconnection is shut down"}
{"timestamp":"2023-03-17 19:30:41.370 -04:00","level":"warn","msg":"plugin failed to exit gracefully","caller":"plugin/hclog_adapter.go:72","plugin_id":"com.mattermost.nps"}
{"timestamp":"2023-03-17 19:30:41.370 -04:00","level":"error","msg":"RPC call OnDeactivate to plugin failed.","caller":"plugin/client_rpc_generated.go:33","plugin_id":"com.mattermost.apps","error":"connection is shut down"}
{"timestamp":"2023-03-17 19:30:41.370 -04:00","level":"warn","msg":"error closing client during Kill","caller":"plugin/hclog_adapter.go:70","plugin_id":"com.mattermost.apps","wrapped_extras":"errconnection is shut down"}
{"timestamp":"2023-03-17 19:30:41.370 -04:00","level":"warn","msg":"plugin failed to exit gracefully","caller":"plugin/hclog_adapter.go:72","plugin_id":"com.mattermost.apps"}
{"timestamp":"2023-03-17 19:30:41.370 -04:00","level":"error","msg":"RPC call OnDeactivate to plugin failed.","caller":"plugin/client_rpc_generated.go:33","plugin_id":"focalboard","error":"connection is shut down"}
{"timestamp":"2023-03-17 19:30:41.370 -04:00","level":"warn","msg":"error closing client during Kill","caller":"plugin/hclog_adapter.go:70","plugin_id":"focalboard","wrapped_extras":"errconnection is shut down"}
{"timestamp":"2023-03-17 19:30:41.370 -04:00","level":"warn","msg":"plugin failed to exit gracefully","caller":"plugin/hclog_adapter.go:72","plugin_id":"focalboard"}
{"timestamp":"2023-03-17 19:30:41.371 -04:00","level":"warn","msg":"error closing client during Kill","caller":"plugin/hclog_adapter.go:70","plugin_id":"com.mattermost.calls","wrapped_extras":"errconnection is shut down"}
{"timestamp":"2023-03-17 19:30:41.371 -04:00","level":"warn","msg":"plugin failed to exit gracefully","caller":"plugin/hclog_adapter.go:72","plugin_id":"com.mattermost.calls"}
{"timestamp":"2023-03-17 19:30:41.371 -04:00","level":"info","msg":"stopping websocket hub connections","caller":"platform/web_hub.go:115"}
{"timestamp":"2023-03-17 19:30:41.372 -04:00","level":"info","msg":"Server stopped","caller":"app/server.go:736"}
{"timestamp":"2023-03-17 19:30:41.743 -04:00","level":"info","msg":"Server is initializing...","caller":"platform/service.go:165","go_version":"go1.18.1"}
{"timestamp":"2023-03-17 19:30:41.743 -04:00","level":"info","msg":"Pinging SQL","caller":"sqlstore/store.go:240","database":"master"}
{"timestamp":"2023-03-17 19:30:41.774 -04:00","level":"info","msg":"Pinging SQL","caller":"sqlstore/store.go:240","database":"master"}
{"timestamp":"2023-03-17 19:30:41.930 -04:00","level":"info","msg":"Starting websocket hubs","caller":"platform/web_hub.go:95","number_of_hubs":4}
{"timestamp":"2023-03-17 19:30:41.931 -04:00","level":"info","msg":"Loaded system translations","caller":"i18n/i18n.go:93","for locale":"en","from locale":"/opt/mattermost/i18n/en.json"}
{"timestamp":"2023-03-17 19:30:41.953 -04:00","level":"info","msg":"Current version is 7.8.0 (7.8.0/Tue Feb 14 14:16:41 UTC 2023/[A long string, I don't know what it is but I hide it just in case.]/none)","caller":"app/server.go:397","current_version":"7.8.0","build_number":"7.8.0","build_date":"Tue Feb 14 14:16:41 UTC 2023","build_hash":"[A long string, I don't know whhat it is but I hide it just in case.]","build_hash_enterprise":"none"}
{"timestamp":"2023-03-17 19:30:41.953 -04:00","level":"info","msg":"Team Edition Build","caller":"app/server.go:408","enterprise_build":false}
{"timestamp":"2023-03-17 19:30:41.953 -04:00","level":"info","msg":"Printing current working","caller":"app/server.go:412","directory":"/opt/mattermost"}
{"timestamp":"2023-03-17 19:30:41.953 -04:00","level":"info","msg":"Loaded config","caller":"app/server.go:413","source":"file:///opt/mattermost/config/config.json"}
{"timestamp":"2023-03-17 19:30:41.962 -04:00","level":"info","msg":"Starting workers","caller":"jobs/workers.go:48"}
{"timestamp":"2023-03-17 19:30:41.963 -04:00","level":"info","msg":"Starting schedulers.","caller":"jobs/schedulers.go:47"}
{"timestamp":"2023-03-17 19:30:41.969 -04:00","level":"error","msg":"License key from https://mattermost.com required to unlock enterprise features.","caller":"platform/license.go:106","error":"resource: License id: "}
{"timestamp":"2023-03-17 19:30:42.167 -04:00","level":"info","msg":"Starting up plugins","caller":"app/plugin.go:213"}
{"timestamp":"2023-03-17 19:30:42.167 -04:00","level":"info","msg":"Syncing plugins from the file store","caller":"app/plugin.go:294"}
{"timestamp":"2023-03-17 19:30:42.167 -04:00","level":"warn","msg":"Skipping sync for unmanaged plugin","caller":"app/plugin.go:324","plugin_id":"zoom"}
{"timestamp":"2023-03-17 19:30:44.597 -04:00","level":"error","msg":"Failed to install prepackaged plugin","caller":"app/plugin.go:967","path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-jira-v3.2.2-linux-amd64.tar.gz","error":"Failed to install extracted prepackaged plugin /opt/mattermost/prepackaged_plugins/mattermost-plugin-jira-v3.2.2-linux-amd64.tar.gz: installExtractedPlugin: Unable to move plugin from temporary directory to final destination. Another plugin may be using the same directory name., destination already exists"}
{"timestamp":"2023-03-17 19:30:45.743 -04:00","level":"warn","msg":"plugin configured with a nil SecureConfig","caller":"plugin/hclog_adapter.go:72","plugin_id":"com.mattermost.nps"}
{"timestamp":"2023-03-17 19:30:45.963 -04:00","level":"info","msg":"Ensuring Feedbackbot exists","caller":"app/plugin_api.go:973","plugin_id":"com.mattermost.nps"}
{"timestamp":"2023-03-17 19:30:46.952 -04:00","level":"warn","msg":"plugin configured with a nil SecureConfig","caller":"plugin/hclog_adapter.go:72","plugin_id":"com.mattermost.apps"}
{"timestamp":"2023-03-17 19:30:47.118 -04:00","level":"info","msg":"activated","caller":"app/plugin_api.go:973","plugin_id":"com.mattermost.apps","plugin_caller":"server/plugin.go:135"}
{"timestamp":"2023-03-17 19:30:47.951 -04:00","level":"warn","msg":"plugin configured with a nil SecureConfig","caller":"plugin/hclog_adapter.go:72","plugin_id":"playbooks"}
{"timestamp":"2023-03-17 19:30:48.571 -04:00","level":"info","msg":"registered collection and topic type","caller":"app/collection.go:33","plugin_id":"playbooks","collection_type":"run","topic_type":"status"}
{"timestamp":"2023-03-17 19:30:48.577 -04:00","level":"info","msg":"registered collection and topic type","caller":"app/collection.go:33","plugin_id":"playbooks","collection_type":"run","topic_type":"task"}
{"timestamp":"2023-03-17 19:30:48.888 -04:00","level":"warn","msg":"plugin configured with a nil SecureConfig","caller":"plugin/hclog_adapter.go:72","plugin_id":"com.mattermost.calls"}
{"timestamp":"2023-03-17 19:30:49.117 -04:00","level":"info","msg":"got public IP address","caller":"app/plugin_api.go:973","plugin_id":"com.mattermost.calls","origin":"main.(*logger).Info log.go:95","addr":"[An IP.]"}
{"timestamp":"2023-03-17 19:30:49.118 -04:00","level":"info","msg":"rtc: server is listening on udp :8443","caller":"app/plugin_api.go:973","plugin_id":"com.mattermost.calls","origin":"main.(*logger).Info log.go:95"}
{"timestamp":"2023-03-17 19:30:49.118 -04:00","level":"info","msg":"rtc: server is listening on udp :8443","caller":"app/plugin_api.go:973","plugin_id":"com.mattermost.calls","origin":"main.(*logger).Info log.go:95"}
{"timestamp":"2023-03-17 19:30:49.237 -04:00","level":"warn","msg":"plugin configured with a nil SecureConfig","caller":"plugin/hclog_adapter.go:72","plugin_id":"focalboard"}
{"timestamp":"2023-03-17 19:30:49.267 -04:00","level":"info","msg":"connectDatabase","caller":"app/plugin_api.go:973","plugin_id":"focalboard","dbType":"mysql"}
{"timestamp":"2023-03-17 19:30:49.287 -04:00","level":"info","msg":"{\"level\":\"info\",\"msg\":\"Pinging SQL\",\"fields\":{\"database\":\"master\"}}\n","caller":"io/io.go:428","plugin_id":"focalboard","source":"plugin_stderr"}
{"timestamp":"2023-03-17 19:30:49.490 -04:00","level":"info","msg":"Initialized notification backend","caller":"app/plugin_api.go:973","plugin_id":"focalboard","name":"notifyMentions"}
{"timestamp":"2023-03-17 19:30:49.491 -04:00","level":"info","msg":"Initialized notification backend","caller":"app/plugin_api.go:973","plugin_id":"focalboard","name":"notifySubscriptions"}
{"timestamp":"2023-03-17 19:30:49.491 -04:00","level":"info","msg":"Initialized notification backend","caller":"app/plugin_api.go:973","plugin_id":"focalboard","name":"notifyLogger"}
{"timestamp":"2023-03-17 19:30:49.501 -04:00","level":"info","msg":"Focalboard server","caller":"app/plugin_api.go:973","plugin_id":"focalboard","version":"7.8.2","edition":"plugin","build_number":"[A number.]","build_date":"\"Mon Feb 13 15:23:12 UTC 2023\"","build_hash":"[A long string.]"}
{"timestamp":"2023-03-17 19:30:49.501 -04:00","level":"info","msg":"Server.Start","caller":"app/plugin_api.go:973","plugin_id":"focalboard"}
{"timestamp":"2023-03-17 19:30:49.515 -04:00","level":"info","msg":"Boards product successfully started.","caller":"app/plugin_api.go:973","plugin_id":"focalboard"}
{"timestamp":"2023-03-17 19:30:50.500 -04:00","level":"error","msg":"Mail server connection test failed","caller":"app/server.go:862","error":"unable to connect: authentication failed: x509: certificate signed by unknown authority"}
{"timestamp":"2023-03-17 19:30:50.503 -04:00","level":"warn","msg":"Your push notification server is configured with HTTP. For improved security, update to HTTPS in your configuration.","caller":"app/server.go:1135"}
{"timestamp":"2023-03-17 19:30:50.515 -04:00","level":"info","msg":"Starting Server...","caller":"app/server.go:880"}
{"timestamp":"2023-03-17 19:30:50.517 -04:00","level":"info","msg":"Server is listening on [::]:8065","caller":"app/server.go:952","address":"[::]:8065"}