Giter VIP home page Giter VIP logo

acs-community-deployment's People

Contributors

aborroy avatar afaust avatar alandavis avatar alexbalmus avatar amohammedalfresco avatar ancutam avatar andrei-zapodeanu-alfresco avatar anechifor avatar anxumalo avatar aymanthefirst avatar cezarleahu avatar codrinchirica avatar cristianturlica avatar denisgabriela avatar derekhulley avatar eknidev avatar epurashu avatar killerboot avatar mmuller88 avatar montgolfiere avatar mteodori avatar naton-1 avatar noraj avatar punchedchimera avatar sergiuv2020 avatar silverskyvicto avatar sridharvellingiri avatar theoutsseeker avatar tunaaksoy avatar tzclucian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

acs-community-deployment's Issues

Can not pull alfresco-digital-workspace

[root@centos ~]# docker pull quay.io/alfresco/alfresco-digital-workspace:1.1
Error response from daemon: unauthorized: access to the requested resource is not authorized
[root@centos ~]#

Problem with minikube+helm instructions

Trying to follow through the instructions to install w minikube+helm. I'm not v familiar w helm so I easily get stuck.

Anyway

helm init --service-account tiller
Error: unknown command "init" for "helm"

which may be causing the next issue:

helm install stable/nginx-ingress --set rbac.create=true
Error: must either provide a name or specify --generate-name

So I tried:

helm install stable/nginx-ingress --set rbac.create=true --generate-name
Error: failed to download "stable/nginx-ingress" (hint: running `helm repo update` may help)

I already ran the update (as per instructions) and verified etc. I took a guess and tried this:

helm install alfresco-stable/nginx-ingress --set rbac.create=true --generate-name
Error: failed to download "alfresco-stable/nginx-ingress" (hint: running `helm repo update` may help)

No idea where to go next

Can deploy Alfresco

Dear Community

I work at the Bern University of Applied Sciences and a professor uses Alfresco in his classes. At the moment he uses an old version and I’ve now to update it.
I tried to deploy the community version, but I receive always an error message.

To the class I’ve prepared a Kubernetes Cluster based on 3 Ubuntu 18.04 Servers, one master and two workers:

Cluster information:
kubectl get nodes
NAME STATUS ROLES AGE VERSION
k8s-172-16-1-7 Ready master 22h v1.16.3
k8s-172-16-1-8 Ready 22h v1.16.3
k8s-172-16-1-9 Ready 22h v1.16.3

kubectl version
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3", GitCommit:"b3cbbae08ec52a7fc73d334838e18d17e8512749", GitTreeState:"clean", BuildDate:"2019-11-13T11:23:11Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.12", GitCommit:"17c50ce2d686f4346924935063e3a431360e0db7", GitTreeState:"clean", BuildDate:"2020-06-26T03:33:27Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

helm version
version.BuildInfo{Version:"v3.2.4", GitCommit:"0ad800ef43d3b826f31a5ad8dfbb4fe05d143688", GitTreeState:"clean", GoVersion:"go1.13.12"}

Steps until the error

sudo snap install helm --classic
helm 3.2.4 from Snapcrafters installed

helm repo add alfresco-incubator http://kubernetes-charts.alfresco.com/incubator
"alfresco-incubator" has been added to your repositories

helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "alfresco-incubator" chart repository
Update Complete. ⎈ Happy Helming!⎈

export ALF_ADMIN_PWD=$(printf %s 'MyTestPwd' | iconv -t UTF-16LE | openssl md4 | awk '{ print $1}')
export ALF_DB_PWD='MyDbPwd'
helm install my-acs alfresco-incubator/alfresco-content-services-community --set repository.adminPassword="$ALF_ADMIN_PWD" --set postgresql.postgresPassword="$ALF_DB_PWD"
Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1"

I searched about this error and in some forums and I found something like “You should use HELM 2”.

I started again with HELM 2, but I received another error message.
helm install alfresco-incubator/alfresco-content-services-community
Error: no available release name found

Can you help me?

Best Regards
Oscar Gemperle

Local transformer names must exist and be unique (PassThrough). Read from based on mimetype list

