# Docker - cant create private and public channels

**URL:** <https://forum.mattermost.com/t/docker-cant-create-private-and-public-channels/8184>\
**Category:** Troubleshooting\
**Created:** [September 25, 2019, 10:35am UTC](https://forum.mattermost.com/t/docker-cant-create-private-and-public-channels/8184 "2019-09-25T10:35:00Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![dominikp](https://avatars.discourse-cdn.com/v4/letter/d/ecd19e/32.png) [@dominikp](https://forum.mattermost.com/u/dominikp)\
**Post date:** [September 25, 2019, 10:35am UTC](https://forum.mattermost.com/t/docker-cant-create-private-and-public-channels/8184/1 "2019-09-25T10:35:00Z")

</div>

I installed docker version of mattermost. Unfortunately i dont see PLUS character near Public and Private channels to add any. My config/config.json from inside of contaier seems to be fine.

 ![Screenshot_20190925_123045](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/4/4c7a095a2d3c96900b74b02deaaf00de2d7f2bd1.png)

```
   "TeamSettings": {
    "SiteName": "Mattermost",
    "MaxUsersPerTeam": 50,
    "EnableTeamCreation": true,
    "EnableUserCreation": true,
    "EnableOpenServer": false,
    "EnableUserDeactivation": false,
    "RestrictCreationToDomains": "",
    "EnableCustomBrand": false,
    "CustomBrandText": "",
    "CustomDescriptionText": "",
    "RestrictDirectMessage": "any",
    "RestrictTeamInvite": "all",
    "RestrictPublicChannelManagement": "all",
    "RestrictPrivateChannelManagement": "all",
    "RestrictPublicChannelCreation": "all",
    "RestrictPrivateChannelCreation": "all",
    "RestrictPublicChannelDeletion": "all",
    "RestrictPrivateChannelDeletion": "all",
    "RestrictPrivateChannelManageMembers": "all",
    "EnableXToLeaveChannelsFromLHS": false,
    "UserStatusAwayTimeout": 300,
    "MaxChannelsPerTeam": 2000,
    "MaxNotificationsPerChannel": 1000000,
    "EnableConfirmNotificationsToChannel": true,
    "TeammateNameDisplay": "username",
    "ExperimentalViewArchivedChannels": false,
    "ExperimentalEnableAutomaticReplies": false,
    "ExperimentalHideTownSquareinLHS": false,
    "ExperimentalTownSquareIsReadOnly": false,
    "ExperimentalPrimaryTeam": "",
    "ExperimentalDefaultChannels": []
},
```

---

<div class="post-metadata">

**Author:** ![amy.blais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/amy.blais/32/7481_2.png) [@amy.blais](https://forum.mattermost.com/u/amy.blais)\
**Post date:** [September 25, 2019, 1:23pm UTC](https://forum.mattermost.com/t/docker-cant-create-private-and-public-channels/8184/2 "2019-09-25T13:23:19Z")

</div>

> [@dominikp](#):
>
> “EnableXToLeaveChannelsFromLHS”: false,

Hi @dominikp, does changing ``“EnableXToLeaveChannelsFromLHS” to True change what you are seeing?

---

<div class="post-metadata">

**Author:** ![dominikp](https://avatars.discourse-cdn.com/v4/letter/d/ecd19e/32.png) [@dominikp](https://forum.mattermost.com/u/dominikp)\
**Post date:** [September 26, 2019, 6:05am UTC](https://forum.mattermost.com/t/docker-cant-create-private-and-public-channels/8184/3 "2019-09-26T06:05:37Z")

</div>

I changed that value inside container, cleared browser cache and restarted it (browser) and it didnt work.

---

<div class="post-metadata">

**Author:** ![amy.blais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/amy.blais/32/7481_2.png) [@amy.blais](https://forum.mattermost.com/u/amy.blais)\
**Post date:** [September 26, 2019, 1:22pm UTC](https://forum.mattermost.com/t/docker-cant-create-private-and-public-channels/8184/4 "2019-09-26T13:22:33Z")

</div>

How many channels do you have on that team?

We also have these two bug tickets that might be related to the issue you’re seeing:

- [https://mattermost.atlassian.net/browse/MM-18099](https://mattermost.atlassian.net/browse/MM-18099)
- [https://mattermost.atlassian.net/browse/MM-18038](https://mattermost.atlassian.net/browse/MM-18038)

---

<div class="post-metadata">

**Author:** ![dominikp](https://avatars.discourse-cdn.com/v4/letter/d/ecd19e/32.png) [@dominikp](https://forum.mattermost.com/u/dominikp)\
**Post date:** [September 26, 2019, 2:28pm UTC](https://forum.mattermost.com/t/docker-cant-create-private-and-public-channels/8184/5 "2019-09-26T14:28:39Z")

</div>

None, i just started a docker instance for some tests and from the beginning i cant add any channels.

---

<div class="post-metadata">

**Author:** ![lucasbasquerotto](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lucasbasquerotto/32/4890_2.png) [@lucasbasquerotto](https://forum.mattermost.com/u/lucasbasquerotto)\
**Post date:** [September 16, 2021, 4:14pm UTC](https://forum.mattermost.com/t/docker-cant-create-private-and-public-channels/8184/6 "2021-09-16T16:14:58Z")

</div>

Just want to point out that I’m also facing this issue. I can archive/unarchive/close channels, but the button to create a new channel is not shown. I’m using docker too (`mattermost/mattermost-team-edition:release-6.0`).

> ### **Mattermost Team Edition**
> 
> Mattermost Version: 6.0.0-rc1  
> Database Schema Version: 6.0.0  
> Database: postgres

---

<div class="post-metadata">

**Author:** ![Gavin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/gavin/32/5107_2.png) [@Gavin](https://forum.mattermost.com/u/Gavin)\
**Post date:** [September 17, 2021, 7:26am UTC](https://forum.mattermost.com/t/docker-cant-create-private-and-public-channels/8184/7 "2021-09-17T07:26:26Z")

</div>

well, the create button is located here

![image](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/8/83b5176f3855324222b4377e9ac063f065afe70f.png)

i have the lastest MM installed.

---

<div class="post-metadata">

**Author:** ![lucasbasquerotto](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lucasbasquerotto/32/4890_2.png) [@lucasbasquerotto](https://forum.mattermost.com/u/lucasbasquerotto)\
**Post date:** [September 21, 2021, 1:14pm UTC](https://forum.mattermost.com/t/docker-cant-create-private-and-public-channels/8184/8 "2021-09-21T13:14:58Z")

</div>

Is it maybe the docker version? I created now a very simple demo to simulate the problem.

The `docker-compose.yml` full file:

```auto
version: "3.7"
services:
  mattermost:
    image: "mattermost/mattermost-team-edition:release-6.0"
    restart: "unless-stopped"
    depends_on:
      - "postgres"
    ports:
      - "8080:8065"
    environment:
      MM_USERNAME: "mattermost"
      MM_PASSWORD: "111222"
      MM_DBNAME: "mmdb"
      DB_HOST: "postgres"
      DB_PORT_NUMBER: 5432
    volumes:
      - "./env/mattermost/config.json:/mattermost/config/config.json"
  postgres:
    image: "postgres:13.3"
    restart: "unless-stopped"
    environment:
      POSTGRES_USER: "mattermost"
      POSTGRES_PASSWORD: "111222"
      POSTGRES_DB: "mmdb"

```

The only setting in the `config.json` file that was changed regarding the original that comes in the image is `SqlSettings.DataSource`, that was changed to `postgres://mattermost:111222@postgres:5432/mmdb?sslmode=disable\u0026connect_timeout=10`.

The `config.json` file that was mapped:

```json
{
    "ServiceSettings": {
        "SiteURL": "",
        "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": false,
        "EnableIncomingWebhooks": true,
        "EnableOutgoingWebhooks": true,
        "EnableCommands": true,
        "EnablePostUsernameOverride": false,
        "EnablePostIconOverride": false,
        "GoogleDeveloperKey": "",
        "EnableLinkPreviews": true,
        "EnablePermalinkPreviews": true,
        "RestrictLinkPreviews": "",
        "EnableTesting": false,
        "EnableDeveloper": false,
        "EnableOpenTracing": false,
        "EnableSecurityFixAlert": true,
        "EnableInsecureOutgoingConnections": false,
        "AllowedUntrustedInternalConnections": "",
        "EnableMultifactorAuthentication": false,
        "EnforceMultifactorAuthentication": false,
        "EnableUserAccessTokens": false,
        "AllowCorsFrom": "",
        "CorsExposedHeaders": "",
        "CorsAllowCredentials": false,
        "CorsDebug": false,
        "AllowCookiesForSubdomains": false,
        "ExtendSessionLengthWithActivity": true,
        "SessionLengthWebInDays": 30,
        "SessionLengthMobileInDays": 30,
        "SessionLengthSSOInDays": 30,
        "SessionCacheInMinutes": 10,
        "SessionIdleTimeoutInMinutes": 43200,
        "WebsocketSecurePort": 443,
        "WebsocketPort": 80,
        "WebserverMode": "gzip",
        "EnableGifPicker": true,
        "GfycatAPIKey": "2_KtH_W5",
        "GfycatAPISecret": "3wLVZPiswc3DnaiaFoLkDvB4X0IV6CpMkj4tf2inJRsBY6-FnkT08zGmppWFgeof",
        "EnableCustomEmoji": true,
        "EnableEmojiPicker": true,
        "PostEditTimeLimit": -1,
        "TimeBetweenUserTypingUpdatesMilliseconds": 5000,
        "EnablePostSearch": true,
        "EnableFileSearch": true,
        "MinimumHashtagLength": 3,
        "EnableUserTypingMessages": true,
        "EnableChannelViewedMessages": true,
        "EnableUserStatuses": true,
        "ExperimentalEnableAuthenticationTransfer": true,
        "ClusterLogTimeoutMilliseconds": 2000,
        "EnablePreviewFeatures": true,
        "EnableTutorial": true,
        "EnableOnboardingFlow": true,
        "ExperimentalEnableDefaultChannelLeaveJoinMessages": true,
        "ExperimentalGroupUnreadChannels": "disabled",
        "EnableAPITeamDeletion": false,
        "EnableAPIUserDeletion": false,
        "ExperimentalEnableHardenedMode": false,
        "ExperimentalStrictCSRFEnforcement": false,
        "EnableEmailInvitations": false,
        "DisableBotsWhenOwnerIsDeactivated": true,
        "EnableBotAccountCreation": false,
        "EnableSVGs": false,
        "EnableLatex": false,
        "EnableAPIChannelDeletion": false,
        "EnableLocalMode": false,
        "LocalModeSocketLocation": "/var/tmp/mattermost_local.socket",
        "EnableAWSMetering": false,
        "SplitKey": "",
        "FeatureFlagSyncIntervalSeconds": 30,
        "DebugSplit": false,
        "ThreadAutoFollow": true,
        "CollapsedThreads": "disabled",
        "ManagedResourcePaths": "",
        "EnableReliableWebSockets": true
    },
    "TeamSettings": {
        "SiteName": "Mattermost",
        "MaxUsersPerTeam": 50,
        "EnableUserCreation": true,
        "EnableOpenServer": false,
        "EnableUserDeactivation": false,
        "RestrictCreationToDomains": "",
        "EnableCustomUserStatuses": true,
        "EnableCustomBrand": false,
        "CustomBrandText": "",
        "CustomDescriptionText": "",
        "RestrictDirectMessage": "any",
        "UserStatusAwayTimeout": 300,
        "MaxChannelsPerTeam": 2000,
        "MaxNotificationsPerChannel": 1000,
        "EnableConfirmNotificationsToChannel": true,
        "TeammateNameDisplay": "username",
        "ExperimentalViewArchivedChannels": true,
        "ExperimentalEnableAutomaticReplies": false,
        "LockTeammateNameDisplay": false,
        "ExperimentalPrimaryTeam": "",
        "ExperimentalDefaultChannels": []
    },
    "ClientRequirements": {
        "AndroidLatestVersion": "",
        "AndroidMinVersion": "",
        "DesktopLatestVersion": "",
        "DesktopMinVersion": "",
        "IosLatestVersion": "",
        "IosMinVersion": ""
    },
    "SqlSettings": {
        "DriverName": "postgres",
        "DataSource": "postgres://mattermost:111222@postgres:5432/mmdb?sslmode=disable\u0026connect_timeout=10",
        "DataSourceReplicas": [],
        "DataSourceSearchReplicas": [],
        "MaxIdleConns": 20,
        "ConnMaxLifetimeMilliseconds": 3600000,
        "ConnMaxIdleTimeMilliseconds": 300000,
        "MaxOpenConns": 300,
        "Trace": false,
        "AtRestEncryptKey": "o9j4gknys91e5b5eyyu4f4zayy71q8jw",
        "QueryTimeout": 30,
        "DisableDatabaseSearch": false,
        "ReplicaLagSettings": []
    },
    "LogSettings": {
        "EnableConsole": true,
        "ConsoleLevel": "INFO",
        "ConsoleJson": true,
        "EnableColor": false,
        "EnableFile": true,
        "FileLevel": "INFO",
        "FileJson": true,
        "FileLocation": "",
        "EnableWebhookDebugging": true,
        "EnableDiagnostics": true,
        "EnableSentry": true,
        "AdvancedLoggingConfig": ""
    },
    "ExperimentalAuditSettings": {
        "FileEnabled": false,
        "FileName": "",
        "FileMaxSizeMB": 100,
        "FileMaxAgeDays": 0,
        "FileMaxBackups": 0,
        "FileCompress": false,
        "FileMaxQueueSize": 1000,
        "AdvancedLoggingConfig": ""
    },
    "NotificationLogSettings": {
        "EnableConsole": true,
        "ConsoleLevel": "INFO",
        "ConsoleJson": true,
        "EnableColor": false,
        "EnableFile": true,
        "FileLevel": "INFO",
        "FileJson": true,
        "FileLocation": "",
        "AdvancedLoggingConfig": ""
    },
    "PasswordSettings": {
        "MinimumLength": 10,
        "Lowercase": true,
        "Number": true,
        "Uppercase": true,
        "Symbol": true
    },
    "FileSettings": {
        "EnableFileAttachments": true,
        "EnableMobileUpload": true,
        "EnableMobileDownload": true,
        "MaxFileSize": 104857600,
        "MaxImageResolution": 33177600,
        "DriverName": "local",
        "Directory": "./data/",
        "EnablePublicLink": false,
        "ExtractContent": true,
        "ArchiveRecursion": false,
        "PublicLinkSalt": "9z3rrz45pkk9i7r6xt63id5zaqq5sar9",
        "InitialFont": "nunito-bold.ttf",
        "AmazonS3AccessKeyId": "",
        "AmazonS3SecretAccessKey": "",
        "AmazonS3Bucket": "",
        "AmazonS3PathPrefix": "",
        "AmazonS3Region": "",
        "AmazonS3Endpoint": "s3.amazonaws.com",
        "AmazonS3SSL": true,
        "AmazonS3SignV2": false,
        "AmazonS3SSE": false,
        "AmazonS3Trace": false
    },
    "EmailSettings": {
        "EnableSignUpWithEmail": true,
        "EnableSignInWithEmail": true,
        "EnableSignInWithUsername": true,
        "SendEmailNotifications": false,
        "UseChannelInEmailNotifications": false,
        "RequireEmailVerification": false,
        "FeedbackName": "",
        "FeedbackEmail": "",
        "ReplyToAddress": "",
        "FeedbackOrganization": "",
        "EnableSMTPAuth": false,
        "SMTPUsername": "",
        "SMTPPassword": "",
        "SMTPServer": "localhost",
        "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": "https://mattermost.com/terms-of-service/",
        "PrivacyPolicyLink": "https://mattermost.com/privacy-policy/",
        "AboutLink": "https://about.mattermost.com/default-about/",
        "HelpLink": "https://about.mattermost.com/default-help/",
        "ReportAProblemLink": "https://about.mattermost.com/default-report-a-problem/",
        "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": "",
        "UserFilter": "",
        "GroupFilter": "",
        "GuestFilter": "",
        "EnableAdminFilter": false,
        "AdminFilter": "",
        "GroupDisplayNameAttribute": "",
        "GroupIdAttribute": "",
        "FirstNameAttribute": "",
        "LastNameAttribute": "",
        "EmailAttribute": "",
        "UsernameAttribute": "",
        "NicknameAttribute": "",
        "IdAttribute": "",
        "PositionAttribute": "",
        "LoginIdAttribute": "",
        "PictureAttribute": "",
        "SyncIntervalMinutes": 60,
        "SkipCertificateVerification": false,
        "PublicCertificateFile": "",
        "PrivateKeyFile": "",
        "QueryTimeout": 60,
        "MaxPageSize": 0,
        "LoginFieldName": "",
        "LoginButtonColor": "#0000",
        "LoginButtonBorderColor": "#2389D7",
        "LoginButtonTextColor": "#2389D7",
        "Trace": false
    },
    "ComplianceSettings": {
        "Enable": false,
        "Directory": "./data/",
        "EnableDaily": false,
        "BatchSize": 30000
    },
    "LocalizationSettings": {
        "DefaultServerLocale": "en",
        "DefaultClientLocale": "en",
        "AvailableLocales": ""
    },
    "SamlSettings": {
        "Enable": false,
        "EnableSyncWithLdap": false,
        "EnableSyncWithLdapIncludeAuth": false,
        "IgnoreGuestsLdapSync": false,
        "Verify": true,
        "Encrypt": true,
        "SignRequest": false,
        "IdpURL": "",
        "IdpDescriptorURL": "",
        "IdpMetadataURL": "",
        "ServiceProviderIdentifier": "",
        "AssertionConsumerServiceURL": "",
        "SignatureAlgorithm": "RSAwithSHA1",
        "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": "https://mattermost.com/download/#mattermostApps",
        "AndroidAppDownloadLink": "https://about.mattermost.com/mattermost-android-app/",
        "IosAppDownloadLink": "https://about.mattermost.com/mattermost-ios-app/"
    },
    "ClusterSettings": {
        "Enable": false,
        "ClusterName": "",
        "OverrideHostname": "",
        "NetworkInterface": "",
        "BindAddress": "",
        "AdvertiseAddress": "",
        "UseIPAddress": true,
        "EnableGossipCompression": true,
        "EnableExperimentalGossipEncryption": false,
        "ReadOnlyConfig": true,
        "GossipPort": 8074,
        "StreamingPort": 8075,
        "MaxIdleConns": 100,
        "MaxIdleConnsPerHost": 128,
        "IdleConnTimeoutMilliseconds": 90000
    },
    "MetricsSettings": {
        "Enable": false,
        "BlockProfileRate": 0,
        "ListenAddress": ":8067"
    },
    "ExperimentalSettings": {
        "ClientSideCertEnable": false,
        "ClientSideCertCheck": "secondary",
        "EnableClickToReply": false,
        "LinkMetadataTimeoutMilliseconds": 5000,
        "RestrictSystemAdmin": false,
        "UseNewSAMLLibrary": false,
        "CloudUserLimit": 0,
        "CloudBilling": false,
        "EnableSharedChannels": false,
        "EnableRemoteClusterService": false
    },
    "AnalyticsSettings": {
        "MaxUsersForStatistics": 2500
    },
    "ElasticsearchSettings": {
        "ConnectionURL": "http://localhost:9200",
        "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": "",
        "LiveIndexingBatchSize": 1,
        "BulkIndexingTimeWindowSeconds": 3600,
        "RequestTimeoutSeconds": 30,
        "SkipTLSVerification": false,
        "Trace": ""
    },
    "BleveSettings": {
        "IndexDir": "",
        "EnableIndexing": false,
        "EnableSearching": false,
        "EnableAutocomplete": false,
        "BulkIndexingTimeWindowSeconds": 3600
    },
    "DataRetentionSettings": {
        "EnableMessageDeletion": false,
        "EnableFileDeletion": false,
        "MessageRetentionDays": 365,
        "FileRetentionDays": 365,
        "DeletionJobStartTime": "02:00",
        "BatchSize": 3000
    },
    "MessageExportSettings": {
        "EnableExport": false,
        "ExportFormat": "actiance",
        "DailyRunTime": "01:00",
        "ExportFromTimestamp": 0,
        "BatchSize": 10000,
        "DownloadExportResults": false,
        "GlobalRelaySettings": {
            "CustomerType": "A9",
            "SMTPUsername": "",
            "SMTPPassword": "",
            "EmailAddress": "",
            "SMTPServerTimeout": 1800
        }
    },
    "JobSettings": {
        "RunJobs": true,
        "RunScheduler": true
    },
    "PluginSettings": {
        "Enable": true,
        "EnableUploads": false,
        "AllowInsecureDownloadURL": false,
        "EnableHealthCheck": true,
        "Directory": "./plugins",
        "ClientDirectory": "./client/plugins",
        "Plugins": {
            "com.mattermost.plugin-incident-management": {
                "BotUserID": "z5yd4cwcif867p847hqkzn9m4c"
            }
        },
        "PluginStates": {
            "com.mattermost.nps": {
                "Enable": true
            },
            "com.mattermost.plugin-incident-management": {
                "Enable": true
            }
        },
        "EnableMarketplace": true,
        "EnableRemoteMarketplace": true,
        "AutomaticPrepackagedPlugins": true,
        "RequirePluginSignature": false,
        "MarketplaceURL": "https://api.integrations.mattermost.com",
        "SignaturePublicKeyFiles": [],
        "ChimeraOAuthProxyURL": ""
    },
    "DisplaySettings": {
        "CustomURLSchemes": [],
        "ExperimentalTimezone": true
    },
    "GuestAccountsSettings": {
        "Enable": false,
        "AllowEmailAccounts": true,
        "EnforceMultifactorAuthentication": false,
        "RestrictCreationToDomains": ""
    },
    "ImageProxySettings": {
        "Enable": false,
        "ImageProxyType": "local",
        "RemoteImageProxyURL": "",
        "RemoteImageProxyOptions": ""
    },
    "CloudSettings": {
        "CWSURL": "https://customers.mattermost.com",
        "CWSAPIURL": "https://portal.internal.prod.cloud.mattermost.com"
    },
    "ImportSettings": {
        "Directory": "./import",
        "RetentionDays": 30
    },
    "ExportSettings": {
        "Directory": "./export",
        "RetentionDays": 30
    }
}

```

Running `docker-compose up -d` starts the mattermost and postgres containers correctly. I define the mattermost user/email/password, create a team and go to the mattermost main page in the team that was newly created.

The problem is that I can’t add channels (as shown in the screenshot), even tough I’m admin.

 ![mm01](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/4/44f0d8f6affca0598b7beefbec27531c77db2831.png)

---

<div class="post-metadata">

**Author:** ![lucasbasquerotto](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lucasbasquerotto/32/4890_2.png) [@lucasbasquerotto](https://forum.mattermost.com/u/lucasbasquerotto)\
**Post date:** [September 21, 2021, 1:53pm UTC](https://forum.mattermost.com/t/docker-cant-create-private-and-public-channels/8184/9 "2021-09-21T13:53:18Z")

</div>

I posted an answer here with a simple docker-compose demo to simulate the issue, but it went to moderation ( **Update:** it’s not being moderated anymore, it’s the post above).

In any case, I faced that problem with the `mattermost/mattermost-team-edition` docker image `release-6.0`. I changed to `release-5.39` and it works now (I can create a channel), so I will use `release-5.39` for now.

It seems like a bug tough (at least regarding the docker image).

> [@Gavin](#):
>
> i have the lastest MM installed.

I don’t know if there is a more recent version, but at least in the official team edition images, the last release is 6.0:

[https://hub.docker.com/r/mattermost/mattermost-team-edition/tags?page=1&ordering=last\_updated&name=release](https://hub.docker.com/r/mattermost/mattermost-team-edition/tags?page=1&ordering=last_updated&name=release)

**Update**

I also can’t send emails in version `release-6.0`, but I can in version `release-5.39` (with the same email settings). It seems the `release-6.0` docker image is bugged 😕

---

<div class="post-metadata">

**Author:** ![jasonblais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jasonblais/32/720_2.png) [@jasonblais](https://forum.mattermost.com/u/jasonblais)\
**Post date:** [September 26, 2021, 1:09am UTC](https://forum.mattermost.com/t/docker-cant-create-private-and-public-channels/8184/10 "2021-09-26T01:09:12Z")

</div>

@lucasbasquerotto apologies for the confusion. 6.0 is not yet officially released (this is a release shipping on Oct 13). Not sure why it is showing up as the latest release, but we’ll get that cleaned up.

In the meantime, are you open to downloading `release-5.39`. This is our latest official release for both Team and Enterprise Edition: [Docker Hub](https://hub.docker.com/layers/mattermost/mattermost-team-edition/release-5.39/images/sha256-5d378621372411e080efa682289c4c01cee519f7a1d48b892b2cfce797e7cb26?context=explore)

EDIT: I just re-read your latest message and you noted you already downloaded 5.39 with the issue resolved 🙏

We’ll get our DockerHub release pages cleaned up so that it’s more obvious what is the latest release. Sorry for any inconvenience, and stay tuned for 6.0 release on Oct 13. 🙂

---

<div class="post-metadata">

**Author:** ![lucasbasquerotto](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lucasbasquerotto/32/4890_2.png) [@lucasbasquerotto](https://forum.mattermost.com/u/lucasbasquerotto)\
**Post date:** [September 27, 2021, 10:49pm UTC](https://forum.mattermost.com/t/docker-cant-create-private-and-public-channels/8184/11 "2021-09-27T22:49:24Z")

</div>

> [@jasonblais](#):
>
> @lucasbasquerotto apologies for the confusion. 6.0 is not yet officially released (this is a release shipping on Oct 13).

Oh, that explains the issue I’m having! I saw it tagged as release on Dockerhub so I thought it was already released.Thanks!
