Migration problem Alfresco 5.2 to 7.2

cancel
Showing results for 
Search instead for 
Did you mean: 
sz
Member II

Migration problem Alfresco 5.2 to 7.2

Hi there,

I have some troubles with my migration from alfresco 5.2 local to alfresco 7.2 on docker.

I followed all the instructions in Angel Borroy video on youtube: Upgrading from Alfresco 5.2 to Alfresco 7.0
I copied all files to the new server and start rebuiling the containers with: docker-compose up --build --force-recreate

Overall it seems very good, but I noticed that some pages are missing.

I do not get "Errors" while recreating the containers, but i really often get this message:

alfresco_1 | 2022-06-07 09:47:50,430 WARN [transport.failover.FailoverTransport] [ActiveMQ Task-1] Failed to connect to [nio://activemq:61616] after: 40 attempt(s) with Connection refused, continuing to retry.

Is it normal, do I have to change the permissions on the the data/activemq-data folder? If yes to which?
I also tried to allow port:61616 on the local firewall and tried to completley disable it. No improvement.

I also think that the recreating process hangs in the loop during the migration. After 5 days i stopped it manually.

Do you have any advice?

Best, SZ

4 Replies
angelborroy
Alfresco Employee

Re: Migration problem Alfresco 5.2 to 7.2

There could be many different problems according to your description.

alfresco_1 | 2022-06-07 09:47:50,430 WARN [transport.failover.FailoverTransport] 
[ActiveMQ Task-1] Failed to connect to [nio://activemq:61616] after: 40 attempt(s) with
Connection refused, continuing to retry.

This one means that you haven't deployed activemq container or that it's not running at the moment.

Can you attach the output for docker ps command to verify what containers are live when experimenting problems?

Hyland Developer Evangelist
sz
Member II

Re: Migration problem Alfresco 5.2 to 7.2

Hi angelborroy,

here is the output:

[admin@pfhecmple72 docker-compose]$ docker ps
CONTAINER ID   IMAGE                                        COMMAND                  CREATED        STATUS        PORTS                                                                       NAMES
f2467846c0ad   nginx:stable-alpine                          "/docker-entrypoint.…"   23 hours ago   Up 21 hours   80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp                               docker-compose_proxy_1
38e75a98d613   alfresco/alfresco-content-app:2.9.0          "/docker-entrypoint.…"   23 hours ago   Up 21 hours   8080/tcp                                                                    docker-compose_content-app_1
002bc978f97d   docker-compose_alfresco                      "catalina.sh run -se…"   23 hours ago   Up 21 hours   8000/tcp, 8080/tcp, 10001/tcp                                               docker-compose_alfresco_1
498f916f609a   docker-compose_share                         "/usr/local/tomcat/s…"   23 hours ago   Up 21 hours   8000/tcp, 8080/tcp                                                          docker-compose_share_1
35f193c63bfe   alfresco/alfresco-transform-core-aio:2.5.7   "/bin/sh -c 'java $J…"   23 hours ago   Up 21 hours   8090/tcp                                                                    docker-compose_transform-core-aio_1
6bfd143d8435   postgres:13.3                                "docker-entrypoint.s…"   23 hours ago   Up 21 hours   0.0.0.0:5432->5432/tcp, :::5432->5432/tcp                                   docker-compose_postgres_1
17101ebeb224   alfresco/alfresco-activemq:5.16.1            "/bin/sh -c './init.…"   23 hours ago   Up 21 hours   5672/tcp, 61613/tcp, 61616/tcp, 0.0.0.0:8161->8161/tcp, :::8161->8161/tcp   docker-compose_activemq_1
605a2a000785   docker-compose_solr6                         "/bin/sh -c '$DIST_D…"   23 hours ago   Up 21 hours   8983/tcp, 10001/tcp                                                         docker-compose_solr6_1
angelborroy
Alfresco Employee

Re: Migration problem Alfresco 5.2 to 7.2

It seems everything is working as expected, not sure why alfresco is not able to connect with activemq service.

Hyland Developer Evangelist
sz
Member II

Re: Migration problem Alfresco 5.2 to 7.2

Is it possible, that the permissions are not correct?

[admin@pfhecmple72 data]$ ls -l
total 16
drwxr-xr-x. 2 root root 4096 May 31 13:50 activemq-data
drwxr-xr-x. 4 33000 root 4096 May 31 15:13 alf-repo-data
drwx------. 19 systemd-coredump input 4096 Jun 1 16:08 postgres-data
drwxr-xr-x. 5 33007 root 4096 May 31 14:05 solr-data