10-13-2016 09:04 AM
Hi,
is it possible for alfresco to keep only the n most recent versions of a document and delete the older ones? I don't seem to see the option to do so on the alfresco web GUI.
10-13-2016 11:23 AM
When you try to install the module with "apply-amps", it says:
09130001 An error was encountered during deployment of the AMP into the WAR: 09130000 The module (Alfresco MaxVersion Policy) cannot be installed on a war version greater than 5.0.999. This war is version: 5.1.0.
You can modify following property at "alfresco-maxversion-policy/src/main/amp/module.properties" from project source code.
module.repo.version.max=5.1.999
Then you have to rebuild the AMP, and re-deploy the artifact.
BTW, I have deployed in 5.1.g and it works as expected.
10-14-2016 08:17 AM
I've updated the AMP to include 0.9.0 release information.
Please, download again https://github.com/angelborroy-ks/alfresco-maxversion-policy/releases/download/0.0.9/max-version-pol...
And apply the AMP to your installation.
10-14-2016 08:36 AM
I reinstalled alfresco and now it doesn't give 404 anymore but the max version doesn't stop at 10 with your vesion either for me
10-14-2016 08:41 AM
You are not deploying properly the AMP.
No errors from "apply-amps" command or included in "catalina.out"? Can you use "java -jar alfresco-mmt.jar list" to see if the module is installed?
10-14-2016 08:48 AM
using list on tomcat/webapps/alfresco and tomcat/webapps/share tells me that no modules are installed in the WAR, where can i find the catalina.out? The apply-amps says the amps are getting installed
10-14-2016 08:49 AM
If you are using linux: /opt/alfresco/tomcat/logs
If you are using Windows: C:/alfresco-community (and search for alfresco.log instead catalina.out)
10-14-2016 08:51 AM
i have 2 logs in tomcat called alfrescotomcat-stderr and alfrescotomcat-stdout with today's date. both are clean (windows server 2012 r2), can't find any other log
10-14-2016 09:01 AM
trying to install the amp manually installs it into alfresco.war (but the list still says no modules installed) but when i try to install it into share.war it tells me that the war version is 5.2 while it needs to be 5.1.999 max (i guess this is your fix, no idea why share.war is 5.2)
10-14-2016 09:27 AM
The artifact is only for alfresco.war
Copy the AMP to amps folder and use apoly-amps tool
10-14-2016 09:31 AM
i did, i tried installing with the tool with the amp inside the amps folder, manuall with the amp inside the folder and manually with the amp on th desktop. Nothing's different and the amp doesn't work in any of those 3 ways
10-14-2016 10:43 AM
Have you installed previously any other AMP?
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.