Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Nächste ÜberarbeitungBeide Seiten der Revision
centos:web_c7:mattermost [05.10.2017 17:45. ] – [Download des Programmarchivs] djangocentos:web_c7:mattermost [05.10.2017 18:49. ] – [Erstellen eines Systemd Init Daemon] django
Zeile 87: Zeile 87:
 ===== Entpacken des Programmarchivs ===== ===== Entpacken des Programmarchivs =====
 Nun entpacken wir das heruntergeladene **tar.gz**-Archiv an Ort und Stelle. Nun entpacken wir das heruntergeladene **tar.gz**-Archiv an Ort und Stelle.
-   # tar -xvzf mattermost-team-3.4.0-linux-amd64.tar.gz -C /opt/+   # tar -xvzf /usr/local/src/packages/mattermost-4.2.0-linux-amd64.tar.gz -C /opt/
  
 ===== storage directory anlegen ===== ===== storage directory anlegen =====
Zeile 112: Zeile 112:
     "ServiceSettings": {     "ServiceSettings": {
         "SiteURL": "",         "SiteURL": "",
 +        "LicenseFileLocation": "",
         "ListenAddress": ":8065",         "ListenAddress": ":8065",
 +        "ConnectionSecurity": "",
 +        "TLSCertFile": "",
 +        "TLSKeyFile": "",
 +        "UseLetsEncrypt": false,
 +        "LetsEncryptCertificateCacheFile": "./config/letsencrypt.cache",
 +        "Forward80To443": false,
 +        "ReadTimeout": 300,
 +        "WriteTimeout": 300,
         "MaximumLoginAttempts": 10,         "MaximumLoginAttempts": 10,
-        "SegmentDeveloperKey": "",+        "GoroutineHealthThreshold": -1,
         "GoogleDeveloperKey": "",         "GoogleDeveloperKey": "",
         "EnableOAuthServiceProvider": false,         "EnableOAuthServiceProvider": false,
Zeile 123: Zeile 132:
         "EnablePostUsernameOverride": false,         "EnablePostUsernameOverride": false,
         "EnablePostIconOverride": false,         "EnablePostIconOverride": false,
 +        "EnableAPIv3": true,
 +        "EnableLinkPreviews": false,
         "EnableTesting": false,         "EnableTesting": false,
         "EnableDeveloper": false,         "EnableDeveloper": false,
         "EnableSecurityFixAlert": true,         "EnableSecurityFixAlert": true,
         "EnableInsecureOutgoingConnections": false,         "EnableInsecureOutgoingConnections": false,
 +        "AllowedUntrustedInternalConnections": "",
         "EnableMultifactorAuthentication": false,         "EnableMultifactorAuthentication": false,
 +        "EnforceMultifactorAuthentication": false,
 +        "EnableUserAccessTokens": false,
         "AllowCorsFrom": "",         "AllowCorsFrom": "",
         "SessionLengthWebInDays": 30,         "SessionLengthWebInDays": 30,
Zeile 137: Zeile 151:
         "WebserverMode": "gzip",         "WebserverMode": "gzip",
         "EnableCustomEmoji": false,         "EnableCustomEmoji": false,
-        "RestrictCustomEmojiCreation": "all"+        "EnableEmojiPicker": true, 
 +        "RestrictCustomEmojiCreation": "all"
 +        "RestrictPostDelete": "all", 
 +        "AllowEditPost": "always", 
 +        "PostEditTimeLimit": 300, 
 +        "TimeBetweenUserTypingUpdatesMilliseconds": 5000, 
 +        "EnablePostSearch": true, 
 +        "EnableUserTypingMessages": true, 
 +        "EnableChannelViewedMessages": true, 
 +        "EnableUserStatuses": true, 
 +        "ClusterLogTimeoutMilliseconds": 2000
     },     },
     "TeamSettings": {     "TeamSettings": {
Zeile 146: Zeile 170:
         "EnableOpenServer": false,         "EnableOpenServer": false,
         "RestrictCreationToDomains": "",         "RestrictCreationToDomains": "",
-        "RestrictTeamNames": true, 
         "EnableCustomBrand": false,         "EnableCustomBrand": false,
         "CustomBrandText": "",         "CustomBrandText": "",
Zeile 154: Zeile 177:
         "RestrictPublicChannelManagement": "all",         "RestrictPublicChannelManagement": "all",
         "RestrictPrivateChannelManagement": "all",         "RestrictPrivateChannelManagement": "all",
-        "UserStatusAwayTimeout": 300+        "RestrictPublicChannelCreation": "all", 
 +        "RestrictPrivateChannelCreation": "all", 
 +        "RestrictPublicChannelDeletion": "all", 
 +        "RestrictPrivateChannelDeletion": "all", 
 +        "RestrictPrivateChannelManageMembers": "all", 
 +        "EnableXToLeaveChannelsFromLHS": false, 
 +        "UserStatusAwayTimeout": 300
 +        "MaxChannelsPerTeam": 2000, 
 +        "MaxNotificationsPerChannel": 1000, 
 +        "TeammateNameDisplay": "username", 
 +        "ExperimentalTownSquareIsReadOnly": false 
 +    }, 
 +    "ClientRequirements":
 +        "AndroidLatestVersion": "", 
 +        "AndroidMinVersion": "", 
 +        "DesktopLatestVersion": "", 
 +        "DesktopMinVersion": "", 
 +        "IosLatestVersion": "", 
 +        "IosMinVersion": ""
     },     },
     "SqlSettings": {     "SqlSettings": {
         "DriverName": "mysql",         "DriverName": "mysql",
-        "DataSource": "mm_user:SSK-reF48-b6gKj4376sfRF@tcp(mariadb.dmz.nausch.org:3306)/mattermost_test?charset=utf8mb4,utf8",+        "DataSource": "mm_user:SSK-reF48-b6gKj4376sfRF@tcp(mariadb.dmz.nausch.org:3306)/mattermost_test?charset=utf8mb4,utf8&readTimeout=30s&writeTimeout=30s",
         "DataSourceReplicas": [],         "DataSourceReplicas": [],
-        "MaxIdleConns": 10+        "DataSourceSearchReplicas": [], 
-        "MaxOpenConns": 10,+        "MaxIdleConns": 20
 +        "MaxOpenConns": 300,
         "Trace": false,         "Trace": false,
-        "AtRestEncryptKey": ""+        "AtRestEncryptKey": ""
 +        "QueryTimeout": 30
     },     },
     "LogSettings": {     "LogSettings": {
         "EnableConsole": true,         "EnableConsole": true,
-        "ConsoleLevel": "DEBUG",+        "ConsoleLevel": "INFO",
         "EnableFile": true,         "EnableFile": true,
         "FileLevel": "INFO",         "FileLevel": "INFO",
Zeile 183: Zeile 226:
     },     },
     "FileSettings": {     "FileSettings": {
 +        "EnableFileAttachments": true,
 +        "EnableMobileUpload": true,
 +        "EnableMobileDownload": true,
         "MaxFileSize": 52428800,         "MaxFileSize": 52428800,
         "DriverName": "local",         "DriverName": "local",
Zeile 188: Zeile 234:
         "EnablePublicLink": false,         "EnablePublicLink": false,
         "PublicLinkSalt": "",         "PublicLinkSalt": "",
-        "ThumbnailWidth": 120, 
-        "ThumbnailHeight": 100, 
-        "PreviewWidth": 1024, 
-        "PreviewHeight": 0, 
-        "ProfileWidth": 128, 
-        "ProfileHeight": 128, 
         "InitialFont": "luximbi.ttf",         "InitialFont": "luximbi.ttf",
         "AmazonS3AccessKeyId": "",         "AmazonS3AccessKeyId": "",
         "AmazonS3SecretAccessKey": "",         "AmazonS3SecretAccessKey": "",
         "AmazonS3Bucket": "",         "AmazonS3Bucket": "",
-        "AmazonS3Region": "", +        "AmazonS3Region": "us-east-1", 
-        "AmazonS3Endpoint": "", +        "AmazonS3Endpoint": "s3.amazonaws.com", 
-        "AmazonS3BucketEndpoint": "", +        "AmazonS3SSL": true, 
-        "AmazonS3LocationConstraint": false, +        "AmazonS3SignV2": false
-        "AmazonS3LowercaseBucket": false+        "AmazonS3SSE": false, 
 +        "AmazonS3Trace": false
     },     },
     "EmailSettings": {     "EmailSettings": {
Zeile 213: Zeile 254:
         "FeedbackEmail": "",         "FeedbackEmail": "",
         "FeedbackOrganization": "",         "FeedbackOrganization": "",
 +        "EnableSMTPAuth": false,
         "SMTPUsername": "",         "SMTPUsername": "",
         "SMTPPassword": "",         "SMTPPassword": "",
Zeile 219: Zeile 261:
         "ConnectionSecurity": "",         "ConnectionSecurity": "",
         "InviteSalt": "",         "InviteSalt": "",
-        "PasswordResetSalt": "", 
         "SendPushNotifications": false,         "SendPushNotifications": false,
         "PushNotificationServer": "",         "PushNotificationServer": "",
Zeile 225: Zeile 266:
         "EnableEmailBatching": false,         "EnableEmailBatching": false,
         "EmailBatchingBufferSize": 256,         "EmailBatchingBufferSize": 256,
-        "EmailBatchingInterval": 30+        "EmailBatchingInterval": 30
 +        "SkipServerCertificateVerification": false, 
 +        "EmailNotificationContentsType": "full"
     },     },
     "RateLimitSettings": {     "RateLimitSettings": {
-        "EnableRateLimiter": true,+        "Enable": false,
         "PerSec": 10,         "PerSec": 10,
 +        "MaxBurst": 100,
         "MemoryStoreSize": 10000,         "MemoryStoreSize": 10000,
         "VaryByRemoteAddr": true,         "VaryByRemoteAddr": true,
Zeile 245: Zeile 289:
         "ReportAProblemLink": "https://about.mattermost.com/default-report-a-problem/",         "ReportAProblemLink": "https://about.mattermost.com/default-report-a-problem/",
         "SupportEmail": "feedback@mattermost.com"         "SupportEmail": "feedback@mattermost.com"
 +    },
 +    "AnnouncementSettings": {
 +        "EnableBanner": false,
 +        "BannerText": "",
 +        "BannerColor": "#f2a93b",
 +        "BannerTextColor": "#333333",
 +        "AllowBannerDismissal": true
 +    },
 +    "ThemeSettings": {
 +        "EnableThemeSelection": true,
 +        "DefaultTheme": "default",
 +        "AllowCustomThemes": true,
 +        "AllowedThemes": []
     },     },
     "GitLabSettings": {     "GitLabSettings": {
Zeile 288: Zeile 345:
         "NicknameAttribute": "",         "NicknameAttribute": "",
         "IdAttribute": "",         "IdAttribute": "",
 +        "PositionAttribute": "",
         "SyncIntervalMinutes": 60,         "SyncIntervalMinutes": 60,
         "SkipCertificateVerification": false,         "SkipCertificateVerification": false,
Zeile 306: Zeile 364:
     "SamlSettings": {     "SamlSettings": {
         "Enable": false,         "Enable": false,
-        "Verify": false+        "Verify": true
-        "Encrypt": false,+        "Encrypt": true,
         "IdpUrl": "",         "IdpUrl": "",
         "IdpDescriptorUrl": "",         "IdpDescriptorUrl": "",
Zeile 320: Zeile 378:
         "NicknameAttribute": "",         "NicknameAttribute": "",
         "LocaleAttribute": "",         "LocaleAttribute": "",
 +        "PositionAttribute": "",
         "LoginButtonText": "With SAML"         "LoginButtonText": "With SAML"
     },     },
Zeile 329: Zeile 388:
     "ClusterSettings": {     "ClusterSettings": {
         "Enable": false,         "Enable": false,
-        "InterNodeListenAddress": ":8075", +        "ClusterName": "", 
-        "InterNodeUrls": []+        "OverrideHostname": "", 
 +        "UseIpAddress": true, 
 +        "UseExperimentalGossip": false, 
 +        "ReadOnlyConfig": true, 
 +        "GossipPort": 8074, 
 +        "StreamingPort": 8075 
 +    }, 
 +    "MetricsSettings":
 +        "Enable": false, 
 +        "BlockProfileRate": 0, 
 +        "ListenAddress": ":8067" 
 +    }, 
 +    "AnalyticsSettings":
 +        "MaxUsersForStatistics": 2500 
 +    }, 
 +    "WebrtcSettings":
 +        "Enable": false, 
 +        "GatewayWebsocketUrl": "", 
 +        "GatewayAdminUrl": "", 
 +        "GatewayAdminSecret": "", 
 +        "StunURI": "", 
 +        "TurnURI": "", 
 +        "TurnUsername": "", 
 +        "TurnSharedKey": "" 
 +    }, 
 +    "ElasticsearchSettings":
 +        "ConnectionUrl": "http://dockerhost:9200", 
 +        "Username": "elastic", 
 +        "Password": "changeme", 
 +        "EnableIndexing": false, 
 +        "EnableSearching": false, 
 +        "Sniff": true, 
 +        "PostIndexReplicas": 1, 
 +        "PostIndexShards": 1, 
 +        "AggregatePostsAfterDays": 365, 
 +        "PostsAggregatorJobStartTime": "03:00" 
 +    }, 
 +    "DataRetentionSettings":
 +        "Enable": false 
 +    }, 
 +    "JobSettings":
 +        "RunJobs": true, 
 +        "RunScheduler": true 
 +    }, 
 +    "PluginSettings":
 +        "Enable": false
 +        "Plugins": {}
     }     }