Hello, I install acs by k8s, and got the ERROR "Local transformer names must exist and be unique (PassThrough). Read from based on mimetype list" , How can I do? Thanks!

2020-07-30 04:07:36,694 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete
2020-07-30 04:07:36,703 INFO [service.descriptor.DescriptorService] [localhost-startStop-1] Alfresco JVM - v11.0.7+10; maximum heap size 1450.000MB
2020-07-30 04:07:36,704 INFO [service.descriptor.DescriptorService] [localhost-startStop-1] Server Mode :UNKNOWN
2020-07-30 04:07:36,707 INFO [service.descriptor.DescriptorService] [localhost-startStop-1] Alfresco Content Services started (Community). Current version: 6.2.1 (r531c5430-b1572) schema 13,001. Originally installed version: 6.2.1 (r531c5430-b1572) schema 13,001.
2020-07-30 04:07:36,785 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
2020-07-30 04:07:37,689 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default] complete
2020-07-30 04:07:37,689 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Replication' subsystem, ID: [Replication, default]
2020-07-30 04:07:37,700 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Replication' subsystem, ID: [Replication, default] complete
2020-07-30 04:07:41,299 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Messaging' subsystem, ID: [Messaging, default]
2020-07-30 04:08:05,047 ERROR [content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-1] Local transformer names must exist and be unique (PassThrough). Read from based on mimetype list
2020-07-30 04:10:00,785 ERROR [quartz.core.JobRunShell] [SearchScheduler_Worker-1] Job Solr.SolrWatcher threw an unhandled Exception:
org.alfresco.error.AlfrescoRuntimeException: 06300067 The host did not accept the connection within timeout of 500 ms
at org.alfresco.repo.search.impl.solr.AbstractSolrAdminHTTPClient.getOperation(AbstractSolrAdminHTTPClient.java:96)
at org.alfresco.repo.solr.SOLRAdminClient.executeAction(SOLRAdminClient.java:221)
at org.alfresco.repo.solr.SOLRAdminClient$SolrTracker.pingSolr(SOLRAdminClient.java:333)
at org.alfresco.repo.solr.SOLRWatcherJob.execute(SOLRWatcherJob.java:54)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 500 ms
at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:155)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)

Tracking communication timed out for ModelTracker - alfresco

Hi,
I installed the docker for windows 10
I downloaded the docker-compose.yml file
I ran the command:
docker-compose up

The following error message occurred:

solr6_1 | 2020-07-31 19: 16: 44.072 WARN (org.alfresco.solr.AlfrescoCoreAdminHandler@667e34b1_Worker-36) [] o.a.s.t.AbstractTracker Tracking communication timed out for ModelTracker - alfresco

What can it be?
Thank you.

Community version calling enterprise api.

Hello, We were created alfresco community docker images using docker-compose file in this repo.

After logged into Admin Tools > Users i am getting error. Please see the below error in the attachment. API is not available (404) as it is pointed to enterprise edition one.

Screenshot_20191015_192410

The version of share docker image is 6.2.0-RC4. Problem was not there upto the share image version 6.1.1

Please let help about how to fix.

Kubernetes Version 1.16 Removes Deprecated APIs

Installing acs via helm on 1.16 gives the following error:
helm install alfresco-stable/alfresco-content-services-community --set externalProtocol="http" --set externalHost="acs-community.local" --set externalPort="32748"
Error: validation failed: unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1"

This might be the cause.

What can be done to fix it?

not able to open localhost:8080/share

Dear Sir/Madam,
when i have installed docker successfully and pulled out alfresco community edition using docker-compose up command, it has started downloading all the files , installing different softwares etc and then it never stops. When i click on localhost:8080/share, it takes a lot of time and throws an error 504 gateway time out .
Please let me know the solution regarding this mentioned above.

Please note that it's urgent basis as we need to show the demo to our client ASAP.

Error starting alfresco - relation "alf_server" does not exist

I am migrating the current version that I use from Alfresco to a stack with transform-core-aio.
If I execute this stack without using my current volumes, the system works correctly, but when updating using the current volumes, the error below occurs:

