Daily Log for #alfresco IRC Channel

Alfresco discussion and collaboration. Stick around a few hours after asking a question.

Official support for Enterprise subscribers: support.alfresco.com.

Joining the Channel:

Join in the conversation by getting an IRC client and connecting to #alfresco at Freenode. Our you can use the IRC web chat.

More information about the channel is in the wiki.

Getting Help

More help is available in this list of resources.

Daily Log for #alfresco

2017-05-17 05:39:58 GMT *** ChanServ sets mode: +o fcorti

2017-05-17 05:41:26 GMT *** fcorti changes topic to "Alfresco discussion and collaboration. Stick around a few hours after asking a question. Logs: http://chat.alfresco.com Channel help: https://community.alfresco.com/ Official support for Enterprise subscribers: http://support.alfresco.com. Next event is Office Hours about the future of Activiti: https://www.youtube.com/watch?v=Uq01h9FvqSc"

2017-05-17 05:49:34 GMT <lufana> Hi, I am trying to create a site in alfresco through rest client by passing request post http://localhost:8080/alfresco/service/api/sites and body {"sitePreset":"custom-defined preset","title":"Japan4","shortName":"Japan4","description":"Japan Citizen upload Documents","visibility":"PUBLIC"} the site is getting created but with no dashboard

2017-05-17 05:49:39 GMT <lufana> Please help

2017-05-17 05:53:04 GMT <Sumit> Hi All, Can you plz help me to attach a node while sending email using "Send Email" rule?

2017-05-17 05:53:41 GMT <Sumit> in place of the share url of the node

2017-05-17 06:26:16 GMT <Suzy> Hi all

2017-05-17 06:26:30 GMT *** Suzy is now known as Guest58491

2017-05-17 06:28:10 GMT <bhuvana_> Hi all

2017-05-17 06:33:37 GMT <bhuvana_> i need small sugessition for db size in alfresco

2017-05-17 06:34:41 GMT <bhuvana_> i found this formula Dbsize = ((D*DA) + (F*FA))*5.5k

2017-05-17 06:35:05 GMT <bhuvana_> D = Number of Documents + Avg number of versions DA = Average number of metadata fields per document F = Number of folders FA = Average number of metdata fields per folder

2017-05-17 06:35:26 GMT <bhagyas> bhuvana_: What is your intention?

2017-05-17 06:35:43 GMT <bhuvana_> we calculate for 10 million documents with 1 version and 12 metadata fields it is coming to around 400 GB

2017-05-17 06:36:03 GMT <bhuvana_> hi bhagyas

2017-05-17 06:36:27 GMT <bhuvana_> whether it is correct formula for my UAT server

2017-05-17 06:36:38 GMT <bhuvana_> configuration

2017-05-17 06:36:48 GMT <bhagyas> With DB, you can't really tell, but the approach seems to be agreeable

2017-05-17 06:37:08 GMT <bhagyas> Just get a 2TB server and you should be fine :p

2017-05-17 06:37:29 GMT <bhagyas> (excluding storage

2017-05-17 06:37:30 GMT <bhagyas> )

2017-05-17 06:37:57 GMT <bhuvana_> @bhagyas:thank you

2017-05-17 06:50:25 GMT <yreg> Good morning everyone !

2017-05-17 06:50:44 GMT <yreg> bhuvana_, What alfresco version are you on, and do you have auditing enabled ?

2017-05-17 06:54:03 GMT <bhuvana_> @yreg:5.2c

2017-05-17 06:54:41 GMT <bhuvana_> alfresco community and audit enable is not there

2017-05-17 06:56:34 GMT <yreg> I wouldn't recommend using 5.2.c, I do not consider it mature enough for prod, I would go for a later release

2017-05-17 06:57:32 GMT <bhuvana_> sorry 5.2d

2017-05-17 06:57:42 GMT <bhuvana_> we are using for production

2017-05-17 06:58:08 GMT <bhagyas> yreg: 5.2 is better than 5.1

2017-05-17 06:58:08 GMT <bhagyas> ;)

2017-05-17 06:59:43 GMT <Sumit> Hi All, Can you plz help me to attach the created node while sending email using "Send Email" rule?in place of the share url of the node

