AW: [opencms-dev] upgrade from 5.0 beta to 5.0 final

Alexander Kandzior alex at opencms.org
Tue Jul 1 13:40:01 CEST 2003


Sven,

your last log output sure looks correct. Not sure why you still
encounter the errors. The steps I described are correct and usually
work. 

There might be an issue with permissions on the files / templates you
have created. If you have made changes (e.g. permission changes) to any
of the files listed in your log as "immutable resources" this might be a
cause of error.

Not being able to install "over" an existing OpenCms version in 5.0
final might also be related to the "immutable resources" feature. If you
really care, you can disable this manually by editing the key in
opencms.properties to contain an empty list only. 

Just to complete this, the "immutable resources" are resources (usually
folders) which are never changed as a result from an import. If you
import these resources, all changes will be ignored and the current VFS
version will not be changed. Reason for this is that usually all
resources listed there should have default permissions only defined when
installing the system. 


Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com



> -----Original Message-----
> From: opencms-dev-admin at opencms.org 
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of Sven Dittmar
> Sent: Tuesday, July 01, 2003 12:58 PM
> To: opencms-dev at opencms.org
> Subject: Re: AW: [opencms-dev] upgrade from 5.0 beta to 5.0 final
> 
> 
> Hi Alex,
> 
> > system". In this case, you must add all your top-level 
> folder manually 
> > to get them exported. Or just try to export /system/bodies 
> into your 
> > already running system. Should work, too.
> I created two zip-files for both methods. And imported them 
> again into 
> the two new instances but I still get the "404 requested 
> resource () not 
> available".
> 
> I then tried to re-install opencms for these two instance with 
> re-enabling the wizard (opencms.properties: wizard.enabled=true) and 
> trying install over again. This worked in older version of 5 
> but not in 
> the final version. Why?
> 
> Dropping databases works. While importing the workplace I get 
> this and 
> opencms does not even show a login box then (404 error again):
> 
> [01.07.2003 12:56:31] <opencms_init> [CmsBase] Setting OpenCms home 
> folder to /serv/services/jakarta/tomcat/tomcat-default/webapps/opencms
> 500/WEB-INF/.
> [01.07.2003 12:56:31] <opencms_init> . OpenCms encoding     : 
> ISO-8859-1
> [01.07.2003 12:56:31] <opencms_init> . System file.encoding : 
> ISO-8859-1
> [01.07.2003 12:56:31] <opencms_init> . Encoding set to      : 
> ISO-8859-1
> [01.07.2003 12:56:31] <opencms_init> . Ethernet address used: 
> bc:3f:a4:c8:8f:21
> [01.07.2003 12:56:31] <opencms_init> . Java VM in use       : Java 
> HotSpot(TM) Client VM 1.4.1_01-b01 mixed mode Sun Microsystems Inc.
> [01.07.2003 12:56:31] <opencms_init> . Operating sytem      : Linux 
> 2.2.19 i386
> [01.07.2003 12:56:31] <opencms_init> . Resource broker used : 
> mysql [01.07.2003 12:56:31] <opencms_init> . Resource broker class: 
> com.opencms.file.mySql.CmsResourceBroker
> [01.07.2003 12:56:31] <opencms_init> . Resource broker init : 
> phase 1 ok 
> - starting
> [01.07.2003 12:56:31] <opencms_init> . Resource broker init : 
> phase 2 ok 
> - initializing database
> [01.07.2003 12:56:31] <opencms_init> . Resource broker init : 
> phase 3 ok 
> - creating db access module
> [01.07.2003 12:56:31] <opencms_init> . Database access init : 
> ok [01.07.2003 12:56:31] <opencms_init> . Database offline pool: 
> jdbc:opencmspool:mysql
> [01.07.2003 12:56:31] <opencms_init> . Database online pool : 
> jdbc:opencmspool:mysqlonline
> [01.07.2003 12:56:31] <opencms_init> . Database backup pool : 
> jdbc:opencmspool:mysqlbackup
> [01.07.2003 12:56:31] <opencms_init> . Digest configured    : MD5
> [01.07.2003 12:56:31] <opencms_init> . Digest file encoding : 
> UTF-8 [01.07.2003 12:56:31] <opencms_init> . Using digest 
> encoding: MD5 from 
> SUN version 1.2
> [01.07.2003 12:56:31] <opencms_init> . Database fill default: 
> yes [01.07.2003 12:56:32] <opencms_init> . Initializing 
> registry: starting [01.07.2003 12:56:32] <opencms_init> . 
> Initializing registry: finished [01.07.2003 12:56:32] 
> <opencms_init> . Resource broker init : phase 4 ok 
> - finished
> [01.07.2003 12:56:32] <opencms_init> . Found mime types     : 
> 127 entrys
> [01.07.2003 12:56:32] <opencms_init> . Legacy HTTP streaming: disabled
> [01.07.2003 12:56:32] <opencms_init> . OpenCms scheduler    : enabled
> [01.07.2003 12:56:32] <opencms_init> . JSP errorPage commit : enabled
> [01.07.2003 12:56:32] <opencms_init> . Old locale support   : disabled
> [01.07.2003 12:56:32] <opencms_init> . Old webapp URL       : 
> http://localhost:8080/opencms/opencms/
> [01.07.2003 12:56:32] <opencms_init> . Clear import property: 
> 1 - module
> [01.07.2003 12:56:32] <opencms_init> . Remove properties    : enabled
> [01.07.2003 12:56:32] <opencms_init> . Old context support  : disabled
> [01.07.2003 12:56:32] <opencms_init> . Immutable resource   : 1 - 
> /default/vfs/
> [01.07.2003 12:56:32] <opencms_init> . Immutable resource   : 2 - 
> /default/vfs/system/
> [01.07.2003 12:56:32] <opencms_init> . Immutable resource   : 3 - 
> /default/vfs/system/bodies/
> [01.07.2003 12:56:32] <opencms_init> . Immutable resource   : 4 - 
> /default/vfs/system/galleries/
> [01.07.2003 12:56:32] <opencms_init> . Immutable resource   : 5 - 
> /default/vfs/system/galleries/download/
> [01.07.2003 12:56:32] <opencms_init> . Immutable resource   : 6 - 
> /default/vfs/system/galleries/externallinks/
> [01.07.2003 12:56:32] <opencms_init> . Immutable resource   : 7 - 
> /default/vfs/system/galleries/htmlgalleries/
> [01.07.2003 12:56:32] <opencms_init> . Immutable resource   : 8 - 
> /default/vfs/system/galleries/pics/
> [01.07.2003 12:56:32] <opencms_init> . Immutable resource   : 9 - 
> /default/vfs/system/login/
> [01.07.2003 12:56:32] <opencms_init> . Immutable resource   : 10 - 
> /default/vfs/system/modules/
> [01.07.2003 12:56:32] <opencms_init> . Immutable resource   : 11 - 
> /default/vfs/system/shared/
> [01.07.2003 12:56:32] <opencms_init> . Immutable resource   : 12 - 
> /default/vfs/system/workplace/
> [01.07.2003 12:56:32] <opencms_init> . Immutable resource   : 13 - 
> /default/vfs/system/workplace/action/
> [01.07.2003 12:56:32] <opencms_init> . Immutable resource   : 14 - 
> /default/vfs/system/workplace/administration/
> [01.07.2003 12:56:32] <opencms_init> . Immutable resource   : 15 - 
> /default/vfs/system/workplace/help/
> [01.07.2003 12:56:32] <opencms_init> . Immutable resource   : 16 - 
> /default/vfs/system/workplace/locales/
> [01.07.2003 12:56:32] <opencms_init> . Immutable resource   : 17 - 
> /default/vfs/system/workplace/resources/
> [01.07.2003 12:56:32] <opencms_init> . Immutable resource   : 18 - 
> /default/vfs/system/workplace/restypes/
> [01.07.2003 12:56:32] <opencms_init> . Immutable resource   : 19 - 
> /default/vfs/system/workplace/scripts/
> [01.07.2003 12:56:32] <opencms_init> . Immutable resource   : 20 - 
> /default/vfs/system/workplace/templates/
> [01.07.2003 12:56:32] <opencms_init> . Immutable resources  : 
> enabled [01.07.2003 12:56:32] <opencms_init> . Directory 
> translation: enabled [01.07.2003 12:56:32] <opencms_init> . 
> Resource translation : 11 rules 
> initialized
> [01.07.2003 12:56:32] <opencms_init> . File max. upload size: 
> unlimited [01.07.2003 12:56:32] <opencms_init> . Filename 
> translation : enabled [01.07.2003 12:56:32] <opencms_init> . 
> Resource translation : 4 rules 
> initialized
> [01.07.2003 12:56:32] <opencms_init> . Default file         : 
> 1 - index.html
> [01.07.2003 12:56:32] <opencms_init> . Default file         : 
> 2 - index.jsp
> [01.07.2003 12:56:32] <opencms_init> . Flex cache init      : starting
> [01.07.2003 12:56:32] <opencms_init> . Flex cache init      : finished
> [01.07.2003 12:56:32] <opencms_init> . Launcher init        : starting
> [01.07.2003 12:56:32] <opencms_init> . Launcher package     : 
> com.opencms.launcher
> [01.07.2003 12:56:32] <opencms_init> . Launcher loaded      : 
> com.opencms.flex.CmsXmlTemplateLoader with id 3
> [01.07.2003 12:56:32] <opencms_init> . Launcher loaded      : 
> com.opencms.flex.CmsDumpLoader with id 1
> [01.07.2003 12:56:32] <opencms_init> . Launcher loaded      : 
> com.opencms.launcher.CmsLinkLauncher with id 4
> [01.07.2003 12:56:32] <opencms_init> . Launcher loaded      : 
> com.opencms.flex.CmsJspLoader with id 6
> [01.07.2003 12:56:32] <opencms_init> . Launcher init        : finished
> [01.07.2003 12:56:32] <opencms_init> . Password validation  : 
> com.opencms.util.PasswordValidtation
> [01.07.2003 12:56:32] <opencms_init> . User permission init : Default 
> access flags are 383
> [01.07.2003 12:56:32] <opencms_init> . User permission init : Default 
> language is 'en'
> [01.07.2003 12:56:32] <opencms_init> . Element cache        : enabled
> [01.07.2003 12:56:32] <opencms_init> . Link rules init      : starting
> [01.07.2003 12:56:32] <opencms_init> . Generating rulesets  : ok
> [01.07.2003 12:56:32] <opencms_init> . Link rules init      : finished
> 
> 
> 
> I can not shutdown tomcat now because users are present. So this will 
> have to wait...
> 
> Sven
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 




More information about the opencms-dev mailing list