Giter Club home page Giter Club logo

acs-community-packaging's People

Contributors

adragoi avatar alandavis avatar alexandraleahu avatar alfresco-build avatar ancutam avatar andyhind avatar aymanthefirst avatar cezarleahu avatar codrinchirica avatar cristianturlica avatar davidcognite avatar dcaruana avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar dsibilio avatar eknidev avatar epurashu avatar gbroadbent avatar jamalkm avatar killerboot avatar markrogersalfresco avatar montgolfiere avatar pavelyurkevich avatar ramunteanu avatar roywetherall avatar rpopa avatar sergiuv2020 avatar skopf avatar tpage-alfresco 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

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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

acs-community-packaging's Issues

build failed because of missing "docflex" zip

Hi.

I was trying acs-community-packaging and got the following error:

Description

build failed because of missing "docflex" zip

Steps to reproduce:

  1. Change working directory using cd command
cd <path to parent>/acs-community-packaging
  1. Build using mvn command
mvn clean install

Expected Behaviour

All builds success.

Observed Behaviour

Build fails with the following error.

[INFO] --- maven-dependency-plugin:3.1.1:unpack (default-cli) @ alfresco-public-javadoc ---
[INFO] Configured Artifact: com.docflex:docflex-javadoc:1.6.1:zip
[WARNING] The POM for com.docflex:docflex-javadoc:zip:1.6.1 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Alfresco Content Services Community Packaging 6.2.0-SNAPSHOT:
[INFO] 
[INFO] Alfresco Content Services Community Packaging ...... SUCCESS [  0.415 s]
[INFO] Alfresco Content Services Community WAR ............ SUCCESS [  8.729 s]
[INFO] Alfresco Content Services Community Distribution zip SUCCESS [ 11.836 s]
[INFO] Alfresco Content Services Public API Javadoc ....... FAILURE [  0.015 s]
[INFO] ACS Community Docker Image Builder for Alfresco Community SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  21.195 s
[INFO] Finished at: 2019-08-18T21:54:11+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:unpack (default-cli) on project alfresco-public-javadoc: Unable to find/resolve artifact.: Failure to find com.docflex:docflex-javadoc:zip:1.6.1 in https://artifacts.alfresco.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of alfresco-public has elapsed or updates are forced -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :alfresco-public-javadoc

Environment

  • OS: macOS Mojave 10.14.6
  • Java:
openjdk version "12" 2019-03-19
OpenJDK Runtime Environment (build 12+33)
OpenJDK 64-Bit Server VM (build 12+33, mixed mode, sharing)
  • Maven:
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-05T04:00:29+09:00)
Maven home: /usr/local/Cellar/maven/3.6.1/libexec
Java version: 12, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-12.jdk/Contents/Home
Default locale: ja_JP, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"

Workaround

It can be avoided by commenting out "public-javadoc" in pom.xml.

Reference link: Alfresco Community - could not find artifact docflex-javadoc

6.2.2 SNAPSHOT missing

Hello,

I'm new to Alfresco and I was following the guide at https://github.com/Alfresco/acs-community-packaging

The operating system I'm using is Ubuntu 16.04, I have Apache Maven 3.6.3 and Java 8.

All I did was:

       git clone https://github.com/Alfresco/acs-community-packaging.git

       cd acs-community-packaging

       cd docker-alfresco

       mvn clean install

After running those commands, I run into the error " Failure to find org.alfresco:content-services-community:war:6.2.2-SNAPSHOT".

Any idea on how to fix this? I didn't modify the pom.xml file.

Thanks.

FAIL: Error sending data to server.

I installed Alfresco Community 7.0.1, Docker, when I go to the users under Authorization Status appears label.authorization.status.null to all users, and when click on the green key under Action get a Fail message saying Error sending data to server. I'm in Brazil, so the images show Portuguese Lang.
ERROR 1 - label authorization status null
ERROR 2 - label authorization status null
ERROR 3 - label authorization status null

(Failure: 500) and then (Failure: 403) on uploading a file with proper folder access

I am using the latest version of all images, prior to this I have also tried the exact versions listed in the docker-compose file. I get the same error with both configs while trying to upload a file to any directory. I mostly get 403 with nothing in logs but when I get 500, this is what I find in logs. Someone here suggested to change change the version to a specific version but if it had been fixed, it should also be fixed in the latest version.

