Mattermost.service not starting on rhel 9.7

Mattermost service is not able to start up

Steps to reproduce
Mattermost version is mattermost-11.4.0-linux-amd64

Redhat version 9.7

Postgres version 16

Expected behavior
After following the steps on the Mattermost setup for linux, when starting up mattermost service it failed. Using sudo systemctl start mattermost.service it failed.

Observed behavior
Output of sudo systemctl status mattermost.service

.mattermost.service - Mattermost

loaded (/usr/lib/systemd/system/mattermost.service; enabled; preset: disabled)

active: activating (auto-restart) (Result: exit-code) since Sun 2026-02-22 21:53

Process: 75390 Execstart=/opt/mattermost/bin/mattermost (code=exited, status=1/FAILURE)

Output of Journalctl -xeu mattermost.service

Here is the output of the journalctl -xeu mattermost.service

Feb 22 22:32:20 localhost.localdomain systemd[1]: mattermost.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: Red Hat Customer Experience & Engagement | Red Hat Customer Portal
░░
░░ An ExecStart= process belonging to unit mattermost.service has exited.
░░
░░ The process’ exit code is ‘exited’ and its exit status is 1.
Feb 22 22:32:20 localhost.localdomain systemd[1]: mattermost.service: Failed with result ‘exit-code’.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: Red Hat Customer Experience & Engagement | Red Hat Customer Portal
░░
░░ The unit mattermost.service has entered the ‘failed’ state with result ‘exit-code’.
Feb 22 22:32:20 localhost.localdomain systemd[1]: Failed to start Mattermost.
░░ Subject: A start job for unit mattermost.service has failed
░░ Defined-By: systemd
░░ Support: Red Hat Customer Experience & Engagement | Red Hat Customer Portal
░░
░░ A start job for unit mattermost.service has finished with a failure.
░░
░░ The job identifier is 112690 and the job result is failed.
@@@
░░ The unit mattermost.service has entered the ‘failed’ state with result ‘exit-code’.
Feb 22 22:32:20 localhost.localdomain systemd[1]: Failed to start Mattermost.
░░ Subject: A start job for unit mattermost.service has failed
░░ Defined-By: systemd
░░ Support: Red Hat Customer Experience & Engagement | Red Hat Customer Portal
░░
░░ A start job for unit mattermost.service has finished with a failure.
░░
░░ The job identifier is 112690 and the job result is failed.
Feb 22 22:32:30 localhost.localdomain systemd[1]: mattermost.service: Scheduled restart job, restart counter is at 834.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: Red Hat Customer Experience & Engagement | Red Hat Customer Portal
░░
░░ Automatic restarting of the unit mattermost.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Feb 22 22:32:30 localhost.localdomain systemd[1]: Stopped Mattermost.
░░ Subject: A stop job for unit mattermost.service has finished
░░ Defined-By: systemd
░░ Support: Red Hat Customer Experience & Engagement | Red Hat Customer Portal
░░
░░ A stop job for unit mattermost.service has finished.

░░ The job identifier is 112804.

Feb 22 22:32:31 localhost.localdomain mattermost[75324]: Error: failed to load configuration: failed to create store: unable to load on store creation: parsing error at line 3, character 15: invalid character ‘h’ after object key
Feb 22 22:32:31 localhost.localdomain systemd[1]: mattermost.service: Failed with result ‘exit-code’.

Feb 22 22:32:31 localhost.localdomain systemd[1]: mattermost.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: Red Hat Customer Experience & Engagement | Red Hat Customer Portal
░░
░░ An ExecStart= process belonging to unit mattermost.service has exited.
░░
░░ The process’ exit code is ‘exited’ and its exit status is 1.

Feb 22 22:32:41 localhost.localdomain mattermost[75330]: Error: failed to load configuration: failed to create store: unable to load on store creation: parsing error at line 3, character 15: invalid character ‘h’ after object key

Feb 22 22:32:41 localhost.localdomain systemd[1]: mattermost.service: Main process exited, code=exited, status=1/FAILURE
Feb 22 22:32:52 localhost.localdomain mattermost[75338]: Error: failed to load configuration: failed to create store: unable to load on store creation: parsing error at line 3, character 15: invalid character ‘h’ after object key
Feb 22 22:32:52 localhost.localdomain mattermost[75338]: Usage:
Feb 22 22:32:52 localhost.localdomain mattermost[75338]: mattermost [flags]
Feb 22 22:32:52 localhost.localdomain mattermost[75338]: mattermost [command]
Feb 22 22:32:52 localhost.localdomain mattermost[75338]: Available Commands:
Feb 22 22:32:52 localhost.localdomain mattermost[75338]: completion Generate the autocompletion script for the specified shell

