{"action":"created","issue":{"url":"https://api.github.com/repos/prismagraphql/prisma/issues/2400","repository_url":"https://api.github.com/repos/prismagraphql/prisma","labels_url":"https://api.github.com/repos/prismagraphql/prisma/issues/2400/labels{/name}","comments_url":"https://api.github.com/repos/prismagraphql/prisma/issues/2400/comments","events_url":"https://api.github.com/repos/prismagraphql/prisma/issues/2400/events","html_url":"https://github.com/prismagraphql/prisma/issues/2400","id":322301541,"number":2400,"title":"prisma deploy times out","user":{"login":"dferber90","id":1765075,"avatar_url":"https://avatars0.githubusercontent.com/u/1765075?v=4","gravatar_id":"","url":"https://api.github.com/users/dferber90","html_url":"https://github.com/dferber90","followers_url":"https://api.github.com/users/dferber90/followers","following_url":"https://api.github.com/users/dferber90/following{/other_user}","gists_url":"https://api.github.com/users/dferber90/gists{/gist_id}","starred_url":"https://api.github.com/users/dferber90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dferber90/subscriptions","organizations_url":"https://api.github.com/users/dferber90/orgs","repos_url":"https://api.github.com/users/dferber90/repos","events_url":"https://api.github.com/users/dferber90/events{/privacy}","received_events_url":"https://api.github.com/users/dferber90/received_events","type":"User","site_admin":false},"labels":[{"id":918549676,"url":"https://api.github.com/repos/prismagraphql/prisma/labels/component/server","name":"component/server","color":"d4c5f9","default":false},{"id":930279042,"url":"https://api.github.com/repos/prismagraphql/prisma/labels/connectors/mysql","name":"connectors/mysql","color":"e99695","default":false},{"id":914001573,"url":"https://api.github.com/repos/prismagraphql/prisma/labels/connectors/postgres","name":"connectors/postgres","color":"e99695","default":false},{"id":543484877,"url":"https://api.github.com/repos/prismagraphql/prisma/labels/kind/bug","name":"kind/bug","color":"d93f0b","default":false}],"state":"closed","locked":false,"assignee":{"login":"dpetrick","id":4272382,"avatar_url":"https://avatars0.githubusercontent.com/u/4272382?v=4","gravatar_id":"","url":"https://api.github.com/users/dpetrick","html_url":"https://github.com/dpetrick","followers_url":"https://api.github.com/users/dpetrick/followers","following_url":"https://api.github.com/users/dpetrick/following{/other_user}","gists_url":"https://api.github.com/users/dpetrick/gists{/gist_id}","starred_url":"https://api.github.com/users/dpetrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpetrick/subscriptions","organizations_url":"https://api.github.com/users/dpetrick/orgs","repos_url":"https://api.github.com/users/dpetrick/repos","events_url":"https://api.github.com/users/dpetrick/events{/privacy}","received_events_url":"https://api.github.com/users/dpetrick/received_events","type":"User","site_admin":false},"assignees":[{"login":"dpetrick","id":4272382,"avatar_url":"https://avatars0.githubusercontent.com/u/4272382?v=4","gravatar_id":"","url":"https://api.github.com/users/dpetrick","html_url":"https://github.com/dpetrick","followers_url":"https://api.github.com/users/dpetrick/followers","following_url":"https://api.github.com/users/dpetrick/following{/other_user}","gists_url":"https://api.github.com/users/dpetrick/gists{/gist_id}","starred_url":"https://api.github.com/users/dpetrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpetrick/subscriptions","organizations_url":"https://api.github.com/users/dpetrick/orgs","repos_url":"https://api.github.com/users/dpetrick/repos","events_url":"https://api.github.com/users/dpetrick/events{/privacy}","received_events_url":"https://api.github.com/users/dpetrick/received_events","type":"User","site_admin":false}],"milestone":null,"comments":18,"created_at":"2018-05-11T13:42:03Z","updated_at":"2018-05-21T05:18:47Z","closed_at":"2018-05-12T12:03:57Z","author_association":"NONE","body":"# Bug Report\r\n\r\n**Current behavior**\r\n\r\n`prisma deploy` to local server times out\r\n\r\n**Reproduction**\r\n\r\nI'm trying to set up a local deployment for the first time. \r\n\r\n1. In a fresh folder\r\n1. `prisma init`\r\n1. Select `Create new database` -> `MySQL`\r\n1. `docker-compose up -d`\r\n1. `prisma deploy`\r\n\r\nNow it hangs at\r\n\r\n```\r\n$ prisma deploy\r\n(node:41992) ExperimentalWarning: The fs.promises API is experimental\r\nCreating stage default for service default ✔\r\nDeploying service `default` to stage `default` to server `local`... ⣾\r\n```\r\n\r\nuntil it eventually times out with\r\n\r\n```\r\n➜ prisma deploy\r\n(node:41992) ExperimentalWarning: The fs.promises API is experimental\r\nCreating stage default for service default ✔\r\nDeploying service `default` to stage `default` to server `local` !\r\n\r\nERROR: Whoops. Looks like an internal server error. Search your server logs for request ID: local:management:cjh1zrm1k00040799zacv109d\r\n\r\n{\r\n  \"data\": {\r\n    \"deploy\": null\r\n  },\r\n  \"errors\": [\r\n    {\r\n      \"message\": \"Whoops. Looks like an internal server error. Search your server logs for request ID: local:management:cjh1zrm1k00040799zacv109d\",\r\n      \"path\": [\r\n        \"deploy\"\r\n      ],\r\n      \"locations\": [\r\n        {\r\n          \"line\": 2,\r\n          \"column\": 9\r\n        }\r\n      ],\r\n      \"requestId\": \"local:management:cjh1zrm1k00040799zacv109d\"\r\n    }\r\n  ],\r\n  \"status\": 200\r\n}\r\n\r\nGet in touch if you need help: https://www.graph.cool/forum\r\nTo get more detailed output, run $ export DEBUG=\"*\"\r\n```\r\n\r\n<details>\r\n<summary>DEBUG version</summary>\r\n\r\n```\r\n➜ prisma deploy\r\n  config CWD /Users/nick/Desktop/foo +0ms\r\n  config HOME /Users/nick +2ms\r\n  config definitionDir /Users/nick/Desktop/foo +1ms\r\n  config definitionPath /Users/nick/Desktop/foo/prisma.yml +0ms\r\n  cli { isGlobal: true } +0ms\r\n  StatusChecker setting status checker +0ms\r\n  cli command id deploy +4ms\r\n(node:42672) ExperimentalWarning: The fs.promises API is experimental\r\n  cli:plugincache Got plugin from cache +0ms\r\n  cli:plugincache /Users/nick/Library/Caches/prisma/plugins.json +0ms\r\n  cli:plugincache Got plugin from cache +1ms\r\n  cli:plugincache /Users/nick/Library/Caches/prisma/plugins.json +0ms\r\n  plugins findCommand prisma-cli-core +0ms\r\n  plugin requiring command +0ms\r\n  cli-engine:plugins:manager requiring /Users/nick/.nvm/versions/node/v10.1.0/lib/node_modules/prisma/node_modules/prisma-cli-core +0ms\r\n  portfinder:defaultHosts exports._defaultHosts is: [ '0.0.0.0', '127.0.0.1', '::1', 'fe80::1', '192.168.178.28', 'fe80::ec71:e8ff:fe1a:74d5', 'fe80::7e16:7ea4:acf2:fe56', 'fe80::456c:36e7:1d4d:e7f4', '192.168.99.1' ] +0ms\r\n  cli-engine:plugins:manager required +979ms\r\n  plugin required command +982ms\r\n  Environment saving global rc +0ms\r\n  StatusChecker setting status checker +1s\r\n  prisma definition making cluster here +0ms\r\n  client Initializing cluster client +0ms\r\n  deploy checking verions +1s\r\n  deploy checking if project exists +43ms\r\n  client Sending query to cluster local +46ms\r\n  client http://localhost:4466/management +0ms\r\n  client\r\n  client       query($name: String! $stage: String!) {\r\n  client         project(name: $name stage: $stage) {\r\n  client           name\r\n  client           stage\r\n  client         }\r\n  client       }\r\n  client      +1ms\r\n  client { name: 'default', stage: 'default' } +0ms\r\n  client { project: { name: 'default', stage: 'default' } } +83ms\r\n\r\nDeploying service `default` to stage `default` to server `local`...  client Sending query to cluster local +2ms\r\n  client http://localhost:4466/management +0ms\r\n  client       mutation($name: String!, $stage: String! $types: String! $dryRun: Boolean $secrets: [String!], $subscriptions: [FunctionInput!], $force: Boolean) {\r\n  client         deploy(input: {\r\n  client           name: $name\r\n  client           stage: $stage\r\n  client           types: $types\r\n  client           dryRun: $dryRun\r\n  client           secrets: $secrets\r\n  client           subscriptions: $subscriptions\r\n  client           force: $force\r\n  client         }) {\r\n  client           errors {\r\n  client             type\r\n  client             field\r\n  client             description\r\n  client           }\r\n  client           warnings {\r\n  client             type\r\n  client             field\r\n  client             description\r\n  client           }\r\n  client           migration {\r\n  client             ...MigrationFragment\r\n  client           }\r\n  client         }\r\n  client       }\r\n  client\r\n  client fragment MigrationFragment on Migration {\r\n  client   revision\r\n  client   steps {\r\n  client     type\r\n  client     __typename\r\n  client     ... on CreateEnum {\r\n  client       name\r\n  client       ce_values: values\r\n  client     }\r\n  client     ... on CreateField {\r\n  client       model\r\n  client       name\r\n  client       cf_typeName: typeName\r\n  client       cf_isRequired: isRequired\r\n  client       cf_isList: isList\r\n  client       cf_isUnique: unique\r\n  client       cf_relation: relation\r\n  client       cf_defaultValue: default\r\n  client       cf_enum: enum\r\n  client     }\r\n  client     ... on CreateModel {\r\n  client       name\r\n  client     }\r\n  client     ... on CreateRelation {\r\n  client       name\r\n  client       leftModel\r\n  client       rightModel\r\n  client     }\r\n  client     ... on DeleteEnum {\r\n  client       name\r\n  client     }\r\n  client     ... on DeleteField {\r\n  client       model\r\n  client       name\r\n  client     }\r\n  client     ... on DeleteModel {\r\n  client       name\r\n  client     }\r\n  client     ... on DeleteRelation {\r\n  client       name\r\n  client     }\r\n  client     ... on UpdateEnum {\r\n  client       name\r\n  client       newName\r\n  client       values\r\n  client     }\r\n  client     ... on UpdateField {\r\n  client       model\r\n  client       name\r\n  client       newName\r\n  client       typeName\r\n  client       isRequired\r\n  client       isList\r\n  client       isUnique: unique\r\n  client       relation\r\n  client       default\r\n  client       enum\r\n  client     }\r\n  client     ... on UpdateModel {\r\n  client       name\r\n  client       um_newName: newName\r\n  client     }\r\n  client   }\r\n  client }\r\n  client\r\n  client      +0ms\r\n  client { name: 'default',\r\n  client   stage: 'default',\r\n  client   types: 'type User {\\n  id: ID! @unique\\n  name: String!\\n}\\n\\n',\r\n  client   dryRun: undefined,\r\n  client   secrets: null,\r\n  client   subscriptions: [],\r\n  client   force: undefined } +1ms\r\n```\r\n\r\n...and then it hangs for a while and eventually times out with\r\n\r\n```\r\n !\r\nError: Whoops. Looks like an internal server error. Search your server logs for request ID: local:management:cjh1zz4bd00090799odsw4owb: {\"response\":{\"data\":{\"deploy\":null},\"errors\":[{\"message\":\"Whoops. Looks like an internal server error. Search your server logs for request ID: local:management:cjh1zz4bd00090799odsw4owb\",\"path\":[\"deploy\"],\"locations\":[{\"line\":2,\"column\":9}],\"requestId\":\"local:management:cjh1zz4bd00090799odsw4owb\"}],\"status\":200},\"request\":{\"query\":\"      mutation($name: String!, $stage: String! $types: String! $dryRun: Boolean $secrets: [String!], $subscriptions: [FunctionInput!], $force: Boolean) {\\n        deploy(input: {\\n          name: $name\\n          stage: $stage\\n          types: $types\\n          dryRun: $dryRun\\n          secrets: $secrets\\n          subscriptions: $subscriptions\\n          force: $force\\n        }) {\\n          errors {\\n            type\\n            field\\n            description\\n          }\\n          warnings {\\n            type\\n            field\\n            description\\n          }\\n          migration {\\n            ...MigrationFragment\\n          }\\n        }\\n      }\\n      \\nfragment MigrationFragment on Migration {\\n  revision\\n  steps {\\n    type\\n    __typename\\n    ... on CreateEnum {\\n      name\\n      ce_values: values\\n    }\\n    ... on CreateField {\\n      model\\n      name\\n      cf_typeName: typeName\\n      cf_isRequired: isRequired\\n      cf_isList: isList\\n      cf_isUnique: unique\\n      cf_relation: relation\\n      cf_defaultValue: default\\n      cf_enum: enum\\n    }\\n    ... on CreateModel {\\n      name\\n    }\\n    ... on CreateRelation {\\n      name\\n      leftModel\\n      rightModel\\n    }\\n    ... on DeleteEnum {\\n      name\\n    }\\n    ... on DeleteField {\\n      model\\n      name\\n    }\\n    ... on DeleteModel {\\n      name\\n    }\\n    ... on DeleteRelation {\\n      name\\n    }\\n    ... on UpdateEnum {\\n      name\\n      newName\\n      values\\n    }\\n    ... on UpdateField {\\n      model\\n      name\\n      newName\\n      typeName\\n      isRequired\\n      isList\\n      isUnique: unique\\n      relation\\n      default\\n      enum\\n    }\\n    ... on UpdateModel {\\n      name\\n      um_newName: newName\\n    }\\n  }\\n}\\n\\n    \",\"variables\":{\"name\":\"default\",\"stage\":\"default\",\"types\":\"type User {\\n  id: ID! @unique\\n  name: String!\\n}\\n\\n\",\"secrets\":null,\"subscriptions\":[]}}}\r\n    at GraphQLClient.<anonymous> (/Users/nick/.nvm/versions/node/v10.1.0/lib/node_modules/prisma/node_modules/graphql-request/src/index.ts:72:13)\r\n    at step (/Users/nick/.nvm/versions/node/v10.1.0/lib/node_modules/prisma/node_modules/graphql-request/dist/src/index.js:40:23)\r\n    at Object.next (/Users/nick/.nvm/versions/node/v10.1.0/lib/node_modules/prisma/node_modules/graphql-request/dist/src/index.js:21:53)\r\n    at fulfilled (/Users/nick/.nvm/versions/node/v10.1.0/lib/node_modules/prisma/node_modules/graphql-request/dist/src/index.js:12:58)\r\n    at process._tickCallback (internal/process/next_tick.js:68:7)\r\n  util timed out +0ms\r\nExiting with code: 0\r\n```\r\n\r\n</details>\r\n\r\nVersions\r\n\r\n```\r\n➜ node -v\r\nv10.1.0\r\n➜  prisma -v\r\n(node:42150) ExperimentalWarning: The fs.promises API is experimental\r\nprisma/1.8.0 (darwin-x64) node-v10.1.0\r\n➜  docker -v\r\nDocker version 18.03.1-ce, build 9ee9f40\r\n➜  docker-compose -v\r\ndocker-compose version 1.21.1, build 5a3f1a3\r\n➜  npm -v\r\n5.6.0\r\n➜  docker-compose ps\r\n    Name                 Command             State           Ports\r\n---------------------------------------------------------------------------\r\nfoo_mysql_1    docker-entrypoint.sh mysqld   Up      3306/tcp\r\nfoo_prisma_1   /bin/sh -c /app/start.sh      Up      0.0.0.0:4466->4466/tcp\r\n➜ docker ps\r\nCONTAINER ID        IMAGE                      COMMAND                  CREATED             STATUS              PORTS                    NAMES\r\n196e6d8826d3        prismagraphql/prisma:1.8   \"/bin/sh -c /app/sta…\"   19 minutes ago      Up 19 minutes       0.0.0.0:4466->4466/tcp   foo_prisma_1\r\n7bb85066985c        mysql:5.7                  \"docker-entrypoint.s…\"   19 minutes ago      Up 19 minutes       3306/tcp                 foo_mysql_1\r\n9f492d95b91d        mysql:5.7                  \"docker-entrypoint.s…\"   36 minutes ago      Up 36 minutes       3306/tcp                 bar_mysql_1\r\n```\r\n\r\n\r\n<details>\r\n<summary>docker-compose logs</summary>\r\n\r\nThese logs probably contain the error messages of at least 2 attempts.\r\n\r\n```\r\n➜ docker-compose logs\r\nAttaching to foo_prisma_1, foo_mysql_1\r\nprisma_1  | Exception in thread \"main\" java.sql.SQLTransientConnectionException: database - Connection is not available, request timed out after 5015ms.\r\nprisma_1  | \tat com.zaxxer.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:548)\r\nprisma_1  | \tat com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:186)\r\nprisma_1  | \tat com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:145)\r\nprisma_1  | \tat com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:83)\r\nprisma_1  | \tat slick.jdbc.hikaricp.HikariCPJdbcDataSource.createConnection(HikariCPJdbcDataSource.scala:18)\r\nprisma_1  | \tat slick.jdbc.JdbcBackend$BaseSession.<init>(JdbcBackend.scala:439)\r\nprisma_1  | \tat slick.jdbc.JdbcBackend$DatabaseDef.createSession(JdbcBackend.scala:47)\r\nprisma_1  | \tat slick.jdbc.JdbcBackend$DatabaseDef.createSession(JdbcBackend.scala:38)\r\nprisma_1  | \tat slick.basic.BasicBackend$DatabaseDef.acquireSession(BasicBackend.scala:218)\r\nprisma_1  | \tat slick.basic.BasicBackend$DatabaseDef.acquireSession$(BasicBackend.scala:217)\r\nprisma_1  | \tat slick.jdbc.JdbcBackend$DatabaseDef.acquireSession(JdbcBackend.scala:38)\r\nprisma_1  | \tat slick.basic.BasicBackend$DatabaseDef$$anon$2.run(BasicBackend.scala:239)\r\nprisma_1  | \tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\nprisma_1  | \tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\nprisma_1  | \tat java.lang.Thread.run(Thread.java:748)\r\nprisma_1  | Caused by: java.sql.SQLNonTransientConnectionException: Could not connect to address=(host=mysql)(port=3306)(type=master) : Connection refused (Connection refused)\r\nprisma_1  | \tat org.mariadb.jdbc.internal.util.exceptions.ExceptionMapper.get(ExceptionMapper.java:161)\r\nprisma_1  | \tat org.mariadb.jdbc.internal.util.exceptions.ExceptionMapper.connException(ExceptionMapper.java:79)\r\nprisma_1  | \tat org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connectWithoutProxy(AbstractConnectProtocol.java:1040)\r\nprisma_1  | \tat org.mariadb.jdbc.internal.util.Utils.retrieveProxy(Utils.java:490)\r\nprisma_1  | \tat org.mariadb.jdbc.MariaDbConnection.newConnection(MariaDbConnection.java:144)\r\nprisma_1  | \tat org.mariadb.jdbc.Driver.connect(Driver.java:90)\r\nprisma_1  | \tat slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101)\r\nprisma_1  | \tat com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:341)\r\nprisma_1  | \tat com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:193)\r\nprisma_1  | \tat com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:430)\r\nprisma_1  | \tat com.zaxxer.hikari.pool.HikariPool.access$500(HikariPool.java:64)\r\nprisma_1  | \tat com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:570)\r\nprisma_1  | \tat com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:563)\r\nprisma_1  | \tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\nprisma_1  | \t... 3 more\r\nprisma_1  | Caused by: java.net.ConnectException: Connection refused (Connection refused)\r\nprisma_1  | \tat java.net.PlainSocketImpl.socketConnect(Native Method)\r\nprisma_1  | \tat java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)\r\nprisma_1  | \tat java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)\r\nprisma_1  | \tat java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)\r\nprisma_1  | \tat java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)\r\nprisma_1  | \tat java.net.Socket.connect(Socket.java:589)\r\nprisma_1  | \tat java.net.Socket.connect(Socket.java:538)\r\nprisma_1  | \tat org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connect(AbstractConnectProtocol.java:398)\r\nprisma_1  | \tat org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connectWithoutProxy(AbstractConnectProtocol.java:1032)\r\nprisma_1  | \t... 14 more\r\nprisma_1  | Initializing workers...\r\nprisma_1  | Successfully started 1 workers.\r\nprisma_1  | Server running on :4466\r\nprisma_1  | Version is up to date.\r\nprisma_1  | {\"@timestamp\":\"2018-05-11T13:22:36.365+00:00\",\"@version\":1,\"message\":\"{\\\"key\\\":\\\"request/new\\\",\\\"requestId\\\":\\\"local:management:cjh1zrkbn00000799l1eiff4y\\\"}\",\"logger_name\":\"com.prisma.deploy.server.ManagementServer\",\"thread_name\":\"single-server-akka.actor.default-dispatcher-4\",\"level\":\"INFO\",\"level_value\":20000,\"HOSTNAME\":\"196e6d8826d3\"}\r\nprisma_1  | [Metrics] Warning: no metrics will be recorded.\r\nprisma_1  | {\"@timestamp\":\"2018-05-11T13:22:37.606+00:00\",\"@version\":1,\"message\":\"{\\\"key\\\":\\\"request/complete\\\",\\\"requestId\\\":\\\"local:management:cjh1zrkbn00000799l1eiff4y\\\",\\\"payload\\\":{\\\"request_duration\\\":\\\"1280\\\"}}\",\"logger_name\":\"com.prisma.deploy.server.ManagementServer\",\"thread_name\":\"single-server-akka.actor.default-dispatcher-5\",\"level\":\"INFO\",\"level_value\":20000,\"HOSTNAME\":\"196e6d8826d3\"}\r\nprisma_1  | {\"@timestamp\":\"2018-05-11T13:22:37.662+00:00\",\"@version\":1,\"message\":\"{\\\"key\\\":\\\"request/new\\\",\\\"requestId\\\":\\\"local:management:cjh1zrlcu00010799j5dmysm0\\\"}\",\"logger_name\":\"com.prisma.deploy.server.ManagementServer\",\"thread_name\":\"single-server-akka.actor.default-dispatcher-10\",\"level\":\"INFO\",\"level_value\":20000,\"HOSTNAME\":\"196e6d8826d3\"}\r\nprisma_1  | {\"@timestamp\":\"2018-05-11T13:22:37.689+00:00\",\"@version\":1,\"message\":\"{\\\"key\\\":\\\"request/complete\\\",\\\"requestId\\\":\\\"local:management:cjh1zrlcu00010799j5dmysm0\\\",\\\"payload\\\":{\\\"request_duration\\\":\\\"27\\\"}}\",\"logger_name\":\"com.prisma.deploy.server.ManagementServer\",\"thread_name\":\"single-server-akka.actor.default-dispatcher-4\",\"level\":\"INFO\",\"level_value\":20000,\"HOSTNAME\":\"196e6d8826d3\"}\r\nprisma_1  | {\"@timestamp\":\"2018-05-11T13:22:37.741+00:00\",\"@version\":1,\"message\":\"{\\\"key\\\":\\\"request/new\\\",\\\"requestId\\\":\\\"local:management:cjh1zrlf000020799k09g7rom\\\"}\",\"logger_name\":\"com.prisma.deploy.server.ManagementServer\",\"thread_name\":\"single-server-akka.actor.default-dispatcher-20\",\"level\":\"INFO\",\"level_value\":20000,\"HOSTNAME\":\"196e6d8826d3\"}\r\nprisma_1  | Warning: Management API authentication is disabled. To protect your management server you should provide one (not both) of the environment variables 'CLUSTER_PUBLIC_KEY' (asymmetric, deprecated soon) or 'PRISMA_MANAGEMENT_API_JWT_SECRET' (symmetric JWT).\r\nprisma_1  | {\"key\":\"error/handled\",\"requestId\":\"local:management:cjh1zrlf000020799k09g7rom\",\"payload\":{\"exception\":\"com.prisma.deploy.schema.InvalidProjectId: No service with name 'default' and stage 'default' found\",\"query\":\"\\n      query($name: String! $stage: String!) {\\n        project(name: $name stage: $stage) {\\n          name\\n          stage\\n        }\\n      }\\n    \",\"variables\":\"{\\\"name\\\":\\\"default\\\",\\\"stage\\\":\\\"default\\\"}\",\"code\":\"4000\",\"stack_trace\":\"com.prisma.deploy.schema.SchemaBuilderImpl.$anonfun$projectField$3(SchemaBuilder.scala:139)\\\\n scala.Option.getOrElse(Option.scala:121)\\\\n com.prisma.deploy.schema.SchemaBuilderImpl.$anonfun$projectField$2(SchemaBuilder.scala:139)\\\\n scala.util.Success.$anonfun$map$1(Try.scala:251)\\\\n scala.util.Success.map(Try.scala:209)\\\\n scala.concurrent.Future.$anonfun$map$1(Future.scala:287)\\\\n scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:29)\\\\n scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:29)\\\\n scala.concurrent.impl.CallbackRunnable.run(Promise.scala:60)\\\\n akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)\\\\n akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:91)\\\\n scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)\\\\n scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:81)\\\\n akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:91)\\\\n akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:40)\\\\n akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:43)\\\\n akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\\\\n akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)\\\\n akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)\\\\n akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)\",\"message\":\"No service with name 'default' and stage 'default' found\"}}\r\nprisma_1  | {\"@timestamp\":\"2018-05-11T13:22:37.896+00:00\",\"@version\":1,\"message\":\"{\\\"key\\\":\\\"request/complete\\\",\\\"requestId\\\":\\\"local:management:cjh1zrlf000020799k09g7rom\\\",\\\"payload\\\":{\\\"request_duration\\\":\\\"156\\\"}}\",\"logger_name\":\"com.prisma.deploy.server.ManagementServer\",\"thread_name\":\"single-server-akka.actor.default-dispatcher-9\",\"level\":\"INFO\",\"level_value\":20000,\"HOSTNAME\":\"196e6d8826d3\"}\r\nprisma_1  | {\"@timestamp\":\"2018-05-11T13:22:37.929+00:00\",\"@version\":1,\"message\":\"{\\\"key\\\":\\\"request/new\\\",\\\"requestId\\\":\\\"local:management:cjh1zrlk80003079971bkhqxc\\\"}\",\"logger_name\":\"com.prisma.deploy.server.ManagementServer\",\"thread_name\":\"single-server-akka.actor.default-dispatcher-5\",\"level\":\"INFO\",\"level_value\":20000,\"HOSTNAME\":\"196e6d8826d3\"}\r\nprisma_1  | Warning: Management API authentication is disabled. To protect your management server you should provide one (not both) of the environment variables 'CLUSTER_PUBLIC_KEY' (asymmetric, deprecated soon) or 'PRISMA_MANAGEMENT_API_JWT_SECRET' (symmetric JWT).\r\nprisma_1  | {\"@timestamp\":\"2018-05-11T13:22:38.528+00:00\",\"@version\":1,\"message\":\"{\\\"key\\\":\\\"request/complete\\\",\\\"requestId\\\":\\\"local:management:cjh1zrlk80003079971bkhqxc\\\",\\\"payload\\\":{\\\"request_duration\\\":\\\"599\\\"}}\",\"logger_name\":\"com.prisma.deploy.server.ManagementServer\",\"thread_name\":\"single-server-akka.actor.default-dispatcher-5\",\"level\":\"INFO\",\"level_value\":20000,\"HOSTNAME\":\"196e6d8826d3\"}\r\nprisma_1  | {\"@timestamp\":\"2018-05-11T13:22:38.552+00:00\",\"@version\":1,\"message\":\"{\\\"key\\\":\\\"request/new\\\",\\\"requestId\\\":\\\"local:management:cjh1zrm1k00040799zacv109d\\\"}\",\"logger_name\":\"com.prisma.deploy.server.ManagementServer\",\"thread_name\":\"single-server-akka.actor.default-dispatcher-5\",\"level\":\"INFO\",\"level_value\":20000,\"HOSTNAME\":\"196e6d8826d3\"}\r\nprisma_1  | Warning: Management API authentication is disabled. To protect your management server you should provide one (not both) of the environment variables 'CLUSTER_PUBLIC_KEY' (asymmetric, deprecated soon) or 'PRISMA_MANAGEMENT_API_JWT_SECRET' (symmetric JWT).\r\nprisma_1  | akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://single-server/user/$m#2112742780]] after [300000 ms]. Sender[null] sent message of type \"com.prisma.deploy.migration.migrator.DeploymentProtocol$Schedule\".\r\nprisma_1  | \tat akka.pattern.PromiseActorRef$.$anonfun$defaultOnTimeout$1(AskSupport.scala:595)\r\nprisma_1  | \tat akka.pattern.PromiseActorRef$.$anonfun$apply$1(AskSupport.scala:605)\r\nprisma_1  | \tat akka.actor.Scheduler$$anon$4.run(Scheduler.scala:140)\r\nprisma_1  | \tat scala.concurrent.Future$InternalCallbackExecutor$.unbatchedExecute(Future.scala:864)\r\nprisma_1  | \tat scala.concurrent.BatchingExecutor.execute(BatchingExecutor.scala:109)\r\nprisma_1  | \tat scala.concurrent.BatchingExecutor.execute$(BatchingExecutor.scala:103)\r\nprisma_1  | \tat scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:862)\r\nprisma_1  | \tat akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(LightArrayRevolverScheduler.scala:328)\r\nprisma_1  | \tat akka.actor.LightArrayRevolverScheduler$$anon$4.executeBucket$1(LightArrayRevolverScheduler.scala:279)\r\nprisma_1  | \tat akka.actor.LightArrayRevolverScheduler$$anon$4.nextTick(LightArrayRevolverScheduler.scala:283)\r\nprisma_1  | \tat akka.actor.LightArrayRevolverScheduler$$anon$4.run(LightArrayRevolverScheduler.scala:235)\r\nprisma_1  | \tat java.lang.Thread.run(Thread.java:748)\r\nprisma_1  | {\"key\":\"error/unhandled\",\"requestId\":\"local:management:cjh1zrm1k00040799zacv109d\",\"payload\":{\"exception\":\"akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://single-server/user/$m#2112742780]] after [300000 ms]. Sender[null] sent message of type \\\"com.prisma.deploy.migration.migrator.DeploymentProtocol$Schedule\\\".\",\"query\":\"      mutation($name: String!, $stage: String! $types: String! $dryRun: Boolean $secrets: [String!], $subscriptions: [FunctionInput!], $force: Boolean) {\\n        deploy(input: {\\n          name: $name\\n          stage: $stage\\n          types: $types\\n          dryRun: $dryRun\\n          secrets: $secrets\\n          subscriptions: $subscriptions\\n          force: $force\\n        }) {\\n          errors {\\n            type\\n            field\\n            description\\n          }\\n          warnings {\\n            type\\n            field\\n            description\\n          }\\n          migration {\\n            ...MigrationFragment\\n          }\\n        }\\n      }\\n      \\nfragment MigrationFragment on Migration {\\n  revision\\n  steps {\\n    type\\n    __typename\\n    ... on CreateEnum {\\n      name\\n      ce_values: values\\n    }\\n    ... on CreateField {\\n      model\\n      name\\n      cf_typeName: typeName\\n      cf_isRequired: isRequired\\n      cf_isList: isList\\n      cf_isUnique: unique\\n      cf_relation: relation\\n      cf_defaultValue: default\\n      cf_enum: enum\\n    }\\n    ... on CreateModel {\\n      name\\n    }\\n    ... on CreateRelation {\\n      name\\n      leftModel\\n      rightModel\\n    }\\n    ... on DeleteEnum {\\n      name\\n    }\\n    ... on DeleteField {\\n      model\\n      name\\n    }\\n    ... on DeleteModel {\\n      name\\n    }\\n    ... on DeleteRelation {\\n      name\\n    }\\n    ... on UpdateEnum {\\n      name\\n      newName\\n      values\\n    }\\n    ... on UpdateField {\\n      model\\n      name\\n      newName\\n      typeName\\n      isRequired\\n      isList\\n      isUnique: unique\\n      relation\\n      default\\n      enum\\n    }\\n    ... on UpdateModel {\\n      name\\n      um_newName: newName\\n    }\\n  }\\n}\\n\\n    \",\"variables\":\"{\\\"name\\\":\\\"default\\\",\\\"stage\\\":\\\"default\\\",\\\"types\\\":\\\"type User {\\\\n  id: ID! @unique\\\\n  name: String!\\\\n}\\\\n\\\\n\\\",\\\"secrets\\\":null,\\\"subscriptions\\\":[]}\",\"code\":\"0\",\"stack_trace\":\"akka.pattern.PromiseActorRef$.$anonfun$defaultOnTimeout$1(AskSupport.scala:595)\\\\n akka.pattern.PromiseActorRef$.$anonfun$apply$1(AskSupport.scala:605)\\\\n akka.actor.Scheduler$$anon$4.run(Scheduler.scala:140)\\\\n scala.concurrent.Future$InternalCallbackExecutor$.unbatchedExecute(Future.scala:864)\\\\n scala.concurrent.BatchingExecutor.execute(BatchingExecutor.scala:109)\\\\n scala.concurrent.BatchingExecutor.execute$(BatchingExecutor.scala:103)\\\\n scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:862)\\\\n akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(LightArrayRevolverScheduler.scala:328)\\\\n akka.actor.LightArrayRevolverScheduler$$anon$4.executeBucket$1(LightArrayRevolverScheduler.scala:279)\\\\n akka.actor.LightArrayRevolverScheduler$$anon$4.nextTick(LightArrayRevolverScheduler.scala:283)\\\\n akka.actor.LightArrayRevolverScheduler$$anon$4.run(LightArrayRevolverScheduler.scala:235)\\\\n java.lang.Thread.run(Thread.java:748)\",\"message\":\"Ask timed out on [Actor[akka://single-server/user/$m#2112742780]] after [300000 ms]. Sender[null] sent message of type \\\"com.prisma.deploy.migration.migrator.DeploymentProtocol$Schedule\\\".\"}}\r\nprisma_1  | [Bugsnag - local / testing] Error report: com.bugsnag.Report@6c5a0951\r\nprisma_1  | akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://single-server/user/$m#2112742780]] after [300000 ms]. Sender[null] sent message of type \"com.prisma.deploy.migration.migrator.DeploymentProtocol$Schedule\".\r\nprisma_1  | \tat akka.pattern.PromiseActorRef$.$anonfun$defaultOnTimeout$1(AskSupport.scala:595)\r\nprisma_1  | \tat akka.pattern.PromiseActorRef$.$anonfun$apply$1(AskSupport.scala:605)\r\nprisma_1  | \tat akka.actor.Scheduler$$anon$4.run(Scheduler.scala:140)\r\nprisma_1  | \tat scala.concurrent.Future$InternalCallbackExecutor$.unbatchedExecute(Future.scala:864)\r\nprisma_1  | \tat scala.concurrent.BatchingExecutor.execute(BatchingExecutor.scala:109)\r\nprisma_1  | \tat scala.concurrent.BatchingExecutor.execute$(BatchingExecutor.scala:103)\r\nprisma_1  | \tat scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:862)\r\nprisma_1  | \tat akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(LightArrayRevolverScheduler.scala:328)\r\nprisma_1  | \tat akka.actor.LightArrayRevolverScheduler$$anon$4.executeBucket$1(LightArrayRevolverScheduler.scala:279)\r\nprisma_1  | \tat akka.actor.LightArrayRevolverScheduler$$anon$4.nextTick(LightArrayRevolverScheduler.scala:283)\r\nprisma_1  | \tat akka.actor.LightArrayRevolverScheduler$$anon$4.run(LightArrayRevolverScheduler.scala:235)\r\nprisma_1  | \tat java.lang.Thread.run(Thread.java:748)\r\nmysql_1   | Initializing database\r\nmysql_1   | 2018-05-11T13:21:55.946958Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).\r\nmysql_1   | 2018-05-11T13:21:56.862144Z 0 [Warning] InnoDB: New log files created, LSN=45790\r\nmysql_1   | 2018-05-11T13:21:56.975520Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.\r\nmysql_1   | 2018-05-11T13:21:57.045139Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 476c2adf-551e-11e8-8071-0242ac140002.\r\nmysql_1   | 2018-05-11T13:21:57.052206Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.\r\nmysql_1   | 2018-05-11T13:21:57.053422Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.\r\nmysql_1   | 2018-05-11T13:21:58.129422Z 1 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:21:58.129703Z 1 [Warning] 'user' entry 'mysql.session@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:21:58.129862Z 1 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:21:58.130078Z 1 [Warning] 'db' entry 'performance_schema mysql.session@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:21:58.130196Z 1 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:21:58.130330Z 1 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:21:58.130597Z 1 [Warning] 'tables_priv' entry 'user mysql.session@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:21:58.130841Z 1 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | Database initialized\r\nmysql_1   | Initializing certificates\r\nmysql_1   | Generating a 2048 bit RSA private key\r\nmysql_1   | .......................................................................................+++\r\nmysql_1   | ...............................................................................................................................................................................................................................................................................................................................+++\r\nmysql_1   | unable to write 'random state'\r\nmysql_1   | writing new private key to 'ca-key.pem'\r\nmysql_1   | -----\r\nmysql_1   | Generating a 2048 bit RSA private key\r\nmysql_1   | ..+++\r\nmysql_1   | ......................................................+++\r\nmysql_1   | unable to write 'random state'\r\nmysql_1   | writing new private key to 'server-key.pem'\r\nmysql_1   | -----\r\nmysql_1   | Generating a 2048 bit RSA private key\r\nmysql_1   | ......................................+++\r\nmysql_1   | ..+++\r\nmysql_1   | unable to write 'random state'\r\nmysql_1   | writing new private key to 'client-key.pem'\r\nmysql_1   | -----\r\nmysql_1   | Certificates initialized\r\nmysql_1   | MySQL init process in progress...\r\nmysql_1   | 2018-05-11T13:22:01.414574Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).\r\nmysql_1   | 2018-05-11T13:22:01.415766Z 0 [Note] mysqld (mysqld 5.7.22) starting as process 88 ...\r\nmysql_1   | 2018-05-11T13:22:01.418331Z 0 [Note] InnoDB: PUNCH HOLE support available\r\nmysql_1   | 2018-05-11T13:22:01.418409Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins\r\nmysql_1   | 2018-05-11T13:22:01.418439Z 0 [Note] InnoDB: Uses event mutexes\r\nmysql_1   | 2018-05-11T13:22:01.418514Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier\r\nmysql_1   | 2018-05-11T13:22:01.418656Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3\r\nmysql_1   | 2018-05-11T13:22:01.418746Z 0 [Note] InnoDB: Using Linux native AIO\r\nmysql_1   | 2018-05-11T13:22:01.418996Z 0 [Note] InnoDB: Number of pools: 1\r\nmysql_1   | 2018-05-11T13:22:01.419169Z 0 [Note] InnoDB: Using CPU crc32 instructions\r\nmysql_1   | 2018-05-11T13:22:01.420908Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M\r\nmysql_1   | 2018-05-11T13:22:01.431712Z 0 [Note] InnoDB: Completed initialization of buffer pool\r\nmysql_1   | 2018-05-11T13:22:01.434166Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().\r\nmysql_1   | 2018-05-11T13:22:01.446221Z 0 [Note] InnoDB: Highest supported file format is Barracuda.\r\nmysql_1   | 2018-05-11T13:22:01.456981Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables\r\nmysql_1   | 2018-05-11T13:22:01.457276Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...\r\nmysql_1   | 2018-05-11T13:22:01.508226Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.\r\nmysql_1   | 2018-05-11T13:22:01.509476Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.\r\nprisma_1  | {\"@timestamp\":\"2018-05-11T13:27:39.049+00:00\",\"@version\":1,\"message\":\"{\\\"key\\\":\\\"request/complete\\\",\\\"requestId\\\":\\\"local:management:cjh1zrm1k00040799zacv109d\\\",\\\"payload\\\":{\\\"request_duration\\\":\\\"300497\\\"}}\",\"logger_name\":\"com.prisma.deploy.server.ManagementServer\",\"thread_name\":\"single-server-akka.actor.default-dispatcher-26\",\"level\":\"INFO\",\"level_value\":20000,\"HOSTNAME\":\"196e6d8826d3\"}\r\nprisma_1  | {\"@timestamp\":\"2018-05-11T13:28:28.643+00:00\",\"@version\":1,\"message\":\"{\\\"key\\\":\\\"request/new\\\",\\\"requestId\\\":\\\"local:management:cjh1zz46a0006079929blo5vc\\\"}\",\"logger_name\":\"com.prisma.deploy.server.ManagementServer\",\"thread_name\":\"single-server-akka.actor.default-dispatcher-34\",\"level\":\"INFO\",\"level_value\":20000,\"HOSTNAME\":\"196e6d8826d3\"}\r\nprisma_1  | {\"@timestamp\":\"2018-05-11T13:28:28.671+00:00\",\"@version\":1,\"message\":\"{\\\"key\\\":\\\"request/complete\\\",\\\"requestId\\\":\\\"local:management:cjh1zz46a0006079929blo5vc\\\",\\\"payload\\\":{\\\"request_duration\\\":\\\"28\\\"}}\",\"logger_name\":\"com.prisma.deploy.server.ManagementServer\",\"thread_name\":\"single-server-akka.actor.default-dispatcher-35\",\"level\":\"INFO\",\"level_value\":20000,\"HOSTNAME\":\"196e6d8826d3\"}\r\nprisma_1  | {\"@timestamp\":\"2018-05-11T13:28:28.702+00:00\",\"@version\":1,\"message\":\"{\\\"key\\\":\\\"request/new\\\",\\\"requestId\\\":\\\"local:management:cjh1zz47y00070799jl9n5rvp\\\"}\",\"logger_name\":\"com.prisma.deploy.server.ManagementServer\",\"thread_name\":\"single-server-akka.actor.default-dispatcher-35\",\"level\":\"INFO\",\"level_value\":20000,\"HOSTNAME\":\"196e6d8826d3\"}\r\nprisma_1  | {\"@timestamp\":\"2018-05-11T13:28:28.720+00:00\",\"@version\":1,\"message\":\"{\\\"key\\\":\\\"request/complete\\\",\\\"requestId\\\":\\\"local:management:cjh1zz47y00070799jl9n5rvp\\\",\\\"payload\\\":{\\\"request_duration\\\":\\\"17\\\"}}\",\"logger_name\":\"com.prisma.deploy.server.ManagementServer\",\"thread_name\":\"single-server-akka.actor.default-dispatcher-31\",\"level\":\"INFO\",\"level_value\":20000,\"HOSTNAME\":\"196e6d8826d3\"}\r\nprisma_1  | {\"@timestamp\":\"2018-05-11T13:28:28.752+00:00\",\"@version\":1,\"message\":\"{\\\"key\\\":\\\"request/new\\\",\\\"requestId\\\":\\\"local:management:cjh1zz49b00080799b8n0lzh8\\\"}\",\"logger_name\":\"com.prisma.deploy.server.ManagementServer\",\"thread_name\":\"single-server-akka.actor.default-dispatcher-31\",\"level\":\"INFO\",\"level_value\":20000,\"HOSTNAME\":\"196e6d8826d3\"}\r\nprisma_1  | Warning: Management API authentication is disabled. To protect your management server you should provide one (not both) of the environment variables 'CLUSTER_PUBLIC_KEY' (asymmetric, deprecated soon) or 'PRISMA_MANAGEMENT_API_JWT_SECRET' (symmetric JWT).\r\nprisma_1  | {\"@timestamp\":\"2018-05-11T13:28:28.806+00:00\",\"@version\":1,\"message\":\"{\\\"key\\\":\\\"request/complete\\\",\\\"requestId\\\":\\\"local:management:cjh1zz49b00080799b8n0lzh8\\\",\\\"payload\\\":{\\\"request_duration\\\":\\\"55\\\"}}\",\"logger_name\":\"com.prisma.deploy.server.ManagementServer\",\"thread_name\":\"single-server-akka.actor.default-dispatcher-35\",\"level\":\"INFO\",\"level_value\":20000,\"HOSTNAME\":\"196e6d8826d3\"}\r\nprisma_1  | {\"@timestamp\":\"2018-05-11T13:28:28.825+00:00\",\"@version\":1,\"message\":\"{\\\"key\\\":\\\"request/new\\\",\\\"requestId\\\":\\\"local:management:cjh1zz4bd00090799odsw4owb\\\"}\",\"logger_name\":\"com.prisma.deploy.server.ManagementServer\",\"thread_name\":\"single-server-akka.actor.default-dispatcher-31\",\"level\":\"INFO\",\"level_value\":20000,\"HOSTNAME\":\"196e6d8826d3\"}\r\nprisma_1  | Warning: Management API authentication is disabled. To protect your management server you should provide one (not both) of the environment variables 'CLUSTER_PUBLIC_KEY' (asymmetric, deprecated soon) or 'PRISMA_MANAGEMENT_API_JWT_SECRET' (symmetric JWT).\r\nprisma_1  | akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://single-server/user/$m#2112742780]] after [300000 ms]. Sender[null] sent message of type \"com.prisma.deploy.migration.migrator.DeploymentProtocol$Schedule\".\r\nprisma_1  | \tat akka.pattern.PromiseActorRef$.$anonfun$defaultOnTimeout$1(AskSupport.scala:595)\r\nprisma_1  | \tat akka.pattern.PromiseActorRef$.$anonfun$apply$1(AskSupport.scala:605)\r\nprisma_1  | \tat akka.actor.Scheduler$$anon$4.run(Scheduler.scala:140)\r\nprisma_1  | \tat scala.concurrent.Future$InternalCallbackExecutor$.unbatchedExecute(Future.scala:864)\r\nprisma_1  | \tat scala.concurrent.BatchingExecutor.execute(BatchingExecutor.scala:109)\r\nprisma_1  | \tat scala.concurrent.BatchingExecutor.execute$(BatchingExecutor.scala:103)\r\nprisma_1  | \tat scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:862)\r\nprisma_1  | \tat akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(LightArrayRevolverScheduler.scala:328)\r\nprisma_1  | \tat akka.actor.LightArrayRevolverScheduler$$anon$4.executeBucket$1(LightArrayRevolverScheduler.scala:279)\r\nprisma_1  | \tat akka.actor.LightArrayRevolverScheduler$$anon$4.nextTick(LightArrayRevolverScheduler.scala:283)\r\nprisma_1  | {\"key\":\"error/unhandled\",\"requestId\":\"local:management:cjh1zz4bd00090799odsw4owb\",\"payload\":{\"exception\":\"akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://single-server/user/$m#2112742780]] after [300000 ms]. Sender[null] sent message of type \\\"com.prisma.deploy.migration.migrator.DeploymentProtocol$Schedule\\\".\",\"query\":\"      mutation($name: String!, $stage: String! $types: String! $dryRun: Boolean $secrets: [String!], $subscriptions: [FunctionInput!], $force: Boolean) {\\n        deploy(input: {\\n          name: $name\\n          stage: $stage\\n          types: $types\\n          dryRun: $dryRun\\n          secrets: $secrets\\n          subscriptions: $subscriptions\\n          force: $force\\n        }) {\\n          errors {\\n            type\\n            field\\n            description\\n          }\\n          warnings {\\n            type\\n            field\\n            description\\n          }\\n          migration {\\n            ...MigrationFragment\\n          }\\n        }\\n      }\\n      \\nfragment MigrationFragment on Migration {\\n  revision\\n  steps {\\n    type\\n    __typename\\n    ... on CreateEnum {\\n      name\\n      ce_values: values\\n    }\\n    ... on CreateField {\\n      model\\n      name\\n      cf_typeName: typeName\\n      cf_isRequired: isRequired\\n      cf_isList: isList\\n      cf_isUnique: unique\\n      cf_relation: relation\\n      cf_defaultValue: default\\n      cf_enum: enum\\n    }\\n    ... on CreateModel {\\n      name\\n    }\\n    ... on CreateRelation {\\n      name\\n      leftModel\\n      rightModel\\n    }\\n    ... on DeleteEnum {\\n      name\\n    }\\n    ... on DeleteField {\\n      model\\n      name\\n    }\\n    ... on DeleteModel {\\n      name\\n    }\\n    ... on DeleteRelation {\\n      name\\n    }\\n    ... on UpdateEnum {\\n      name\\n      newName\\n      values\\n    }\\n    ... on UpdateField {\\n      model\\n      name\\n      newName\\n      typeName\\n      isRequired\\n      isList\\n      isUnique: unique\\n      relation\\n      default\\n      enum\\n    }\\n    ... on UpdateModel {\\n      name\\n      um_newName: newName\\n    }\\n  }\\n}\\n\\n    \",\"variables\":\"{\\\"name\\\":\\\"default\\\",\\\"stage\\\":\\\"default\\\",\\\"types\\\":\\\"type User {\\\\n  id: ID! @unique\\\\n  name: String!\\\\n}\\\\n\\\\n\\\",\\\"secrets\\\":null,\\\"subscriptions\\\":[]}\",\"code\":\"0\",\"stack_trace\":\"akka.pattern.PromiseActorRef$.$anonfun$defaultOnTimeout$1(AskSupport.scala:595)\\\\n akka.pattern.PromiseActorRef$.$anonfun$apply$1(AskSupport.scala:605)\\\\n akka.actor.Scheduler$$anon$4.run(Scheduler.scala:140)\\\\n scala.concurrent.Future$InternalCallbackExecutor$.unbatchedExecute(Future.scala:864)\\\\n scala.concurrent.BatchingExecutor.execute(BatchingExecutor.scala:109)\\\\n scala.concurrent.BatchingExecutor.execute$(BatchingExecutor.scala:103)\\\\n scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:862)\\\\n akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(LightArrayRevolverScheduler.scala:328)\\\\n akka.actor.LightArrayRevolverScheduler$$anon$4.executeBucket$1(LightArrayRevolverScheduler.scala:279)\\\\n akka.actor.LightArrayRevolverScheduler$$anon$4.nextTick(LightArrayRevolverScheduler.scala:283)\\\\n akka.actor.LightArrayRevolverScheduler$$anon$4.run(LightArrayRevolverScheduler.scala:235)\\\\n java.lang.Thread.run(Thread.java:748)\",\"message\":\"Ask timed out on [Actor[akka://single-server/user/$m#2112742780]] after [300000 ms]. Sender[null] sent message of type \\\"com.prisma.deploy.migration.migrator.DeploymentProtocol$Schedule\\\".\"}}\r\nprisma_1  | [Bugsnag - local / testing] Error report: com.bugsnag.Report@6a2d4015\r\nprisma_1  | \tat akka.actor.LightArrayRevolverScheduler$$anon$4.run(LightArrayRevolverScheduler.scala:235)\r\nprisma_1  | \tat java.lang.Thread.run(Thread.java:748)\r\nprisma_1  | akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://single-server/user/$m#2112742780]] after [300000 ms]. Sender[null] sent message of type \"com.prisma.deploy.migration.migrator.DeploymentProtocol$Schedule\".\r\nprisma_1  | \tat akka.pattern.PromiseActorRef$.$anonfun$defaultOnTimeout$1(AskSupport.scala:595)\r\nprisma_1  | \tat akka.pattern.PromiseActorRef$.$anonfun$apply$1(AskSupport.scala:605)\r\nprisma_1  | \tat akka.actor.Scheduler$$anon$4.run(Scheduler.scala:140)\r\nprisma_1  | \tat scala.concurrent.Future$InternalCallbackExecutor$.unbatchedExecute(Future.scala:864)\r\nprisma_1  | \tat scala.concurrent.BatchingExecutor.execute(BatchingExecutor.scala:109)\r\nprisma_1  | \tat scala.concurrent.BatchingExecutor.execute$(BatchingExecutor.scala:103)\r\nprisma_1  | \tat scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:862)\r\nprisma_1  | \tat akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(LightArrayRevolverScheduler.scala:328)\r\nprisma_1  | \tat akka.actor.LightArrayRevolverScheduler$$anon$4.executeBucket$1(LightArrayRevolverScheduler.scala:279)\r\nprisma_1  | \tat akka.actor.LightArrayRevolverScheduler$$anon$4.nextTick(LightArrayRevolverScheduler.scala:283)\r\nprisma_1  | \tat akka.actor.LightArrayRevolverScheduler$$anon$4.run(LightArrayRevolverScheduler.scala:235)\r\nprisma_1  | \tat java.lang.Thread.run(Thread.java:748)\r\nprisma_1  | {\"@timestamp\":\"2018-05-11T13:33:28.973+00:00\",\"@version\":1,\"message\":\"{\\\"key\\\":\\\"request/complete\\\",\\\"requestId\\\":\\\"local:management:cjh1zz4bd00090799odsw4owb\\\",\\\"payload\\\":{\\\"request_duration\\\":\\\"300146\\\"}}\",\"logger_name\":\"com.prisma.deploy.server.ManagementServer\",\"thread_name\":\"single-server-akka.actor.default-dispatcher-40\",\"level\":\"INFO\",\"level_value\":20000,\"HOSTNAME\":\"196e6d8826d3\"}\r\nmysql_1   | 2018-05-11T13:22:01.509613Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.\r\nmysql_1   | 2018-05-11T13:22:01.510854Z 0 [Note] InnoDB: 5.7.22 started; log sequence number 2589156\r\nmysql_1   | 2018-05-11T13:22:01.511267Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool\r\nmysql_1   | 2018-05-11T13:22:01.511782Z 0 [Note] Plugin 'FEDERATED' is disabled.\r\nmysql_1   | 2018-05-11T13:22:01.512843Z 0 [Note] InnoDB: Buffer pool(s) load completed at 180511 13:22:01\r\nmysql_1   | 2018-05-11T13:22:01.516289Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.\r\nmysql_1   | 2018-05-11T13:22:01.516754Z 0 [Warning] CA certificate ca.pem is self signed.\r\nmysql_1   | 2018-05-11T13:22:01.521534Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.\r\nmysql_1   | 2018-05-11T13:22:01.523282Z 0 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:01.523564Z 0 [Warning] 'user' entry 'mysql.session@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:01.523741Z 0 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:01.523914Z 0 [Warning] 'db' entry 'performance_schema mysql.session@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:01.524120Z 0 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:01.524274Z 0 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:01.526296Z 0 [Warning] 'tables_priv' entry 'user mysql.session@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:01.526569Z 0 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:01.537780Z 0 [Note] Event Scheduler: Loaded 0 events\r\nmysql_1   | 2018-05-11T13:22:01.538498Z 0 [Note] mysqld: ready for connections.\r\nmysql_1   | Version: '5.7.22'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  MySQL Community Server (GPL)\r\nmysql_1   | Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.\r\nmysql_1   | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.\r\nmysql_1   | Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.\r\nmysql_1   | Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.\r\nmysql_1   |\r\nmysql_1   | 2018-05-11T13:22:05.856651Z 4 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:05.856780Z 4 [Warning] 'user' entry 'mysql.session@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:05.856841Z 4 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:05.856914Z 4 [Warning] 'db' entry 'performance_schema mysql.session@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:05.856959Z 4 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:05.857010Z 4 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:05.857117Z 4 [Warning] 'tables_priv' entry 'user mysql.session@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:05.857167Z 4 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:05.860012Z 0 [Note] Giving 0 client threads a chance to die gracefully\r\nmysql_1   | 2018-05-11T13:22:05.860121Z 0 [Note] Shutting down slave threads\r\nmysql_1   | 2018-05-11T13:22:05.860176Z 0 [Note] Forcefully disconnecting 0 remaining clients\r\nmysql_1   | 2018-05-11T13:22:05.860211Z 0 [Note] Event Scheduler: Purging the queue. 0 events\r\nmysql_1   | 2018-05-11T13:22:05.860335Z 0 [Note] Binlog end\r\nmysql_1   | 2018-05-11T13:22:05.861062Z 0 [Note] Shutting down plugin 'ngram'\r\nmysql_1   | 2018-05-11T13:22:05.861159Z 0 [Note] Shutting down plugin 'partition'\r\nmysql_1   | 2018-05-11T13:22:05.861209Z 0 [Note] Shutting down plugin 'BLACKHOLE'\r\nmysql_1   | 2018-05-11T13:22:05.861251Z 0 [Note] Shutting down plugin 'ARCHIVE'\r\nmysql_1   | 2018-05-11T13:22:05.861294Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'\r\nmysql_1   | 2018-05-11T13:22:05.861362Z 0 [Note] Shutting down plugin 'MRG_MYISAM'\r\nmysql_1   | 2018-05-11T13:22:05.861402Z 0 [Note] Shutting down plugin 'MyISAM'\r\nmysql_1   | 2018-05-11T13:22:05.861447Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL'\r\nmysql_1   | 2018-05-11T13:22:05.861484Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'\r\nmysql_1   | 2018-05-11T13:22:05.861520Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'\r\nmysql_1   | 2018-05-11T13:22:05.861555Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'\r\nmysql_1   | 2018-05-11T13:22:05.861590Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'\r\nmysql_1   | 2018-05-11T13:22:05.861624Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'\r\nmysql_1   | 2018-05-11T13:22:05.861657Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'\r\nmysql_1   | 2018-05-11T13:22:05.861692Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'\r\nmysql_1   | 2018-05-11T13:22:05.861727Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'\r\nmysql_1   | 2018-05-11T13:22:05.861760Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES'\r\nmysql_1   | 2018-05-11T13:22:05.861791Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'\r\nmysql_1   | 2018-05-11T13:22:05.861825Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'\r\nmysql_1   | 2018-05-11T13:22:05.861860Z 0 [Note] Shutting down plugin 'INNODB_FT_CONFIG'\r\nmysql_1   | 2018-05-11T13:22:05.861895Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'\r\nmysql_1   | 2018-05-11T13:22:05.861935Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED'\r\nmysql_1   | 2018-05-11T13:22:05.861969Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'\r\nmysql_1   | 2018-05-11T13:22:05.862003Z 0 [Note] Shutting down plugin 'INNODB_METRICS'\r\nmysql_1   | 2018-05-11T13:22:05.862037Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO'\r\nmysql_1   | 2018-05-11T13:22:05.862073Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'\r\nmysql_1   | 2018-05-11T13:22:05.862108Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'\r\nmysql_1   | 2018-05-11T13:22:05.862141Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'\r\nmysql_1   | 2018-05-11T13:22:05.862174Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'\r\nmysql_1   | 2018-05-11T13:22:05.862205Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'\r\nmysql_1   | 2018-05-11T13:22:05.862241Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'\r\nmysql_1   | 2018-05-11T13:22:05.862278Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM'\r\nmysql_1   | 2018-05-11T13:22:05.862313Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET'\r\nmysql_1   | 2018-05-11T13:22:05.862349Z 0 [Note] Shutting down plugin 'INNODB_CMP'\r\nmysql_1   | 2018-05-11T13:22:05.862382Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'\r\nmysql_1   | 2018-05-11T13:22:05.862417Z 0 [Note] Shutting down plugin 'INNODB_LOCKS'\r\nmysql_1   | 2018-05-11T13:22:05.862454Z 0 [Note] Shutting down plugin 'INNODB_TRX'\r\nmysql_1   | 2018-05-11T13:22:05.862493Z 0 [Note] Shutting down plugin 'InnoDB'\r\nmysql_1   | 2018-05-11T13:22:05.863636Z 0 [Note] InnoDB: FTS optimize thread exiting.\r\nmysql_1   | 2018-05-11T13:22:05.864289Z 0 [Note] InnoDB: Starting shutdown...\r\nmysql_1   | 2018-05-11T13:22:05.964806Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool\r\nmysql_1   | 2018-05-11T13:22:05.965202Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 180511 13:22:05\r\nmysql_1   | 2018-05-11T13:22:07.389653Z 0 [Note] InnoDB: Shutdown completed; log sequence number 12358473\r\nmysql_1   | 2018-05-11T13:22:07.393096Z 0 [Note] InnoDB: Removed temporary tablespace data file: \"ibtmp1\"\r\nmysql_1   | 2018-05-11T13:22:07.393370Z 0 [Note] Shutting down plugin 'MEMORY'\r\nmysql_1   | 2018-05-11T13:22:07.393419Z 0 [Note] Shutting down plugin 'CSV'\r\nmysql_1   | 2018-05-11T13:22:07.393520Z 0 [Note] Shutting down plugin 'sha256_password'\r\nmysql_1   | 2018-05-11T13:22:07.393650Z 0 [Note] Shutting down plugin 'mysql_native_password'\r\nmysql_1   | 2018-05-11T13:22:07.393856Z 0 [Note] Shutting down plugin 'binlog'\r\nmysql_1   | 2018-05-11T13:22:07.396615Z 0 [Note] mysqld: Shutdown complete\r\nmysql_1   |\r\nmysql_1   |\r\nmysql_1   | MySQL init process done. Ready for start up.\r\nmysql_1   |\r\nmysql_1   | 2018-05-11T13:22:07.785777Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).\r\nmysql_1   | 2018-05-11T13:22:07.789893Z 0 [Note] mysqld (mysqld 5.7.22) starting as process 1 ...\r\nmysql_1   | 2018-05-11T13:22:07.795466Z 0 [Note] InnoDB: PUNCH HOLE support available\r\nmysql_1   | 2018-05-11T13:22:07.795618Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins\r\nmysql_1   | 2018-05-11T13:22:07.795802Z 0 [Note] InnoDB: Uses event mutexes\r\nmysql_1   | 2018-05-11T13:22:07.795998Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier\r\nmysql_1   | 2018-05-11T13:22:07.796069Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3\r\nmysql_1   | 2018-05-11T13:22:07.796114Z 0 [Note] InnoDB: Using Linux native AIO\r\nmysql_1   | 2018-05-11T13:22:07.796661Z 0 [Note] InnoDB: Number of pools: 1\r\nmysql_1   | 2018-05-11T13:22:07.797021Z 0 [Note] InnoDB: Using CPU crc32 instructions\r\nmysql_1   | 2018-05-11T13:22:07.799128Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M\r\nmysql_1   | 2018-05-11T13:22:07.825688Z 0 [Note] InnoDB: Completed initialization of buffer pool\r\nmysql_1   | 2018-05-11T13:22:07.828327Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().\r\nmysql_1   | 2018-05-11T13:22:07.842913Z 0 [Note] InnoDB: Highest supported file format is Barracuda.\r\nmysql_1   | 2018-05-11T13:22:07.861892Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables\r\nmysql_1   | 2018-05-11T13:22:07.862088Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...\r\nmysql_1   | 2018-05-11T13:22:07.972640Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.\r\nmysql_1   | 2018-05-11T13:22:07.975170Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.\r\nmysql_1   | 2018-05-11T13:22:07.975459Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.\r\nmysql_1   | 2018-05-11T13:22:07.976486Z 0 [Note] InnoDB: Waiting for purge to start\r\nmysql_1   | 2018-05-11T13:22:08.186072Z 0 [Note] InnoDB: 5.7.22 started; log sequence number 12358473\r\nmysql_1   | 2018-05-11T13:22:08.187019Z 0 [Note] Plugin 'FEDERATED' is disabled.\r\nmysql_1   | 2018-05-11T13:22:08.193182Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.\r\nmysql_1   | 2018-05-11T13:22:08.195462Z 0 [Warning] CA certificate ca.pem is self signed.\r\nmysql_1   | 2018-05-11T13:22:08.195178Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool\r\nmysql_1   | 2018-05-11T13:22:08.200430Z 0 [Note] InnoDB: Buffer pool(s) load completed at 180511 13:22:08\r\nmysql_1   | 2018-05-11T13:22:08.203965Z 0 [Note] Server hostname (bind-address): '*'; port: 3306\r\nmysql_1   | 2018-05-11T13:22:08.206158Z 0 [Note] IPv6 is available.\r\nmysql_1   | 2018-05-11T13:22:08.207564Z 0 [Note]   - '::' resolves to '::';\r\nmysql_1   | 2018-05-11T13:22:08.208119Z 0 [Note] Server socket created on IP: '::'.\r\nmysql_1   | 2018-05-11T13:22:08.218704Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.\r\nmysql_1   | 2018-05-11T13:22:08.221027Z 0 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:08.221709Z 0 [Warning] 'user' entry 'mysql.session@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:08.221869Z 0 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:08.222030Z 0 [Warning] 'db' entry 'performance_schema mysql.session@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:08.222206Z 0 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:08.222371Z 0 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:08.238259Z 0 [Warning] 'tables_priv' entry 'user mysql.session@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:08.238643Z 0 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.\r\nmysql_1   | 2018-05-11T13:22:08.250725Z 0 [Note] Event Scheduler: Loaded 0 events\r\nmysql_1   | 2018-05-11T13:22:08.254427Z 0 [Note] mysqld: ready for connections.\r\nmysql_1   | Version: '5.7.22'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)\r\n```\r\n\r\n</details>\r\n\r\n**Expected behavior?**\r\n\r\nThe deployment should succeed\r\n\r\n---\r\n\r\nI'm not sure whether the error is on my side or this is an actual bug."},"comment":{"url":"https://api.github.com/repos/prismagraphql/prisma/issues/comments/390555630","html_url":"https://github.com/prismagraphql/prisma/issues/2400#issuecomment-390555630","issue_url":"https://api.github.com/repos/prismagraphql/prisma/issues/2400","id":390555630,"user":{"login":"ninemind","id":4838451,"avatar_url":"https://avatars1.githubusercontent.com/u/4838451?v=4","gravatar_id":"","url":"https://api.github.com/users/ninemind","html_url":"https://github.com/ninemind","followers_url":"https://api.github.com/users/ninemind/followers","following_url":"https://api.github.com/users/ninemind/following{/other_user}","gists_url":"https://api.github.com/users/ninemind/gists{/gist_id}","starred_url":"https://api.github.com/users/ninemind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninemind/subscriptions","organizations_url":"https://api.github.com/users/ninemind/orgs","repos_url":"https://api.github.com/users/ninemind/repos","events_url":"https://api.github.com/users/ninemind/events{/privacy}","received_events_url":"https://api.github.com/users/ninemind/received_events","type":"User","site_admin":false},"created_at":"2018-05-21T05:18:47Z","updated_at":"2018-05-21T05:18:47Z","author_association":"NONE","body":"I have tried 1.8.1, 1.8.2, 1.8.3 and am seeing this issue still.  Can we re-open this?  Happy to provide whatever logs you may need."}}
{"actor":{"display_login":"ninemind"}}