share_1                  |  2020-02-06 15:30:53,553  INFO  [webscripts.connector.RemoteClient] [http-nio-8080-exec-5] Exception calling (POST) http://alfresco:8080/alfresco/s/api/upload?Alfresco-CSRFToken=Sive%2Btsjk9MgkcnvuzqxgWVbChWixOnLbTigdFZq7Tk%3D&alf_ticket=TICKET_3623dcfca1af1e0b4ca0009b7ad7ee018b77760c
share_1                  |  org.apache.http.client.ClientProtocolException
share_1                  | 	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187)
share_1                  | 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
share_1                  | 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
share_1                  | 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
share_1                  | 	at org.springframework.extensions.webscripts.connector.RemoteClient.service(RemoteClient.java:1167)
share_1                  | 	at org.springframework.extensions.webscripts.connector.RemoteClient.call(RemoteClient.java:804)
share_1                  | 	at org.springframework.extensions.webscripts.connector.HttpConnector.call(HttpConnector.java:143)
share_1                  | 	at org.springframework.extensions.webscripts.connector.AuthenticatingConnector.call(AuthenticatingConnector.java:293)
share_1                  | 	at org.springframework.extensions.webscripts.servlet.mvc.EndPointProxyController.handleRequestInternal(EndPointProxyController.java:328)
share_1                  | 	at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:177)
share_1                  | 	at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:52)
share_1                  | 	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1039)
share_1                  | 	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
share_1                  | 	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)
share_1                  | 	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908)
share_1                  | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
share_1                  | 	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)
share_1                  | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1                  | 	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1                  | 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:728)
share_1                  | 	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:470)
share_1                  | 	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:395)
share_1                  | 	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:316)
share_1                  | 	at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213)
share_1                  | 	at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171)
share_1                  | 	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
share_1                  | 	at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
share_1                  | 	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1                  | 	at org.springframework.extensions.webscripts.servlet.SecurityHeadersFilter.doFilter(SecurityHeadersFilter.java:177)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1                  | 	at org.springframework.extensions.webscripts.servlet.CSRFFilter.doFilter(CSRFFilter.java:349)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1                  | 	at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:474)
share_1                  | 	at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:443)
share_1                  | 	at org.springframework.extensions.webscripts.servlet.BeanProxyFilter.doFilter(BeanProxyFilter.java:80)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1                  | 	at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:81)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1                  | 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
share_1                  | 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
share_1                  | 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
share_1                  | 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
share_1                  | 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
share_1                  | 	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)
share_1                  | 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
share_1                  | 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
share_1                  | 	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
share_1                  | 	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
share_1                  | 	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:808)
share_1                  | 	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
share_1                  | 	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
share_1                  | 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
share_1                  | 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
share_1                  | 	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
share_1                  | 	at java.base/java.lang.Thread.run(Thread.java:834)
share_1                  | Caused by: org.apache.http.client.NonRepeatableRequestException: Cannot retry request with a non-repeatable request entity
share_1                  | 	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:108)
share_1                  | 	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
share_1                  | 	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
share_1                  | 	... 64 more
share_1                  | Caused by: java.net.SocketException: Broken pipe (Write failed)
share_1                  | 	at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
share_1                  | 	at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:110)
share_1                  | 	at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150)
share_1                  | 	at org.apache.http.impl.io.SessionOutputBufferImpl.streamWrite(SessionOutputBufferImpl.java:124)
share_1                  | 	at org.apache.http.impl.io.SessionOutputBufferImpl.flushBuffer(SessionOutputBufferImpl.java:136)
share_1                  | 	at org.apache.http.impl.io.SessionOutputBufferImpl.write(SessionOutputBufferImpl.java:167)
share_1                  | 	at org.apache.http.impl.io.ContentLengthOutputStream.write(ContentLengthOutputStream.java:113)
share_1                  | 	at org.apache.http.entity.InputStreamEntity.writeTo(InputStreamEntity.java:144)
share_1                  | 	at org.apache.http.impl.execchain.RequestEntityProxy.writeTo(RequestEntityProxy.java:121)
share_1                  | 	at org.apache.http.impl.DefaultBHttpClientConnection.sendRequestEntity(DefaultBHttpClientConnection.java:156)
share_1                  | 	at org.apache.http.impl.conn.CPoolProxy.sendRequestEntity(CPoolProxy.java:152)
share_1                  | 	at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:238)
share_1                  | 	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
share_1                  | 	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
share_1                  | 	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
share_1                  | 	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
share_1                  | 	... 66 more
share_1                  | 2020-02-06 15:30:53,566  INFO  [webscripts.connector.RemoteClient] [http-nio-8080-exec-5] Error status 500 The stack details have been removed for security reasons.
share_1                  |  org.apache.http.client.ClientProtocolException
share_1                  | 	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187)
share_1                  | 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
share_1                  | 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
share_1                  | 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
share_1                  | 	at org.springframework.extensions.webscripts.connector.RemoteClient.service(RemoteClient.java:1167)
share_1                  | 	at org.springframework.extensions.webscripts.connector.RemoteClient.call(RemoteClient.java:804)
share_1                  | 	at org.springframework.extensions.webscripts.connector.HttpConnector.call(HttpConnector.java:143)
share_1                  | 	at org.springframework.extensions.webscripts.connector.AuthenticatingConnector.call(AuthenticatingConnector.java:293)
share_1                  | 	at org.springframework.extensions.webscripts.servlet.mvc.EndPointProxyController.handleRequestInternal(EndPointProxyController.java:328)
share_1                  | 	at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:177)
share_1                  | 	at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:52)
share_1                  | 	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1039)
share_1                  | 	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
share_1                  | 	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)
share_1                  | 	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908)
share_1                  | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
share_1                  | 	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)
share_1                  | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1                  | 	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1                  | 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:728)
share_1                  | 	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:470)
share_1                  | 	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:395)
share_1                  | 	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:316)
share_1                  | 	at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213)
share_1                  | 	at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171)
share_1                  | 	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
share_1                  | 	at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
share_1                  | 	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1                  | 	at org.springframework.extensions.webscripts.servlet.SecurityHeadersFilter.doFilter(SecurityHeadersFilter.java:177)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1                  | 	at org.springframework.extensions.webscripts.servlet.CSRFFilter.doFilter(CSRFFilter.java:349)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1                  | 	at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:474)
share_1                  | 	at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:443)
share_1                  | 	at org.springframework.extensions.webscripts.servlet.BeanProxyFilter.doFilter(BeanProxyFilter.java:80)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1                  | 	at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:81)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
share_1                  | 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
share_1                  | 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
share_1                  | 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
share_1                  | 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
share_1                  | 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
share_1                  | 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
share_1                  | 	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)
share_1                  | 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
share_1                  | 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
share_1                  | 	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
share_1                  | 	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
share_1                  | 	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:808)
share_1                  | 	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
share_1                  | 	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
share_1                  | 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
share_1                  | 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
share_1                  | 	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
share_1                  | 	at java.base/java.lang.Thread.run(Thread.java:834)
share_1                  | Caused by: org.apache.http.client.NonRepeatableRequestException: Cannot retry request with a non-repeatable request entity
share_1                  | 	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:108)
share_1                  | 	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
share_1                  | 	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
share_1                  | 	... 64 more
share_1                  | Caused by: java.net.SocketException: Broken pipe (Write failed)
share_1                  | 	at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
share_1                  | 	at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:110)
share_1                  | 	at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150)
share_1                  | 	at org.apache.http.impl.io.SessionOutputBufferImpl.streamWrite(SessionOutputBufferImpl.java:124)
share_1                  | 	at org.apache.http.impl.io.SessionOutputBufferImpl.flushBuffer(SessionOutputBufferImpl.java:136)
share_1                  | 	at org.apache.http.impl.io.SessionOutputBufferImpl.write(SessionOutputBufferImpl.java:167)
share_1                  | 	at org.apache.http.impl.io.ContentLengthOutputStream.write(ContentLengthOutputStream.java:113)
share_1                  | 	at org.apache.http.entity.InputStreamEntity.writeTo(InputStreamEntity.java:144)
share_1                  | 	at org.apache.http.impl.execchain.RequestEntityProxy.writeTo(RequestEntityProxy.java:121)
share_1                  | 	at org.apache.http.impl.DefaultBHttpClientConnection.sendRequestEntity(DefaultBHttpClientConnection.java:156)
share_1                  | 	at org.apache.http.impl.conn.CPoolProxy.sendRequestEntity(CPoolProxy.java:152)
share_1                  | 	at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:238)
share_1                  | 	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
share_1                  | 	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
share_1                  | 	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
share_1                  | 	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
share_1                  | 	... 66 more