░░
░░ A start job for unit mattermost.service has begun execution.
░░
░░ The job identifier is 113374.
Feb 22 22:33:24 localhost.localdomain mattermost[75357]: Error: failed to load configuration: failed to create store: unable to load on store creation: parsing error at line 3, character 15: invalid character ‘h’ after object key
Feb 22 22:33:24 localhost.localdomain mattermost[75357]: Usage:
Feb 22 22:33:24 localhost.localdomain mattermost[75357]: mattermost [flags]
Feb 22 22:33:24 localhost.localdomain mattermost[75357]: mattermost [command]
Feb 22 22:33:24 localhost.localdomain mattermost[75357]: Available Commands:
Feb 22 22:33:24 localhost.localdomain mattermost[75357]: completion Generate the autocompletion script for the specified shell
Feb 22 22:33:24 localhost.localdomain mattermost[75357]: db Commands related to the database
Feb 22 22:33:24 localhost.localdomain mattermost[75357]: export Export data from Mattermost
Feb 22 22:33:24 localhost.localdomain mattermost[75357]: help Help about any command
Feb 22 22:33:24 localhost.localdomain mattermost[75357]: import Import data.
Feb 22 22:33:24 localhost.localdomain mattermost[75357]: jobserver Start the Mattermost job server
Feb 22 22:33:24 localhost.localdomain mattermost[75357]: server Run the Mattermost server
Feb 22 22:33:24 localhost.localdomain mattermost[75357]: version Display version information

eb 22 22:33:24 localhost.localdomain mattermost[75357]: version Display version information
Feb 22 22:33:24 localhost.localdomain mattermost[75357]: Flags:
Feb 22 22:33:24 localhost.localdomain mattermost[75357]: -c, --config string Configuration file to use.
Feb 22 22:33:24 localhost.localdomain mattermost[75357]: -h, --help help for mattermost
Feb 22 22:33:24 localhost.localdomain mattermost[75357]: Use “mattermost [command] --help” for more information about a command.
Feb 22 22:33:24 localhost.localdomain systemd[1]: mattermost.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: Red Hat Customer Experience & Engagement | Red Hat Customer Portal
░░
░░ An ExecStart= process belonging to unit mattermost.service has exited.
░░
░░ The process’ exit code is ‘exited’ and its exit status is 1.
░░ Support: Red Hat Customer Experience & Engagement | Red Hat Customer Portal
░░
░░ A start job for unit mattermost.service has finished with a failure.
░░
░░ The job identifier is 113488 and the job result is failed.
Feb 22 22:33:44 localhost.localdomain systemd[1]: mattermost.service: Scheduled restart job, restart counter is at 841.

Looks like a syntax error in your config.json

Hi rtfm98

I have attached my JSON config for the past 2 days but it is still not approved ….

I really need help to look at what is wrong and why the Mattermost is not able to start up

do i need to setup apache in order for the web service as part of the setup ?

In the meantime, you can do a syntax check:

cat /opt/mattermost/config/config.json | jq

Your path to the config.json may be different, though.

You may also use an online json syntax checker, but you should redact passwords and other sensitive information.
That might be the better option anyway, because they should be able to show exactly what part is wrong.

Mattermost recommends nginx as a reverse proxy. There is (or was) an inofficial apache configuration example in the docs, though.
But: the problem here is, that mattermost.service crashes. That has nothing to do with apache nor nginx.

Thanks for your reply, i need help to see what is the error in config.json, i was following the steps given on the guide Deploy Mattermost on Linux - Mattermost documentation.

Attached below my config.json,

