Sidehistorik
...
Info |
---|
Replace paths in alfresco-global.properties from the old (5.0.0d) to the new (5.0.d)1) Link /opt/alfresco-5.1/alf_data to /data/alf_data |
Copy MySQL Driver
Kodeblok |
---|
root@afserver:~# cp /opt/alfresco-5.0.d/tomcat/lib/mysql-connector-java-*.jar /opt/alfresco-5.1/tomcat/lib/ |
Advarsel |
---|
Be sure to remove the startup of the old version (like /etc/init.d/alfrescoalfresco50d) to avoid 2 versions being started |
Start Alfresco (now the startup is just "alfresco")
Kodeblok |
---|
root@afserver:~# /etc/init.d/alfresco start |
...
After start, it still show version 5.0.0 in the GUI, - although its running from the 5.0.d folder:
Kodeblok |
---|
root@afserverbnp@afserver:/opt/alfresco-5.0.d/tomcat/shared/classes#tomcat$ ps -ef | grep java root 1893217835 1 99 1514:2057 pts/14 00:03:2900 /data/opt/alfresco-5.0.d1/java/bin/java -Djava.util.logging.config.file=/data/opt/alfresco-5.0.d1/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms512M -Xmx2048MXmx2480M -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Djava.awt.headless=true -Dalfresco.home=/data/opt/alfresco-5.0.d1 -Dcom.sun.management.jmxremote -XX:ReservedCodeCacheSize=128m -Djava.endorsed.dirs=/data/opt/alfresco-5.0.d1/tomcat/endorsed -classpath /data/opt/alfresco-5.0.d1/tomcat/bin/bootstrap.jar:/data/opt/alfresco-5.0.d1/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/data/opt/alfresco-5.0.d1/tomcat -Dcatalina.home=/data/opt/alfresco-5.0.d1/tomcat -Djava.io.tmpdir=/data/opt/alfresco-5.0.d1/tomcat/temp org.apache.catalina.startup.Bootstrap start |
Tip |
bnp 18110 16643 0 14:58 pts/4 00:00:00 grep --color=auto java |
Seems the old issue regarding the version not showing is gone: