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-09-25 08:06:33 GMT <DarkStar1> Morning everyone

2017-09-25 08:38:17 GMT <yreg> Morning

2017-09-25 10:14:08 GMT *** angelborroy_ is now known as angelborroy

2017-09-25 12:46:07 GMT <mtsiak> I have noticed that when uploading a new version in a document, the NodeServicePolicies.OnCreateNodePolicy is called.

2017-09-25 12:47:10 GMT <syed_> Hi, I am using alfresco 5.2d and uploading file from the custom UI. It is working fine untill the file size is small but when I am trying to upload large file it is restricting. Where to increase the upload file limit

2017-09-25 12:47:26 GMT <mtsiak> Is there any way to know what behaviours could be called?

2017-09-25 12:48:31 GMT <yreg> mtsiak, well... soon there will be a way, a colleague of mine worked on that during the hackathon

2017-09-25 12:48:36 GMT <yreg> as part of care4alf

2017-09-25 12:48:55 GMT <yreg> but I am not sure how far he did go on that one !

2017-09-25 12:49:49 GMT <angelborroy> syed_ http://docs.alfresco.com/community/concepts/dev-extensions-share-module-dynamic-configuration.html

2017-09-25 12:49:50 GMT <alfbot> Title: Module dynamic configuration | Alfresco Documentation (at docs.alfresco.com)

2017-09-25 12:50:03 GMT <angelborroy> syed_ http://docs.alfresco.com/community/concepts/cs-manage.html

2017-09-25 12:50:04 GMT <alfbot> Title: Managing content stores | Alfresco Documentation (at docs.alfresco.com)

2017-09-25 12:50:32 GMT <angelborroy> syed_ by default, you should be able to upload any size of files

2017-09-25 12:51:27 GMT <yreg> @angelborroy, I am not sure, I do not think content would be streamed to filestore, so your heap needs to be able to manage the file size ;-)

2017-09-25 12:52:00 GMT <angelborroy> yreg content is streamed to the content store, for sure

2017-09-25 12:52:11 GMT <mtsiak> yreg, ok thanks.

2017-09-25 12:52:28 GMT <angelborroy> yreg I’ve uploaded 60 GB files to Alfresco

2017-09-25 12:52:52 GMT <angelborroy> mtsiak every version has a node itself

2017-09-25 12:53:08 GMT <angelborroy> mtsiak this is why a new node is created when you version a node

2017-09-25 12:53:31 GMT <yreg> angelborroy, interesting

2017-09-25 12:55:36 GMT <mtsiak> angelborroy, every document is a node. is that true?

2017-09-25 12:55:53 GMT <angelborroy> mtsiak is (at least) a node, yes

2017-09-25 12:56:09 GMT <yreg> mtsiak, true, different versions of the same document are all different nodes

2017-09-25 12:56:15 GMT <syed_> I have tried uploading it directly through Alfresco's UI and it works just fine. I have checked the Module dynamic configuration topic and the max size limit is set to '0'

2017-09-25 12:57:13 GMT <yreg> I think when you upload a new version, the old node is transferred to the version store, then a new document is created linking to that version from the old store

2017-09-25 12:57:52 GMT <angelborroy> yreg and a new node is created in versionStore to link the current version

2017-09-25 13:00:26 GMT <mtsiak> angelborroy, yreg so one document node A has a list of version documents V1 V2 ,.. nodes (the actual documents)

2017-09-25 13:00:45 GMT <angelborroy> yep

2017-09-25 13:01:03 GMT <angelborroy> and also children nodes for thumbnail and other for PDF render

2017-09-25 13:01:36 GMT <mtsiak> and the NodeServicePolicies.OnCreateNodePolicy ContentModel.TYPE_CONTENT is called only for A ?

2017-09-25 13:03:07 GMT <mtsiak> cause i think that it is called when V1 V2 are created as well.

2017-09-25 13:25:08 GMT <angelborroy> mtsiak look at stores overview figure http://docs.alfresco.com/community/concepts/dev-repository-concepts.html

2017-09-25 13:25:09 GMT <alfbot> Title: Repository concepts | Alfresco Documentation (at docs.alfresco.com)

2017-09-25 13:25:26 GMT <angelborroy> For a node in Version 2.0 you have 3 different nodes

2017-09-25 13:25:34 GMT <angelborroy> 1 in Working Store

2017-09-25 13:25:37 GMT <angelborroy> 2 in Version Store

2017-09-25 13:25:56 GMT <angelborroy> Both Working Store and 2.0 Version Store are sharing the same content

2017-09-25 13:54:11 GMT <douglascrp> morning guys

2017-09-25 13:54:20 GMT <douglascrp> qq question on fts search