2020-09-22 07:59:27,012  ERROR [repo.descriptor.RepositoryDescriptorDAOImpl] [localhost-startStop-1] updateDescriptor: 
org.springframework.jdbc.BadSqlGrammarException: 
### Error querying database.  Cause: org.postgresql.util.PSQLException: ERROR: relation "alf_server" does not exist
  Position: 93
### The error may exist in alfresco/ibatis/#resource.dialect#/node-common-SqlMap.xml
### The error may involve alfresco.node.select_ServerByIpAddress-Inline
### The error occurred while setting parameters
### SQL: select             id,             version,             ip_address         from             alf_server         where             ip_address = ?
### Cause: org.postgresql.util.PSQLException: ERROR: relation "alf_server" does not exist
  Position: 93
; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: relation "alf_server" does not exist
  Position: 93
	at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:235)
	at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
	at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:74)
	at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:421)
	at com.sun.proxy.$Proxy19.selectList(Unknown Source)
	at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:206)
	at org.alfresco.repo.domain.node.ibatis.NodeDAOImpl.selectServer(NodeDAOImpl.java:233)
	at org.alfresco.repo.domain.node.AbstractNodeDAOImpl$ServerIdCallback.getWithWriteLock(AbstractNodeDAOImpl.java:463)
	at org.alfresco.repo.domain.node.AbstractNodeDAOImpl$ServerIdCallback.getWithWriteLock(AbstractNodeDAOImpl.java:1)
	at org.alfresco.util.ReadWriteLockExecuter.execute(ReadWriteLockExecuter.java:103)
	at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.getServerId(AbstractNodeDAOImpl.java:487)
	at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.getCurrentTransaction(AbstractNodeDAOImpl.java:653)
	at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.updateNodeImpl(AbstractNodeDAOImpl.java:1858)
	at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.touchNode(AbstractNodeDAOImpl.java:1775)
	at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.setNodePropertiesImpl(AbstractNodeDAOImpl.java:2356)
	at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.addNodeProperties(AbstractNodeDAOImpl.java:2463)
	at org.alfresco.repo.node.db.DbNodeServiceImpl.addAspectsAndProperties(DbNodeServiceImpl.java:563)
	at org.alfresco.repo.node.db.DbNodeServiceImpl.addAspectsAndProperties(DbNodeServiceImpl.java:465)
	at org.alfresco.repo.node.db.DbNodeServiceImpl.addProperties_aroundBody64(DbNodeServiceImpl.java:1679)
	at org.alfresco.repo.node.db.DbNodeServiceImpl$AjcClosure65.run(DbNodeServiceImpl.java:1)
	at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:257)
	at org.alfresco.traitextender.AJExtender.localProceed(AJExtender.java:728)
	at org.alfresco.traitextender.AJProxyTrait.invoke(AJProxyTrait.java:86)
	at com.sun.proxy.$Proxy30.addProperties(Unknown Source)
	at org.alfresco.repo.virtual.bundle.VirtualNodeServiceExtension.addProperties(VirtualNodeServiceExtension.java:1118)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.alfresco.traitextender.SingletonExtensionFactory$TraiSingletontHandler.invoke(SingletonExtensionFactory.java:74)
	at com.sun.proxy.$Proxy222.addProperties(Unknown Source)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.alfresco.traitextender.AJExtender.extendAroundAdvice(AJExtender.java:654)
	at org.alfresco.traitextender.RouteExtensions.ajc$inlineAccessMethod$org_alfresco_traitextender_RouteExtensions$org_alfresco_traitextender_AJExtender$extendAroundAdvice(RouteExtensions.java:1)
	at org.alfresco.traitextender.RouteExtensions.intercept(RouteExtensions.java:85)
	at org.alfresco.repo.node.db.DbNodeServiceImpl.addProperties(DbNodeServiceImpl.java:1668)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
	at org.alfresco.repo.lock.mem.LockableAspectInterceptor.invoke(LockableAspectInterceptor.java:239)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
	at com.sun.proxy.$Proxy33.addProperties(Unknown Source)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
	at org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(MultiTNodeServiceInterceptor.java:111)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
	at com.sun.proxy.$Proxy33.addProperties(Unknown Source)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:231)
	at com.sun.proxy.$Proxy54.addProperties(Unknown Source)
	at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:241)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
	at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:276)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
	at com.sun.proxy.$Proxy33.addProperties(Unknown Source)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:205)
	at com.sun.proxy.$Proxy33.addProperties(Unknown Source)
	at org.alfresco.repo.descriptor.RepositoryDescriptorDAOImpl.updateDescriptor(RepositoryDescriptorDAOImpl.java:217)
	at org.alfresco.repo.descriptor.DescriptorServiceImpl$NOOPLicenseService$1.execute(DescriptorServiceImpl.java:472)
	at org.alfresco.repo.descriptor.DescriptorServiceImpl$NOOPLicenseService$1.execute(DescriptorServiceImpl.java:1)
	at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:450)
	at org.alfresco.repo.descriptor.DescriptorServiceImpl$NOOPLicenseService.verifyLicense(DescriptorServiceImpl.java:478)
	at org.alfresco.repo.descriptor.DescriptorServiceImpl.bootstrap(DescriptorServiceImpl.java:382)
	at org.alfresco.repo.descriptor.DescriptorServiceImpl.access$7(DescriptorServiceImpl.java:328)
	at org.alfresco.repo.descriptor.DescriptorServiceImpl$5.doWork(DescriptorServiceImpl.java:318)
	at org.alfresco.repo.descriptor.DescriptorServiceImpl$5.doWork(DescriptorServiceImpl.java:1)
	at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:602)
	at org.alfresco.repo.descriptor.DescriptorServiceImpl.onBootstrap(DescriptorServiceImpl.java:322)
	at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:221)
	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:186)
	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:206)
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:402)
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:359)
	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:896)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552)
	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:401)
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:292)
	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
	at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:70)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4699)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5165)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
	at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:129)
	at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:150)
	at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:140)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:717)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1125)
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1859)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.postgresql.util.PSQLException: ERROR: relation "alf_server" does not exist
  Position: 93
	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2533)
	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2268)
	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:313)
	at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:448)
	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:369)
	at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:159)
	at org.postgresql.jdbc.PgPreparedStatement.execute(PgPreparedStatement.java:148)
	at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
	at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
	at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
	at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:62)
	at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:78)
	at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62)
	at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:303)
	at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:154)
	at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:102)
	at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:82)
	at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:120)
	at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:113)
	at org.alfresco.ibatis.SqlSessionMetricsWrapper.selectList(SqlSessionMetricsWrapper.java:131)
	at jdk.internal.reflect.GeneratedMethodAccessor262.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:408)
	... 116 more
