cancel
Showing results for 
Search instead for 
Did you mean: 

upgrade from 3.3 to 4.2

lucille_arkenst
Champ in-the-making
Champ in-the-making
Hello,

In order to upgrade from 3.3 to 4.2, first I did a cold backup of the database and alf_data for my Alfresco Community 3.3 installation.

Then I installed alfresco-4.2.e, starting with a completely fresh database and everything.  Started it, it started up OK.

So then I shut it down, moved the old alf_data to the new location, and restored my dump of the database.

Now, when I start it, it gives me the following error…

17:35:08,703 INFO  [org.alfresco.repo.admin] Using database URL 'jdbcSmiley Tongueostgresql://localhost:5432/alfresco' with user 'alfresco'.
17:35:08,746 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorityBridgeTableCache' defined in class path resource [alfresco/cache-context.xml]:

I only restored the database and my alf_data stuff!  Why would I get an error that has to do with installation stuff?

Thanks in advance,
Lucille
5 REPLIES 5

afaust
Legendary Innovator
Legendary Innovator
Hello,

can you post the entirety of the error? This is too little information to be able to make qualified assumptions / suggestions.
Have you tried incremental upgrades, i.e. first upgrading to 4.0 and then to 4.2?

Regards
Axel

Greetings Axel,

I came across the incremental page just now (http://wiki.alfresco.com/wiki/General_Upgrade_Process).  No, I have not tried it yet.
The "fix" to the error I posted was actually (I think) due to me failing to switch the database over from Postgresql to MySql.
But now that I've done that I have a NEW error #Smiley Sad

AlfrescoRuntimeException: 11110000 Keystores are invalid
MissingKeyException: Key metadata is missing from keystore /var2/sandbox/alfresco-4.2.e/alf_data/keystore/keystore

It looks like a hiccup of sorts, somewhere.  Keystores wouldn't be in path <b>keystore/keystore</b>, would they?

Thanks,
  Lucille

lucille_arkenst
Champ in-the-making
Champ in-the-making
OK so I decided to try installing Alfresco-Community-3.3-Linux-x86-Install on the new server.  Server is Red Hat Linux, x86_64.  chmod +x Alfresco-Community-3.3-Linux-x86-Install.  And the file will not execute.  Why…?

mrogers
Star Contributor
Star Contributor
Re keystore.   They were added for alfresco 4.  So take the keystore folder that was created in alf data with the new install and copy it to your alf data copied from your 3 instance.

If you decide to use solr you may also want to use a similar trick.

lucille_arkenst
Champ in-the-making
Champ in-the-making
OK good.  Thank you.