<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Finding the correct global properties file to update settings in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115384#M32008</link>
    <description>&lt;P&gt;Hi,&amp;nbsp; I am running Alfresco community 6 in a docker container on Centos 7, I am trying to locate the global properties file to update it, of I search for the file I get multiple entries:&lt;/P&gt;&lt;P&gt;[root@localhost classes]# locate -br 'alfresco-global.properties'&lt;BR /&gt;/var/lib/docker/overlay2/868f002e6c845435de331c70b9db6a3988d8a3d34b207bf434bc53fdb532ae5a/merged/usr/local/tomcat/shared/classes/alfresco-global.properties&lt;BR /&gt;/var/lib/docker/overlay2/868f002e6c845435de331c70b9db6a3988d8a3d34b207bf434bc53fdb532ae5a/merged/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/alfresco-share-services/alfresco-global.properties&lt;BR /&gt;/var/lib/docker/overlay2/8bad2bdb812c5cc9da89ee82fea3c7c02fed73f8c479935f2e2dbb34fb064281/diff/usr/local/tomcat/shared/classes/alfresco-global.properties&lt;BR /&gt;/var/lib/docker/overlay2/a676c366f5218131b1f12a657da703738568c48c10b40844eaf70e21ba25e984/diff/usr/local/tomcat/shared/classes/alfresco-global.properties&lt;BR /&gt;/var/lib/docker/overlay2/a676c366f5218131b1f12a657da703738568c48c10b40844eaf70e21ba25e984/diff/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/alfresco-share-services/alfresco-global.properties&lt;BR /&gt;/var/lib/docker/overlay2/bf6bbdb7a20ab4cf1c53bcdd2ed70624f5a3ab13d57ca1d69d503e44cb581610/diff/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/alfresco-share-services/alfresco-global.properties&lt;BR /&gt;/var/lib/docker/overlay2/c3dcb1a9b640ace9ed53cac0a7e1b9f1aa0662a2e90b988fb7b3a9b27273d169/diff/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/alfresco-share-services/alfresco-global.properties&lt;/P&gt;&lt;P&gt;Can anyone point me to the location of the properties file I want to be editing/updating?&lt;/P&gt;</description>
    <pubDate>Fri, 22 May 2020 10:11:11 GMT</pubDate>
    <dc:creator>ChrisAlker</dc:creator>
    <dc:date>2020-05-22T10:11:11Z</dc:date>
    <item>
      <title>Finding the correct global properties file to update settings</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115384#M32008</link>
      <description>&lt;P&gt;Hi,&amp;nbsp; I am running Alfresco community 6 in a docker container on Centos 7, I am trying to locate the global properties file to update it, of I search for the file I get multiple entries:&lt;/P&gt;&lt;P&gt;[root@localhost classes]# locate -br 'alfresco-global.properties'&lt;BR /&gt;/var/lib/docker/overlay2/868f002e6c845435de331c70b9db6a3988d8a3d34b207bf434bc53fdb532ae5a/merged/usr/local/tomcat/shared/classes/alfresco-global.properties&lt;BR /&gt;/var/lib/docker/overlay2/868f002e6c845435de331c70b9db6a3988d8a3d34b207bf434bc53fdb532ae5a/merged/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/alfresco-share-services/alfresco-global.properties&lt;BR /&gt;/var/lib/docker/overlay2/8bad2bdb812c5cc9da89ee82fea3c7c02fed73f8c479935f2e2dbb34fb064281/diff/usr/local/tomcat/shared/classes/alfresco-global.properties&lt;BR /&gt;/var/lib/docker/overlay2/a676c366f5218131b1f12a657da703738568c48c10b40844eaf70e21ba25e984/diff/usr/local/tomcat/shared/classes/alfresco-global.properties&lt;BR /&gt;/var/lib/docker/overlay2/a676c366f5218131b1f12a657da703738568c48c10b40844eaf70e21ba25e984/diff/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/alfresco-share-services/alfresco-global.properties&lt;BR /&gt;/var/lib/docker/overlay2/bf6bbdb7a20ab4cf1c53bcdd2ed70624f5a3ab13d57ca1d69d503e44cb581610/diff/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/alfresco-share-services/alfresco-global.properties&lt;BR /&gt;/var/lib/docker/overlay2/c3dcb1a9b640ace9ed53cac0a7e1b9f1aa0662a2e90b988fb7b3a9b27273d169/diff/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/alfresco-share-services/alfresco-global.properties&lt;/P&gt;&lt;P&gt;Can anyone point me to the location of the properties file I want to be editing/updating?&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 10:11:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115384#M32008</guid>
      <dc:creator>ChrisAlker</dc:creator>
      <dc:date>2020-05-22T10:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the correct global properties file to update settings</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115385#M32009</link>
      <description>&lt;P&gt;Correct path is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;ALF_HOME&amp;gt;/tomcat/shared/classes/alfresco-global.properties&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 10:22:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115385#M32009</guid>
      <dc:creator>kintu_barot</dc:creator>
      <dc:date>2020-05-22T10:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the correct global properties file to update settings</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115386#M32010</link>
      <description>&lt;P&gt;I cannot find the alfresco folder though, perhaps because it has been installed via a docker container?&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 11:11:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115386#M32010</guid>
      <dc:creator>ChrisAlker</dc:creator>
      <dc:date>2020-05-22T11:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the correct global properties file to update settings</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115387#M32011</link>
      <description>&lt;P&gt;Yes due to docker there will not be an alfresco folder. You have to find it inside the container only.&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 11:17:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115387#M32011</guid>
      <dc:creator>kintu_barot</dc:creator>
      <dc:date>2020-05-22T11:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the correct global properties file to update settings</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115388#M32012</link>
      <description>&lt;P&gt;That is where I find an issue, as you see in my original post, there are multiple global property locations, so for instance looking at:&lt;/P&gt;&lt;P&gt;[root@localhost classes]# vi /var/lib/docker/overlay2/868f002e6c845435de331c70b9db6a3988d8a3d34b207bf434bc53fdb532ae5a/merged/usr/local/tomcat/shared/classes/alfresco-global.properties&lt;/P&gt;&lt;P&gt;This file does not contain any configuration whatsoever, it is just blank&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 11:22:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115388#M32012</guid>
      <dc:creator>ChrisAlker</dc:creator>
      <dc:date>2020-05-22T11:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the correct global properties file to update settings</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115389#M32013</link>
      <description>&lt;P&gt;The proper way to do it in docker is to extend the docker image.&lt;/P&gt;&lt;P&gt;Please, find the following thread.&lt;/P&gt;&lt;P&gt;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/where-is-the-alfresco-global-properties-file-located-in-6-0/td-p/22623" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-forum/where-is-the-alfresco-global-properties-file-located-in-6-0/td-p/22623&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 11:34:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115389#M32013</guid>
      <dc:creator>kintu_barot</dc:creator>
      <dc:date>2020-05-22T11:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the correct global properties file to update settings</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115390#M32014</link>
      <description>&lt;P&gt;Try the following:&lt;/P&gt;&lt;P&gt;1. execute 'docker ps'&lt;/P&gt;&lt;P&gt;It returns something like this:&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="docker-alf-glo.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/666i5EBC179852238A7A/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then copy CONTAINER ID of alfresco-content-services (the one in red rectangle) and execute:&lt;/P&gt;&lt;P&gt;2. 'docker exec -it &amp;lt;CONTAINER ID&amp;gt; bash'&lt;/P&gt;&lt;P&gt;That will put you in &amp;lt;ALF_HOME&amp;gt;/tomcat folder, and from there you just need to navigate to 'shared/classes', to do so execute:&lt;/P&gt;&lt;P&gt;3. 'cd shared/classes'&lt;/P&gt;&lt;P&gt;and there you will find alfresco-global.properties file.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FullImage.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/667iB1129C4CB9050846/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 15:54:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115390#M32014</guid>
      <dc:creator>mire323</dc:creator>
      <dc:date>2020-05-22T15:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the correct global properties file to update settings</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115391#M32015</link>
      <description>&lt;P&gt;Thanks for the help, I had actually got this far and accessed the global.properties file, but it was empty which I wasn't expecting. I expected the file to contain some default properties that I could amend or add to. I added a certain setting to resolve a known problem I have had with a previous version (5.2) and it resolved the problem, just threw me with the file being empty.&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 16:11:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115391#M32015</guid>
      <dc:creator>ChrisAlker</dc:creator>
      <dc:date>2020-05-22T16:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the correct global properties file to update settings</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115392#M32016</link>
      <description>&lt;P&gt;I'm glad it's solved! &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 10:32:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115392#M32016</guid>
      <dc:creator>mire323</dc:creator>
      <dc:date>2020-05-23T10:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the correct global properties file to update settings</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115393#M32017</link>
      <description>&lt;P&gt;Hey Chris,&lt;/P&gt;&lt;P&gt;I am facing the same issue, where is the actual file located finally&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:02:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115393#M32017</guid>
      <dc:creator>arjunm1989</dc:creator>
      <dc:date>2020-09-29T20:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the correct global properties file to update settings</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115394#M32018</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/83017"&gt;@arjunm1989&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you look at&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/1603"&gt;@mire323&lt;/A&gt;&amp;nbsp;answer, you can see that if you run the docker cmds they mentioned (starting with, "&lt;SPAN&gt;execute 'docker ps' ")&lt;/SPAN&gt;, this will give you the location of the file.&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 09:57:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115394#M32018</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-09-30T09:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the correct global properties file to update settings</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115395#M32019</link>
      <description>&lt;P&gt;Yes but that is empty.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 14:23:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115395#M32019</guid>
      <dc:creator>arjunm1989</dc:creator>
      <dc:date>2020-09-30T14:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the correct global properties file to update settings</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115396#M32020</link>
      <description>&lt;P&gt;This was the same issue I found, the file was entirely empty&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 14:42:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115396#M32020</guid>
      <dc:creator>ChrisAlker</dc:creator>
      <dc:date>2020-09-30T14:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the correct global properties file to update settings</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115397#M32021</link>
      <description>&lt;P&gt;it will be empty and its expected by default. I&lt;SPAN&gt;t would be empty unless you copy or update the global properties file during image build. All properties are set via java arguments like this, if you check your docker-compose file:&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE&gt;JAVA_OPTS: "
                -Ddb.driver=org.postgresql.Driver
                -Ddb.username=alfresco
                -Ddb.password=alfresco
                -Ddb.url=jdbc:postgresql://postgres:5432/alfresco
                -Dsolr.host=solr6
                -Dsolr.port=8983
                -Dsolr.secureComms=none
                -Dsolr.base.url=/solr
                -Dindex.subsystem.name=solr6
                -Dshare.host=127.0.0.1
                -Dshare.port=8080
                -Dalfresco.host=localhost
                -Dalfresco.port=8080
                -Daos.baseUrlOverwrite=http://localhost:8080/alfresco/aos
                -Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&amp;amp;jms.useCompression=true\"
                -Ddeployment.method=DOCKER_COMPOSE
                -DlocalTransform.core-aio.url=http://transform-core-aio:8090/
                -Dalfresco-pdf-renderer.url=http://transform-core-aio:8090/
                -Djodconverter.url=http://transform-core-aio:8090/
                -Dimg.url=http://transform-core-aio:8090/
                -Dtika.url=http://transform-core-aio:8090/
                -Dtransform.misc.url=http://transform-core-aio:8090/
                -Dcsrf.filter.enabled=false
                -Xms1500m -Xmx1500m
                "&lt;/PRE&gt;