{
“ServiceSettings”: {
“SiteURL"https://localhost:8065”,
“WebsocketURL”: “”,
“LicenseFileLocation”: “”,
“ListenAddress”: “:8065”,
“ConnectionSecurity”: “”,
“TLSCertFile”: “”,
“TLSKeyFile”: “”,
“TLSMinVer”: “1.2”,
“TLSStrictTransport”: false,
“TLSStrictTransportMaxAge”: 63072000,
“TLSOverwriteCiphers”: ,
“UseLetsEncrypt”: false,
“LetsEncryptCertificateCacheFile”: “./config/letsencrypt.cache”,
“Forward80To443”: false,
“TrustedProxyIPHeader”: ,
“ReadTimeout”: 300,
“WriteTimeout”: 300,
“IdleTimeout”: 60,
“MaximumLoginAttempts”: 10,
“GoroutineHealthThreshold”: -1,
“EnableOAuthServiceProvider”: true,
“EnableDynamicClientRegistration”: false,
“EnableIncomingWebhooks”: true,
“EnableOutgoingWebhooks”: true,
“EnableOutgoingOAuthConnections”: false,
“EnableCommands”: true,
“OutgoingIntegrationRequestsTimeout”: 30,
“EnablePostUsernameOverride”: false,
“EnablePostIconOverride”: false,
“GoogleDeveloperKey”: “”,
“EnableLinkPreviews”: true,
“EnablePermalinkPreviews”: true,
“RestrictLinkPreviews”: “”,
“EnableTesting”: false,
“EnableDeveloper”: false,
“DeveloperFlags”: “”,
“EnableClientPerformanceDebugging”: false,
“EnableSecurityFixAlert”: true,
“EnableInsecureOutgoingConnections”: false,
“AllowedUntrustedInternalConnections”: “”,
“EnableMultifactorAuthentication”: false,
“EnforceMultifactorAuthentication”: false,
“EnableUserAccessTokens”: false,
“AllowCorsFrom”: “”,
“CorsExposedHeaders”: “”,
“CorsAllowCredentials”: false,
“CorsDebug”: false,
“AllowCookiesForSubdomains”: false,
“ExtendSessionLengthWithActivity”: true,
“TerminateSessionsOnPasswordChange”: true,
“SessionLengthWebInDays”: 30,
“SessionLengthWebInHours”: 720,
“SessionLengthMobileInDays”: 30,
“SessionLengthMobileInHours”: 720,
“SessionLengthSSOInDays”: 30,
“SessionLengthSSOInHours”: 720,
“SessionCacheInMinutes”: 10,
“SessionIdleTimeoutInMinutes”: 43200,
“WebsocketSecurePort”: 443,
“WebsocketPort”: 80,
“WebserverMode”: “gzip”,
“EnableGifPicker”: true,
“GiphySdkKey”: “”,
“EnableCustomEmoji”: true,
“EnableEmojiPicker”: true,
“PostEditTimeLimit”: -1,
“TimeBetweenUserTypingUpdatesMilliseconds”: 5000,
“EnableCrossTeamSearch”: true,
“EnablePostSearch”: true,
“EnableFileSearch”: true,
“MinimumHashtagLength”: 3,
“EnableUserTypingMessages”: true,
“EnableChannelViewedMessages”: true,
“EnableUserStatuses”: true,
“ExperimentalEnableAuthenticationTransfer”: true,
“ClusterLogTimeoutMilliseconds”: 2000,
“EnableTutorial”: true,
“EnableOnboardingFlow”: true,
“ExperimentalEnableDefaultChannelLeaveJoinMessages”: true,
“ExperimentalGroupUnreadChannels”: “disabled”,
“EnableAPITeamDeletion”: false,
“EnableAPITriggerAdminNotifications”: false,
“EnableAPIUserDeletion”: false,
“EnableAPIPostDeletion”: false,
“EnableDesktopLandingPage”: true,
“ExperimentalEnableHardenedMode”: false,
“ExperimentalStrictCSRFEnforcement”: false,
“EnableEmailInvitations”: false,
“DisableBotsWhenOwnerIsDeactivated”: true,
“EnableBotAccountCreation”: false,
“EnableSVGs”: false,
“EnableLatex”: false,
“EnableInlineLatex”: true,
“PostPriority”: true,
“AllowPersistentNotifications”: true,
“AllowPersistentNotificationsForGuests”: false,
“PersistentNotificationIntervalMinutes”: 5,
“PersistentNotificationMaxCount”: 6,
“PersistentNotificationMaxRecipients”: 5,
“EnableBurnOnRead”: true,
“BurnOnReadDurationSeconds”: 600,
“BurnOnReadMaximumTimeToLiveSeconds”: 604800,
“BurnOnReadSchedulerFrequencySeconds”: 600,
“EnableAPIChannelDeletion”: false,
“EnableLocalMode”: false,
“LocalModeSocketLocation”: “/var/tmp/mattermost_local.socket”,
“EnableAWSMetering”: false,
“AWSMeteringTimeoutSeconds”: 30,
“SplitKey”: “”,
“FeatureFlagSyncIntervalSeconds”: 30,
“DebugSplit”: false,
“ThreadAutoFollow”: true,
“CollapsedThreads”: “always_on”,
“ManagedResourcePaths”: “”,
“EnableCustomGroups”: true,
“AllowSyncedDrafts”: true,
“UniqueEmojiReactionLimitPerPost”: 50,
“RefreshPostStatsRunTime”: “00:00”,
“MaximumPayloadSizeBytes”: 300000,
“MaximumURLLength”: 2048,
“ScheduledPosts”: true,
“EnableWebHubChannelIteration”: false,
“FrameAncestors”: “”,
“DeleteAccountLink”: “”
},
“TeamSettings”: {
“SiteName”: “Mattermost”,
“MaxUsersPerTeam”: 50,
“EnableJoinLeaveMessageByDefault”: true,
“EnableUserCreation”: true,
“EnableOpenServer”: false,
“EnableUserDeactivation”: false,
“RestrictCreationToDomains”: “”,
“EnableCustomUserStatuses”: true,
“EnableCustomBrand”: false,
“CustomBrandText”: “”,
“CustomDescriptionText”: “”,
“RestrictDirectMessage”: “any”,
“EnableLastActiveTime”: true,
“UserStatusAwayTimeout”: 300,
“MaxChannelsPerTeam”: 2000,
“MaxNotificationsPerChannel”: 1000,
“EnableConfirmNotificationsToChannel”: true,
“TeammateNameDisplay”: “username”,
“ExperimentalViewArchivedChannels”: true,
“ExperimentalEnableAutomaticReplies”: false,
“LockTeammateNameDisplay”: false,
“ExperimentalPrimaryTeam”: “”,
“ExperimentalDefaultChannels”:
},
“ClientRequirements”: {
“AndroidLatestVersion”: “”,
“AndroidMinVersion”: “”,
“IosLatestVersion”: “”,
“IosMinVersion”: “”
},
“SqlSettings”: {
“DriverName”: “postgres”,
“DataSource”: “postgres://mmuser:RxxxTxxx@192.168.226.134:5432/mattermost?sslmode=disable&connect_timeout=10”,
“DataSourceReplicas”: ,
“DataSourceSearchReplicas”: ,
“MaxIdleConns”: 50,
“ConnMaxLifetimeMilliseconds”: 3600000,
“ConnMaxIdleTimeMilliseconds”: 300000,
“MaxOpenConns”: 100,
“Trace”: false,
“AtRestEncryptKey”: “”,
“QueryTimeout”: 30,
“DisableDatabaseSearch”: false,
“MigrationsStatementTimeoutSeconds”: 100000,
“ReplicaLagSettings”: ,
“ReplicaMonitorIntervalSeconds”: 5
},
“LogSettings”: {
“EnableConsole”: true,
“ConsoleLevel”: “INFO”,
“ConsoleJson”: true,
“EnableColor”: false,
“EnableFile”: true,
“FileLevel”: “INFO”,
“FileJson”: true,
“FileLocation”: “”,
“EnableWebhookDebugging”: true,
“EnableDiagnostics”: true,
“EnableSentry”: true,
“AdvancedLoggingJSON”: {},
“MaxFieldSize”: 2048
},
“ExperimentalAuditSettings”: {
“FileEnabled”: false,
“FileName”: “”,
“FileMaxSizeMB”: 100,
“FileMaxAgeDays”: 0,
“FileMaxBackups”: 0,
“FileCompress”: false,
“FileMaxQueueSize”: 1000,
“AdvancedLoggingJSON”: {},
“Certificate”: “”
},
“PasswordSettings”: {
“MinimumLength”: 8,
“Lowercase”: false,
“Number”: false,
“Uppercase”: false,
“Symbol”: false,
“EnableForgotLink”: true
},
“FileSettings”: {
“EnableFileAttachments”: true,
“EnableMobileUpload”: true,
“EnableMobileDownload”: true,
“MaxFileSize”: 104857600,
“MaxImageResolution”: 33177600,
“MaxImageDecoderConcurrency”: -1,
“DriverName”: “local”,
“Directory”: “./data/”,
“EnablePublicLink”: false,
“ExtractContent”: true,
“ArchiveRecursion”: false,
“PublicLinkSalt”: “”,
“InitialFont”: “nunito-bold.ttf”,
“AmazonS3AccessKeyId”: “”,
“AmazonS3SecretAccessKey”: “”,
“AmazonS3Bucket”: “”,
“AmazonS3PathPrefix”: “”,
“AmazonS3Region”: “”,
“AmazonS3Endpoint”: “s3.amazonaws.com”,
“AmazonS3SSL”: true,
“AmazonS3SignV2”: false,
“AmazonS3SSE”: false,
“AmazonS3Trace”: false,
“AmazonS3RequestTimeoutMilliseconds”: 30000,
“AmazonS3UploadPartSizeBytes”: 5242880,
“AmazonS3StorageClass”: “”,
“DedicatedExportStore”: false,
“ExportDriverName”: “local”,
“ExportDirectory”: “./data/”,
“ExportAmazonS3AccessKeyId”: “”,
“ExportAmazonS3SecretAccessKey”: “”,
“ExportAmazonS3Bucket”: “”,
“ExportAmazonS3PathPrefix”: “”,
“ExportAmazonS3Region”: “”,
“ExportAmazonS3Endpoint”: “s3.amazonaws.com”,
“ExportAmazonS3SSL”: true,
“ExportAmazonS3SignV2”: false,
“ExportAmazonS3SSE”: false,
“ExportAmazonS3Trace”: false,
“ExportAmazonS3RequestTimeoutMilliseconds”: 30000,
“ExportAmazonS3PresignExpiresSeconds”: 21600,
“ExportAmazonS3UploadPartSizeBytes”: 104857600,
“ExportAmazonS3StorageClass”: “”
},
“EmailSettings”: {
“EnableSignUpWithEmail”: true,
“EnableSignInWithEmail”: true,
“EnableSignInWithUsername”: true,
“SendEmailNotifications”: false,
“UseChannelInEmailNotifications”: false,
“RequireEmailVerification”: false,
“FeedbackName”: “”,
“FeedbackEmail”: “”,
“ReplyToAddress”: “”,
“FeedbackOrganization”: “”,
“EnableSMTPAuth”: false,
“SMTPUsername”: “”,
“SMTPPassword”: “”,
“SMTPServer”: “”,
“SMTPPort”: “10025”,
“SMTPServerTimeout”: 10,
“ConnectionSecurity”: “”,
“SendPushNotifications”: true,
“PushNotificationServer”: “https://push-test.mattermost.com”,
“PushNotificationContents”: “full”,
“PushNotificationBuffer”: 1000,
“EnableEmailBatching”: false,
“EmailBatchingBufferSize”: 256,
“EmailBatchingInterval”: 30,
“EnablePreviewModeBanner”: true,
“SkipServerCertificateVerification”: false,
“EmailNotificationContentsType”: “full”,
“LoginButtonColor”: “#0000”,
“LoginButtonBorderColor”: “#2389D7”,
“LoginButtonTextColor”: “#2389D7
},
“RateLimitSettings”: {
“Enable”: false,
“PerSec”: 10,
“MaxBurst”: 100,
“MemoryStoreSize”: 10000,
“VaryByRemoteAddr”: true,
“VaryByUser”: false,
“VaryByHeader”: “”
},
“PrivacySettings”: {
“ShowEmailAddress”: true,
“ShowFullName”: true
},
“SupportSettings”: {
“TermsOfServiceLink”: “Terms of Use - Mattermost Open Source Collaboration Platform,
“PrivacyPolicyLink”: “Mattermost Privacy Policy - Open Source Messaging,
“AboutLink”: “https://mattermost.com/pl/about-mattermost”,
“HelpLink”: “Mattermost documentation,
“ReportAProblemLink”: “How to contribute to Mattermost | Mattermost Handbook,
“ReportAProblemType”: “default”,
“ReportAProblemMail”: “”,
“AllowDownloadLogs”: true,
“ForgotPasswordLink”: “”,
“SupportEmail”: “”,
“CustomTermsOfServiceEnabled”: false,
“CustomTermsOfServiceReAcceptancePeriod”: 365,
“EnableAskCommunityLink”: true
},
“AnnouncementSettings”: {
“EnableBanner”: false,
“BannerText”: “”,
“BannerColor”: “#f2a93b”,
“BannerTextColor”: “#333333”,
“AllowBannerDismissal”: true,
“AdminNoticesEnabled”: true,
“UserNoticesEnabled”: true,
“NoticesURL”: “https://notices.mattermost.com/”,
“NoticesFetchFrequency”: 3600,
“NoticesSkipCache”: false
},
“ThemeSettings”: {
“EnableThemeSelection”: true,
“DefaultTheme”: “default”,
“AllowCustomThemes”: true,
“AllowedThemes”:
},
“GitLabSettings”: {
“Enable”: false,
“Secret”: “”,
“Id”: “”,
“Scope”: “”,
“AuthEndpoint”: “”,
“TokenEndpoint”: “”,
“UserAPIEndpoint”: “”,
“DiscoveryEndpoint”: “”,
“ButtonText”: “”,
“ButtonColor”: “”
},
“GoogleSettings”: {
“Enable”: false,
“Secret”: “”,
“Id”: “”,
“Scope”: “profile email”,
“AuthEndpoint”: “https://accounts.google.com/o/oauth2/v2/auth”,
“TokenEndpoint”: “https://www.googleapis.com/oauth2/v4/token”,
“UserAPIEndpoint”: “https://people.googleapis.com/v1/people/me?personFields=names,emailAddresses,nicknames,metadata”,
“DiscoveryEndpoint”: “”,
“ButtonText”: “”,
“ButtonColor”: “”
},
“Office365Settings”: {
“Enable”: false,
“Secret”: “”,
“Id”: “”,
“Scope”: “User.Read”,
“AuthEndpoint”: “https://login.microsoftonline.com/common/oauth2/v2.0/authorize”,
“TokenEndpoint”: “https://login.microsoftonline.com/common/oauth2/v2.0/token”,
“UserAPIEndpoint”: “https://graph.microsoft.com/v1.0/me”,
“DiscoveryEndpoint”: “”,
“DirectoryId”: “”
},
“OpenIdSettings”: {
“Enable”: false,
“Secret”: “”,
“Id”: “”,
“Scope”: “profile openid email”,
“AuthEndpoint”: “”,
“TokenEndpoint”: “”,
“UserAPIEndpoint”: “”,
“DiscoveryEndpoint”: “”,
“ButtonText”: “”,
“ButtonColor”: “#145DBF
},
“LdapSettings”: {
“Enable”: false,
“EnableSync”: false,
“LdapServer”: “”,
“LdapPort”: 389,
“ConnectionSecurity”: “”,
“BaseDN”: “”,
“BindUsername”: “”,
“BindPassword”: “”,
“MaximumLoginAttempts”: 10,
“UserFilter”: “”,
“GroupFilter”: “”,
“GuestFilter”: “”,
“EnableAdminFilter”: false,
“AdminFilter”: “”,
“GroupDisplayNameAttribute”: “”,
“GroupIdAttribute”: “”,
“FirstNameAttribute”: “”,
“LastNameAttribute”: “”,
“EmailAttribute”: “”,
“UsernameAttribute”: “”,
“NicknameAttribute”: “”,
“IdAttribute”: “”,
“PositionAttribute”: “”,
“LoginIdAttribute”: “”,
“PictureAttribute”: “”,
“SyncIntervalMinutes”: 60,
“ReAddRemovedMembers”: false,
“SkipCertificateVerification”: false,
“PublicCertificateFile”: “”,
“PrivateKeyFile”: “”,
“QueryTimeout”: 60,
“MaxPageSize”: 0,
“LoginFieldName”: “”,
“LoginButtonColor”: “#0000”,
“LoginButtonBorderColor”: “#2389D7”,
“LoginButtonTextColor”: “#2389D7
},
“ComplianceSettings”: {
“Enable”: false,
“Directory”: “./data/”,
“EnableDaily”: false,
“BatchSize”: 30000
},
“LocalizationSettings”: {
“DefaultServerLocale”: “en”,
“DefaultClientLocale”: “en”,
“AvailableLocales”: “”,
“EnableExperimentalLocales”: false
},
“SamlSettings”: {
“Enable”: false,
“EnableSyncWithLdap”: false,
“EnableSyncWithLdapIncludeAuth”: false,
“IgnoreGuestsLdapSync”: false,
“Verify”: true,
“Encrypt”: true,
“SignRequest”: false,
“IdpURL”: “”,
“IdpDescriptorURL”: “”,
“IdpMetadataURL”: “”,
“ServiceProviderIdentifier”: “”,
“AssertionConsumerServiceURL”: “”,
“SignatureAlgorithm”: “RSAwithSHA256”,
“CanonicalAlgorithm”: “Canonical1.0”,
“ScopingIDPProviderId”: “”,
“ScopingIDPName”: “”,
“IdpCertificateFile”: “”,
“PublicCertificateFile”: “”,
“PrivateKeyFile”: “”,
“IdAttribute”: “”,
“GuestAttribute”: “”,
“EnableAdminAttribute”: false,
“AdminAttribute”: “”,
“FirstNameAttribute”: “”,
“LastNameAttribute”: “”,
“EmailAttribute”: “”,
“UsernameAttribute”: “”,
“NicknameAttribute”: “”,
“LocaleAttribute”: “”,
“PositionAttribute”: “”,
“LoginButtonText”: “SAML”,
“LoginButtonColor”: “#34a28b”,
“LoginButtonBorderColor”: “#2389D7”,
“LoginButtonTextColor”: “#ffffff
},
“NativeAppSettings”: {
“AppCustomURLSchemes”: [
“mmauth://”,
“mmauthbeta://”
],
“AppDownloadLink”: “Download Mattermost Mobile and Desktop Apps Here | Mattermost,
“AndroidAppDownloadLink”: “https://mattermost.com/pl/android-app/”,
“IosAppDownloadLink”: “‎Mattermost App - App Store,
“MobileExternalBrowser”: false,
“MobileEnableBiometrics”: false,
“MobilePreventScreenCapture”: false,
“MobileJailbreakProtection”: false,
“MobileEnableSecureFilePreview”: false,
“MobileAllowPdfLinkNavigation”: false,
“EnableIntuneMAM”: false
},
“IntuneSettings”: {
“Enable”: false,
“TenantId”: “”,
“ClientId”: “”,
“AuthService”: “”
},
“CacheSettings”: {
“CacheType”: “lru”,
“RedisAddress”: “”,
“RedisPassword”: “”,
“RedisDB”: -1,
“RedisCachePrefix”: “”,
“DisableClientCache”: false
},
“ClusterSettings”: {
“Enable”: false,
“ClusterName”: “”,
“OverrideHostname”: “”,
“NetworkInterface”: “”,
“BindAddress”: “”,
“AdvertiseAddress”: “”,
“UseIPAddress”: true,
“EnableGossipCompression”: true,
“EnableGossipEncryption”: true,
“ReadOnlyConfig”: true,
“GossipPort”: 8074
},
“MetricsSettings”: {
“Enable”: false,
“BlockProfileRate”: 0,
“ListenAddress”: “:8067”,
“EnableClientMetrics”: true,
“EnableNotificationMetrics”: true,
“ClientSideUserIds”:
},
“ExperimentalSettings”: {
“ClientSideCertEnable”: false,
“LinkMetadataTimeoutMilliseconds”: 5000,
“RestrictSystemAdmin”: false,
“EnableSharedChannels”: false,
“EnableRemoteClusterService”: false,
“DisableAppBar”: false,
“DisableRefetchingOnBrowserFocus”: false,
“DelayChannelAutocomplete”: false,
“DisableWakeUpReconnectHandler”: false,
“UsersStatusAndProfileFetchingPollIntervalMilliseconds”: 3000,
“YoutubeReferrerPolicy”: false,
“ExperimentalChannelCategorySorting”: false
},
“AnalyticsSettings”: {
“MaxUsersForStatistics”: 2500
},
“ElasticsearchSettings”: {
“ConnectionURL”: “http://localhost:9200”,
“Backend”: “elasticsearch”,
“Username”: “elastic”,
“Password”: “changeme”,
“EnableIndexing”: false,
“EnableSearching”: false,
“EnableAutocomplete”: false,
“Sniff”: true,
“PostIndexReplicas”: 1,
“PostIndexShards”: 1,
“ChannelIndexReplicas”: 1,
“ChannelIndexShards”: 1,
“UserIndexReplicas”: 1,
“UserIndexShards”: 1,
“AggregatePostsAfterDays”: 365,
“PostsAggregatorJobStartTime”: “03:00”,
“IndexPrefix”: “”,
“GlobalSearchPrefix”: “”,
“LiveIndexingBatchSize”: 10,
“BatchSize”: 10000,
“RequestTimeoutSeconds”: 30,
“SkipTLSVerification”: false,
“CA”: “”,
“ClientCert”: “”,
“ClientKey”: “”,
“Trace”: “”,
“IgnoredPurgeIndexes”: “”
},
“DataRetentionSettings”: {
“EnableMessageDeletion”: false,
“EnableFileDeletion”: false,
“EnableBoardsDeletion”: false,
“MessageRetentionDays”: 365,
“MessageRetentionHours”: 0,
“FileRetentionDays”: 365,
“FileRetentionHours”: 0,
“BoardsRetentionDays”: 365,
“DeletionJobStartTime”: “02:00”,
“BatchSize”: 3000,
“TimeBetweenBatchesMilliseconds”: 100,
“RetentionIdsBatchSize”: 100,
“PreservePinnedPosts”: false
},
“MessageExportSettings”: {
“EnableExport”: false,
“ExportFormat”: “actiance”,
“DailyRunTime”: “01:00”,
“ExportFromTimestamp”: 0,
“BatchSize”: 10000,
“DownloadExportResults”: false,
“ChannelBatchSize”: 100,
“ChannelHistoryBatchSize”: 10,
“GlobalRelaySettings”: {
“CustomerType”: “A9”,
“SMTPUsername”: “”,
“SMTPPassword”: “”,
“EmailAddress”: “”,
“SMTPServerTimeout”: 1800,
“CustomSMTPServerName”: “”,
“CustomSMTPPort”: “25”
}
},
“JobSettings”: {
“RunJobs”: true,
“RunScheduler”: true,
“CleanupJobsThresholdDays”: -1,
“CleanupConfigThresholdDays”: -1
},
“PluginSettings”: {
“Enable”: true,
“EnableUploads”: false,
“AllowInsecureDownloadURL”: false,
“EnableHealthCheck”: true,
“Directory”: “./plugins”,
“ClientDirectory”: “./client/plugins”,
“Plugins”: {},
“PluginStates”: {
“com.mattermost.calls”: {
“Enable”: true
},
“com.mattermost.nps”: {
“Enable”: true
},
“mattermost-ai”: {
“Enable”: true
},
“playbooks”: {
“Enable”: true
}
},
“EnableMarketplace”: true,
“EnableRemoteMarketplace”: true,
“AutomaticPrepackagedPlugins”: true,
“RequirePluginSignature”: false,
“MarketplaceURL”: “https://api.integrations.mattermost.com”,
“SignaturePublicKeyFiles”: ,
“ChimeraOAuthProxyURL”: “”
},
“DisplaySettings”: {
“CustomURLSchemes”: ,
“MaxMarkdownNodes”: 0
},
“GuestAccountsSettings”: {
“Enable”: false,
“HideTags”: false,
“AllowEmailAccounts”: true,
“EnforceMultifactorAuthentication”: false,
“RestrictCreationToDomains”: “”,
“EnableGuestMagicLink”: false
},
“ImageProxySettings”: {
“Enable”: false,
“ImageProxyType”: “local”,
“RemoteImageProxyURL”: “”,
“RemoteImageProxyOptions”: “”
},
“CloudSettings”: {
“CWSURL”: “https://portal.test.cloud.mattermost.com”,
“CWSAPIURL”: “https://api.internal.test.cloud.mattermost.com”,
“CWSMock”: false,
“Disable”: false,
“PreviewModalBucketURL”: “”
},
“FeatureFlags”: {
“TestFeature”: “off”,
“TestBoolFeature”: false,
“EnableRemoteClusterService”: false,
“EnableSharedChannelsDMs”: false,
“EnableSharedChannelsPlugins”: true,
“EnableSharedChannelsMemberSync”: false,
“EnableSyncAllUsersForRemoteCluster”: false,
“AppsEnabled”: false,
“PermalinkPreviews”: false,
“NormalizeLdapDNs”: false,
“WysiwygEditor”: false,
“OnboardingTourTips”: true,
“DeprecateCloudFree”: false,
“EnableExportDirectDownload”: false,
“MoveThreadsEnabled”: false,
“StreamlinedMarketplace”: true,
“CloudIPFiltering”: false,
“ConsumePostHook”: false,
“CloudAnnualRenewals”: false,
“CloudDedicatedExportUI”: false,
“ChannelBookmarks”: true,
“WebSocketEventScope”: true,
“NotificationMonitoring”: true,
“ExperimentalAuditSettingsSystemConsoleUI”: true,
“CustomProfileAttributes”: true,
“AttributeBasedAccessControl”: true,
“ContentFlagging”: true,
“InteractiveDialogAppsForm”: true,
“EnableMattermostEntry”: true,
“MobileSSOCodeExchange”: true,
“AutoTranslation”: false,
“BurnOnRead”: true,
“EnableAIPluginBridge”: false,
“EnableAIRecaps”: false
},
“ImportSettings”: {
“Directory”: “./import”,
“RetentionDays”: 30
},
“ExportSettings”: {
“Directory”: “./export”,
“RetentionDays”: 30
},
“WranglerSettings”: {
“PermittedWranglerRoles”: ,
“AllowedEmailDomain”: ,
“MoveThreadMaxCount”: 100,
“MoveThreadToAnotherTeamEnable”: false,
“MoveThreadFromPrivateChannelEnable”: false,
“MoveThreadFromDirectMessageChannelEnable”: false,
“MoveThreadFromGroupMessageChannelEnable”: false
},
“ConnectedWorkspacesSettings”: {
“EnableSharedChannels”: false,
“EnableRemoteClusterService”: false,
“DisableSharedChannelsStatusSync”: false,
“SyncUsersOnConnectionOpen”: false,
“GlobalUserSyncBatchSize”: 25,
“MaxPostsPerSync”: 50,
“MemberSyncBatchSize”: 20
},
“AccessControlSettings”: {
“EnableAttributeBasedAccessControl”: false,
“EnableChannelScopeAccessControl”: true,
“EnableUserManagedAttributes”: false
},
“ContentFlaggingSettings”: {
“EnableContentFlagging”: false,
“NotificationSettings”: {
“EventTargetMapping”: {
“assigned”: [
“reviewers”
],
“dismissed”: [
“reviewers”,
“reporter”
],
“flagged”: [
“reviewers”
],
“removed”: [
“reviewers”,
“author”,
“reporter”
]
}
},
“AdditionalSettings”: {
“Reasons”: [
“Inappropriate content”,
“Sensitive data”,
“Security concern”,
“Harassment or abuse”,
“Spam or phishing”
],
“ReporterCommentRequired”: true,
“ReviewerCommentRequired”: true,
“HideFlaggedContent”: true
},
“ReviewerSettings”: {
“CommonReviewers”: true,
“SystemAdminsAsReviewers”: false,
“TeamAdminsAsReviewers”: true
}
},
“AutoTranslationSettings”: {
“Enable”: false,
“Provider”: “”,
“TimeoutsMs”: {
“NewPost”: 800,
“Fetch”: 2000,
“Notification”: 300
},
“LibreTranslate”: {
“URL”: “”,
“APIKey”: “”
}
}
}

That’s the problem, it’s invalid JSON.

Has to look like:

"SiteURL": "https://localhost:8065",

I don’t know whether there are more syntax errors like this one, that’s why I suggested JSON syntax testers, if the problem persists.

Hi rtfm98

Thanks so so much for spotting the issue

I have corrected it but now the erorr is “Fail to ping DB” “Connection refused”

I tried to ping the host and it is reachable, can guide me to solve this issue ?

Thanks