cancel
Showing results for 
Search instead for 
Did you mean: 

New admin, existing install...what could I have done?

zshay
Champ in-the-making
Champ in-the-making
Hello Community,

Although I have relatively no experience with this software, my users seem to like Alfresco quite a bit.  An assigned task for me was to take an existing instance of Alfresco and migrate it to another machine.  After reading through the online documentation, I was convinced the proper course of action was to stop Alfresco (and mysql)…and while it was "cold", I could simply make a tarball of the alf_data directory and a mysqldump of the Alfresco DB.  The theory was that I could start up the existing server once I successfully created the backup files and people would still have access to existing content until the new server comes online….

However, not everything went as planned.  The Alfresco server never successfully restarted (the server runs, but doesn't do anything useful).  Tomcat is running and is serving up the default tomcat page, but Alfresco is timing out.  The log files started to show the following error around the time I did the backup:

———-BEGIN ERROR———-

16:51:13,887 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextListener
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [alfresco/bootstrap-context.xml]; nested exception is java.lang.IllegalArgumentException: Resource path [/opt/alfresco/alfresco] does not denote a directory
Caused by:
java.lang.IllegalArgumentException: Resource path [/opt/alfresco/alfresco] does not denote a directory
        at org.springframework.core.io.support.PathMatchingResourcePatternResolver.retrieveMatchingFiles(PathMatchingResourcePatternResolver.java:490)
        at org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindMatchingFileSystemResources(PathMatchingResourcePatternResolver.java:470)

existing

….

———-BEGIN ERROR———-

Any help is appreciated and please let me know if there is anything I can do to help on your end,
Zach
1 REPLY 1

zshay
Champ in-the-making
Champ in-the-making
For some reason there was a file named Alfresco in /opt/alfresco…it is a random data file.  I didn't see that file on my new Alfresco system; so I moved it out of the directory.  After a restart of the Alfresco server, all is now peachy.  Perhaps I misused the tar command at one point today and created a junk file.

If this is an unexpected behavior…and someone would like me to send more data…just let me know in this thread.

Thanks,
Zach