AnsweredAssumed Answered

Upgrade from 3.0b to 3.1 final fails

Question asked by carbo on Jun 22, 2009
Hello,

We've been running Labs 3.0b with MySQL and are now trying to upgrade to Labs 3.1 final. However, every way I try I'm running into fatal errors.

First, 3.0b to 3.1 final.

1. Stop alfresco
(creating some backups here)
2. copy alf_data to the freshly unpacked tomcat-3Stable
3. Configure the new repo to use mysql, copy the mysql-connector to it's place
4. Start alfresco

Patches applied as follows:
14:18:01,961 WARN  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'.  'dir.root' should be overridden to point to a specific folder.
14:18:01,961 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: ./alf_data
14:18:02,290 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
14:18:05,282 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]        Applying patch 'patch.calendarNamespaceUri' (Update the Calendar model namespace URI and reindex all calendar objects.).
14:18:06,425 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]        Applying patch 'patch.spacesStoreGuestPermission' (Sets READ permissions for GUEST on root node of the SpacesStore.).
14:20:13,056 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]        Applying patch 'patch.redeploySubmitProcess4' (Re-deploy WCM Submit Process Definition.).
14:20:15,717 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]        Applying patch 'patch.administratorGroup' (Adds the 'ALFRESCO_ADMINISTRATORS' group.).
14:20:16,706 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.administratorGroup
RESULT:
Imported view into bootstrap location: /sys:system/sys:authorities (user://alfrescoUserStore/aee6a4e4-9569-4d55-80b8-22d8888f4ca9)
=====================================
14:20:16,707 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.calendarNamespaceUri
RESULT:
Updated the Calendar model namespace URI to http://www.alfresco.org/model/calendar and reindexed 0 calendar objects.
=====================================
14:20:16,707 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.db-V2.1-AuditPathIndex
RESULT:
Script completed
=====================================
14:20:16,707 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.db-V2.2-Person
RESULT:
Script completed
=====================================
14:20:16,707 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.db-V2.2-Upgrade-From-2.2SP1
RESULT:
Script completed
=====================================
14:20:16,708 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.redeploySubmitProcess4
RESULT:
Re-deployed 1 workflows.
=====================================
14:20:16,708 INFO  [org.alfresco.repo.admin.patch.PatchExecuter]
=== Applied patch                 ===
ID: patch.spacesStoreGuestPermission
RESULT:
Granted READ permissions for GUEST on root node of the SpacesStore.
=====================================
14:20:23,475 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
14:20:23,737 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_14-b08; maximum heap size 506.313MB
14:20:23,739 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (Stable 1526) schema 1002 - Installed version 3.0.0 (b 1164) schema 131

And then it all fails with error message as below:
14:20:24,352 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.web.scripts.WebScriptException: Web Script Store workspace://SpacesStore/app:company_home/app:dictionary/cm:extensionwebscripts must exist; it was not found
        at org.alfresco.repo.web.scripts.RepoStore$1$1.execute(RepoStore.java:242)
        at org.alfresco.repo.web.scripts.RepoStore$1$1.execute(RepoStore.java:221)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:320)

Same goes when trying to upgrade 3.0b to 3.0c.

I've tried setting mustExists to False in web-scripts-application-context.xml, but oddly it doesn't have any effect.

Does anybody have any suggestions on what else to try? Any comments? Even knowing that this upgrade cannot be done is of value.

Outcomes