2020-09-22 07:59:27,158  ERROR [repo.descriptor.RepositoryDescriptorDAOImpl] [localhost-startStop-1] updateDescriptor: 
org.springframework.jdbc.BadSqlGrammarException: 
### Error querying database.  Cause: org.postgresql.util.PSQLException: ERROR: relation "alf_server" does not exist
  Position: 93
### The error may exist in alfresco/ibatis/#resource.dialect#/node-common-SqlMap.xml
### The error may involve alfresco.node.select_ServerByIpAddress-Inline
### The error occurred while setting parameters
### SQL: select             id,             version,             ip_address         from             alf_server         where             ip_address = ?
### Cause: org.postgresql.util.PSQLException: ERROR: relation "alf_server" does not exist
  Position: 93

My current version is: Community - 6.3.0 (r44c1063b-b381) using the separate conversion containers.

I'm upgrading to the latest version published on the dockerhub centralizing conversions with transform-ore-aio

Can't login to share page

I just composed acs-community-deployment using docker-compose, but when trying to open http://$HOST:8080/share/page, and logging in using username=admin & password=admin credentials, it keep returns Your authentication details haven't been recognized or Alfresco Content Services may not be available at this time.

change database

hello everyone!How can i change the database ,from postgres change to mysql。How can I do?Please help me!

Cannot change alfresco-grobal.properties

I change Alfresco-global.properties to set the upper limit of file preview capacity and LDAP-AD, but that doesn't work.
Of course I edit docker-compose.yml to preserve the changes in alfresco-global.properties.

What is missing from my work?