POST request not working on 2019.11 GA

We have configuration based on alfresco 2019.01 with kerberos, docker compose. It is working quite nice. After upgrade to 2019.11 with SSO turn on POST requests are rejected by 500 status.

When you disable SSO, all type of requests are working. We finally did a didn't switch to newest version. To have kerberos SSO still working.

NGINX Conf:
`
worker_processes 1;

events {
	worker_connections  1024;
}

http {
	sendfile on;


	server {
		listen 443 ssl;

		client_max_body_size 0;
  

		set  $allowOriginSite *;
	   proxy_pass_request_headers on;
	   proxy_pass_header Set-Cookie;

		
		ssl_certificate     /etc/nginx/client.crt;
		ssl_certificate_key /etc/nginx/client.key;
		ssl_ciphers         EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH:!RC4:!MD5:!DES;
		ssl_protocols       TLSv1.1 TLSv1.2;
	
		proxy_set_header X-Forwarded-Host $host;
		proxy_set_header X-Forwarded-Server $host;
		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
		large_client_header_buffers  4 32k;

		# External settings, do not remove
		#ENV_ACCESS_LOG

		# proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
		# proxy_redirect off;
		# proxy_buffering off;
		proxy_set_header Host            $host:$server_port;
		proxy_set_header X-Real-IP       $remote_addr;
		proxy_redirect http:// https://;
		# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
		# proxy_pass_header Set-Cookie;
		#  large_client_header_buffers  4 32k;


		# Protect access to SOLR APIs
		location ~ ^(/.*/service/api/solr/.*)$ {return 403;}
		location ~ ^(/.*/s/api/solr/.*)$ {return 403;}
		location ~ ^(/.*/wcservice/api/solr/.*)$ {return 403;}
		location ~ ^(/.*/wcs/api/solr/.*)$ {return 403;}

		location ~ ^(/.*/proxy/alfresco/api/solr/.*)$ {return 403 ;}
		location ~ ^(/.*/-default-/proxy/alfresco/api/.*)$ {return 403;}

		# Alfresco Repository
		location /alfresco/ {
			proxy_pass http://alfresco:8080;


		}

		# SOLR Web Console (Master)
		location /solr/ {

			proxy_pass http://solr6:8983;

			# Basic authentication
			auth_basic "Solr web console";
			auth_basic_user_file /etc/nginx/conf.d/nginx.htpasswd;

		}

		# Alfresco Share Web App
		location /share/ {
			proxy_pass http://share:8080;


		}

		# Alfresco Content App
		location / {
			proxy_pass http://alfresco:8080;
		}

	}

}

`

