Bug 49469 - The container for 4.2/mattermost=5.10.0 could not be started!
The container for 4.2/mattermost=5.10.0 could not be started!
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-05-14 14:42 CEST by Johannes Keiser
Modified: 2019-05-14 14:42 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.086
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Ticket number: 2019050221000985
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Keiser univentionstaff 2019-05-14 14:42:11 CEST
Version: 4.4-0 errata78 (Blumenthal)

The container for 4.2/mattermost=5.10.0 could not be started!

docker logs 8710140674b83a39c7f7144372ab39338a239b726860a673c1e2bd246562513a:
=> Update Mattermost plugin directory
=> Start MySQL
* Starting MySQL database server mysqld
   ...done.
=> Start Kopano Web Meetings server
time="2019-05-02T15:15:24Z" level=info msg="serve start"
time="2019-05-02T15:15:24Z" level=info msg="serve started"
time="2019-05-02T15:15:24Z" level=info msg="admin: API endpoint enabled"
time="2019-05-02T15:15:24Z" level=info msg="rtm: API endpoint enabled"
time="2019-05-02T15:15:24Z" level=info msg="starting http listener" listenAddr="0.0.0.0:8778"
time="2019-05-02T15:15:24Z" level=info msg="ready to handle requests"
=> Start Mattermost
panic: failed to apply option: failed to apply Config option: failed to load: failed to unmarshal config: parsing error at line 1, character 1: unexpected end of JSON input

goroutine 1 [running]:
github.com/mattermost/mattermost-server/cmd/mattermost/commands.InitDBCommandContextCobra(0x28d72e0, 0xc0006abd58, 0x0, 0x0)
/go/src/github.com/mattermost/mattermost-server/cmd/mattermost/commands/init.go:21 +0x16e
github.com/mattermost/mattermost-server/cmd/mattermost/commands.versionCmdF(0x28d72e0, 0xc0001d5940, 0x0, 0x1, 0x0, 0x0)
/go/src/github.com/mattermost/mattermost-server/cmd/mattermost/commands/version.go:25 +0x2b
github.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra.(*Command).execute(0x28d72e0, 0xc0001d5910, 0x1, 0x1, 0x28d72e0, 0xc0001d5910)
/go/src/github.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra/command.go:762 +0x465
github.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x28d2e00, 0x13e2323, 0xc0006abf88, 0xc000088058)
/go/src/github.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra/command.go:852 +0x2c0
github.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra.(*Command).Execute(...)
/go/src/github.com/mattermost/mattermost-server/vendor/github.com/spf13/cobra/command.go:800
github.com/mattermost/mattermost-server/cmd/mattermost/commands.Run(...)
/go/src/github.com/mattermost/mattermost-server/cmd/mattermost/commands/root.go:15
main.main()
/go/src/github.com/mattermost/mattermost-server/cmd/mattermost/main.go:30 +0x89
Error: failed to load: failed to unmarshal config: parsing error at line 1, character 1: unexpected end of JSON input
Usage:
  mattermost [flags]
  mattermost [command]

Available Commands:
  channel     Management of channels
  command     Management of slash commands
  config      Configuration
  export      Export data from Mattermost
  help        Help about any command
  import      Import data.
  jobserver   Start the Mattermost job server
  ldap        LDAP related utilities
  license     Licensing commands
  logs        Display logs in a human-readable format
  permissions Management of the Permissions system
  plugin      Management of plugins
  reset       Reset the database to initial state
  roles       Management of user roles
  sampledata  Generate sample data
  server      Run the Mattermost server
  team        Management of teams
  user        Management of users
  version     Display version information
  webhook     Management of webhooks

Flags:
  -c, --config string        Configuration file to use. (default "config.json")
      --disableconfigwatch   When set config.json will not be loaded from disk when the file is changed.
  -h, --help                 help for mattermost

Use "mattermost [command] --help" for more information about a command.


