Upgrading in Alfresco has always been incredibly fragile and causes grief in most cases. (IMHO)
Upgrading 4.0.x to 4.0.x+1 seems to involve ….. (for me)
1. Keeping the old installation intact (I'm using the supplied postgresql and not my own database. Had I used MySQL (as I've done in the past) I would back that up).
2. Installing the new version (using the same admin password as the old)
3. Edit tomcat/conf/server.xml and tomcat/shared/classes/alfresco-global.properties (as appropriate)
4. start the new version (monitoring the alfreso log… $ tail -f alfresco.log)
5. stop alfresco
6. move the 'post-natal' data directory for safe keeping. $ mv alf_data alf_data.post-natal
7. copy the alf_data from the previous installation …. $ cp -a ../alfresco-4.0.c/alf_data .
8. remove the old solr directory and replace it with the 'post-natal version'. $ rm -rf alf_data/solr; cp -a alf_data.post-natal/solr alf_data/solr
9. edit alf_data/postgresql/postgresql.conf and alf_data/postgresql/posmaster.opts to correct path: unix_socket_directory = '/var/home/loc/alfresco-4.0.d/postgresql'
10. start the new version (monitoring the alfreso log… $ tail -f alfresco.log)
Solr will rebuild the indexes (although it's a slow process .. so be patient)
Obviously this is for Linux …
My installation runs on a server and has no graphical display. With no X software installed, the supplied openoffice does not run. I must copy some X libraries to the openoffice directory to get alfresco's openoffice to work. cp -a ~/Downloads/{libX11-xcb.so.1,libX11-xcb.so.1.0.0,libX11.so.6,libX11.so.6.3.0,libXext.so.6,libXext.so.6.4.0,libxcb.so.1} openoffice/program/
Also the path to the openoffice control script in the alfresco.sh script is wrong, and this needs to be edited to start openoffice on Linux.