2017-09-25 13:54:44 GMT <douglascrp> has anyone had experience using the -ASPECT:"ns:aspect" syntax

2017-09-25 13:54:45 GMT <douglascrp> ?

2017-09-25 13:55:03 GMT <douglascrp> I am trying to use it, but the performance is really bad

2017-09-25 13:55:06 GMT <yreg> douglascrp, hey dude

2017-09-25 13:55:15 GMT <yreg> I have used it before

2017-09-25 13:55:18 GMT <douglascrp> do you know about any index I could be creating to help improve this?

2017-09-25 13:55:33 GMT <yreg> you mean TMQ ?

2017-09-25 13:55:38 GMT <douglascrp> my repo has 1,3 million documents, and I need to apply a new custom aspect in all the existing nodes

2017-09-25 13:55:57 GMT <douglascrp> yreg, it seems it is using the database, as I can see the long running query there

2017-09-25 13:56:22 GMT <douglascrp> it takes many minutes to finish, and the cpu use is 100% all the time

2017-09-25 13:56:25 GMT <yreg> do you want it to go through solr instead ?

2017-09-25 13:56:50 GMT <douglascrp> yreg, or maybe try to make the db better by creating an index or so

2017-09-25 13:57:10 GMT <yreg> douglascrp, DB is already equipped with the needed indice, you might want to do some DB maintainance to optimize

2017-09-25 13:57:21 GMT <angelborroy> douglascrp IMO you should move to SOLR

2017-09-25 13:57:33 GMT <yreg> angelborroy, +1

2017-09-25 13:58:06 GMT <douglascrp> the db is already optimized, as I executed vacuum and reindex on it

2017-09-25 13:58:36 GMT <douglascrp> do you remember what parameter I should be adding to the fts search to force it to go through solr using javascript?

2017-09-25 13:58:43 GMT <angelborroy> douglascrp probably you are trying a FULL at ALF_NODE_PROPERTIES

2017-09-25 13:58:47 GMT <yreg> douglascrp, You are unlikely to get better DB performance then, switch to solr

2017-09-25 13:59:19 GMT <yreg> douglascrp, any thing that is not supported by FTS should do

2017-09-25 13:59:27 GMT <yreg> cm:name:* for instance

2017-09-25 13:59:36 GMT <douglascrp> yreg, ah, good

2017-09-25 13:59:41 GMT <douglascrp> let me try

2017-09-25 14:00:58 GMT <yreg> s/FTS/TMQ/

2017-09-25 14:03:03 GMT <douglascrp> waaaaaaay faster now

2017-09-25 14:03:44 GMT <douglascrp> now I can even use the Run like crazy parameter from js-console

2017-09-25 14:03:47 GMT <douglascrp> tks guys

2017-09-25 14:04:06 GMT <yreg> nooo

2017-09-25 14:04:13 GMT <douglascrp> :D

2017-09-25 14:04:15 GMT <yreg> douglascrp, no, do not do it

2017-09-25 14:04:20 GMT <douglascrp> with a small result set

2017-09-25 14:04:26 GMT <yreg> no

2017-09-25 14:04:30 GMT <douglascrp> and using at least the 10 seconds parameter

2017-09-25 14:04:33 GMT <douglascrp> why not?

2017-09-25 14:04:37 GMT <yreg> because solr does not get updated in time

2017-09-25 14:04:41 GMT <douglascrp> yes, I know

2017-09-25 14:04:48 GMT <douglascrp> I am not using it without considering that

2017-09-25 14:04:51 GMT <yreg> and you would be doing the same update again and again on the same set

2017-09-25 14:04:59 GMT <douglascrp> once I apply the aspect, it is going to be returned again

2017-09-25 14:05:26 GMT <douglascrp> until solr reindex it

2017-09-25 14:05:49 GMT <yreg> That's a very bad approach IMHO

2017-09-25 14:05:58 GMT <yreg> do you have care4alf ?

2017-09-25 14:05:58 GMT <douglascrp> yes, I know

2017-09-25 14:06:03 GMT <douglascrp> no, I don't

2017-09-25 14:06:06 GMT <yreg> you can use the bulk worker ther

2017-09-25 14:06:08 GMT <douglascrp> I know the project, but I never tried it

2017-09-25 14:06:16 GMT <douglascrp> let me check

2017-09-25 14:06:18 GMT <yreg> to execute a JS script

2017-09-25 14:06:29 GMT <yreg> on a resultset of a solr search

2017-09-25 14:06:42 GMT <yreg> then you are sure the code is run only once per node

2017-09-25 14:06:58 GMT <douglascrp> yes, that is a good idea

2017-09-25 14:07:03 GMT <yreg> and you are sure you are only handling N nodes per transaction

