[opencms-dev] Problem during upgrade from 7.0.4 to 7.0.5

Stéphane Martin martin at webtrio.de
Tue Dec 2 23:42:04 CET 2008


Dear list members,

we have tried to upgrade from 7.0.4 to 7.0.5 using the upgrade package 
provided by Alkacon and got the following error during the web based 
upgrade procedure:

1400:	
1399:	Shutdown completed, total uptime was 00:00:43.
1398:	Shutting down OpenCms, version 7.0.5 in web application "opencms"
1397:	
1396:	
1395:	The OpenCms system used for the update will now shut down.
1394:	The update is finished!
1393:	
1392:	
1391:	Guest at Online>exit
1390:	Guest at Online>
1389:	Guest at Online>purgeJspRepository
1388:	Guest at Online># purge the jsp repository
1387:	Guest at Online>
1386:		at org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java:187)
1385:		at org.opencms.main.CmsShell.start(CmsShell.java:651)
1384:		at org.opencms.main.CmsShell.executeCommands(CmsShell.java:823)
1383:		at org.opencms.main.CmsShell.executeCommand(CmsShell.java:751)
1382:		at 
org.opencms.main.CmsShell$CmsCommandObject.executeMethod(CmsShell.java:207)
1381:		at java.lang.reflect.Method.invoke(Method.java:597)
1380:		at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
1379:		at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
1378:		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1377:		at 
org.opencms.setup.CmsUpdateBean.updateModulesFromUpdateBean(CmsUpdateBean.java:721)
1376:		at 
org.opencms.setup.CmsUpdateBean.updateModule(CmsUpdateBean.java:883)
1375:		at 
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:674)
1374:		at 
org.opencms.security.CmsRoleManager.checkRole(CmsRoleManager.java:98)
1373:		at 
org.opencms.db.CmsSecurityManager.checkRole(CmsSecurityManager.java:556)
1372:		at 
org.opencms.db.CmsSecurityManager.checkRole(CmsSecurityManager.java:536)
1371:		at 
org.opencms.security.CmsRole.createRoleViolationException(CmsRole.java:359)
1370:	org.opencms.security.CmsRoleViolationException: The user "Guest" 
does not have access to the required "Database manager" role.
1369:	------ Begin update of module 
com.alkacon.documentation.examples_directedit ...
1368:		at org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java:187)
1367:		at org.opencms.main.CmsShell.start(CmsShell.java:651)
1366:		at org.opencms.main.CmsShell.executeCommands(CmsShell.java:823)
1365:		at org.opencms.main.CmsShell.executeCommand(CmsShell.java:751)
1364:		at 
org.opencms.main.CmsShell$CmsCommandObject.executeMethod(CmsShell.java:207)
1363:		at java.lang.reflect.Method.invoke(Method.java:597)
1362:		at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
1361:		at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
1360:		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1359:		at 
org.opencms.setup.CmsUpdateBean.updateModulesFromUpdateBean(CmsUpdateBean.java:721)
1358:		at 
org.opencms.setup.CmsUpdateBean.updateModule(CmsUpdateBean.java:883)
1357:		at 
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:674)
1356:		at 
org.opencms.security.CmsRoleManager.checkRole(CmsRoleManager.java:98)
1355:		at 
org.opencms.db.CmsSecurityManager.checkRole(CmsSecurityManager.java:556)
1354:		at 
org.opencms.db.CmsSecurityManager.checkRole(CmsSecurityManager.java:536)
1353:		at 
org.opencms.security.CmsRole.createRoleViolationException(CmsRole.java:359)
1352:	org.opencms.security.CmsRoleViolationException: The user "Guest" 
does not have access to the required "Database manager" role.
1351:	------ Begin update of module 
com.alkacon.documentation.xmlcontentdemo ...
1350:		at org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java:187)
1349:		at org.opencms.main.CmsShell.start(CmsShell.java:651)
1348:		at org.opencms.main.CmsShell.executeCommands(CmsShell.java:823)
1347:		at org.opencms.main.CmsShell.executeCommand(CmsShell.java:751)
1346:		at 
org.opencms.main.CmsShell$CmsCommandObject.executeMethod(CmsShell.java:207)
1345:		at java.lang.reflect.Method.invoke(Method.java:597)
1344:		at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
1343:		at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
1342:		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1341:		at 
org.opencms.setup.CmsUpdateBean.updateModulesFromUpdateBean(CmsUpdateBean.java:721)
1340:		at 
org.opencms.setup.CmsUpdateBean.updateModule(CmsUpdateBean.java:883)
1339:		at 
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:674)
1338:		at 
org.opencms.security.CmsRoleManager.checkRole(CmsRoleManager.java:98)
1337:		at 
org.opencms.db.CmsSecurityManager.checkRole(CmsSecurityManager.java:556)
1336:		at 
org.opencms.db.CmsSecurityManager.checkRole(CmsSecurityManager.java:536)
1335:		at 
org.opencms.security.CmsRole.createRoleViolationException(CmsRole.java:359)
1334:	org.opencms.security.CmsRoleViolationException: The user "Guest" 
does not have access to the required "Database manager" role.
1333:	------ Begin update of module 
com.alkacon.documentation.documentation_htmlimport ...
1332:		at org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java:187)
1331:		at org.opencms.main.CmsShell.start(CmsShell.java:651)
1330:		at org.opencms.main.CmsShell.executeCommands(CmsShell.java:823)
1329:		at org.opencms.main.CmsShell.executeCommand(CmsShell.java:751)
1328:		at 
org.opencms.main.CmsShell$CmsCommandObject.executeMethod(CmsShell.java:207)
1327:		at java.lang.reflect.Method.invoke(Method.java:597)
1326:		at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
1325:		at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
1324:		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1323:		at 
org.opencms.setup.CmsUpdateBean.updateModulesFromUpdateBean(CmsUpdateBean.java:721)
1322:		at 
org.opencms.setup.CmsUpdateBean.updateModule(CmsUpdateBean.java:883)
1321:		at 
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:674)
1320:		at 
org.opencms.security.CmsRoleManager.checkRole(CmsRoleManager.java:98)
1319:		at 
org.opencms.db.CmsSecurityManager.checkRole(CmsSecurityManager.java:556)
1318:		at 
org.opencms.db.CmsSecurityManager.checkRole(CmsSecurityManager.java:536)
1317:		at 
org.opencms.security.CmsRole.createRoleViolationException(CmsRole.java:359)
1316:	org.opencms.security.CmsRoleViolationException: The user "Guest" 
does not have access to the required "Database manager" role.
1315:	------ Begin update of module 
com.alkacon.documentation.documentation_flexcache ...
1314:		at org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java:187)
1313:		at org.opencms.main.CmsShell.start(CmsShell.java:651)
1312:		at org.opencms.main.CmsShell.executeCommands(CmsShell.java:823)
1311:		at org.opencms.main.CmsShell.executeCommand(CmsShell.java:751)
1310:		at 
org.opencms.main.CmsShell$CmsCommandObject.executeMethod(CmsShell.java:207)
1309:		at java.lang.reflect.Method.invoke(Method.java:597)
1308:		at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
1307:		at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
1306:		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1305:		at 
org.opencms.setup.CmsUpdateBean.updateModulesFromUpdateBean(CmsUpdateBean.java:721)
1304:		at 
org.opencms.setup.CmsUpdateBean.updateModule(CmsUpdateBean.java:883)
1303:		at 
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:674)
1302:		at 
org.opencms.security.CmsRoleManager.checkRole(CmsRoleManager.java:98)
1301:		at 
org.opencms.db.CmsSecurityManager.checkRole(CmsSecurityManager.java:556)
1300:		at 
org.opencms.db.CmsSecurityManager.checkRole(CmsSecurityManager.java:536)
1299:		at 
org.opencms.security.CmsRole.createRoleViolationException(CmsRole.java:359)