dockerd logs:
-- Logs begin at Fri 2019-02-08 13:20:01 CET, end at Thu 2019-05-02 17:15:26 CEST. --
Mai 02 17:11:17 ucs1001 dockerd[1678]: time="2019-05-02T17:11:17.320519726+02:00" level=warning msg="Your kernel does not support cgroup rt period"
Mai 02 17:11:17 ucs1001 dockerd[1678]: time="2019-05-02T17:11:17.320802394+02:00" level=warning msg="Your kernel does not support cgroup rt runtime"
Mai 02 17:11:17 ucs1001 dockerd[1678]: time="2019-05-02T17:11:17.322175001+02:00" level=info msg="Loading containers: start."
Mai 02 17:11:17 ucs1001 dockerd[1678]: time="2019-05-02T17:11:17.482985751+02:00" level=warning msg="libcontainerd: client is out of sync, restore was called on a fully synced
container (2410b17220cfd941981c1eb8113e7e544caa8cf05d00d26dd26f017b28f96454)."
Mai 02 17:11:17 ucs1001 dockerd[1678]: time="2019-05-02T17:11:17.483940161+02:00" level=warning msg="libcontainerd: failed to retrieve container
2410b17220cfd941981c1eb8113e7e544caa8cf05d00d26dd26f017b28f96454 state: rpc error: code = 2 desc = containerd: container not found"
Mai 02 17:11:17 ucs1001 dockerd[1678]: time="2019-05-02T17:11:17.484012399+02:00" level=warning msg="failed to cleanup ipc mounts:\nfailed to umount
/var/lib/docker/containers/2410b17220cfd941981c1eb8113e7e544caa8cf05d00d26dd26f017b28f96454/shm: invalid argument"
Mai 02 17:11:17 ucs1001 dockerd[1678]: time="2019-05-02T17:11:17.692611675+02:00" level=warning msg="libcontainerd: client is out of sync, restore was called on a fully synced
container (fa6827ecc534953213c501158cf2d90d9f885a3ec180021bccba79e1241c071c)."
Mai 02 17:11:17 ucs1001 dockerd[1678]: time="2019-05-02T17:11:17.693253913+02:00" level=warning msg="libcontainerd: failed to retrieve container
fa6827ecc534953213c501158cf2d90d9f885a3ec180021bccba79e1241c071c state: rpc error: code = 2 desc = containerd: container not found"
Mai 02 17:11:17 ucs1001 dockerd[1678]: time="2019-05-02T17:11:17.693307935+02:00" level=warning msg="failed to cleanup ipc mounts:\nfailed to umount
/var/lib/docker/containers/fa6827ecc534953213c501158cf2d90d9f885a3ec180021bccba79e1241c071c/shm: invalid argument"
Mai 02 17:11:17 ucs1001 dockerd[1678]: time="2019-05-02T17:11:17.805307112+02:00" level=info msg="Firewalld running: false"
Mai 02 17:11:19 ucs1001 dockerd[1678]: time="2019-05-02T17:11:19.818984634+02:00" level=info msg="Removing stale sandbox
34fcdd9756f0d8e41dcc8973a42cfd9d1cabb6d3345f7be55250b32804c25497 (fa6827ecc534953213c501158cf2d90d9f885a3ec180021bccba79e1241c071c)"
Mai 02 17:11:20 ucs1001 dockerd[1678]: time="2019-05-02T17:11:20.205239186+02:00" level=info msg="Removing stale sandbox
9da18862ac4727b779727030243ab8c884df082c3bb98b8eda741c38fa9af7cc (2410b17220cfd941981c1eb8113e7e544caa8cf05d00d26dd26f017b28f96454)"
Mai 02 17:11:22 ucs1001 dockerd[1678]: time="2019-05-02T17:11:22+02:00" level=info msg="Firewalld running: false"
Mai 02 17:11:22 ucs1001 dockerd[1678]: time="2019-05-02T17:11:22+02:00" level=info msg="Firewalld running: false"
Mai 02 17:11:24 ucs1001 dockerd[1678]: time="2019-05-02T17:11:24.370761396+02:00" level=info msg="Loading containers: done."
Mai 02 17:11:24 ucs1001 dockerd[1678]: time="2019-05-02T17:11:24.690212959+02:00" level=warning msg="failed to retrieve docker-init version: unknown output format: tini version
0.13.0\n"
Mai 02 17:11:24 ucs1001 dockerd[1678]: time="2019-05-02T17:11:24.697514617+02:00" level=info msg="Daemon has completed initialization"
Mai 02 17:11:24 ucs1001 dockerd[1678]: time="2019-05-02T17:11:24.697847843+02:00" level=info msg="Docker daemon" commit=092cba3 graphdriver=overlay version=1.13.1
Mai 02 17:11:25 ucs1001 dockerd[1678]: time="2019-05-02T17:11:25.085276242+02:00" level=info msg="API listen on /var/run/docker.sock"
Mai 02 17:15:19 ucs1001 dockerd[1678]: time="2019-05-02T17:15:19.954340842+02:00" level=warning msg="failed to retrieve docker-init version: unknown output format: tini version
0.13.0\n"


docker inspect:
{u'Status': u'exited', u'Pid': 0, u'OOMKilled': False, u'Dead': False, u'Paused': False, u'Running': False, u'FinishedAt': u'2019-05-02T15:15:26.760079358Z', u'Health': {u'Status':
u'starting', u'Log': [], u'FailingStreak': 0}, u'Restarting': False, u'Error': u'', u'StartedAt': u'2019-05-02T15:15:22.81360061Z', u'ExitCode': 1}
{u'Data': {u'MergedDir': u'/var/lib/docker/overlay/6560d3d01ea0c7dc86d051a37e0cf91b7444677278bd9d89ddb599e71a67c3f3/merged', u'WorkDir':
u'/var/lib/docker/overlay/6560d3d01ea0c7dc86d051a37e0cf91b7444677278bd9d89ddb599e71a67c3f3/work', u'LowerDir':
u'/var/lib/docker/overlay/9234e53db7fa4d49e977ea8c2c3448719414f588394bcb967e29aa6ef21e466f/root', u'UpperDir':
u'/var/lib/docker/overlay/6560d3d01ea0c7dc86d051a37e0cf91b7444677278bd9d89ddb599e71a67c3f3/upper'}, u'Name': u'overlay'}

Role: domaincontroller_master