2017-05-17 07:04:20 GMT <yreg> bhagyas, indeed, but not 5.2.c, starting from 5.2.d it becomes more stable and more uniform

2017-05-17 07:04:43 GMT <yreg> although 5.2.c is considered GA, the Public REST API changed after that

2017-05-17 07:05:16 GMT <yreg> and going through release notes, you can see there was few issues that addressed after 5.2.c

2017-05-17 07:05:41 GMT <yreg> bhuvana_, I would also check which tables are taking most of the space, if it is alf_node* then it would be OK

2017-05-17 07:06:25 GMT <yreg> if it is alf_prop* then you definitely have auditing enabled, or some extension using attribute service in a wierd way

2017-05-17 07:06:45 GMT <bhuvana_> @yreg:ok,thank you

2017-05-17 07:07:15 GMT <yreg> if it is transaction tables, then you might be experiencing some bug related to some upgrade path

2017-05-17 07:18:36 GMT <twen> hello

2017-05-17 07:18:54 GMT <bhagyas> hello twen

2017-05-17 07:19:50 GMT <twen> hey bhagyas :)

2017-05-17 07:23:36 GMT <bhagyas> how have you been :)

2017-05-17 07:30:48 GMT <DarkStar1> Hey guys

2017-05-17 07:39:27 GMT <bmejias> hi DarkStar1

2017-05-17 07:56:53 GMT <DarkStar1> bmejias: Happy belated birthday by the way. I hope you got nice presents :)

2017-05-17 07:57:16 GMT <bmejias> thanks DarkStar1... my parents are here in Belgium

2017-05-17 07:57:33 GMT <bmejias> they arrived the day before my Birthday, so that was a big present :)

2017-05-17 07:58:24 GMT <DarkStar1> bmejias: Nice!! were you expecting them?

2017-05-17 07:58:42 GMT <bmejias> yes, but it was something decided only like a month ago

2017-05-17 10:03:45 GMT <fwu> hi all

2017-05-17 11:25:24 GMT <fwu> AFaust, regarding the change I told you yesterday to an Alfresco core file. How can I easily compile it without the need to create the Alfresco dev environment?

2017-05-17 11:28:07 GMT <fwu> I tried my luck using the 5.2 version but without luck...

2017-05-17 11:28:29 GMT <mick_> Hello ,

2017-05-17 11:28:56 GMT <mick_> It's possible to use alfresco community more 1000 users ?

2017-05-17 11:29:23 GMT <MarkTielemans> I don't think community has a user limit

2017-05-17 11:31:24 GMT <mrks_js> fwu: you dont need dev env / sdk - you just checkout the source from svn and build the jar

2017-05-17 11:31:47 GMT <mick_> MarkTielemans: ok thank

2017-05-17 11:31:56 GMT <MarkTielemans> np

2017-05-17 11:33:55 GMT <fwu> mrks_js: I was just thinking about compliling a single java file

2017-05-17 11:34:14 GMT <fwu> actually, the 5.2 version should work looking into the code source...

2017-05-17 11:34:17 GMT <fwu> but I get this:

2017-05-17 11:34:31 GMT <fwu> Caused by: java.lang.UnsupportedClassVersionError: org/alfresco/repo/web/scripts/workflow/WorkflowInstancesGet : Unsupported major.minor version 52.0 (unable to load class org.alfresco.repo.web.scripts.workflow.WorkflowInstancesGet)

2017-05-17 11:34:49 GMT <mrks_js> means your jdk/jre is wrong

2017-05-17 11:34:50 GMT <fwu> how it knows the version if I only replaced the class?

2017-05-17 11:35:12 GMT <mrks_js> do java -version

2017-05-17 11:36:29 GMT <fwu> well, then the 5.2 version is using some from a later jdk, makes sense

2017-05-17 11:36:44 GMT <mrks_js> you need java 8 to cimpile

2017-05-17 11:36:47 GMT <mrks_js> *compile

2017-05-17 11:36:51 GMT <fwu> mrks_js: im running 4.2.f and im trying to use a 5.2 class :)

2017-05-17 11:37:08 GMT <mrks_js> yes, that wont' work

2017-05-17 11:37:55 GMT <mrks_js> the modules/libraries must match