&lt;P&gt;You can either put your properties as stated above, or create a global properties file and copy that to container image via DockerFile.&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;You need to update docker-compose.yml file for acs service to build from DockerFile:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;alfresco:
        &lt;STRONG&gt;build:
          dockerfile: ./&lt;FONT color="#FF6600"&gt;Dockerfile&lt;/FONT&gt;
          context: ./configs-to-override/alfresco&lt;/STRONG&gt;
          args:
            ACS_TAG: ${ACS_TAG}
        mem_limit: 1500m&lt;BR /&gt;.....&lt;BR /&gt;.....&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;U&gt;DockerFile will have following instructions:&lt;/U&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;ARG ACS_TAG

FROM alfresco/alfresco-content-repository-community:${ACS_TAG}

#Copy and override the alfresco-global.properties which comes with custom image. 
#It could be useful in cases when you already built a custom image but launch an container with some additional config in global properties.
COPY alfresco-global.properties $TOMCAT_DIR/shared/classes/alfresco-global.properties

&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;You can find an example here for DockerFile:&amp;nbsp;&lt;A href="https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/configs-to-override/alfresco/Dockerfile#L43" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/configs-to-override/alfresco/Dockerfile#L43&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Service example:&amp;nbsp;&lt;A href="https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/docker-compose.yml#L15" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/docker-compose.yml#L15&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 14:47:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/finding-the-correct-global-properties-file-to-update-settings/m-p/115397#M32021</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-09-30T14:47:13Z</dc:date>
    </item>
  </channel>
</rss>

