[opencms-dev] "The OpenCms setup wizard is still enabled" exception, during fresh installation

Enrico Ballarin Dolfin enrico at sed.ethz.ch
Tue Mar 19 09:43:15 CET 2019


Hi,

I can install successfully OpenCms 9.5.3 on Ubuntu 16.04, using tomcat8 
and apache2.4, without having the "setup wizard enabled" exception.

Why this?

Are tomcat8 or OpenCms 9.5.3 using any Ubuntu 16.04 resource that is 
different in Ubuntu 18.04?

Thanks,
Enrico

On 15.03.19 11:55, Enrico Ballarin Dolfin wrote:
>
> Hi,
>
> I'm trying to install OpenCms 9.5.3 on Ubuntu 18.04, using tomcat8, 
> apache2.4, java8 and postgresql 10.6.
>
> After having copied the 9.5.3 opencms.war on the 
> /var/lib/tomcat8/webapps directory, restarting tomcat8 the opencms 
> directory is getting extracted, but in the opencms.log I'm getting an 
> exception telling that the setup wizard is still enabled !?
>
> To setup OpenCms I need to have the setup wizard enabled, but tomcat8 
> start shutting down.
>
> So, I cannot run the setup URL http://localhost:8080/opencms/setup
>
> Any idea what's wrong?
>
> Many thanks
> Enrico
>
> 15 Mar 2019 11:13:30,933  INFO [  org.opencms.main.OpenCmsCore:2771] . Runlevel change      : Switching from 1 to 2
> 15 Mar 2019 11:13:30,937 ERROR [  org.opencms.main.OpenCmsCore: 358] Critical error during OpenCms initialization: The O
> penCms setup wizard is still enabled.
> org.opencms.main.CmsException: Critical error during OpenCms initialization: The OpenCms setup wizard is still enabled.
>          at org.opencms.main.OpenCmsCore.setErrorCondition(OpenCmsCore.java:358)
>          at org.opencms.main.CmsInitException.setErrorCondition(CmsInitException.java:113)
>          at org.opencms.main.CmsInitException.<init>(CmsInitException.java:70)
>          at org.opencms.main.CmsInitException.<init>(CmsInitException.java:56)
>          at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1456)
>          at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:2029)
>          at org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:85)
>          at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4776)
>          at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5240)
>          at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
>          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
>          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
>          at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985)
>          at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1856)
>          at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
>          at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
>          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
>          at java.base/java.lang.Thread.run(Thread.java:844)
> 15 Mar 2019 11:13:30,938 ERROR [g.opencms.main.OpenCmsListener:  89] Critical error during OpenCms initialization: The OpenCms setup wizard is still enabled.
> org.opencms.main.CmsInitException: Critical error during OpenCms initialization: The OpenCms setup wizard is still enabled.
>          at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1456)
>          at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:2029)
>          at org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:85)
>          at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4776)
>          at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5240)
>          at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
>          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
>          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
>          at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985)
>          at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1856)
>          at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
>          at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
>          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
>          at java.base/java.lang.Thread.run(Thread.java:844)
> 15 Mar 2019 11:13:31,069  INFO [.opencms.i18n.CmsLocaleManager: 376] . i18n configuration   : the JVM default locale is "en_US"
> 15 Mar 2019 11:13:31,070  INFO [  org.opencms.main.OpenCmsCore:1754] .
> 15 Mar 2019 11:13:31,070  INFO [  org.opencms.main.OpenCmsCore:1755] .
> 15 Mar 2019 11:13:31,071  INFO [  org.opencms.main.OpenCmsCore:1756] .                      ...............................................................
> 15 Mar 2019 11:13:31,072  INFO [  org.opencms.main.OpenCmsCore:1757] . Performing shutdown  : 9.5.3 [Release #705 ( - e3
> -- 
> Enrico Ballarin Dolfin
>
> Senior Application Developer
>
> Schweizerischer Erdbebendienst (SED)
> Swiss Seismological Service
> NO F67, Sonneggstrasse 5, CH-8092 Zürich
>
> Phone: +41 44 633 6625
> Mail:enrico at sed.ethz.ch
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
-- 
Enrico Ballarin Dolfin

Senior Application Developer

Schweizerischer Erdbebendienst (SED)
Swiss Seismological Service
NO F67, Sonneggstrasse 5, CH-8092 Zürich

Phone: +41 44 633 6625
Mail: enrico at sed.ethz.ch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20190319/f0e32349/attachment.htm>


More information about the opencms-dev mailing list