Comments (3)
appreciate your help @abhinavmishra14 but yeah no more error messages, will try this, thank you
from acs-community-deployment.
It could be due to permission errors. You have not shared full error log so not sure. But there is a better way to install amps when using docker-compose.yml.
Follow these steps:
1- Create a folder named build-config in same folder where you have kept your docker-compose.yml file
2- Create two folders named, alfresco and share within build-config folder
3- Create a folder named extensions in alfresco and share folders.
4- Copy your repo layer custom or third party amps in the build-config/alfresco/extensions folder
5- Copy your share layer custom or third party amps in the build-config/share/extensions folder
6- Create a file named DockerFile under build-config/alfresco which will be used for building alfresco image
7- Copy following instructions in the DockerFile (build-config/alfresco)
FROM alfresco/alfresco-content-repository-community:6.2.1-A8
#Change to root
USER root
# Copy extensions jar module if there are any
COPY Dockerfile extensions/*.jar $TOMCAT_DIR/webapps/alfresco/WEB-INF/lib/
# Copy and apply amp extensions
COPY Dockerfile extensions/*.amp $TOMCAT_DIR/amps/
RUN java -jar $TOMCAT_DIR/alfresco-mmt/alfresco-mmt*.jar install \
$TOMCAT_DIR/amps $TOMCAT_DIR/webapps/alfresco -directory -nobackup -force
#Change back to alfresco
USER alfresco
8- Create a file named DockerFile under build-config/share which will be used for building share image
9- Copy following instructions in the DockerFile (build-config/share)
FROM alfresco/alfresco-share:6.2.1
# Copy extensions jar module if there are any
COPY Dockerfile extensions/*.jar $TOMCAT_DIR/webapps/share/WEB-INF/lib/
# Copy and apply amp extensions
COPY Dockerfile add-ons/*.amp $TOMCAT_DIR/amps_share/
RUN java -jar $TOMCAT_DIR/alfresco-mmt/alfresco-mmt*.jar install \
$TOMCAT_DIR/amps_share $TOMCAT_DIR/webapps/share -directory -nobackup -force
10- Update the docker-compose.yml for alfresco and share services as:
alfresco:
build:
dockerfile: ./Dockerfile
context: ./build-config/alfresco
mem_limit: 1500m
environment:
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&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
"
share:
build:
dockerfile: ./Dockerfile
context: ./build-config/share
mem_limit: 1g
environment:
REPO_HOST: "alfresco"
REPO_PORT: "8080"
JAVA_OPTS: "
-Xms500m
-Xmx500m
-Dalfresco.host=localhost
-Dalfresco.port=8080
-Dalfresco.context=alfresco
-Dalfresco.protocol=http
"
11- Launch the containers again, use following command:
`docker-compose -f ./docker-compose.yml up --build`
from acs-community-deployment.
It looks like some help has been provided to resolve this issue so closing before the repository is archived as per the recent blog post: https://hub.alfresco.com/t5/alfresco-content-services-blog/acs-community-repositories-consolidation/ba-p/302770
from acs-community-deployment.
Related Issues (20)
- Alfresco docker-compose is not working HOT 5
- admin / admin won't login on fresh docker-compose up deployment HOT 3
- change database HOT 2
- not able to open localhost:8080/share HOT 2
- Problem with minikube+helm instructions HOT 1
- Can deploy Alfresco HOT 3
- Local transformer names must exist and be unique (PassThrough). Read from based on mimetype list HOT 2
- Tracking communication timed out for ModelTracker - alfresco HOT 1
- Share module does not work on a custom port HOT 3
- Error starting alfresco - relation "alf_server" does not exist HOT 1
- Japanese characters are garbled in the file preview function(ファイルプレビュー機能で日本語が文字化けする)
- Cannot change alfresco-grobal.properties HOT 9
- docker-compose not working reliably HOT 9
- Alfresco 6.2.0-A9 Helm Chart:Failed to connect or to read the response from T-Engine HOT 1
- Alfresco Helm 6.2.0-A9 : Remain Connected to database PostgreSQL HOT 2
- Community version calling enterprise api. HOT 5
- Kubernetes Version 1.16 Removes Deprecated APIs HOT 2
- ps
- Users are not properly obtained HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acs-community-deployment.