cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade to 4.0 howto?

ssrjazz
Champ in-the-making
Champ in-the-making
Can anyone point me to a howto or other instructions on upgrading from Alfresco Community 3.4e to 4.0?

Thanks!
40 REPLIES 40

mozg31337
Champ in-the-making
Champ in-the-making
I would like to know the Upgrade process as well. I've got community 3.4d with about 20gb of documents and would like to upgrade to community 4.0a. I've searched for upgrade steps in alfresco 4 documentation and only found pages relating to troubleshooting and debugging the update. Alfresco 3.4 documentation on upgrading is very vague and is not suitable for novice users in my opinion. For instance, i've used the default install of community 3.4d with mysql database. How do I transfer my repository and mysql database into the community 4.0a which by default comes with the postgresql server? It would be very useful to have a full step by step upgrade procedure including examples.

Could anyone point us in the right direction.

Cheers

ssrjazz
Champ in-the-making
Champ in-the-making
As far as I can tell there is no direct upgrade path to take your mysql db and migrate it to postgresql.  I'm pretty sure you don't have to use postgresql with 4.0 either, you'd just have to point it to your mysql server.  That being said, I 'migrated' (long story) to postgresql when I upgraded to 3.4e and postgresql is MUCH faster for handling the metadata with alfresco repositories.

I'm surprised that the documentation isn't readily available.  Surely Alfresco Enterprise customers need simple upgrade procedures and I can't see why it wouldn't be able to apply directly to the community edition as well.

sduis
Champ in-the-making
Champ in-the-making
Post on the same topic:
https://forums.alfresco.com/en/viewtopic.php?f=8&t=41176

Alfresco 4 community works fine with MySql however as you have seen its no longer an option in the installer. AFAIK the problem was we couldn't get a straight answer about whether we could distribute MySql in the installers.

Perhaps the easiest option is to install with the postgress database and then switch over the database settings to mysql. Or just do a manual install using the alfresco.war file.

paulhh
Champ in-the-making
Champ in-the-making
I'm surprised that the documentation isn't readily available.  Surely Alfresco Enterprise customers need simple upgrade procedures and I can't see why it wouldn't be able to apply directly to the community edition as well.

Typically, Enterprise customers do not switch databases, and the range of possibilities for migrating databases is too wide to have good general documentation.

Just doing a new install and pointing it at a MySQL or other database is the easiest way to go.

Paul.

ssrjazz
Champ in-the-making
Champ in-the-making
I'm sorry, I'm afraid I wasn't clear.

I'm surprised that detailed/simple upgrade instructions/methods are not available.

I'm aware that changing databases is not a typical 'upgrade'….nor was I implying that it should be covered in said instructions.

My original question was in regards to moving from 3.4e to 4.0.   There are no upgrade instructions at ALL that cover that.  Nor are there any easy upgrade scripts/methods in general.  There -should- be.

loftux
Star Contributor
Star Contributor
http://wiki.alfresco.com/wiki/General_Upgrade_Process
The process is the same for going to 4.0

And you can probably search for upgrade
http://www.google.com/search?q=site:forums.alfresco.com+upgrade
and find some advice for upgrades there.

If you still do not find what you need, can you outline what that upgrade document should include?

citizenkane
Champ in-the-making
Champ in-the-making
The standard upgrade procedure should work (it worked for me) with the following exception:
The default 4.0 setup uses solr indexing in favor of lucene. Your old install will be for lucene, which is still supported in 4.0.


Here is a quick and easy workaround:
edit <your tomcat root>/shared/classes/alfresco-global-properties

At about line 66, change;

index.subsystem.name=solr
to;
index.subsystem.name=lucene

Copy the "keystore" directory from the installed alf_data into your restored alf_data

Restart your alfresco and it should run as expected.

Anybody got a quickstart guide for implementing solr in an upgrade to 4.0?

mrogers
Star Contributor
Star Contributor
There's a readme that comes with the solr stuff.

:mrgreen: What I did was to download 4.0.a using the installer so I had a working solr instance to compare and then I cut and pasted the solr bits onto my dev env following the readme.   I'm not claiming that's the best way to do it, but it worked for me.

citizenkane
Champ in-the-making
Champ in-the-making
Would you elaborate on what you did please mrogers.