hello, I have a crowd instance running on prod, version 2.12 running on mySQL 5.6.36
We have nightly backups of crowd home dir and MySQL db dump
I am writing an ansible playbook to restore the data to DR instance, and the DR instance uses the latest crowd 3.0.1 version, same MySQL version 5.6.36
I installed Crowd on DR, rsynced my home dir + db sql
- name: reinstall packages
block:
- shell: yum-config-manager --enable stable-rpms
- yum: name="mysql-community-server" state=latest
- yum: name="crowd" state=latest
- name: Rsync backup files to local (/var/atlassian/application-data/crowd)
shell: "su crowd -c \"rsync -a {{ netbackup_home }}/{{ app_home }}/ {{ app_home }}/\""
- name: restore Crowd
block:
- service: name=mysqld state=started
- shell: mysql < "{{ app_home }}"/db_dump/crowd_db.sql
At this point Crowd should start normally and use the backedup data in mysql, but I cant get it to start correctly, getting tons of java errors,
Not sure where its failing,
2017-10-27 16:31:09,042 http-bio-127.0.0.1-8095-exec-44 ERROR [[Catalina].[localhost].[/crowd].[jsp]] Servlet.service() for servlet [jsp] in context with path [/crowd] threw exception
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'applicationService' defined in class path resource [applicationContext-CrowdManagers.xml]: Cannot create inner bean 'com.atlassian.crowd.manager.application.TranslatingApplicationService#6ab02d21' of type [com.atlassian.crowd.manager.application.TranslatingApplicationService] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.crowd.manager.application.TranslatingApplicationService#6ab02d21' defined in class path resource [applicationContext-CrowdManagers.xml]: Cannot resolve reference to bean 'applicationServiceCaching' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'applicationServiceCaching' defined in class path resource [applicationContext-CrowdManagers.xml]: Cannot create inner bean 'com.atlassian.crowd.manager.application.CachingApplicationService#5f8544d2' of type [com.atlassian.crowd.manager.application.CachingApplicationService] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.crowd.manager.application.CachingApplicationService#5f8544d2' defined in class path resource [applicationContext-CrowdManagers.xml]: Cannot resolve reference to bean 'applicationServiceInternal' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'applicationServiceInternal' defined in class path resource [applicationContext-CrowdManagers.xml]: Cannot create inner bean 'com.atlassian.crowd.manager.recovery.RecoveryModeAwareApplicationServi