Dependabot couldn't authenticate with https://artifacts.alfresco.com/nexus/content/groups/internal

Dependabot couldn't authenticate with https://artifacts.alfresco.com/nexus/content/groups/internal.

Dependabot tried to authenticate with the details you previously provided, but authentication failed. If they are no longer valid you will need to provide Dependabot with new credentials.

You can provide authentication details in your Dependabot dashboard by clicking into the account menu (in the top right) and selecting 'Config variables'.

View the update logs.

Dependabot couldn't authenticate with https://artifacts.alfresco.com/nexus/content/groups/internal

Dependabot couldn't authenticate with https://artifacts.alfresco.com/nexus/content/groups/internal.

Dependabot tried to authenticate with the details you previously provided, but authentication failed. If they are no longer valid you will need to provide Dependabot with new credentials.

You can provide authentication details in your Dependabot dashboard by clicking into the account menu (in the top right) and selecting 'Config variables'.

View the update logs.

CVE-2017-12624 Medium Severity Vulnerability detected by WhiteSource

CVE-2017-12624 - Medium Severity Vulnerability

Vulnerable Library - cxf-rt-frontend-jaxrs-3.0.16.jar

Apache CXF Runtime JAX-RS Frontend

Library home page: http://cxf.apache.org

Path to dependency file: /acs-community-packaging/distribution/pom.xml

Path to vulnerable library: /root/.m2/repository/org/apache/cxf/cxf-rt-frontend-jaxrs/3.0.16/cxf-rt-frontend-jaxrs-3.0.16.jar

Dependency Hierarchy:

  • alfresco-data-model-8.30.jar (Root Library)
    • tika-parsers-1.17-20180201-alfresco-patched.jar
      • cxf-rt-rs-client-3.0.16.jar
        • โŒ cxf-rt-frontend-jaxrs-3.0.16.jar (Vulnerable Library)

Found in HEAD commit: a3f29233c8d5f87986eed29d38d15b2e190313b9

Vulnerability Details

Apache CXF supports sending and receiving attachments via either the JAX-WS or JAX-RS specifications. It is possible to craft a message attachment header that could lead to a Denial of Service (DoS) attack on a CXF web service provider. Both JAX-WS and JAX-RS services are vulnerable to this attack. From Apache CXF 3.2.1 and 3.1.14, message attachment headers that are greater than 300 characters will be rejected by default. This value is configurable via the property "attachment-max-header-size".