and so on... :-)

At the end of the process a green success message is displayed and when 
we start the container again and log in the backend, all modules are 
still old versions (< 7.0.5.) due to the error messages mentioned 
before. In the user administration the guest user is disabled. Do we 
have to enable it before?

A second problem is found when I try to install a module by hand (i.e. 
com.alkacon.opencms.formgenerator_1.2.0.zip):

Fehler beim Löschen des Moduls com.alkacon.opencms.formgenerator. 
Folgende Ressourcen sind gesperrt: /system/,/system/,/system/
Fehler org.opencms.lock.CmsLockException: Error while deleting module 
com.alkacon.opencms.formgenerator, since following resources can not be 
locked: /system/,/system/,/system/
at 
org.opencms.module.CmsModuleManager.deleteModule(CmsModuleManager.java:598)
at 
org.opencms.workplace.threads.CmsModuleDeleteThread.run(CmsModuleDeleteThread.java:116)
Importiere Modul ... com.alkacon.opencms.formgenerator ... Fehler 
org.opencms.configuration.CmsConfigurationException: The module 
"com.alkacon.opencms.formgenerator" is already installed.
at 
org.opencms.module.CmsModuleImportExportHandler.importModule(CmsModuleImportExportHandler.java:527)
at 
org.opencms.module.CmsModuleImportExportHandler.importData(CmsModuleImportExportHandler.java:381)
at 
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:680)
at 
org.opencms.workplace.threads.CmsDatabaseImportThread.run(CmsDatabaseImportThread.java:94)

Best regards

Stéphane Martin



More information about the opencms-dev mailing list