I tried to follow the steps to deploy a multi-instance environment under macos.
The moqui_local container cannot be created in docker when executing to step5.
- step 1
- step 3
- step 5
17:48:55.881 INFO oquiWorker-5 o.moqui.i.c.MessageFacadeImpl [info] Checked database moqui_local at 127.0.0.1: connect failed, database does not exist, user moqui_local does not exist
17:48:55.903 INFO oquiWorker-6 o.moqui.i.c.MessageFacadeImpl [info] Docker container moqui_local (null) does not exist
17:49:00.878 INFO oquiWorker-7 o.moqui.i.c.MessageFacadeImpl [info] Server error on Moqui server: Service Temporarily Unavailable
17:49:00.931 INFO 088417975-18 o.moqui.i.s.ScreenRenderImpl apps/system/Instance/InstanceList [] in 6207ms (text/html;charset=utf-8) session node0i9ajxokc9eo9125emv3h09ciu1
17:49:02.553 INFO 088417975-18 o.moqui.i.c.MessageFacadeImpl [info] Docker container moqui_local (null) does not exist
17:49:02.565 INFO 088417975-18 o.moqui.i.c.MessageFacadeImpl [info] Docker container moqui_local (null) does not exist
17:49:02.633 WARN 088417975-18 checkDatabaseMySQL Test connection failed
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
at com.mysql.jdbc.Util.handleNewInstance(Util.java:404) ~[mysql-connector-java-5.1.39.jar:5.1.39]
at com.mysql.jdbc.Util.getInstance(Util.java:387) ~[mysql-connector-java-5.1.39.jar:5.1.39]
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:917) ~[mysql-connector-java-5.1.39.jar:5.1.39]
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:896) ~[mysql-connector-java-5.1.39.jar:5.1.39]
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:885) ~[mysql-connector-java-5.1.39.jar:5.1.39]
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:860) ~[mysql-connector-java-5.1.39.jar:5.1.39]
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2330) ~[mysql-connector-java-5.1.39.jar:5.1.39]
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2083) ~[mysql-connector-java-5.1.39.jar:5.1.39]
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:806) ~[mysql-connector-java-5.1.39.jar:5.1.39]
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) ~[mysql-connector-java-5.1.39.jar:5.1.39]
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
at com.mysql.jdbc.Util.handleNewInstance(Util.java:404) ~[mysql-connector-java-5.1.39.jar:5.1.39]
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:410) ~[mysql-connector-java-5.1.39.jar:5.1.39]
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:328) ~[mysql-connector-java-5.1.39.jar:5.1.39]
at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:422) ~[mysql-connector-java-5.1.39.jar:5.1.39]
at com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:134) ~[mysql-connector-java-5.1.39.jar:5.1.39]
at com.mysql.jdbc.jdbc2.optional.MysqlXADataSource.getXAConnection(MysqlXADataSource.java:56) ~[mysql-connector-java-5.1.39.jar:5.1.39]
at org.moqui.impl.entity.EntityFacadeImpl.getConfConnection(EntityFacadeImpl.groovy:1271) ~[moqui_temp5633061907534340747WEB-INF_lib_moqui-framework-3.1.0-rc1.jar.:3.1.0-rc1]
at org.moqui.impl.entity.EntityFacadeImpl$getConfConnection.call(Unknown Source) ~[?:?]
at org_moqui_impl_InstanceServices_check_DatabaseMySQL.run(org_moqui_impl_InstanceServices_check_DatabaseMySQL:28) ~[?:?]
at org.moqui.impl.actions.XmlAction.run(XmlAction.java:67) ~[moqui_temp5633061907534340747WEB-INF_lib_moqui-framework-3.1.0-rc1.jar.:3.1.0-rc1]
at org.moqui.impl.service.runner.InlineServiceRunner.runService(InlineServiceRunner.java:59) ~[moqui_temp5633061907534340747WEB-INF_lib_moqui-framework-3.1.0-rc1.jar.:3.1.0-rc1]
at org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.java:321) ~[moqui_temp5633061907534340747WEB-INF_lib_moqui-framework-3.1.0-rc1.jar.:3.1.0-rc1]
at org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.java:125) ~[moqui_temp5633061907534340747WEB-INF_lib_moqui-framework-3.1.0-rc1.jar.:3.1.0-rc1]
at org.moqui.service.ServiceCallSync$call$1.call(Unknown Source) ~[?:?]
at org_moqui_impl_InstanceServices_check_AppDatabase.run(org_moqui_impl_InstanceServices_check_AppDatabase:18) ~[?:?]
at org.moqui.impl.actions.XmlAction.run(XmlAction.java:67) ~[moqui_temp5633061907534340747WEB-INF_lib_moqui-framework-3.1.0-rc1.jar.:3.1.0-rc1]
at org.moqui.impl.service.runner.InlineServiceRunner.runService(InlineServiceRunner.java:59) ~[moqui_temp5633061907534340747WEB-INF_lib_moqui-framework-3.1.0-rc1.jar.:3.1.0-rc1]
at org.moqui.impl.service.ServiceCallSyncImpl.callSingle(ServiceCallSyncImpl.java:321) ~[moqui_temp5633061907534340747WEB-INF_lib_moqui-framework-3.1.0-rc1.jar.:3.1.0-rc1]
at org.moqui.impl.service.ServiceCallSyncImpl.call(ServiceCallSyncImpl.java:125) ~[moqui_temp5633061907534340747WEB-INF_lib_moqui-framework-3.1.0-rc1.jar.:3.1.0-rc1]
at org.moqui.service.ServiceCallSync$call$1.call(Unknown Source) ~[?:?]
at component___tools_screen_System_Instance_InstanceDetail_xml_screen_actions.run(component___tools_screen_System_Instance_InstanceDetail_xml_screen_actions:21) ~[?:?]
at org.moqui.impl.actions.XmlAction.run(XmlAction.java:67) ~[moqui_temp5633061907534340747WEB-INF_lib_moqui-framework-3.1.0-rc1.jar.:3.1.0-rc1]
at org.moqui.impl.screen.ScreenSection.renderSingle(ScreenSection.groovy:152) ~[moqui_temp5633061907534340747WEB-INF_lib_moqui-framework-3.1.0-rc1.jar.:3.1.0-rc1]
at org.moqui.impl.screen.ScreenSection.render(ScreenSection.groovy:132) ~[moqui_temp5633061907534340747WEB-INF_lib_moqui-framework-3.1.0-rc1.jar.:3.1.0-rc1]
at org.moqui.impl.screen.ScreenDefinition.render(ScreenDefinition.groovy:686) ~[moqui_temp5633061907534340747WEB-INF_lib_moqui-framework-3.1.0-rc1.jar.:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.doActualRender(ScreenRenderImpl.groovy:926) ~[moqui_temp5633061907534340747WEB-INF_lib_moqui-framework-3.1.0-rc1.jar.:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.internalRender(ScreenRenderImpl.groovy:710) ~[moqui_temp5633061907534340747WEB-INF_lib_moqui-framework-3.1.0-rc1.jar.:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.render(ScreenRenderImpl.groovy:170) ~[moqui_temp5633061907534340747WEB-INF_lib_moqui-framework-3.1.0-rc1.jar.:3.1.0-rc1]
at org.moqui.impl.webapp.MoquiServlet.service(MoquiServlet.groovy:118) ~[moqui_temp5633061907534340747WEB-INF_lib_moqui-framework-3.1.0-rc1.jar.:3.1.0-rc1]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:750) ~[moqui_temp10423027131135905547WEB-INF_lib_javax.servlet-api-4.0.1.jar.:4.0.1]
at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1410) ~[moqui_temp8047620678869748609execlib_jetty-servlet-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764) ~[moqui_temp8047620678869748609execlib_jetty-servlet-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1665) ~[moqui_temp8047620678869748609execlib_jetty-servlet-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:170) ~[moqui_temp13767175944065393751execlib_websocket-servlet-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202) ~[moqui_temp8047620678869748609execlib_jetty-servlet-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635) ~[moqui_temp8047620678869748609execlib_jetty-servlet-10.0.12.jar.:10.0.12]
at org.moqui.impl.webapp.ElasticRequestLogFilter.doFilter(ElasticRequestLogFilter.groovy:96) ~[moqui_temp5633061907534340747WEB-INF_lib_moqui-framework-3.1.0-rc1.jar.:3.1.0-rc1]
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202) ~[moqui_temp8047620678869748609execlib_jetty-servlet-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635) ~[moqui_temp8047620678869748609execlib_jetty-servlet-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:527) ~[moqui_temp8047620678869748609execlib_jetty-servlet-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:131) ~[moqui_temp4632379831338278720execlib_jetty-server-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578) ~[moqui_temp13572437282126852565execlib_jetty-security-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122) ~[moqui_temp4632379831338278720execlib_jetty-server-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:223) ~[moqui_temp4632379831338278720execlib_jetty-server-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1571) ~[moqui_temp4632379831338278720execlib_jetty-server-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) ~[moqui_temp4632379831338278720execlib_jetty-server-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1383) ~[moqui_temp4632379831338278720execlib_jetty-server-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176) ~[moqui_temp4632379831338278720execlib_jetty-server-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484) ~[moqui_temp8047620678869748609execlib_jetty-servlet-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1544) ~[moqui_temp4632379831338278720execlib_jetty-server-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174) ~[moqui_temp4632379831338278720execlib_jetty-server-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1305) ~[moqui_temp4632379831338278720execlib_jetty-server-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129) ~[moqui_temp4632379831338278720execlib_jetty-server-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122) ~[moqui_temp4632379831338278720execlib_jetty-server-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:822) ~[moqui_temp4632379831338278720execlib_jetty-server-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122) ~[moqui_temp4632379831338278720execlib_jetty-server-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.server.Server.handle(Server.java:563) ~[moqui_temp4632379831338278720execlib_jetty-server-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.server.HttpChannel.lambda$handle$0(HttpChannel.java:505) ~[moqui_temp4632379831338278720execlib_jetty-server-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:762) ~[moqui_temp4632379831338278720execlib_jetty-server-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:497) ~[moqui_temp4632379831338278720execlib_jetty-server-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:282) ~[moqui_temp4632379831338278720execlib_jetty-server-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314) ~[moqui_temp4166210263263762455WEB-INF_lib_jetty-io-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100) ~[moqui_temp4166210263263762455WEB-INF_lib_jetty-io-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53) ~[moqui_temp4166210263263762455WEB-INF_lib_jetty-io-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421) ~[moqui_temp10698871258524067056WEB-INF_lib_jetty-util-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390) ~[moqui_temp10698871258524067056WEB-INF_lib_jetty-util-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277) ~[moqui_temp10698871258524067056WEB-INF_lib_jetty-util-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.lambda$new$0(AdaptiveExecutionStrategy.java:139) ~[moqui_temp10698871258524067056WEB-INF_lib_jetty-util-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411) ~[moqui_temp10698871258524067056WEB-INF_lib_jetty-util-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:933) ~[moqui_temp10698871258524067056WEB-INF_lib_jetty-util-10.0.12.jar.:10.0.12]
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1077) ~[moqui_temp10698871258524067056WEB-INF_lib_jetty-util-10.0.12.jar.:10.0.12]
at java.lang.Thread.run(Thread.java:829) ~[?:?]
Caused by: java.lang.NullPointerException
at com.mysql.jdbc.ConnectionImpl.getServerCharset(ConnectionImpl.java:2997) ~[mysql-connector-java-5.1.39.jar:5.1.39]
at com.mysql.jdbc.MysqlIO.sendConnectionAttributes(MysqlIO.java:1936) ~[mysql-connector-java-5.1.39.jar:5.1.39]
at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1865) ~[mysql-connector-java-5.1.39.jar:5.1.39]
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1228) ~[mysql-connector-java-5.1.39.jar:5.1.39]
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2253) ~[mysql-connector-java-5.1.39.jar:5.1.39]
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2284) ~[mysql-connector-java-5.1.39.jar:5.1.39]
... 79 more
17:49:02.638 INFO 088417975-18 o.moqui.i.c.MessageFacadeImpl [info] Checked database moqui_local at 127.0.0.1: connect failed, database does not exist, user moqui_local does not exist
17:49:02.661 INFO 088417975-18 o.moqui.i.c.MessageFacadeImpl [info] Server error on Moqui server: Service Temporarily Unavailable
17:49:03.121 INFO 088417975-18 o.moqui.i.s.ScreenRenderImpl apps/system/Instance/InstanceDetail [appInstanceId:100000] in 617ms (text/html;charset=utf-8) session node0i9ajxokc9eo9125emv3h09ciu1