2017-09-25 14:07:35 GMT <yreg> you would be even sure that you are not lagging behind a lot with solr

2017-09-25 14:08:09 GMT <douglascrp> yreg, please, give me the link for the project

2017-09-25 14:08:24 GMT <douglascrp> I can only find the maven repositories using google

2017-09-25 14:09:18 GMT <douglascrp> ok, I found it

2017-09-25 14:12:30 GMT <yreg> douglascrp, you should be using latest version

2017-09-25 14:12:55 GMT <yreg> from code, the version on maven central is a bit outdated in regards to bulk processor

2017-09-25 14:13:07 GMT <yreg> (a bug that got solved a month or so ago)

2017-09-25 14:13:27 GMT <yreg> remember that you should be using dynamic extensions as well

2017-09-25 14:13:36 GMT <douglascrp> yes, but I was not able to find the project

2017-09-25 14:13:40 GMT <yreg> 1.4.2+ should be fine

2017-09-25 14:13:54 GMT <yreg> I use 1.6.0 most of the time

2017-09-25 14:14:08 GMT <yreg> 1.5.x might have some broken parts

2017-09-25 14:14:13 GMT <douglascrp> so I would have to test it before, as this is a project already in production

2017-09-25 14:14:18 GMT <douglascrp> I will take a look at it

2017-09-25 14:14:22 GMT <douglascrp> tks for the tip

2017-09-25 14:14:29 GMT <yreg> 1.6.0 DE is safe to use

2017-09-25 14:14:38 GMT <yreg> 1.4.2 as well

2017-09-25 14:16:07 GMT <yreg> 1.6.1 is also safe to use on your repo, but you should not depend on it while developing DE bundles, as it would force add broken dependencies

2017-09-25 14:16:23 GMT <yreg> (wrong group id)

2017-09-25 14:17:23 GMT <yreg> latest care4alf on maven central has a small bug related yo search provider for the bulk : Last itm of a page is also queried for next page and then processed twice

2017-09-25 14:17:46 GMT <yreg> I should publish a new version of care4alf by end of this week

2017-09-25 14:17:57 GMT <yreg> (should have done that during the hackathon actually)

2017-09-25 14:18:51 GMT <douglascrp> I am going to watch the beecon presentation right now

2017-09-25 14:22:34 GMT <yreg> douglascrp, sent you detailed instructions with latest binaries by email

2017-09-25 14:24:20 GMT <douglascrp> yreg, yeah, I've just saw it here

2017-09-25 14:24:23 GMT <douglascrp> thank you

2017-09-25 14:30:44 GMT <yreg> urw

2017-09-25 14:37:26 GMT <douglascrp> urw? :D

2017-09-25 14:37:37 GMT <douglascrp> I didn't know care4alf had an UI

2017-09-25 14:41:01 GMT <yreg> u= you, r= are, w=welcome

2017-09-25 14:41:17 GMT <douglascrp> ahhh... as simple as that :D

2017-09-25 15:12:00 GMT *** angelborroy_ is now known as angelborroy

2017-09-25 15:13:36 GMT <douglascrp> yreg, I am installing it right now on the dev server

2017-09-25 15:13:39 GMT <douglascrp> let's see how it goes

2017-09-25 15:13:45 GMT <douglascrp> the presentation is interesting

2017-09-25 15:14:14 GMT <yreg> Except for the soundless song part :P

2017-09-25 15:14:29 GMT <yreg> but it is indeed an interesting toolinteresting

2017-09-25 15:14:31 GMT <douglascrp> that was at least funny :D

2017-09-25 15:14:49 GMT <douglascrp> bindu made an statement about the overlaping with the ootb support tools

2017-09-25 15:14:59 GMT <douglascrp> that seems to be true

2017-09-25 15:16:04 GMT <yreg> TBH: 20-30 % tops might overlap

2017-09-25 15:16:27 GMT <douglascrp> yes, but I guess it will be no conflicts

2017-09-25 15:16:33 GMT <yreg> but it has a lot of features missing from OOTB ST, and the same goes on the other side

2017-09-25 15:16:43 GMT <yreg> maybe 20-30% is an over statment

2017-09-25 15:16:43 GMT <douglascrp> yes

2017-09-25 15:16:49 GMT <yreg> probably more like 10-20%

2017-09-25 15:23:47 GMT <qwebirc73165> Hi

2017-09-25 15:24:48 GMT <qwebirc73165> I am thinking to start using share connector to access an external Alfresco Process Services

2017-09-25 15:25:32 GMT <resplin> qwebirc73165: That's good to here.

2017-09-25 15:27:26 GMT <resplin> I mean good to hear.

2017-09-25 15:27:35 GMT <resplin> It's nice to hear about people using that product.

