<?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 7.1 Zip Install - Cannot find Alfresco Repository in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/7-1-zip-install-cannot-find-alfresco-repository/m-p/143375#M38098</link>
    <description>&lt;P&gt;Attempting a build to get familiar with the product. After build completion 8080 returns:&amp;nbsp;&lt;STRONG&gt;Cannot find Alfresco Repository on this server.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;(Does this application have access to alfresco-global.properties? Does this application have cross-context permissions?) and can't login on 8080/share.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any help on this would be appreciated. Would like to be able to test your product.&lt;/P&gt;&lt;P&gt;There are some inconsistencies in the documentation between the following articles.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Main: &lt;A href="https://docs.alfresco.com/content-services/community/install/zip/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/content-services/community/install/zip/&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;ACS: &lt;A href="https://docs.alfresco.com/content-services/community/install/zip/tomcat/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/content-services/community/install/zip/tomcat/&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Database: &lt;A href="https://docs.alfresco.com/sync-service/latest/install/database/#databases/postgres" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/sync-service/latest/install/database/#databases/postgres&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Search Services: &lt;A href="https://docs.alfresco.com/search-services/latest/install/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/search-services/latest/install/&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Here's my full build process on Ubuntu 20.04 LTS:&lt;/P&gt;&lt;PRE&gt;sudo apt update &amp;amp;&amp;amp; sudo apt upgrade -y
sudo apt install -y openjdk-11-jre tomcat9 postfresql activemq libreoffice imagemagick unzip libpostgresql-jdbc-java
cd ~
mkdir download
cd download
wget https://download.alfresco.com/cloudfront/release/community/7.0.0-build-2355/alfresco-content-services-community-distribution-7.0.0.zip
wget https://download.alfresco.com/cloudfront/release/community/SearchServices/2.0.2/alfresco-search-services-2.0.2.zip
mkdir /usr/share/acs
cp alfresco-content-services-community-distribution-7.0.0.zip /usr/share/acs/
cp alfresco-search-services-2.0.2.zip /usr/share/
cd /usr/share
unzip alfresco-search-services-2.0.2.zip
rm alfresco-search-services-2.0.2.zip
cd acs
unzip alfresco-content-services-community-distribution-7.0.0.zip
rm alfresco-content-services-community-distribution-7.0.0.zip
sudo -i -u postgres
psql
create database alfresco encoding 'utf8';
create role alfresco LOGIN password 'alfresco';
grant all on database alfresco to alfresco;
exit;
exit
cd /var/lib/tomcat9/
mkdir shared
mkdir shared/classes
mkdir shared/lib
nano conf/catalina.properties&lt;/PRE&gt;&lt;P&gt;Locate:&lt;/P&gt;&lt;PRE&gt;shared.loader=&lt;/PRE&gt;&lt;P&gt;Change to:&lt;/P&gt;&lt;PRE&gt;shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar&lt;/PRE&gt;&lt;PRE&gt;cp /usr/share/java/postgresql*.jar /var/lib/tomcat9/lib/
nano conf/server.xml&lt;/PRE&gt;&lt;P&gt;Locate:&lt;/P&gt;&lt;PRE&gt;    &amp;lt;Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" /&amp;gt;&lt;/PRE&gt;&lt;P&gt;Change to:&lt;/P&gt;&lt;PRE&gt;&amp;lt;Connector port="8080" protocol="HTTP/1.1"
     URIEncoding="UTF-8"
     connectionTimeout="20000"
     maxHttpHeaderSize="32768"
     redirectPort="8443" /&amp;gt;&lt;/PRE&gt;&lt;PRE&gt;mkdir modules
