I am trying to start the docker image of aerogear found on the docker
hub library with the latest 1.1.1 final relase, as the docker library runs a 1.1.0-beta2 I followed mostly the instruction in the README.md at https://hub.docker.com/r/aerogear/unifiedpush-wildfly/ I have just built my own end image adapting the Dockerfile at https://github.com/aerogear/dockerfiles/blob/master/wildfly/unifiedpush-wildfly/Dockerfile I have downloaded the 1.1.1 archive from https://github.com/aerogear/aerogear-unifiedpush-server/releases/tag/1.1.1.Final then copied the auth-server and unified-push-server wars to the Dockerfile directory, modified the Dockerfile to copy the war files from the downloaded archives I did the docker build -t aerogear/unifiedpush-wildfly, started the 2 mysql containers and the ups container. I get an hibernate error not finding the adm_variant table and then a lot of missing dependencies. am I missing updates to be made at the wildfly image level? Here is the part of the trace INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0009: Undeployed "unifiedpush-server-wildfly.war" (runtime-name: "unifiedpush-server-wildfly.war") 18:17:12,267 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0183: Service status report WFLYCTL0184: New missing/unsatisfied dependencies: service jboss.deployment.unit."unifiedpush-server-wildfly.war".WeldBootstrapService (missing) dependents: [service jboss.deployment.unit."unifiedpush-server-wildfly.war".component."org.jboss.aerogear.unifiedpush.service.filter.HttpContextFilter".WeldInstantiator, service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.MessageHolderWithTokensProducer.WeldInstantiator, service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.MPNSPushMessageConsumer.WeldInstantiator, service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.VariantMetricInformationProducer.WeldInterceptorBindingsService, WFLYCTL0208: ... and 45 more ] service jboss.deployment.unit."unifiedpush-server-wildfly.war".WeldStartService (missing) dependents: [service jboss.deployment.unit."unifiedpush-server-wildfly.war".component."org.jboss.aerogear.unifiedpush.service.filter.HttpContextFilter".WeldInstantiator, service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.MessageHolderWithTokensProducer.WeldInstantiator, service jboss.deployment.unit."unifiedpush-server-wildfly.war".component."com.sun.faces.config.ConfigureListener".WeldInstantiator, service jboss.deployment.unit."unifiedpush-server-wildfly.war".CdiValidatorFactoryService, WFLYCTL0208: ... and 52 more ] service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsPushMessageConsumer.START (missing) dependents: [service jboss.deployment.unit."unifiedpush-server-wildfly.war".deploymentCompleteService, service jboss.deployment.unit."unifiedpush-server-wildfly.war".moduleDeploymentRuntimeInformationStart, service jboss.undertow.deployment.default-server.default-host./ag-push.UndertowDeploymentInfoService, service jboss.undertow.deployment.default-server.default-host./ag-push] service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsPushMessageConsumer.WeldInstantiator (missing) dependents: [service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsPushMessageConsumer.START] service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsPushMessageConsumer.ejb.non-functional-timerservice (missing) dependents: [service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsPushMessageConsumer.START] service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsTokenBatchConsumer.CREATE (missing) dependents: [service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsTokenBatchConsumer.START] service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsTokenBatchConsumer.START (missing) dependents: [service jboss.deployment.unit."unifiedpush-server-wildfly.war".deploymentCompleteService, service jboss.deployment.unit."unifie _______________________________________________ Aerogear-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/aerogear-users |
yeah, there is a problem with the database - the 1.1.x needs a migrator script; that's not yet supported on Docker. :-( On Wed, Mar 23, 2016 at 7:57 PM, Yves Nicolas <[hidden email]> wrote: I am trying to start the docker image of aerogear found on the docker Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf _______________________________________________ Aerogear-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/aerogear-users |
I think we can change that :-) On Wed, Mar 23, 2016 at 8:02 PM, Matthias Wessendorf <[hidden email]> wrote:
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf _______________________________________________ Aerogear-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/aerogear-users |
In reply to this post by Yves Nicolas
if the migrator is a mysql script existing somewhere I can include it in
the docker file and propose a pull request to your docker git hub repo. Just tell me where to look Le 23/03/2016 20:04, [hidden email] a écrit : > Send Aerogear-users mailing list submissions to > [hidden email] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.jboss.org/mailman/listinfo/aerogear-users > or, via email, send a message with subject or body 'help' to > [hidden email] > > You can reach the person managing the list at > [hidden email] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Aerogear-users digest..." > > > Today's Topics: > > 1. Docker image and 1.1.1 (Yves Nicolas) > 2. Re: Docker image and 1.1.1 (Matthias Wessendorf) > 3. Re: Docker image and 1.1.1 (Matthias Wessendorf) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 23 Mar 2016 19:57:33 +0100 > From: Yves Nicolas <[hidden email]> > Subject: [Aerogear-users] Docker image and 1.1.1 > To: [hidden email] > Message-ID: <[hidden email]> > Content-Type: text/plain; charset=utf-8; format=flowed > > I am trying to start the docker image of aerogear found on the docker > hub library with the latest 1.1.1 final relase, as the docker library > runs a 1.1.0-beta2 > I followed mostly the instruction in the README.md at > https://hub.docker.com/r/aerogear/unifiedpush-wildfly/ > I have just built my own end image adapting the Dockerfile at > https://github.com/aerogear/dockerfiles/blob/master/wildfly/unifiedpush-wildfly/Dockerfile > I have downloaded the 1.1.1 archive from > https://github.com/aerogear/aerogear-unifiedpush-server/releases/tag/1.1.1.Final > then copied the auth-server and unified-push-server wars to the > Dockerfile directory, modified the Dockerfile to copy the war files from the downloaded archives > I did the docker build -t aerogear/unifiedpush-wildfly, started the 2 > mysql containers and the ups container. > I get an hibernate error not finding the adm_variant table and then a lot of missing dependencies. > > am I missing updates to be made at the wildfly image level? > > Here is the part of the trace > > INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0009: Undeployed "unifiedpush-server-wildfly.war" (runtime-name: "unifiedpush-server-wildfly.war") > 18:17:12,267 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0183: Service status report > WFLYCTL0184: New missing/unsatisfied dependencies: > service jboss.deployment.unit."unifiedpush-server-wildfly.war".WeldBootstrapService (missing) dependents: [service jboss.deployment.unit."unifiedpush-server-wildfly.war".component."org.jboss.aerogear.unifiedpush.service.filter.HttpContextFilter".WeldInstantiator, service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.MessageHolderWithTokensProducer.WeldInstantiator, service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.MPNSPushMessageConsumer.WeldInstantiator, service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.VariantMetricInformationProducer.WeldInterceptorBindingsService, WFLYCTL0208: ... and 45 more ] > service jboss.deployment.unit."unifiedpush-server-wildfly.war".WeldStartService (missing) dependents: [service jboss.deployment.unit."unifiedpush-server-wildfly.war".component."org.jboss.aerogear.unifiedpush.service.filter.HttpContextFilter".WeldInstantiator, service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.MessageHolderWithTokensProducer.WeldInstantiator, service jboss.deployment.unit."unifiedpush-server-wildfly.war".component."com.sun.faces.config.ConfigureListener".WeldInstantiator, service jboss.deployment.unit."unifiedpush-server-wildfly.war".CdiValidatorFactoryService, WFLYCTL0208: ... and 52 more ] > service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsPushMessageConsumer.START (missing) dependents: [service jboss.deployment.unit."unifiedpush-server-wildfly.war".deploymentCompleteService, service jboss.deployment.unit."unifiedpush-server-wildfly.war".moduleDeploymentRuntimeInformationStart, service jboss.undertow.deployment.default-server.default-host./ag-push.UndertowDeploymentInfoService, service jboss.undertow.deployment.default-server.default-host./ag-push] > service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsPushMessageConsumer.WeldInstantiator (missing) dependents: [service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsPushMessageConsumer.START] > service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsPushMessageConsumer.ejb.non-functional-timerservice (missing) dependents: [service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsPushMessageConsumer.START] > service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsTokenBatchConsumer.CREATE (missing) dependents: [service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsTokenBatchConsumer.START] > service jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsTokenBatchConsumer.START (missing) dependents: [service jboss.deployment.unit."unifiedpush-server-wildfly.war".deploymentCompleteService, service jboss.deployment.unit."unifie > > > > ------------------------------ > > Message: 2 > Date: Wed, 23 Mar 2016 20:02:08 +0100 > From: Matthias Wessendorf <[hidden email]> > Subject: Re: [Aerogear-users] Docker image and 1.1.1 > To: "[hidden email]" <[hidden email]> > Message-ID: > <CAAg5f2RcKAkaimPfgqWWQifS_jCO+PD30Yos0dtLKNLqfhQ=[hidden email]> > Content-Type: text/plain; charset="utf-8" > > yeah, there is a problem with the database - the 1.1.x needs a migrator > script; that's not yet supported on Docker. > > :-( > > On Wed, Mar 23, 2016 at 7:57 PM, Yves Nicolas <[hidden email]> > wrote: > >> I am trying to start the docker image of aerogear found on the docker >> hub library with the latest 1.1.1 final relase, as the docker library >> runs a 1.1.0-beta2 >> I followed mostly the instruction in the README.md at >> https://hub.docker.com/r/aerogear/unifiedpush-wildfly/ >> I have just built my own end image adapting the Dockerfile at >> >> https://github.com/aerogear/dockerfiles/blob/master/wildfly/unifiedpush-wildfly/Dockerfile >> I have downloaded the 1.1.1 archive from >> >> https://github.com/aerogear/aerogear-unifiedpush-server/releases/tag/1.1.1.Final >> then copied the auth-server and unified-push-server wars to the >> Dockerfile directory, modified the Dockerfile to copy the war files >> from the downloaded archives >> I did the docker build -t aerogear/unifiedpush-wildfly, started the 2 >> mysql containers and the ups container. >> I get an hibernate error not finding the adm_variant table and then a >> lot of missing dependencies. >> >> am I missing updates to be made at the wildfly image level? >> >> Here is the part of the trace >> >> INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0009: >> Undeployed "unifiedpush-server-wildfly.war" (runtime-name: >> "unifiedpush-server-wildfly.war") >> 18:17:12,267 INFO [org.jboss.as.controller] (DeploymentScanner-threads - >> 1) WFLYCTL0183: Service status report >> WFLYCTL0184: New missing/unsatisfied dependencies: >> service >> jboss.deployment.unit."unifiedpush-server-wildfly.war".WeldBootstrapService >> (missing) dependents: [service >> jboss.deployment.unit."unifiedpush-server-wildfly.war".component."org.jboss.aerogear.unifiedpush.service.filter.HttpContextFilter".WeldInstantiator, >> service >> jboss.deployment.unit."unifiedpush-server-wildfly.war".component.MessageHolderWithTokensProducer.WeldInstantiator, >> service >> jboss.deployment.unit."unifiedpush-server-wildfly.war".component.MPNSPushMessageConsumer.WeldInstantiator, >> service >> jboss.deployment.unit."unifiedpush-server-wildfly.war".component.VariantMetricInformationProducer.WeldInterceptorBindingsService, >> WFLYCTL0208: ... and 45 more ] >> service >> jboss.deployment.unit."unifiedpush-server-wildfly.war".WeldStartService >> (missing) dependents: [service >> jboss.deployment.unit."unifiedpush-server-wildfly.war".component."org.jboss.aerogear.unifiedpush.service.filter.HttpContextFilter".WeldInstantiator, >> service >> jboss.deployment.unit."unifiedpush-server-wildfly.war".component.MessageHolderWithTokensProducer.WeldInstantiator, >> service >> jboss.deployment.unit."unifiedpush-server-wildfly.war".component."com.sun.faces.config.ConfigureListener".WeldInstantiator, >> service >> jboss.deployment.unit."unifiedpush-server-wildfly.war".CdiValidatorFactoryService, >> WFLYCTL0208: ... and 52 more ] >> service >> jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsPushMessageConsumer.START >> (missing) dependents: [service >> jboss.deployment.unit."unifiedpush-server-wildfly.war".deploymentCompleteService, >> service >> jboss.deployment.unit."unifiedpush-server-wildfly.war".moduleDeploymentRuntimeInformationStart, >> service >> jboss.undertow.deployment.default-server.default-host./ag-push.UndertowDeploymentInfoService, >> service jboss.undertow.deployment.default-server.default-host./ag-push] >> service >> jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsPushMessageConsumer.WeldInstantiator >> (missing) dependents: [service >> jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsPushMessageConsumer.START] >> service >> jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsPushMessageConsumer.ejb.non-functional-timerservice >> (missing) dependents: [service >> jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsPushMessageConsumer.START] >> service >> jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsTokenBatchConsumer.CREATE >> (missing) dependents: [service >> jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsTokenBatchConsumer.START] >> service >> jboss.deployment.unit."unifiedpush-server-wildfly.war".component.APNsTokenBatchConsumer.START >> (missing) dependents: [service >> jboss.deployment.unit."unifiedpush-server-wildfly.war".deploymentCompleteService, >> service jboss.deployment.unit."unifie >> >> _______________________________________________ >> Aerogear-users mailing list >> [hidden email] >> https://lists.jboss.org/mailman/listinfo/aerogear-users >> > > _______________________________________________ Aerogear-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/aerogear-users |
In reply to this post by Yves Nicolas
I have modified the Dockerfiles to include the migrator process inside
the docker container image. Everything works fine now. Modification on the Dockerfiles can be found on my github fork https://github.com/yvnicolas/dockerfiles/tree/migrator_in_Dockerfile which I have submitted as a pull request. Resulting image for 1.1.1 is currently being pushed on docker hub public repo yvnicolas/aerogear-unifiedpush I do not have a very good connection where I am so do not worry if you do not see it yet. Comments and suggestions welcomed. Great Easter to you all, Yves _______________________________________________ Aerogear-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/aerogear-users |
Free forum by Nabble | Edit this page |