[opencms-dev] Upgrade from 7.5.3 to 8.0.3 problem

Tobias Herrmann t.herrmann at alkacon.com
Fri May 4 17:37:09 CEST 2012

Hi Christian,

updating the OpenCms configuration files can be very tricky. The updater sometimes fails on this task. The workaround you describe is probably the best way to handle this issue.

For future releases we will try to make the updater more reliable.

Greetings, Tobias


Visit OpenCms Days 2012 Conference and Expo September 24 to 25, 2012 in Cologne, Germany http://www.opencms-days.org

Alkacon Software GmbH - The OpenCms Experts
Tobias Herrmann

http://www.alkacon.com  --  http://www.opencms.org

Am 03.05.2012 05:50, schrieb Christian Steinert:
>> Dear List.
>> While trying to update OpenCms from 7.5.3 to 8.0.3 i get the following error at step 5:
>> 18:                at org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java:191)
>> 17:                at org.opencms.setup.CmsUpdateThread.kill(CmsUpdateThread.java:106)
>> 16:                at org.opencms.main.CmsShell.exit(CmsShell.java:577)
>> 15:        java.lang.NullPointerException
>> 14:                at org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java:191)
>> 13:                at org.opencms.setup.CmsUpdateThread.kill(CmsUpdateThread.java:106)
>> 12:                at org.opencms.main.CmsShell.exit(CmsShell.java:571)
>> 11:        java.lang.NullPointerException
>> 10:                at org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java:180)
>> 9:                at org.opencms.main.CmsShell.start(CmsShell.java:663)
>> 8:                at org.opencms.main.CmsShell.executeCommands(CmsShell.java:835)
>> 7:                at org.opencms.main.CmsShell.executeCommand(CmsShell.java:760)
>> 6:        ${user}@${project}>java.lang.NullPointerException
>> 5:        ${user}@${project}># Turn echo on
>> 4:                at org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java:143)
>> 3:                at org.opencms.main.CmsShell.<init>(CmsShell.java:411)
>> 2:                at org.opencms.main.OpenCmsCore.getInstance(OpenCmsCore.java:297)
>> 1:        org.opencms.main.CmsInitException: Critical error during OpenCms initialization: Unable to read the OpenCms XML configuration.
>> I have absolutely no clue how to solve this or get other information that might point me in the right direction. Could anybody help me in this issue?
> I had similar problems. Somehow the update wizard corrupted one of the config files when it added some of the new entries.
> My only escape was to take the default opencms configuration files from the opencms _installation_ (NOT update!) package, diff them against my own config files and manually take over all those changes that I needed.
> After I had re-merged all important settings with the default config file I copied these newly crafted files into the config folder of my opencms installation and re-ran the wizard. The wizard may suggest to apply some changes again that you already have in your config file after the manual 
> editing. If such is the case then uncheck all the config file changes that the update wizard suggests to make.
> In this way your config should stay uncorrupted and yet it should contain all options that are important.
> It is a bit tedious to go through this process for each xml file in the config folder, but this is the best solution I found
> Kind regards and good luck
> Christian
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120504/074f9569/attachment.htm>

More information about the opencms-dev mailing list