mkdir modules/platform
mkdir modules/share
cp /usr/share/acs/web-server/conf/Catalina/localhost/*.xml conf/Catalina/localhost/
cp /usr/share/acs/web-server/webapps/*.war webapps/
cp /usr/share/acs/web-server/lib/postgresql-42.2.19.jar lib/
cd webapps/
systemctl stop tomcat9.service
rm -r alfresco
rm -r ROOT
rm -r share
rm -r _vti_bin
cd ..
nano shared/classes/alfresco-global.properties&lt;/PRE&gt;&lt;P&gt;alfresco-global.properties&lt;/P&gt;&lt;PRE&gt; #
 # Set this property unless you have explicitly chosen to expose some repository APIs without authentication
 index.subsystem.name=solr6
 solr.secureComms=none
 solr.port=8983

 #
 # Custom content and index data location
 #
 dir.root=/srv/alfresco/alf_data
 dir.keystore=${dir.root}/keystore

 #
 # Sample database connection properties
 #
 db.username=alfresco
 db.password=DBPWICREATED

 #
 # Choose DB connection properties for your database, e.g. for PostgreSQL
 #
 db.driver=org.postgresql.Driver
 db.url=jdbc:postgresql://localhost:5432/alfresco

 #
 # URL Generation Parameters (The ${localname} token is replaced by the local server name)
 #-------------
 alfresco.context=alfresco
 alfresco.host=${localname}
 alfresco.port=8080
 alfresco.protocol=http
 share.context=share
 share.host=${localname}
 share.port=8080
 share.protocol=http&lt;/PRE&gt;&lt;PRE&gt;nano conf/Catalina/localhost/alfresco.xml&lt;/PRE&gt;&lt;P&gt;Change:&lt;/P&gt;&lt;PRE&gt;&amp;lt;PostResources base="${catalina.base}/../modules/platform"&lt;/PRE&gt;&lt;P&gt;To:&lt;/P&gt;&lt;PRE&gt;&amp;lt;PostResources base="${catalina.base}/modules/platform"&lt;/PRE&gt;&lt;PRE&gt;nano conf/Catalina/localhost/share.xml&lt;/PRE&gt;&lt;P&gt;Change:&lt;/P&gt;&lt;PRE&gt;&amp;lt;PostResources base="${catalina.base}/../modules/share"&lt;/PRE&gt;&lt;P&gt;To:&lt;/P&gt;&lt;PRE&gt;&amp;lt;PostResources base="${catalina.base}/modules/share"&lt;/PRE&gt;&lt;PRE&gt;systemctl start tomcat9.service&lt;/PRE&gt;</description>
    <pubDate>Wed, 08 Dec 2021 09:24:02 GMT</pubDate>
    <dc:creator>foetoid</dc:creator>
    <dc:date>2021-12-08T09:24:02Z</dc:date>
    <item>
      <title>7.1 Zip Install - Cannot find Alfresco Repository</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/7-1-zip-install-cannot-find-alfresco-repository/m-p/143375#M38098</link>
      <description>&lt;P&gt;Attempting a build to get familiar with the product. After build completion 8080 returns:&amp;nbsp;&lt;STRONG&gt;Cannot find Alfresco Repository on this server.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;(Does this application have access to alfresco-global.properties? Does this application have cross-context permissions?) and can't login on 8080/share.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any help on this would be appreciated. Would like to be able to test your product.&lt;/P&gt;&lt;P&gt;There are some inconsistencies in the documentation between the following articles.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Main: &lt;A href="https://docs.alfresco.com/content-services/community/install/zip/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/content-services/community/install/zip/&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;ACS: &lt;A href="https://docs.alfresco.com/content-services/community/install/zip/tomcat/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/content-services/community/install/zip/tomcat/&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Database: &lt;A href="https://docs.alfresco.com/sync-service/latest/install/database/#databases/postgres" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/sync-service/latest/install/database/#databases/postgres&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Search Services: &lt;A href="https://docs.alfresco.com/search-services/latest/install/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/search-services/latest/install/&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Here's my full build process on Ubuntu 20.04 LTS:&lt;/P&gt;&lt;PRE&gt;sudo apt update &amp;amp;&amp;amp; sudo apt upgrade -y
sudo apt install -y openjdk-11-jre tomcat9 postfresql activemq libreoffice imagemagick unzip libpostgresql-jdbc-java
cd ~
mkdir download
cd download
wget https://download.alfresco.com/cloudfront/release/community/7.0.0-build-2355/alfresco-content-services-community-distribution-7.0.0.zip
wget https://download.alfresco.com/cloudfront/release/community/SearchServices/2.0.2/alfresco-search-services-2.0.2.zip
mkdir /usr/share/acs
cp alfresco-content-services-community-distribution-7.0.0.zip /usr/share/acs/
cp alfresco-search-services-2.0.2.zip /usr/share/
cd /usr/share
unzip alfresco-search-services-2.0.2.zip
rm alfresco-search-services-2.0.2.zip
cd acs
unzip alfresco-content-services-community-distribution-7.0.0.zip
rm alfresco-content-services-community-distribution-7.0.0.zip
sudo -i -u postgres
psql
create database alfresco encoding 'utf8';
create role alfresco LOGIN password 'alfresco';
grant all on database alfresco to alfresco;
exit;
exit
cd /var/lib/tomcat9/
mkdir shared
mkdir shared/classes
mkdir shared/lib
nano conf/catalina.properties&lt;/PRE&gt;&lt;P&gt;Locate:&lt;/P&gt;&lt;PRE&gt;shared.loader=&lt;/PRE&gt;&lt;P&gt;Change to:&lt;/P&gt;&lt;PRE&gt;shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar&lt;/PRE&gt;&lt;PRE&gt;cp /usr/share/java/postgresql*.jar /var/lib/tomcat9/lib/
nano conf/server.xml&lt;/PRE&gt;&lt;P&gt;Locate:&lt;/P&gt;&lt;PRE&gt;    &amp;lt;Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" /&amp;gt;&lt;/PRE&gt;&lt;P&gt;Change to:&lt;/P&gt;&lt;PRE&gt;&amp;lt;Connector port="8080" protocol="HTTP/1.1"
     URIEncoding="UTF-8"
     connectionTimeout="20000"
     maxHttpHeaderSize="32768"
     redirectPort="8443" /&amp;gt;&lt;/PRE&gt;&lt;PRE&gt;mkdir modules
mkdir modules/platform
mkdir modules/share
cp /usr/share/acs/web-server/conf/Catalina/localhost/*.xml conf/Catalina/localhost/
cp /usr/share/acs/web-server/webapps/*.war webapps/
cp /usr/share/acs/web-server/lib/postgresql-42.2.19.jar lib/
cd webapps/
systemctl stop tomcat9.service
rm -r alfresco
rm -r ROOT
rm -r share
rm -r _vti_bin
cd ..
nano shared/classes/alfresco-global.properties&lt;/PRE&gt;&lt;P&gt;alfresco-global.properties&lt;/P&gt;&lt;PRE&gt; #
 # Set this property unless you have explicitly chosen to expose some repository APIs without authentication
 index.subsystem.name=solr6
 solr.secureComms=none
 solr.port=8983

 #
 # Custom content and index data location
 #
 dir.root=/srv/alfresco/alf_data
 dir.keystore=${dir.root}/keystore

 #
 # Sample database connection properties
 #
 db.username=alfresco
 db.password=DBPWICREATED

 #
 # Choose DB connection properties for your database, e.g. for PostgreSQL
 #
 db.driver=org.postgresql.Driver
 db.url=jdbc:postgresql://localhost:5432/alfresco

 #
 # URL Generation Parameters (The ${localname} token is replaced by the local server name)
 #-------------
 alfresco.context=alfresco
 alfresco.host=${localname}
 alfresco.port=8080
 alfresco.protocol=http
 share.context=share
 share.host=${localname}
 share.port=8080
 share.protocol=http&lt;/PRE&gt;&lt;PRE&gt;nano conf/Catalina/localhost/alfresco.xml&lt;/PRE&gt;&lt;P&gt;Change:&lt;/P&gt;&lt;PRE&gt;&amp;lt;PostResources base="${catalina.base}/../modules/platform"&lt;/PRE&gt;&lt;P&gt;To:&lt;/P&gt;&lt;PRE&gt;&amp;lt;PostResources base="${catalina.base}/modules/platform"&lt;/PRE&gt;&lt;PRE&gt;nano conf/Catalina/localhost/share.xml&lt;/PRE&gt;&lt;P&gt;Change:&lt;/P&gt;&lt;PRE&gt;&amp;lt;PostResources base="${catalina.base}/../modules/share"&lt;/PRE&gt;&lt;P&gt;To:&lt;/P&gt;&lt;PRE&gt;&amp;lt;PostResources base="${catalina.base}/modules/share"&lt;/PRE&gt;&lt;PRE&gt;systemctl start tomcat9.service&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Dec 2021 09:24:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/7-1-zip-install-cannot-find-alfresco-repository/m-p/143375#M38098</guid>
      <dc:creator>foetoid</dc:creator>
      <dc:date>2021-12-08T09:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: 7.1 Zip Install - Cannot find Alfresco Repository</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/7-1-zip-install-cannot-find-alfresco-repository/m-p/143376#M38099</link>
      <description>&lt;P&gt;The error usually refers to share.loader misconfigured or system may not be able to read the alfresco-global.properties. Please cross check the configs and permissions that's the only clue here.&lt;/P&gt;
&lt;P&gt;Also you can review this guide that may be helpful :&amp;nbsp;&lt;A href="https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://javaworld-abhinav.blogspot.com/2021/06/setup-acs70-ass201-and-transformation-service.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 03:43:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/7-1-zip-install-cannot-find-alfresco-repository/m-p/143376#M38099</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2021-12-09T03:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: 7.1 Zip Install - Cannot find Alfresco Repository</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/7-1-zip-install-cannot-find-alfresco-repository/m-p/143377#M38100</link>
      <description>&lt;P&gt;Hi foetoid,&lt;/P&gt;&lt;P&gt;maybe helpfull:&lt;/P&gt;&lt;PRE&gt;sudo apt install -y openjdk-11-jre tomcat9 postfresql activemq libreoffice imagemagick unzip libpostgresql-jdbc-jav&lt;/PRE&gt;&lt;P&gt;postfresql should be postgresql - right?&lt;/P&gt;&lt;P&gt;Have now rebuilt everything exactly as you indicated - but at following command there is failure at my system&lt;/P&gt;&lt;PRE&gt;cp /usr/share/java/postgresql*.jar /var/lib/tomcat9/lib/&lt;/PRE&gt;&lt;P&gt;cp: unable to call stat for '/usr/share/java/postgresql*.jar': file or directory not found&lt;/P&gt;&lt;P&gt;Had been the same failure at your system? On my system there is no *.jar at all.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 13:48:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/7-1-zip-install-cannot-find-alfresco-repository/m-p/143377#M38100</guid>
      <dc:creator>psb24</dc:creator>
      <dc:date>2022-01-05T13:48:05Z</dc:date>
    </item>
  </channel>
</rss>