2017-09-25 15:31:14 GMT <qwebirc73165> sorry, I have been interrupted

2017-09-25 15:31:28 GMT <qwebirc73165> I am wondering if

2017-09-25 15:31:50 GMT <qwebirc73165> actually I am wondering how I can access the old

2017-09-25 15:31:54 GMT <qwebirc73165> workflow definition

2017-09-25 15:31:59 GMT <qwebirc73165> definitions

2017-09-25 15:32:21 GMT <qwebirc73165> because the share connector starts to use only workflows running on the external activiti engine

2017-09-25 15:32:39 GMT <qwebirc73165> but, I would like to keep also the workflows running in the embedded engine

2017-09-25 15:34:02 GMT <qwebirc73165> Is there a way to do it ?

2017-09-25 15:35:42 GMT <douglascrp> yreg, both modules are in place, but I can not see the alfresco/s/xenit/care4alf/ webscript

2017-09-25 15:35:50 GMT <douglascrp> it is not even listed in the all webscripts page

2017-09-25 15:35:59 GMT <douglascrp> but I can see the dynamic extension ones

2017-09-25 15:36:54 GMT <yreg> hmm what do you see in /alfresco/s/dynamic-extensions/

2017-09-25 15:37:27 GMT <AFaust> qwebirc73165: There should be an option/link in the new UIs of the connector to switch to the default Alfresco workflow UIs.

2017-09-25 15:37:49 GMT <douglascrp> 404

2017-09-25 15:38:09 GMT <douglascrp> but i can see a post one at alfresco/s/index/family/Dynamic%20Extensions

2017-09-25 15:38:20 GMT <douglascrp> osgi/restart

2017-09-25 15:38:37 GMT <AFaust> It is a bit of a shame that the UI integration wasn't done in a way that was more complementary / extending, instead of virtually replacing the old UI and then hiding it behind a complex click path

2017-09-25 15:38:57 GMT <douglascrp> so, I put the dynamic extension jar in the modules/platform and installed the care4alf amp

2017-09-25 15:39:12 GMT <douglascrp> yreg, is that the way you use it?

2017-09-25 15:39:35 GMT <yreg> douglascrp, that's odd

2017-09-25 15:39:44 GMT <yreg> can I have access to that dev instance ?

2017-09-25 15:40:10 GMT <douglascrp> yes

2017-09-25 15:40:12 GMT <qwebirc73165> Thanks AFaust. Does this option switch to the default Alfresco UI only for the user session ?

2017-09-25 15:41:28 GMT <AFaust> No, it is not session related. It really is just a simple navigation link somewhere, as far as I remember. To be fair / honest: I have not looked at the very latest version of the connector. My information is from around summer of last year...

2017-09-25 15:48:04 GMT <qwebirc73165> Ok. Thank you

2017-09-25 15:49:00 GMT <qwebirc73165> unfortunately, the documentation does not say anything about it

2017-09-25 15:51:00 GMT <resplin> qwebirc73165: If I remember correctly, all of Share's UI for accessing the embedded workflow engine is still available.

2017-09-25 15:51:06 GMT <resplin> The "My Tasks" pages.

2017-09-25 15:51:49 GMT <resplin> ~later tell AFaust I agree with your assessment of the APS Share Connector. We are looking to improve it, but it might not make the next major release.

2017-09-25 15:51:49 GMT <alfbot> resplin: The operation succeeded.

2017-09-25 15:51:49 GMT <qwebirc73165> they are, but they open the external activiti

2017-09-25 15:52:00 GMT <resplin> qwebirc73165: Interesting. I didn't realize that.

2017-09-25 15:52:21 GMT <resplin> This would be a good question to ask in http://community.alfresco.com

2017-09-25 15:52:23 GMT <alfbot> Title: Welcome | Alfresco Community (at community.alfresco.com)

2017-09-25 15:52:44 GMT <resplin> I suspect that the Share Connector makes a minor change to the UI to point it to the external Activiti, which would be easy to reverse.

2017-09-25 15:52:53 GMT <resplin> Support can also help.

2017-09-25 15:53:11 GMT <resplin> The design intention is that you would only use the embedded Activiti until the currently in-flight workflows completed.

2017-09-25 16:55:52 GMT <alfbot> AFaust: Sent 1 hour and 4 minutes ago: <resplin> I agree with your assessment of the APS Share Connector. We are looking to improve it, but it might not make the next major release.

2017-09-25 17:34:12 GMT <douglascrp> yreg, once the bulk process is started, how can I pause/stop it?

2017-09-25 17:34:32 GMT <douglascrp> or even change the parameters, like, increasing the number of nodes or threads?

2017-09-25 17:35:31 GMT <douglascrp> yreg, never, I found it

End of Daily Log

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