cancel
Showing results for 
Search instead for 
Did you mean: 

Migration of community alfresco Server

precision02
Champ in-the-making
Champ in-the-making
We have community 3.3 (will be upgrading in July to Enterprise, but for now that's not possible).  We're changing ISPs and I'm trying to port the alfresco installation onto a new server.  So far I have not had any luck in moving alfresco successfully.  I have changed the server IPs and a new entry has been created in the alf_server table, but I cannot log in to the application.  Can someone point me to the steps to migrate from one server to another?
Thanks

Additional information.  How can I remove the old server from the alf_server table (new server is in the table and points to correct "new" server address.  Then how can I rebuild the data to sync it up with the new server?

5 REPLIES 5

bisana
Champ on-the-rise
Champ on-the-rise
Hi
A full copy and pasting your alfresco dir + database used will be enough
Your change of other paramers you can specify in alfresco-global.propertied.

I did not understand what you ent my "alf_server table", can u please make it clear
Also post the error part of catalina.log using "<code>" tag


precision02
Champ in-the-making
Champ in-the-making
I'll get the logs as soon as possible.  I'm in the middle of re-copying the alf_data directory back to the new server as I removed it to try to perform a full index….

As for the directory structure for alfresco… it was copied and the database (mysql) was copied across as well.  The alf_server table is the table name from the database.  I had the alfresco server up and running, but I was not able to log in through the browser…  

precision02
Champ in-the-making
Champ in-the-making
Here's the end of the log showing the messages that are displayed when trying to log in to the web.  Specifically look at the next to last line in the log…

20:12,479  DEBUG [context.servlet.ServletExternalContextImpl] Incoming request has Content-Type header without character encoding: application/x-www-form-urlencoded
08:20:12,480  DEBUG [shared_impl.util.StateUtils] Processing state : rO0ABXVyABNbTGphdmEubGFuZy5PYmplY3Q7kM5YnxBzKWwCAAB4cAAAAAN0AAE1cHQADi9qc3AvbG9naW4uanNw
08:20:12,480  DEBUG [shared_impl.util.StateUtils] Processing state : rO0ABXVyABNbTGphdmEubGFuZy5PYmplY3Q7kM5YnxBzKWwCAAB4cAAAAAN0AAE1cHQADi9qc3AvbG9naW4uanNw
08:20:12,483  DEBUG [acegisecurity.intercept.AbstractSecurityInterceptor] Public object - authentication not attempted
08:20:12,485  DEBUG [acegisecurity.providers.ProviderManager] Authentication attempt using org.alfresco.repo.security.authentication.AuthenticatedAuthenticationPassthroughProvider
08:20:12,485  DEBUG [acegisecurity.providers.ProviderManager] Authentication attempt using net.sf.acegisecurity.providers.dao.DaoAuthenticationProvider
08:20:12,485  DEBUG [ehcache.store.MemoryStore] Initialized net.sf.ehcache.store.LruMemoryStore for org.alfresco.prefixesTransactionalCache_ccd6fc91-9e40-4355-a90e-16af92228451_updates
08:20:12,485  DEBUG [ehcache.store.LruMemoryStore] org.alfresco.prefixesTransactionalCache_ccd6fc91-9e40-4355-a90e-16af92228451_updates Cache: Using SpoolingLinkedHashMap implementation
08:20:12,485  DEBUG [sf.ehcache.Cache] Initialised cache: org.alfresco.prefixesTransactionalCache_ccd6fc91-9e40-4355-a90e-16af92228451_updates
08:20:12,485  DEBUG [ehcache.store.MemoryStore] Initialized net.sf.ehcache.store.LruMemoryStore for org.alfresco.prefixesTransactionalCache_ccd6fc91-9e40-4355-a90e-16af92228451_removes
08:20:12,485  DEBUG [ehcache.store.LruMemoryStore] org.alfresco.prefixesTransactionalCache_ccd6fc91-9e40-4355-a90e-16af92228451_removes Cache: Using SpoolingLinkedHashMap implementation
08:20:12,485  DEBUG [sf.ehcache.Cache] Initialised cache: org.alfresco.prefixesTransactionalCache_ccd6fc91-9e40-4355-a90e-16af92228451_removes
08:20:12,485  DEBUG [ehcache.store.MemoryStore] Initialized net.sf.ehcache.store.LruMemoryStore for org.alfresco.compiledModelsTransactionalCache_ccd6fc91-9e40-4355-a90e-16af92228451_updates
08:20:12,485  DEBUG [ehcache.store.LruMemoryStore] org.alfresco.compiledModelsTransactionalCache_ccd6fc91-9e40-4355-a90e-16af92228451_updates Cache: Using SpoolingLinkedHashMap implementation
08:20:12,485  DEBUG [sf.ehcache.Cache] Initialised cache: org.alfresco.compiledModelsTransactionalCache_ccd6fc91-9e40-4355-a90e-16af92228451_updates
08:20:12,485  DEBUG [ehcache.store.MemoryStore] Initialized net.sf.ehcache.store.LruMemoryStore for org.alfresco.compiledModelsTransactionalCache_ccd6fc91-9e40-4355-a90e-16af92228451_removes
08:20:12,485  DEBUG [ehcache.store.LruMemoryStore] org.alfresco.compiledModelsTransactionalCache_ccd6fc91-9e40-4355-a90e-16af92228451_removes Cache: Using SpoolingLinkedHashMap implementation
08:20:12,486  DEBUG [sf.ehcache.Cache] Initialised cache: org.alfresco.compiledModelsTransactionalCache_ccd6fc91-9e40-4355-a90e-16af92228451_removes
08:20:12,486  DEBUG [ehcache.store.MemoryStore] Initialized net.sf.ehcache.store.LruMemoryStore for org.alfresco.storeAndNodeIdTransactionalCache_ccd6fc91-9e40-4355-a90e-16af92228451_updates
08:20:12,486  DEBUG [ehcache.store.LruMemoryStore] org.alfresco.storeAndNodeIdTransactionalCache_ccd6fc91-9e40-4355-a90e-16af92228451_updates Cache: Using SpoolingLinkedHashMap implementation
08:20:12,486  DEBUG [sf.ehcache.Cache] Initialised cache: org.alfresco.storeAndNodeIdTransactionalCache_ccd6fc91-9e40-4355-a90e-16af92228451_updates
08:20:12,486  DEBUG [ehcache.store.MemoryStore] Initialized net.sf.ehcache.store.LruMemoryStore for org.alfresco.storeAndNodeIdTransactionalCache_ccd6fc91-9e40-4355-a90e-16af92228451_removes
08:20:12,486  DEBUG [ehcache.store.LruMemoryStore] org.alfresco.storeAndNodeIdTransactionalCache_ccd6fc91-9e40-4355-a90e-16af92228451_removes Cache: Using SpoolingLinkedHashMap implementation
08:20:12,486  DEBUG [sf.ehcache.Cache] Initialised cache: org.alfresco.storeAndNodeIdTransactionalCache_ccd6fc91-9e40-4355-a90e-16af92228451_removes
08:20:12,487  DEBUG [ehcache.store.MemoryStore] org.alfresco.storeAndNodeIdTransactionalCache_ccd6fc91-9e40-4355-a90e-16af92228451_removesCache: Cannot remove entry as key user://alfrescoUserStore/bef46e61-fa9d-41df-9f86-2ff1065a43b5 was not found
<strong>08:20:12,491  DEBUG [acegisecurity.intercept.AbstractSecurityInterceptor] Secure object: ReflectiveMethodInvocation: public abstract org.alfresco.service.cmr.repository.NodeRef org.alfresco.service.cmr.repository.NodeService.getRootNode(org.alfresco.service.cmr.repository.StoreRef) throws org.alfresco.service.cmr.repository.InvalidStoreRefException; target is of class [$Proxy11]; ConfigAttributes: [ACL_NODE.0.sys:base.ReadProperties]</strong>
08:20:12,494  DEBUG [myfaces.lifecycle.LifecycleImpl] exiting from lifecycle.execute in INVOKE_APPLICATION(5) because getRenderResponse is true from one of the after listeners

precision02
Champ in-the-making
Champ in-the-making
Ok,
I got this straightened out…  Looks like something in the alf_data directory was corrupted during the move.  I shut down alfresco on the currently running system.  tarred off the alf_data directory, dumped the db and moved the data onto the new server.  Now I'm up and running.

precision02
Champ in-the-making
Champ in-the-making
Ok,
I got this straightened out…  Looks like something in the alf_data directory was corrupted during the move.  I shut down alfresco on the currently running system.  tarred off the alf_data directory, dumped the db and moved the data onto the new server.  Now I'm up and running.