2017-05-17 11:39:00 GMT <fwu> I tried my luck... the code seems harmless, but it may using something from a later sdk

2017-05-17 11:39:32 GMT <fwu> but then I have a problem bigger than the one I thought I have at first palce

2017-05-17 11:40:00 GMT <fwu> here: https://issues.alfresco.com/jira/browse/ACE-4493

2017-05-17 11:40:23 GMT <fwu> it says I need to use antoher method: getAllDefinitionsByName

2017-05-17 11:40:42 GMT <fwu> however, looking at the source code, it seems I cant just replace the method

2017-05-17 11:41:56 GMT <fwu> I dont want to have the need to work directly with the core Alfresco source code...

2017-05-17 11:42:01 GMT <mrks_js> did you replace the whole class?

2017-05-17 11:43:38 GMT <fwu> yes

2017-05-17 11:43:42 GMT <fwu> just to try

2017-05-17 11:43:47 GMT <fwu> inside the jar

2017-05-17 11:44:03 GMT <fwu> I guess it is something related with the compiler

2017-05-17 11:44:06 GMT <mrks_js> yes but the class is compiled with another jdk version, so that won't work

2017-05-17 11:44:10 GMT <fwu> something the compiler put there

2017-05-17 11:44:18 GMT <fwu> yes..

2017-05-17 11:44:27 GMT <fwu> because the code should work fine

2017-05-17 11:44:38 GMT <mrks_js> i wouldn't replace the whole class

2017-05-17 11:44:45 GMT <fwu> there is nothing that the old sdk version shouldnt support

2017-05-17 11:44:53 GMT <mrks_js> changing the line mentioned by mark rogers should do the trick

2017-05-17 11:45:07 GMT <mrks_js> this is not about the sdk

2017-05-17 11:45:09 GMT <fwu> but the variable is not even an array

2017-05-17 11:45:18 GMT <fwu> also there is no for cycle after

2017-05-17 11:45:40 GMT <fwu> nevetheless, I would need to compile it

2017-05-17 11:45:45 GMT <mrks_js> yes

2017-05-17 11:45:48 GMT <fwu> my problem is to compile it

2017-05-17 11:45:56 GMT <mrks_js> why?

2017-05-17 11:46:04 GMT <fwu> because I need to get all the source code

2017-05-17 11:46:41 GMT <mrks_js> https://community.alfresco.com/docs/DOC-4874-source-code

2017-05-17 11:46:43 GMT <alfbot> Title: Source Code | Alfresco Community (at community.alfresco.com)

2017-05-17 11:46:46 GMT <fwu> or, a way to point javac to the references that are made in this class

2017-05-17 11:47:10 GMT <mrks_js> you can build each library individually

2017-05-17 11:48:05 GMT <mrks_js> -> https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/COMMUNITYTAGS/V4.2f/

2017-05-17 11:48:07 GMT <alfbot> Title: alfresco-open-mirror - Revision 136776: /alfresco/COMMUNITYTAGS/V4.2f (at svn.alfresco.com)

2017-05-17 11:49:30 GMT <fwu> I need a way to tell javac where to find the referenced packages

2017-05-17 11:49:43 GMT <fwu> this should be the lib folder...

2017-05-17 11:49:48 GMT <fwu> I dont have sure

2017-05-17 12:02:40 GMT <fwu> mrks_js, I tried to set the class path to the lib folder, but still I get errors saying some packages are not found...

2017-05-17 12:24:51 GMT <Joyson> Hi Guys,

2017-05-17 12:25:24 GMT <Joyson> Is there any way I can disable version update when user tries to update mimetype

2017-05-17 12:26:11 GMT <Joyson> the property cm:autoVersionOnUpdateProps = false works only for normal properties not for mimetype

2017-05-17 12:27:54 GMT <___Dave> yreg: that SSO bug you mentioned yesterday... I think that you can workaround this issue by creating an extension module to update the AMD package configuration used by Aikau

2017-05-17 12:28:46 GMT <___Dave> the "webscripts" package needs to be changed from:

2017-05-17 12:28:49 GMT <___Dave> { name: "webscripts", location: "../service/1_0_101_5"}, (or similar)

2017-05-17 12:28:52 GMT <___Dave> to

