<?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 Re: Unable to login to Share in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-login-to-share/m-p/129424#M35035</link>
    <description>&lt;P&gt;Thanks for response Abhinav..&lt;/P&gt;&lt;P&gt;External auth is already disabled.&lt;/P&gt;&lt;P&gt;I have placed license to&amp;nbsp;$TOMCAT_DIR/webapps/alfresco/WEB-INF/classes/alfresco/extension/license/ using Dockerfile.&lt;/P&gt;&lt;P&gt;I confirmed from logs that license is applied:&amp;nbsp;INFO [org.alfresco.enterprise.license.AlfrescoLicenseManager] [main] Successfully installed license from file [/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/extension/license/...&lt;/P&gt;&lt;P&gt;I tirggered this url that EditionInterceptor.class uses to retrieve license info in share:&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl -X GET &lt;A href="http://alfresco:8080/alfresco/s/api/admin/restrictions?guest=true" target="_blank" rel="nofollow noopener noreferrer"&gt;http://alfresco:8080/alfresco/s/api/admin/restrictions?guest=true&lt;/A&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;It gives response:&lt;/P&gt;&lt;P&gt;[root@4e7617df5d84 tomcat]# curl -X GET &lt;A href="http://alfresco:8080/alfresco/s/api/admin/restrictions?guest=true" target="_blank" rel="nofollow noopener noreferrer"&gt;http://alfresco:8080/alfresco/s/api/admin/restrictions?guest=true&lt;/A&gt;&lt;BR /&gt;{&lt;BR /&gt;"lastUpdate" : 1654888636491,&lt;BR /&gt;"users" : 1000,&lt;BR /&gt;"documents" : null,&lt;BR /&gt;"licenseMode" : "ENTERPRISE",...&lt;/P&gt;&lt;P&gt;This is share docker compose config:&lt;/P&gt;&lt;P&gt;share:&lt;BR /&gt;image: share-jar:latest&lt;BR /&gt;mem_limit: 1g&lt;BR /&gt;environment:&lt;BR /&gt;REPO_HOST: "alfresco"&lt;BR /&gt;REPO_PORT: "8080"&lt;BR /&gt;JAVA_OPTS: "&lt;BR /&gt;-XX:MinRAMPercentage=30&lt;BR /&gt;-XX:MaxRAMPercentage=80&lt;BR /&gt;-Dalfresco.host=alfresco&lt;BR /&gt;-Dalfresco.port=8080&lt;BR /&gt;-Dalfresco.context=alfresco&lt;BR /&gt;-Dalfresco.protocol=http&lt;BR /&gt;"&lt;BR /&gt;ports:&lt;BR /&gt;- "8080:8080"&lt;BR /&gt;- "5006:8000"&lt;/P&gt;&lt;P&gt;Still when I try to login it fails with same error:&amp;nbsp;&lt;SPAN&gt;Unable to retrieve License information from Alfresco: 404&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jun 2022 19:40:16 GMT</pubDate>
    <dc:creator>prakashpatel87</dc:creator>
    <dc:date>2022-06-10T19:40:16Z</dc:date>
    <item>
      <title>Unable to login to Share</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-login-to-share/m-p/129422#M35033</link>
      <description>&lt;P&gt;I upgraded from ACS 5.2 to&amp;nbsp; ACS 7.2. ACS is up and running. I am unable to login to share. It says:&amp;nbsp;&lt;/P&gt;&lt;P&gt;DEBUG [org.alfresco.web.site.servlet.SSOAuthenticationFilter] [http-nio-8080-exec-3] There is no endpoint with external auth enabled.&lt;BR /&gt;INFO [org.alfresco.web.site.EditionInterceptor] [http-nio-8080-exec-3] Unable to retrieve License information from Alfresco: 404&lt;/P&gt;&lt;P&gt;I have studied a post we had regarding this but the fix suggested is not working. Any clue on it would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 15:42:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-login-to-share/m-p/129422#M35033</guid>
      <dc:creator>prakashpatel87</dc:creator>
      <dc:date>2022-06-10T15:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to login to Share</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-login-to-share/m-p/129423#M35034</link>
      <description>&lt;P&gt;I would focus on the first one that says "t&lt;SPAN&gt;here is no endpoint with external auth enabled.&lt;/SPAN&gt;" This might be adding to the later error.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looks like you have external authentication enabled. I would suggest to disable it first. Use default alfrescoNtlm for testing and when you feel like everything is working as expected, switch on the external auth and then re-test.&lt;/P&gt;
&lt;P&gt;Visit this documentation for more details:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/content-services/latest/admin/auth-sync/#how-is-alfresco-office-services-related-to-external-authentication" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/content-services/latest/admin/auth-sync/#how-is-alfresco-office-services-related-to-external-authentication&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/content-services/latest/admin/auth-sync/#configure-alfrescontlm" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/content-services/latest/admin/auth-sync/#configure-alfrescontlm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;On the second part, i am not sure if you applied the license correctly as subsystem is unable to locate your license file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are multiple ways you can update your &lt;A href="https://docs.alfresco.com/content-services/latest/admin/license/" target="_self" rel="nofollow noopener noreferrer"&gt;license&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;1- Via Repository admin console :&amp;nbsp;&lt;A href="https://docs.alfresco.com/content-services/latest/admin/license/#uploadlicense" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/content-services/latest/admin/license/#uploadlicense&lt;/A&gt; (No restart needed)&lt;/P&gt;
&lt;P&gt;2- Copy the license file to $ALF_INTALL_DIRECTORY/licenses&amp;nbsp;(restart needed)&lt;/P&gt;
&lt;P&gt;3-&amp;nbsp;Copy the license file to $ALF_INTALL_DIRECTORY/tomcat/webapps/alfresco/WEB-INF/licenses&amp;nbsp;(restart needed)&lt;/P&gt;
&lt;P&gt;4-&amp;nbsp;Copy the license file to $ALF_INTALL_DIRECTORY/tomcat/shared/classes/alfresco/extension (restart needed)&lt;/P&gt;
&lt;P&gt;If license file is applied successfully , the ".lic" file is automatically renamed to "&amp;lt;license-name&amp;gt;.lic.installed"&lt;/P&gt;
&lt;P&gt;Additonal details can be found at:&amp;nbsp;&lt;A href="https://docs.alfresco.com/content-services/latest/admin/license/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/content-services/latest/admin/license/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;---------------------&lt;/P&gt;
&lt;P&gt;- Couple of other things to check, make sure "alfresco-share-services" &lt;A href="https://docs.alfresco.com/content-services/latest/install/zip/amp/" target="_self" rel="nofollow noopener noreferrer"&gt;amp&lt;/A&gt; matching to the latest version is applied correctly on alfresco.war (be sure to delete the exploded war if yet to apply the amp).&amp;nbsp;Also check if &lt;A href="https://github.com/Alfresco/alfresco-community-share/blob/master/packaging/docker/src/main/resources/web-extension-samples/share-config-custom.xml#L429" target="_self" rel="nofollow noopener noreferrer"&gt;repository-url&lt;/A&gt; is correctly configured in share-config-custom.xml.&lt;/P&gt;
&lt;P&gt;- This error even comes when share is up and alfresco has crashed or erroring out for any reason. So take a deep look at alfresco.log, catalina.out to see if you can spot anything.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- If you are using SSL (&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-blog/alfresco-mtls-configuration-deep-dive/ba-p/296422" target="_self" rel="nofollow noopener noreferrer"&gt;mTls&lt;/A&gt;), make sure keystore files are copied and mapped appropriately.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Lastly, always verify if the license file (if copied to a directory manually) is readable (read access).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 18:58:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-login-to-share/m-p/129423#M35034</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2022-06-10T18:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to login to Share</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-login-to-share/m-p/129424#M35035</link>
      <description>&lt;P&gt;Thanks for response Abhinav..&lt;/P&gt;&lt;P&gt;External auth is already disabled.&lt;/P&gt;&lt;P&gt;I have placed license to&amp;nbsp;$TOMCAT_DIR/webapps/alfresco/WEB-INF/classes/alfresco/extension/license/ using Dockerfile.&lt;/P&gt;&lt;P&gt;I confirmed from logs that license is applied:&amp;nbsp;INFO [org.alfresco.enterprise.license.AlfrescoLicenseManager] [main] Successfully installed license from file [/usr/local/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/extension/license/...&lt;/P&gt;&lt;P&gt;I tirggered this url that EditionInterceptor.class uses to retrieve license info in share:&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl -X GET &lt;A href="http://alfresco:8080/alfresco/s/api/admin/restrictions?guest=true" target="_blank" rel="nofollow noopener noreferrer"&gt;http://alfresco:8080/alfresco/s/api/admin/restrictions?guest=true&lt;/A&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;It gives response:&lt;/P&gt;&lt;P&gt;[root@4e7617df5d84 tomcat]# curl -X GET &lt;A href="http://alfresco:8080/alfresco/s/api/admin/restrictions?guest=true" target="_blank" rel="nofollow noopener noreferrer"&gt;http://alfresco:8080/alfresco/s/api/admin/restrictions?guest=true&lt;/A&gt;&lt;BR /&gt;{&lt;BR /&gt;"lastUpdate" : 1654888636491,&lt;BR /&gt;"users" : 1000,&lt;BR /&gt;"documents" : null,&lt;BR /&gt;"licenseMode" : "ENTERPRISE",...&lt;/P&gt;&lt;P&gt;This is share docker compose config:&lt;/P&gt;&lt;P&gt;share:&lt;BR /&gt;image: share-jar:latest&lt;BR /&gt;mem_limit: 1g&lt;BR /&gt;environment:&lt;BR /&gt;REPO_HOST: "alfresco"&lt;BR /&gt;REPO_PORT: "8080"&lt;BR /&gt;JAVA_OPTS: "&lt;BR /&gt;-XX:MinRAMPercentage=30&lt;BR /&gt;-XX:MaxRAMPercentage=80&lt;BR /&gt;-Dalfresco.host=alfresco&lt;BR /&gt;-Dalfresco.port=8080&lt;BR /&gt;-Dalfresco.context=alfresco&lt;BR /&gt;-Dalfresco.protocol=http&lt;BR /&gt;"&lt;BR /&gt;ports:&lt;BR /&gt;- "8080:8080"&lt;BR /&gt;- "5006:8000"&lt;/P&gt;&lt;P&gt;Still when I try to login it fails with same error:&amp;nbsp;&lt;SPAN&gt;Unable to retrieve License information from Alfresco: 404&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 19:40:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-login-to-share/m-p/129424#M35035</guid>
      <dc:creator>prakashpatel87</dc:creator>
      <dc:date>2022-06-10T19:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to login to Share</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-login-to-share/m-p/129425#M35036</link>
      <description>&lt;P&gt;I found what the issue was:&lt;/P&gt;&lt;P&gt;Repository url was&amp;nbsp;&amp;lt;repository-url&amp;gt;&lt;A href="http://localhost:8080/alfresco" target="_blank" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco&lt;/A&gt;&amp;lt;/repository-url&amp;gt; instead of&amp;nbsp;&amp;lt;repository-url&amp;gt;&lt;A href="http://alfresco:8080/alfresco" target="_blank" rel="nofollow noopener noreferrer"&gt;http://alfresco:8080/alfresco&lt;/A&gt;&amp;lt;/repository-url&amp;gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So share was finally able to construct&amp;nbsp;&lt;A href="http://alfresco:8080/alfresco/s/api/admin/restrictions?guest=true" target="_blank" rel="nofollow noopener noreferrer"&gt;http://alfresco:8080/alfresco/s/api/admin/restrictions?guest=true&lt;/A&gt;&amp;nbsp;url for getting license info and it worked.&lt;/P&gt;&lt;P&gt;Thanks for looking into it Abhinav appreciate it.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 20:57:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-login-to-share/m-p/129425#M35036</guid>
      <dc:creator>prakashpatel87</dc:creator>
      <dc:date>2022-06-10T20:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to login to Share</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-login-to-share/m-p/129426#M35037</link>
      <description>&lt;P&gt;Glad to hear that you are able to resolve the issue&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jun 2022 14:26:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-login-to-share/m-p/129426#M35037</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2022-06-12T14:26:45Z</dc:date>
    </item>
  </channel>
</rss>

