cancel
Showing results for 
Search instead for 
Did you mean: 

Links in notification emails use localhost

Pythagorean_Cup
Champ in-the-making
Champ in-the-making

Hello,

I have upgraded Alfresco 5.0 to version 6.2 (both community edition) using Docker deployment and most things run just fine. However, links in notification emails, i.e. when assigning a task to a user, all use localhost instead of the correct IP address. For example:

http://127.0.0.1:8080/share/page/task-edit?taskId=activiti$41247

instead of

http://172.16.0.42:8080/share/page/task-edit?taskId=activiti$41247

This is my alfresco-global.properties file:

notification.email.siteinvite=true
mail.host=mail.company.de
mail.port=25
mail.encoding=UTF-8
mail.from.default=no-reply@company.de
mail.smtp.auth=false

alfresco.context=alfresco
alfresco.host=172.16.0.42
alfresco.port=8080
alfresco.protocol=http

share.context=share
share.host=172.16.0.42
share.port=8080
share.protocol=http

The docker-compose.yml file is mostly unchanged. I merely added volumes for configurations, logs and data. Alfresco is running on Ubuntu 18.04.

Thak you for your help.

1 ACCEPTED ANSWER

angelborroy
Community Manager Community Manager
Community Manager

I guess you need to remove these properties from docker-compose.yml, otherwise they are applied after your settings in alfresco-global.properties

Hyland Developer Evangelist

View answer in original post

1 REPLY 1

angelborroy
Community Manager Community Manager
Community Manager

I guess you need to remove these properties from docker-compose.yml, otherwise they are applied after your settings in alfresco-global.properties

Hyland Developer Evangelist