Cannot login after migrate Alfresco to new server
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2015 12:14 AM
Hi all,
I have Alfresco Community 5.0.b on Centos 6.4 64 bit, installation directory : /opt/alfresco-5.0.b , my Alfresco use MySQL 5.1.67 database . Here is my alfresco-global.properties :
Now I want to move Alfresco to new server Centos 7.0 64 bit , with mariadb-5.5.41 . What should I do ?
I followed article here http://docs.alfresco.com/4.1/concepts/migrating-servers.html but it didn't work.
I tried:
1. Stop Alfresco on old server
2. copy entire /opt/alfresco-5.0.b folder from old server to new server
3. dump and import alfresco mysql database from old server to new server
4. Change ip address of alfresco.host , share.host , db.host in alfresco-global.properties to new server ip address
When I start Alfresco and try login http://192.168.7.20:8080/share , it says "Your authentication details have not been recognized or Alfresco may not be available at this time."
Thanks for your help.
I have Alfresco Community 5.0.b on Centos 6.4 64 bit, installation directory : /opt/alfresco-5.0.b , my Alfresco use MySQL 5.1.67 database . Here is my alfresco-global.properties :
################################# Common Alfresco Properties ################################dir.root=/opt/alfresco-5.0.b/alf_dataalfresco.context=alfrescoalfresco.host=192.168.0.8alfresco.port=8080alfresco.protocol=httpshare.context=shareshare.host=192.168.0.8share.port=8080share.protocol=http### Database connection Mysql server ##db.name=alfrescodb.username=alfrescodb.password=******db.host=192.168.0.8db.port=3306db.driver=org.gjt.mm.mysql.Driverdb.url=jdbc:mysql://${db.host}:${db.port}/${db.name}?useUnicode=yes&characterEncoding=UTF-8# Note: your database must also be able to accept at least this many connections. Please see your database documentation for instructions on how to configure this.db.pool.max=275db.pool.validate.query=SELECT 1# The server mode. Set value here# UNKNOWN | TEST | BACKUP | PRODUCTIONsystem.serverMode=UNKNOWN### FTP Server Configuration ###ftp.port=2121### RMI registry port for JMX ###alfresco.rmi.services.port=50500### External executable locations ###ooo.exe=/opt/alfresco-5.0.b/libreoffice/program/sofficeooo.enabled=trueooo.port=8100img.root=/opt/alfresco-5.0.b/commonimg.dyn=${img.root}/libimg.exe=${img.root}/bin/convertswf.exe=/opt/alfresco-5.0.b/common/bin/pdf2swfswf.languagedir=/opt/alfresco-5.0.b/common/japanesejodconverter.enabled=falsejodconverter.officeHome=/opt/alfresco-5.0.b/libreofficejodconverter.portNumbers=8100# Determines if the JBPM engine is enabledsystem.workflow.engine.jbpm.enabled=truesystem.workflow.engine.jbpm.definitions.visible=true### Initial admin password ###alfresco_user_store.adminpassword=c8cb1a868ca479248a463cb165fb6011### License location ###dir.license.external=/opt/alfresco-5.0.b### Solr indexing ###index.subsystem.name=solr4dir.keystore=${dir.root}/keystoresolr.port.ssl=8443### BPM Engine ###system.workflow.engine.jbpm.enabled=false### Allow extended ResultSet processingsecurity.anyDenyDenies=fals
Now I want to move Alfresco to new server Centos 7.0 64 bit , with mariadb-5.5.41 . What should I do ?
I followed article here http://docs.alfresco.com/4.1/concepts/migrating-servers.html but it didn't work.
I tried:
1. Stop Alfresco on old server
2. copy entire /opt/alfresco-5.0.b folder from old server to new server
3. dump and import alfresco mysql database from old server to new server
4. Change ip address of alfresco.host , share.host , db.host in alfresco-global.properties to new server ip address
When I start Alfresco and try login http://192.168.7.20:8080/share , it says "Your authentication details have not been recognized or Alfresco may not be available at this time."
Thanks for your help.
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2015 03:10 AM
I think the reason because Alfresco cannot connect to mariadb, after install a fresh Alfresco on new server i figured out that there is no table created in alfresco database.
I download mariadb-java-client-1.1.8.jar and put it in /opt/alfresco-5.0.b/tomcat/lib , how I edit db.driver & db.url in alfresco-global.properties to make it work ?
I download mariadb-java-client-1.1.8.jar and put it in /opt/alfresco-5.0.b/tomcat/lib , how I edit db.driver & db.url in alfresco-global.properties to make it work ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2015 05:33 AM
I tried again with new server Centos 6.4 64 bit , MySQL 5.1.67 successfully.