-} +}</file>
-</file>+
  
 ===== erster Test/Programmstart des Daemon ===== ===== erster Test/Programmstart des Daemon =====
 Nun können wir den **Mattermost-Daemon** das erste mal starten und so testen, ob die Konfiguration der Datenbankanbindung auch entsprechend geklappt hat. Den manuellen Start des Daemon erfolgt über den Aufruf des vorcompilierten Programms //**/opt/mattermost/bin/platform**//. Nun können wir den **Mattermost-Daemon** das erste mal starten und so testen, ob die Konfiguration der Datenbankanbindung auch entsprechend geklappt hat. Den manuellen Start des Daemon erfolgt über den Aufruf des vorcompilierten Programms //**/opt/mattermost/bin/platform**//.
-   # /opt/mattermost/bin/platform+   # cd /opt/mattermost/bin 
 + 
 +   # sudo -u mattermost ./platform 
 In der Konsole erfolgt direkt die Status-Ausgabe und Informationen bei ggf. auftretenden Fehlern.  In der Konsole erfolgt direkt die Status-Ausgabe und Informationen bei ggf. auftretenden Fehlern. 
  
-<code>[2016/09/25 22:13:42 CEST] [INFO] Loaded system translations for 'en' from '/opt/mattermost/i18n/en.json' +<code>[2017/10/05 20:21:37 CEST] [INFO] Loaded system translations for 'en' from '/opt/mattermost/i18n/en.json' 
-[2016/09/25 22:13:42 CEST] [INFO] Current version is 3.4.0 (3.4.0/Wed Sep 14 13:19:13 UTC 2016/57f25fa59c71821cc38fd220b133aa6a40815e12/none+[2017/10/05 20:21:37 CEST] [INFO] Current version is 4.2.0 (4.2.0/Wed Sep 13 22:25:30 UTC 2017/a5ce36d0882ae1b4b409a7b68233bf89591a5f95/38697f6cf2a9183e410e88acd13191390711d38f
-[2016/09/25 22:13:42 CEST] [INFO] Enterprise Enabled: false +[2017/10/05 20:21:37 CEST] [INFO] Enterprise Enabled: true 
-[2016/09/25 22:13:42 CEST] [INFO] Current working directory is /opt/mattermost/bin +[2017/10/05 20:21:37 CEST] [INFO] Current working directory is /opt/mattermost/bin 
-[2016/09/25 22:13:42 CEST] [INFO] Loaded config file from /opt/mattermost/config/config.json +[2017/10/05 20:21:37 CEST] [INFO] Loaded config file from /opt/mattermost/config/config.json 
-[2016/09/25 22:13:42 CEST] [INFO] Server is initializing..+[2017/10/05 20:21:37 CEST] [INFO] Able to write files to local storage
-[2016/09/25 22:13:42 CEST] [INFO] Pinging sql master database +[2017/10/05 20:21:37 CEST] [INFO] Server is initializing... 
-[2016/09/25 22:13:42 CEST] [INFO] Pinging sql replica-0 database +[2017/10/05 20:21:37 CEST] [INFO] Pinging SQL master database 
-[2016/09/25 22:13:43 CEST] [INFO] The database schema has been set to version 3.4.0 +[2017/10/05 20:21:37 CEST] [INFO] The database schema has been set to version 4.2.0 
-[2016/09/25 22:13:44 CEST] [CRIT] Failed to create index Error 1214: The used table type doesn't support FULLTEXT indexes+[2017/10/05 20:21:37 CEST] [CRIT] Failed to create index Error 1214: The used table type doesn't support FULLTEXT indexes
 </code> </code>
  
-Im vorliegenden Fall ist der Programmstart mit der Fehlermeldung **Failed to create index Error 1214: The used table type doesn't support FULLTEXT indexes** abgebrochen! Zur Behebung der Fehlerursache ist es notwendig die MariaDB Datenbankengine für die Datenbank **mattermost_db** von **Innodb** auf **MyISAM** umzustellen.+Im vorliegenden Fall ist der Programmstart mit der Fehlermeldung **Failed to create index Error 1214: The used table type doesn't support FULLTEXT indexes** abgebrochen! Zur Behebung der Fehlerursache ist es notwendig die MariaDB Datenbank-Engine für die Datenbank **mattermost_db** von **Innodb** auf **MyISAM** umzustellen.
  
    # mysql -h localhost -u root -p    # mysql -h localhost -u root -p
Zeile 382: Zeile 489:
 Records: 0  Duplicates: 0  Warnings: 0 Records: 0  Duplicates: 0  Warnings: 0
  
-MariaDB [mattermost_db]> ALTER TABLE mattermost_db.Audits ENGINE=MyISAM;+MariaDB [mattermost_db]> ALTER TABLE mattermost_db.ClusterDiscovery ENGINE=MyISAM;
 Query OK, 0 rows affected (0.05 sec)                Query OK, 0 rows affected (0.05 sec)               
 Records: 0  Duplicates: 0  Warnings: 0 Records: 0  Duplicates: 0  Warnings: 0
Zeile 471: Zeile 578:
  
 Nun können wir erneut Testen, ob nun der Daemon startet. Nun können wir erneut Testen, ob nun der Daemon startet.
-   # /opt/mattermost/bin/platform+   # sudo -u mattermost ./platform
  
-<code>[2016/09/25 23:01:50 CEST] [INFO] Loaded system translations for 'en' from '/opt/mattermost/i18n/en.json' +<code>[2017/10/05 20:40:46 CEST] [INFO] Loaded system translations for 'en' from '/opt/mattermost/i18n/en.json' 
-[2016/09/25 23:01:50 CEST] [INFO] Current version is 3.4.0 (3.4.0/Wed Sep 14 13:19:13 UTC 2016/57f25fa59c71821cc38fd220b133aa6a40815e12/none+[2017/10/05 20:40:46 CEST] [INFO] Current version is 4.2.0 (4.2.0/Wed Sep 13 22:25:30 UTC 2017/a5ce36d0882ae1b4b409a7b68233bf89591a5f95/38697f6cf2a9183e410e88acd13191390711d38f
-[2016/09/25 23:01:50 CEST] [INFO] Enterprise Enabled: false +[2017/10/05 20:40:46 CEST] [INFO] Enterprise Enabled: true 
-[2016/09/25 23:01:50 CEST] [INFO] Current working directory is /opt/mattermost/logs +[2017/10/05 20:40:46 CEST] [INFO] Current working directory is /opt/mattermost/bin 
-[2016/09/25 23:01:50 CEST] [INFO] Loaded config file from /opt/mattermost/config/config.json +[2017/10/05 20:40:46 CEST] [INFO] Loaded config file from /opt/mattermost/config/config.json 
-[2016/09/25 23:01:50 CEST] [INFO] Server is initializing..+[2017/10/05 20:40:46 CEST] [INFO] Able to write files to local storage
-[2016/09/25 23:01:50 CEST] [INFO] Pinging sql master database +[2017/10/05 20:40:46 CEST] [INFO] Server is initializing... 
-[2016/09/25 23:01:50 CEST] [INFO] Pinging sql replica-0 database +[2017/10/05 20:40:46 CEST] [INFO] Pinging SQL master database 
-[2016/09/25 23:01:51 CEST] [DEBG] Deleting any unused pre-release features +[2017/10/05 20:40:46 CEST] [INFO] Initializing job API routes 
-[2016/09/25 23:01:51 CEST] [DEBG] Initializing user api routes +[2017/10/05 20:40:46 CEST] [INFOAPI version 3 is scheduled for deprecation. Please see https://api.mattermost.com for details. 
-[2016/09/25 23:01:51 CEST] [DEBGInitializing team api routes +[2017/10/05 20:40:46 CEST] [INFO] Initializing pluginjira 
-[2016/09/25 23:01:51 CEST] [DEBG] Initializing channel api routes +[2017/10/05 20:40:46 CEST] [INFO] Initializing pluginldapextras 
-[2016/09/25 23:01:51 CEST] [DEBG] Initializing post api routes +[2017/10/05 20:40:46 CEST] [INFOStarting 8 websocket hubs 
-[2016/09/25 23:01:51 CEST] [DEBG] Initializing web socket api routes +[2017/10/05 20:40:46 CEST] [INFOLicense key from https://mattermost.com required to unlock enterprise features. 
-[2016/09/25 23:01:51 CEST] [DEBG] Initializing file api routes +[2017/10/05 20:40:46 CEST] [INFO] Starting Server... 
-[2016/09/25 23:01:51 CEST] [DEBG] Initializing command api routes +[2017/10/05 20:40:46 CEST] [INFO] Server is listening on :8065 
-[2016/09/25 23:01:51 CEST] [DEBG] Initializing admin api routes +[2017/10/05 20:40:46 CEST] [INFO] Starting workers 
-[2016/09/25 23:01:51 CEST] [DEBGInitializing general api routes +[2017/10/05 20:40:46 CEST] [INFOStarting schedulers</code>
-[2016/09/25 23:01:51 CEST] [DEBGInitializing oauth api routes +
-[2016/09/25 23:01:51 CEST] [DEBG] Initializing webhook api routes +
-[2016/09/25 23:01:51 CEST] [DEBG] Initializing preference api routes +
-[2016/09/25 23:01:51 CEST] [DEBG] Initializing license api routes +
-[2016/09/25 23:01:51 CEST] [DEBG] Initializing emoji api routes +
-[2016/09/25 23:01:51 CEST] [DEBG] Initializing status api routes +
-[2016/09/25 23:01:51 CEST] [DEBG] Parsing server templates at /opt/mattermost/templates/ +
-[2016/09/25 23:01:51 CEST] [DEBG] Initializing web routes +
-[2016/09/25 23:01:51 CEST] [DEBG] Using client directory at /opt/mattermost/webapp/dist/ +
-[2016/09/25 23:01:51 CEST] [INFO] Starting Server... +
-[2016/09/25 23:01:51 CEST] [INFO] Server is listening on :8065 +
-[2016/09/25 23:01:51 CEST] [INFO] RateLimiter is enabled +
-[2016/09/25 23:01:51 CEST] [DEBGChecking for security update from Mattermost</code>+
  
 Der Daemon ist nun __ohne__ Fehlermeldung gestartet und wir überprüfen nun, ob der Port **8085** vom Daemon geöffnet wurde. Der Daemon ist nun __ohne__ Fehlermeldung gestartet und wir überprüfen nun, ob der Port **8085** vom Daemon geöffnet wurde.
Zeile 516: Zeile 610:
 tcp6            0 ::1:25                  :::*                    LISTEN      0          20994      1877/master          tcp6            0 ::1:25                  :::*                    LISTEN      0          20994      1877/master         
 tcp6            0 :::443                  :::*                    LISTEN      0          3314671    5595/httpd           tcp6            0 :::443                  :::*                    LISTEN      0          3314671    5595/httpd          
-tcp6            0 :::8065                 :::                   LISTEN      0          7708100    4817/platform       +tcp6            0 :::8065                 :::                   LISTEN      993        20420741   9521/./platform     
 udp        0      0 0.0.0.0:35715           0.0.0.0:                          70         15118      693/avahi-daemon: udp        0      0 0.0.0.0:35715           0.0.0.0:                          70         15118      693/avahi-daemon:
 udp        0      0 0.0.0.0:5353            0.0.0.0:                          70         15117      693/avahi-daemon: udp        0      0 0.0.0.0:5353            0.0.0.0:                          70         15117      693/avahi-daemon:
Zeile 527: Zeile 621:
 <file bash /etc/systemd/system/mattermost.service>[Unit] <file bash /etc/systemd/system/mattermost.service>[Unit]
 Description=Mattermost Description=Mattermost
-After=syslog.target network.target postgresql-9.4.service+After=syslog.target network.target mysqld.service
  
 [Service] [Service]
Zeile 547: Zeile 641:
    # systemctl daemon-reload    # systemctl daemon-reload
  
-Abschließend können wir nun Mattermost-Damon mit Hilfe unseres soebne angelegten Scripts starten. +Abschliessend können wir nun Mattermost-Deamon mit Hilfe unseres soeben angelegten Scripts starten. 
    # systemctl start mattermost.service    # systemctl start mattermost.service
  
    # cat /opt/mattermost/logs/mattermost.log     # cat /opt/mattermost/logs/mattermost.log 
-<code>[2016/09/25 23:24:36 CEST] [INFO] Loaded system translations for 'en' from '/opt/mattermost/i18n/en.json' +<code>[2017/10/05 20:47:59 CEST] [INFO] Loaded system translations for 'en' from '/opt/mattermost/i18n/en.json' 
-[2016/09/25 23:24:36 CEST] [INFO] Current version is 3.4.0 (3.4.0/Wed Sep 14 13:19:13 UTC 2016/57f25fa59c71821cc38fd220b133aa6a40815e12/none+[2017/10/05 20:47:59 CEST] [INFO] Current version is 4.2.0 (4.2.0/Wed Sep 13 22:25:30 UTC 2017/a5ce36d0882ae1b4b409a7b68233bf89591a5f95/38697f6cf2a9183e410e88acd13191390711d38f
-[2016/09/25 23:24:36 CEST] [INFO] Enterprise Enabled: false +[2017/10/05 20:47:59 CEST] [INFO] Enterprise Enabled: true 
-[2016/09/25 23:24:36 CEST] [INFO] Current working directory is /opt/mattermost/bin +[2017/10/05 20:47:59 CEST] [INFO] Current working directory is /opt/mattermost/bin 
-[2016/09/25 23:24:36 CEST] [INFO] Loaded config file from /opt/mattermost/config/config.json +[2017/10/05 20:47:59 CEST] [INFO] Loaded config file from /opt/mattermost/config/config.json 
-[2016/09/25 23:24:36 CEST] [INFO] Server is initializing... +[2017/10/05 20:47:59 CEST] [INFO] Able to write files to local storage. 
-[2016/09/25 23:24:36 CEST] [INFO] Pinging sql master database +[2017/10/05 20:47:59 CEST] [INFO] Server is initializing... 
-[2016/09/25 23:24:36 CEST] [INFO] Pinging sql replica-0 database +[2017/10/05 20:47:59 CEST] [INFO] Pinging SQL master database 
-[2016/09/25 23:24:36 CEST] [INFO] Starting Server... +[2017/10/05 20:47:59 CEST] [INFO] Initializing job API routes 
-[2016/09/25 23:24:36 CEST] [INFO] Server is listening on :8065 +[2017/10/05 20:47:59 CEST] [INFO] API version 3 is scheduled for deprecation. Please see https://api.mattermost.com for details. 
-[2016/09/25 23:24:36 CEST] [INFO] RateLimiter is enabled</code>+[2017/10/05 20:47:59 CEST] [INFO] Initializing plugin: ldapextras 
 +[2017/10/05 20:47:59 CEST] [INFO] Initializing plugin: jira 
 +[2017/10/05 20:47:59 CEST] [INFO] Starting 8 websocket hubs 
 +[2017/10/05 20:47:59 CEST] [INFO] License key from https://mattermost.com required to unlock enterprise features. 
 +[2017/10/05 20:47:59 CEST] [INFO] Starting Server... 
 +[2017/10/05 20:47:59 CEST] [INFO] Server is listening on :8065 
 +[2017/10/05 20:47:59 CEST] [INFO] Starting workers 
 +[2017/10/05 20:47:59 CEST] [INFO] Starting schedulers</code>
  
 Den erfolgreichen Start sehen wir, da z.B. der Server den port **8065** geöffnet hat. Natürlich können wir auch den Status mit folgendem Aufruf überprüfen. Den erfolgreichen Start sehen wir, da z.B. der Server den port **8065** geöffnet hat. Natürlich können wir auch den Status mit folgendem Aufruf überprüfen.
Zeile 569: Zeile 670:
 <font style="color: rgb(29, 180, 29)"><b>●</b></font> mattermost.service - Mattermost <font style="color: rgb(29, 180, 29)"><b>●</b></font> mattermost.service - Mattermost
    Loaded: loaded (/etc/systemd/system/mattermost.service; disabled; vendor preset: disabled)    Loaded: loaded (/etc/systemd/system/mattermost.service; disabled; vendor preset: disabled)
-   Active:<font style="color: rgb(29, 180, 29)"><b>active (running)</b></font> since Sun 2016-09-25 23:24:36 CEST; 48s ago +   Active:<font style="color: rgb(29, 180, 29)"><b>active (running)</b></font> since Thu 2017-10-05 20:47:58 CEST; 5s ago 
- Main PID: 7609 (platform)+ Main PID: 10485 (platform)
    CGroup: /system.slice/mattermost.service    CGroup: /system.slice/mattermost.service
-           └─7609 /opt/mattermost/bin/platform+           └─10485 /opt/mattermost/bin/platform
  
-Sep 25 23:24:36 vml000097.dmz.nausch.org platform[7609]: [2016/09/25 23:24:36 CEST] [DEBG] Initializing preference api routes +Oct 05 20:47:59 vml000107.dmz.nausch.org platform[10485]: [2017/10/05 20:47:59 CEST] [INFO] Initializing job API routes 
-Sep 25 23:24:36 vml000097.dmz.nausch.org platform[7609]: [2016/09/25 23:24:36 CEST] [DEBGInitializing license api routes +Oct 05 20:47:59 vml000107.dmz.nausch.org platform[10485]: [2017/10/05 20:47:59 CEST] [INFOAPI version 3 is scheduled for deprecation. Please see https://api.matte... details. 
-Sep 25 23:24:36 vml000097.dmz.nausch.org platform[7609]: [2016/09/25 23:24:36 CEST] [DEBG] Initializing emoji api routes +Oct 05 20:47:59 vml000107.dmz.nausch.org platform[10485]: [2017/10/05 20:47:59 CEST] [INFO] Initializing plugin: ldapextras 
-Sep 25 23:24:36 vml000097.dmz.nausch.org platform[7609]: [2016/09/25 23:24:36 CEST] [DEBG] Initializing status api routes +Oct 05 20:47:59 vml000107.dmz.nausch.org platform[10485]: [2017/10/05 20:47:59 CEST] [INFO] Initializing plugin: jira 
-Sep 25 23:24:36 vml000097.dmz.nausch.org platform[7609]: [2016/09/25 23:24:36 CEST] [DEBGParsing server templates at /opt/mattermost/templates/ +Oct 05 20:47:59 vml000107.dmz.nausch.org platform[10485]: [2017/10/05 20:47:59 CEST] [INFOStarting 8 websocket hubs 
-Sep 25 23:24:36 vml000097.dmz.nausch.org platform[7609]: [2016/09/25 23:24:36 CEST] [DEBGInitializing web routes +Oct 05 20:47:59 vml000107.dmz.nausch.org platform[10485]: [2017/10/05 20:47:59 CEST] [INFOLicense key from https://mattermost.com required to unlock enterprise features. 
-Sep 25 23:24:36 vml000097.dmz.nausch.org platform[7609]: [2016/09/25 23:24:36 CEST] [DEBGUsing client directory at /opt/mattermost/webapp/dist/ +Oct 05 20:47:59 vml000107.dmz.nausch.org platform[10485]: [2017/10/05 20:47:59 CEST] [INFOStarting Server... 
-Sep 25 23:24:36 vml000097.dmz.nausch.org platform[7609]: [2016/09/25 23:24:36 CEST] [INFO] Starting Server... +Oct 05 20:47:59 vml000107.dmz.nausch.org platform[10485]: [2017/10/05 20:47:59 CEST] [INFO] Server is listening on :8065 
-Sep 25 23:24:36 vml000097.dmz.nausch.org platform[7609]: [2016/09/25 23:24:36 CEST] [INFO] Server is listening on :8065 +Oct 05 20:47:59 vml000107.dmz.nausch.org platform[10485]: [2017/10/05 20:47:59 CEST] [INFO] Starting workers 
-Sep 25 23:24:36 vml000097.dmz.nausch.org platform[7609]: [2016/09/25 23:24:36 CEST] [INFO] RateLimiter is enabled +Oct 05 20:47:59 vml000107.dmz.nausch.org platform[10485]: [2017/10/05 20:47:59 CEST] [INFO] Starting schedulers</font></pre>
-</font></pre>+
 </html> </html>
  
  • centos/web_c7/mattermost.txt
  • Zuletzt geändert: 22.07.2019 14:47.
  • von django