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

Daniel Seidel d.seidel at alkacon.com
Tue Mar 19 10:33:42 CET 2019


Hi Enrico,

then it's a database problem. Check your database setup. This causes the 
trouble.

Best, Daniel.

Am 19.03.19 um 10:30 schrieb Enrico Ballarin Dolfin:
>
> Hi Daniel,
>
> the problem is that I cannot even start the OpenCms installation...
>
> http://localhost:8080/opencms/setup CANNOT be executed giving the 
> first installation dialog, but http://localhost:8080/ tells that 
> Tomcat is working.
>
> Changing {WEBAPP-HOME}/WEB-INF/config/opencms.properties and setting 
> wizard.enabled to "false" doesn't work, because the initialization of 
> the DB for OpenCms was not executed and returns the error "Unable to 
> initialize connection pool "default" ".
>
> Thanks,
> Enrico
>
> On 19.03.19 09:58, Daniel Seidel wrote:
>>
>> Hi Enrico,
>>
>> if the wizard is still enabled, it does not necessarily mean that the 
>> installation fails. You might have done something else during 
>> installation and returned back to the setup window too late. You can 
>> just go to {WEBAPP-HOME}/WEB-INF/config/opencms.properties and set 
>> wizard.enabled to "false". This will probably work - unless there's 
>> been a real issue.
>>
>> Best, Daniel.
>>
>> Am 19.03.19 um 09:43 schrieb Enrico Ballarin Dolfin:
>>>
>>> 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
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>>
>> -- 
>> Kind Regards,
>> Daniel.
>>   
>> -------------------
>>
>> Daniel Seidel
>>
>> Alkacon Software GmbH & Co. KG - The OpenCms Experts
>> http://www.alkacon.com  -http://www.opencms.org      
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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
>
>
>
-- 
Kind Regards,
Daniel.
  
-------------------

Daniel Seidel

Alkacon Software GmbH & Co. KG - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org

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


More information about the opencms-dev mailing list