Сервер Alfresco запускается зависает - PullRequest
0 голосов
/ 07 февраля 2019

Я пытаюсь запустить сервер Alfresco, но он завис между ними, см. Скриншот ниже, я скопировал экземпляр Alfresco с одного сервера на другой сервер, я также внес необходимые изменения в Alfresco-global.properties.

Пожалуйста, помогите в этом

enter image description here

1 Ответ

0 голосов
/ 11 февраля 2019

Для резервного копирования вашей базы данных и alf_data вы можете скачать и запустить следующий скрипт.http://www.contcentric.com/alfresco-backup/ Примечание: вам придется вручную создавать резервные копии индексов из папки solr4 и других настроек (например, развернутых amps и jar)

Follow the alfresco restore steps 
1. Install new alfresco instance. Do not start server
2. Start postgresql using the following command
    ./alfresco.sh start postgresql
3. Go to the <ALF-HOME>/postgresql/bin
4. Run the following commmand
    psql -U alfresco -h <hostname> -p port
    e.g.  psql -U alfresco -h localhost -p 5422
5. It will ask you to set the password, enter the password and remember it
6. Run the following command

     psql -U alfresco -h <host> -p port <dbname> < dumpFile
     e.g.     psql -U alfresco -h localhost -p 5422 alfresco < /opt/migration-backup/01-10-2018-15-54-47/database/alfresco_db_dump

7. You will notice the multiple tables and index are created
8. Start the tomcat using the following command

     ./alfresco.sh start tomcat

9. Test your migration.
...