Publish Date: 2017-11-14

URL: CVE-2017-12624

CVSS 3 Score Details (5.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12624

Release Date: 2017-11-14

Fix Resolution: 3.2.1, 3.1.14


Step up your Open Source Security Game with WhiteSource here

"Failure 403" while file uploading

Hello. I use docker-compose file from acs-community-packaging/docker-alfresco/test/docker-compose.yml, and I have error 403 when trying to upload file to share.
image
Can you help me with it?

Dockerfile - VOLUME is missing

Please add following entry to Dockerfile:
VOLUME /usr/local/tomcat/alf_data

Without VOLUME entry, files uploaded by users are getting removed whenever docker image instance is removed/recreated.

From docker documentation:

VOLUME
Dockerfile reference for the VOLUME instruction

The VOLUME instruction should be used to expose any database storage area, configuration storage, or files/folders created by your docker container. You are strongly encouraged to use VOLUME for any mutable and/or user-serviceable parts of your image.

Alfresco backup docs: https://docs.alfresco.com/6.1/concepts/backup-intro.html

Can't list users in admin tools

Hi all,
when I go to Administrative tools -> Users, Alfresco tries to retrieve users using enterprise endpoint:
imatge
Versions:
Alfresco Share v6.2.0-RC4
Alfresco Community v6.2.0-ea

error in catalina.sh

Hello,

I'm trying to deploy alfresco community but I'm getting an error in alfresco-community service:

alfresco_1 | bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
alfresco_1 | /usr/local/tomcat/bin/catalina.sh: line 411: 72d: command not found

I have tryed with different versions in 7.4 branch until the newest 7.4.0-A3.

My composer file contain

alfresco:
image: alfresco/alfresco-content-repository-community:7.4.0-A3
mem_limit: 1900m
environment:
JAVA_TOOL_OPTIONS: "
-Dencryption.keystore.type=JCEKS
-Dencryption.cipherAlgorithm=DESede/CBC/PKCS5Padding
-Dencryption.keyAlgorithm=DESede
-Dencryption.keystore.location=/usr/local/tomcat/shared/classes/alfresco/extension/keystore/keystore
-Dmetadata-keystore.password=*****
-Dmetadata-keystore.aliases=metadata
-Dmetadata-keystore.metadata.password=*****
-Dmetadata-keystore.metadata.algorithm=DESede
"
JAVA_OPTS: "
-Ddb.driver=org.postgresql.Driver
-Ddb.username=alfresco
-Ddb.password=**********
-Ddb.url=jdbc:postgresql://postgres:5432/alfresco
-Dsolr.host=solr6
-Dsolr.port=8983
-Dsolr.http.connection.timeout=1000
-Dsolr.secureComms=secret
-Dsolr.sharedSecret=secret
-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/
-Dcsrf.filter.enabled=false
-XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80
"

volumes:
  - alf-data:/usr/local/alfresco/alf_data

Thank you.

One of the configured repositories failed (Unknown)

Hi,
I have tried to build the Dockerfile, but I failed because yum didn't have enough cached data to continue.
I have modified Dockerfile with my proxy configuration:

RUN echo "proxy=http://xx.xx.XX.xx:3128" >> /etc/yum.conf &&
echo "proxy_username=luzzia" >> /etc/yum.conf &&
echo "proxy_password=xxxxx" >> /etc/yum.conf
RUN export http_proxy=http://xxx:[email protected]:3128

This is the stacktracke of exception:

One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:

 1. Contact the upstream for the repository and get them to fix the problem.

 2. Reconfigure the baseurl/etc. for the repository, to point to a working
    upstream. This is most often useful if you are using a newer
    distribution release than is supported by the repository (and the
    packages for the previous distribution release still work).

 3. Run the command with the repository temporarily disabled
        yum --disablerepo=<repoid> ...

 4. Disable the repository permanently, so yum won't use it by default. Yum
    will then just ignore the repository until you permanently enable it
    again or use --enablerepo for temporary usage:

        yum-config-manager --disable <repoid>
    or
        subscription-manager repos --disable=<repoid>

 5. Configure the failing repository to be skipped, if it is unavailable.
    Note that yum will try to contact the repo. when it runs most commands,
    so will have to try and fail each time (and thus. yum will be be much
    slower). If it is a very temporary problem though, this is often a nice
    compromise:

        yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: base/7/x86_64

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.