2017-05-17 12:28:57 GMT <___Dave> { name: "webscripts", location: "../noauth/1_0_101_5"},

2017-05-17 12:29:26 GMT <___Dave> obviously it is dependant on the version of Aikau that you're using (the path is version specific to match the version of Aikau you're using)

2017-05-17 12:29:37 GMT <___Dave> but it would mean that you wouldn't need to wait for the fix to be released

2017-05-17 12:30:51 GMT <yreg> ___Dave, thanks for the suggestion, will make sure to test it out some time soon !

2017-05-17 14:11:50 GMT <alfbot> digcat: Sent 1 day, 1 hour, and 39 minutes ago: <resplin> Sorry for my slow response. I took a break from IRC while I was on the road. It looks like the team has been discussing RM-5113, but haven't decided how to handle it.

2017-05-17 14:37:10 GMT <yreg> ~later tell twen, just verified email setup on mattermost, it seems that it goes straight to spam folder

2017-05-17 14:37:10 GMT <alfbot> yreg: The operation succeeded.

2017-05-17 14:37:26 GMT <yreg> but the email gets sent

2017-05-17 15:04:18 GMT <fwu> back

2017-05-17 15:10:41 GMT <fwu> ppl, im getting the following error while doing this:

2017-05-17 15:10:59 GMT <fwu> java -jar alfresco-mmt.jar install c:\alfresco2\amps c:\alfresco2\tomcat\webapps\alfresco.war -verbose -directory -force

2017-05-17 15:11:03 GMT <fwu> error:

2017-05-17 15:11:15 GMT <fwu> repo/module/tool/ModuleManagementTool : Unsupported major.minor version 51.0

2017-05-17 15:11:34 GMT <fwu> this must be related with the java version I have, but I dont know how this started to happen

2017-05-17 15:11:49 GMT <fwu> what is the correct version for alfresco 4.2.f?

2017-05-17 15:12:35 GMT <fwu> I tried with jdk1.6.0_45; jdk1.7.0_80

2017-05-17 15:14:33 GMT <yreg> fwu, you are trying to execute bytecode generated by jdk 8 on a java 7 jvm

2017-05-17 15:14:47 GMT <yreg> either use older mmt

2017-05-17 15:14:57 GMT <yreg> or switch to java 8

2017-05-17 15:17:14 GMT <fwu> ok, let me try

2017-05-17 15:17:19 GMT <fwu> thank you yreg!

2017-05-17 15:30:06 GMT <fwu> back

2017-05-17 15:30:12 GMT <fwu> now im getting this:

2017-05-17 15:30:17 GMT <fwu> 04170000 An IO error was encountered during deployment of the AMP into the WAR

2017-05-17 15:30:18 GMT <fwu> argh

2017-05-17 15:30:34 GMT <fwu> I will not restart my laptop never more... :)

2017-05-17 15:30:53 GMT <fwu> it doesnt work with the apply_amps batch

2017-05-17 15:31:36 GMT <fwu> and if I run directly using alfresco-mmt.jar I get the error above

2017-05-17 16:46:02 GMT <hi-ko> fwu: you should recover your war file before trying again. by default a war.bak will be created with every apply-amps attempt

2017-05-17 19:11:29 GMT <Fiifi> AFaust: what encrytion Algorithm is used encrypt content store files ?

2017-05-17 19:13:42 GMT <AFaust> By default there is no encryption in Alfresco. Do you mean the Enterprise feature for encrypted content stores?

2017-05-17 19:15:24 GMT <Fiifi> AFaust: Yes!

2017-05-17 19:18:54 GMT <Fiifi> AFaust: I have read it uses RSA for Key exchange but clueless as to what is used for file encryption itself!

2017-05-17 19:20:56 GMT <Fiifi> AFaust: I always thought the .bin files in the contenstore were encrypted versions of their corresponding files.

2017-05-17 19:53:26 GMT <AFaust> The Enterprise Edition feature for file encryption uses a combination of RSA and AES.

2017-05-17 19:54:30 GMT <AFaust> The content files are encrypted using AES for performance reasons. To ensure performance, each content file uses a unique key which is encrypted and stored using RSA.

End of Daily Log

The other logs are at http://esplins.org/hash_alfresco