Share module does not work on a custom port

I faces the issue that it's  impossible to reconfigure Alfresco community in Docker to work on a port different from the default 8080. I checked out the docker compose from https://github.com/Alfresco/acs-community-deployment.git and changed the following properties in alfresco and share modules: share.port=8084, alfresco.port=8084 as well as port mapping for a proxy module to 8084:8080.

Then run it.

There are 2 issues with share module:

  1. somehow when I try to access it using http://localhost:8084/share I keep redirecting to http://localhost:8080/share.

  2. magically the page http://localhost:8084/share/page  works fine and displays a login form. But it is impossible to login because of 500 error (Something's wrong with this page...). Share logs says the following:

Possible CSRF attack noted when asserting referer header.

logs.txt

docker-compose not working reliably

Hey,

I am having trouble getting Alfresco community to run via docker-compose. I downloaded the docker-compose.yml from the 2.2.0 snapshot and tried it on different machines. The issue I am facing seems similar to #64, as on one machine, I am never able to log in, whereas on the other machine, everything just works fine.

On the machine, where it does not work, I get a lot of errors like this:

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialect': FactoryBean threw exception on object creation; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (The connection attempt failed.)

together with many Java errors. I thought docker would end the problem of "but it worked on my machine", but this is somehow the case here.

Thank you in advance for your support, if there is anything you need to know or I can test, just let me know

Alfresco docker-compose is not working

I am using docker compose to deploy Alfresco content service using user name "admin" and password "admin" facing ""Your authentication details haven't been recognized or Alfresco Content Services may not be available at this time "" and also getting error while building the docker-compose facing illegal access stopping the application. please help in solving the issue

Docker compose - IO error when trying to deploy alfresco amp

Hi,
I'm using alfresco content services 6.2 docker-compose file https://github.com/Alfresco/acs-community-deployment/blob/master/docker-compose/docker-compose.yml

  • starts correct
  • if i deploy a custom share amp file to share a container, is successful
  • but if i try to deploy an alfresco amp file to the alfresco container i get this error but execute this command first:
    java -jar /usr/local/tomcat/alfresco-mmt/alfresco-mmt*.jar install /usr/local/tomcat/amps/alfresco-customization.amp /usr/local/tomcat/webapps/alfresco -verbose -force

08110000 An IO error was encountered during deployment of the AMP into the WAR

please let me know if you have any guidance, thanks in advance,

FYI SOLR_ALFRESCO_HOST set to wrong host name

I deployed a test cluster using helm script alfresco-incubator/alfresco-content-services-community
I ran into an issue where the search pod logged an UnknownHostException to host "alfresco-cs-incubator-alfresco-content-services-community-repository" That looks like a longer name which does not exists.
I'm not sure in which file this is set, but I could override by adding parameter:
--set alfresco-search.environment.SOLR_ALFRESCO_HOST="alfresco-cs-incubator-alfresco-cs-ce-repository"
But this is a small misconfiguration that you may want to iron out for the next release. I ran into this error when calling "Recent files" from the adf-content-app, it got stuck.

Users are not properly obtained

Hi,
Using the admin tools, at the Users section, alfresco try to obtain the content from the following URL:

http://<ip>:<port>/share/proxy/alfresco/api/people-enterprise?startIndex=0&pageSize=20&filter=undefined%20%5Bhint%3AuseCQ%5D&sortBy=null&dir=null

It is using an enterprise URL that returns a 404. Using the same URL changing people-enterprise by people the request works, getting a 200 code.
In the file components/console/users.js the following line appears:

url: Alfresco.constants.PROXY_URI + (parent.options.showAuthorizationStatus ? "api/people-enterprise" : "api/people"),

And the showAuthorizationStatus seems to be obtained from the users as follow:

showAuthorizationStatus = users.getChildValue('show-authorization-status');

Is that expected? In the Users section I always get:

Error loading items

As you can see in the following image:
Screen Shot 2020-01-09 at 4 22 17 PM

However, searching the users in the top righ search box and in the groups (to add the user to a group) I can find the users correctly.
I didn't perform any change, just downloaded the docker-compose.yml and run docker-compose up
Regards.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.