I am trying to install Alfresco using distribution zip i have followed an article: http://alfrescoeasy.blogspot.com/2019/02/install-alfresco-content-service-60-on.html
I have installed applications manually on my system that is Ubuntu 18.04 LTS:-
1->Postgresql--> 10.13 (Ubuntu 10.13-1.pgdg18.04+1)
2->Apache Tomcat-->8.5.34
3->Java-->1.8.0_252
4->Libreoffice->6.4.4.2 40
5->Imagebrick
And also downloaded :-
1.alfresco-content-services-community-distribution-6.0.7-ga
2.alfresco-search-services(1.3)
3.apache-tomcat-8.5.28
While running the command:-./solr/bin/solr start -a "-Dcreate.alfresco.defaults=alfresco,archive"
I am getting the error.
root@dmsjupro:/# cd home/dmsju/alf_install/acs/alfresco-search-services/
root@dmsjupro:/home/dmsju/alf_install/acs/alfresco-search-services# ./solr/bin/solr start -a "-Dcreate.alfresco.defaults=alfresco,archive"
WARNING: Starting Solr as the root user is a security risk and not considered best practice. Exiting.
Please consult the Reference Guide. To override this check, start with argument '-force'
How to resolve this.
Please let me know that the process with which i am doing the installation process is correct or not and how to install the version 6.0.
Please help i amtrying since 2 weeks.
alfresco-global-properties
#
# 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=/home/dmsju/alf_install/acs/alf_data
dir.keystore=${dir.root}/keystore
#
# Sample database connection properties
#
db.username=alfresco
db.password=alfresco
#
# Choose DB connection properties for your database, e.g. for PostgreSQL
#
db.driver=org.postgresql.Driver
db.url=jdbcostgresql://localhost:5432/alfresco
db.pool.max=275
db.pool.validate.query=SELECT 1
#
# URL Generation Parameters (The ${localname} token is replaced by the local server name)
#-------------
alfresco.context=alfresco
alfresco.host=localhost
alfresco.port=8080
alfresco.protocol=http
share.context=share
share.host=localhost
share.port=8080
share.protocol=http
# External executable locations #
alfresco-pdf-renderer.root=/home/dmsju/alf_install/acs/alfresco-pdf-renderer
alfresco-pdf-renderer.exe=${alfresco-pdf-renderer.root}/alfresco-pdf-renderer
Thanks and Regards
Akash
How to solve it: Create a dedicated non-root user to run SOLR, assign file ownerships / permissions accordingly, and use it when starting SOLR.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.