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

2018-05-11 06:24:26 GMT <Martin--Mueller> Bom dia.

2018-05-11 06:41:41 GMT <MorganP> Morning

2018-05-11 07:04:46 GMT <kkore> Hi all can we add drools (Excel rules) in alfresco?? please suggest

2018-05-11 10:00:47 GMT <qwebirc31740> Is there limit for creation users in alfresco and access of share in alfresco??

2018-05-11 10:09:25 GMT <fcorti_> qwebirc31740 the limit is the resources of the stack. Not a software limit.

2018-05-11 10:11:37 GMT <qwebirc31740> fcorti: max limit for resources of the stack we need to configure...

2018-05-11 10:12:09 GMT <yreg> qwebirc31740, if you are referring to Alfresco Community Edition

2018-05-11 10:12:30 GMT <qwebirc31740> yes community edition

2018-05-11 10:12:56 GMT <yreg> then what fcorti_ said is correct, there is no explicit limit in the code (and even if there was, being opensource, that can be easily circumvented)

2018-05-11 10:13:27 GMT <yreg> The actual limit what your hardware can take as a load on one single host

2018-05-11 10:14:35 GMT <yreg> Note that with CE you can have only one Alfresco repository node (no clustering support in CE) but you can at least externalise share and Solr to separate hosts reducing load on the repo host

2018-05-11 10:16:14 GMT <yreg> qwebirc31740, I had clients in the past running CE with 1-2 k named users and few thousands more accessing Alfresco hosted documents through some integration with a portal software

2018-05-11 10:17:36 GMT <qwebirc31740> yreg: thanks you for information.can we can't do clustering in CE ...

2018-05-11 10:19:06 GMT <yreg> qwebirc31740, Not out of the box, and not without actually doing an extension in that regard

2018-05-11 10:19:57 GMT <yreg> Alfresco does actually do clustering through caches, so actually all clustering logic is actually related to the caches being clustered

2018-05-11 10:20:30 GMT <yreg> qwebirc31740, technically speaking you can have multiple CE hosts running on the same DB / Content store as a cluster

2018-05-11 10:20:38 GMT <yreg> But caches would be out of sync

2018-05-11 10:21:52 GMT <qwebirc31740> yreg, actually I need to do clustering also for CE right now we are having one CE host there \

2018-05-11 10:22:24 GMT <yreg> Meaning, for all elements that are already in the cache of some node, if they change on an other node, the change is not reflected on the first node up until either the appropriate cache entry has expired or was ejected to make room for other items

2018-05-11 10:23:30 GMT <yreg> If you have a failover setup (if one host dies, traffic switches to an other host) that should be a valid use case for CE without any customisation

2018-05-11 10:24:41 GMT <yreg> qwebirc31740, if you can afford the performance overhead of going all the way to the DB every time, you can do CE clustering if you de-activate caching

2018-05-11 10:26:06 GMT <qwebirc31740> yreg,if we have multiple CE host then we require clustering other wise not required ? that case

2018-05-11 10:26:47 GMT <yreg> rephrase

2018-05-11 10:26:55 GMT <yreg> Can't understand what you are saying

2018-05-11 10:28:46 GMT <qwebirc31740> we require clustering when we have multiple CE hosts in same DB ??

2018-05-11 10:30:42 GMT <yreg> Still can't understand

2018-05-11 10:31:40 GMT <yreg> If you want to have clustering on CE, you just have all hosts point to the same DB and content store, then set all caches sizes to ZERO

2018-05-11 10:31:53 GMT <yreg> But be aware, that would cripple your performance

2018-05-11 10:33:27 GMT <qwebirc31740> yreg, I will here point after doing clustering / if I struck doing it

2018-05-11 10:35:17 GMT <hi-ko> qwebirc31740: What is you aim with clustering?

2018-05-11 10:37:13 GMT <qwebirc31740> hi-ko, if server host crashes then total replica need to create in host which contain total files

2018-05-11 10:37:46 GMT <yreg> qwebirc31740, you do not need to de-activate caches for that

2018-05-11 10:38:41 GMT <qwebirc31740> not knowing that whether to keep or de-activate

2018-05-11 10:38:48 GMT <hi-ko> qwebirc31740: as yreg said. if you make sure you access always one repo tier at a time it should work out of the box

2018-05-11 10:39:37 GMT <yreg> Simply have both hosts up pointing to the same DB / Content Store, and have your load balancer redirect all traffic to one single host, and only switch to the other host when the first one dies

2018-05-11 10:40:12 GMT <hi-ko> qwebirc31740: we have better experience using esx clusters without any alfresco clusters involved

2018-05-11 10:41:06 GMT <hi-ko> qwebirc31740: you should focus on the db tier to have a scaleable ha db

2018-05-11 10:41:55 GMT <qwebirc31740> hi-ko,yreg : I will try it

2018-05-11 14:18:02 GMT <jpotts> Quick question: Does anyone know if Search Services/SOLR 6 can be clustered when using Alfresco CE? I know clustering SOLR with EE has a license impact. I know I can stand up multiple standalone SOLR boxes to track Alf. Wondering if a true SOLR cluster is possible.

2018-05-11 14:30:58 GMT <digcat> hi jpotts, think your question is more can solr 6.x be clustered, ive started looking at solr 7.x and that introduces a whole new set of apis for scaling, https://lucene.apache.org/solr/guide/7_2/solrcloud-autoscaling-overview.html

2018-05-11 14:30:59 GMT <alfbot> Title: Overview of SolrCloud Autoscaling | Apache Solr Reference Guide 7.2 (at lucene.apache.org)

2018-05-11 14:36:08 GMT <xkahn> I seem to remember a documentation page for web scripts which talked about the relative cost of accessing particular properties

2018-05-11 14:36:43 GMT <xkahn> IIRC, displayPath was particularly expensive while some properties were always loaded whenever a node was accessed.

2018-05-11 14:37:06 GMT <xkahn> Ring a bell for anyone? I'm looking for the page now; I'm trying to optimize a very slow web script.

2018-05-11 14:40:18 GMT <AFaust> jpotts, digcat: There is no specific technical dependency which would make ASS not clusterable / shardable in CE compared to EE. It is the identical piece of software. The only thing that is different in EE vs CE is the dynamic shard registration, though a manual registration approach exists

2018-05-11 14:41:08 GMT <AFaust> This difference is because the Repository-tier is slightly different in EE vs CE (though it is just a matter of implementing a single interface to bridge the gap)

2018-05-11 14:45:15 GMT <AFaust> xkahn: Yes, displayPath is still expensive because the operation has to iteratively process all ancestors and retrieve their cm:name property, instead of relying on the child assoc name which is already part of the alf_child_assoc table.

2018-05-11 14:46:07 GMT <AFaust> During navigation / search, it is only guaranteed that the properties of the nodes retrieved as results have been loaded, but ancestors may only be partially loaded into cache

2018-05-11 14:47:46 GMT <xkahn> AFaust: Hmm... That definitely sounds like part of it

2018-05-11 14:48:02 GMT <AFaust> Interestingly, in case of a FTS / CMIS transactional metadata query, node properties are not actually bulk-fetched, so in that case there isn't even the guarantee that the properties of the results have been loaded (though they typically are implicitly / inefficiently as part of permission checking)

2018-05-11 14:48:22 GMT <some-guy> hi guys

2018-05-11 14:48:46 GMT <some-guy> is anyone here?

2018-05-11 14:48:50 GMT <xkahn> AFaust: THAT sounds more like what I remember. Things like content description might not have been loaded, but name always way.

2018-05-11 14:48:57 GMT <AFaust> hi <generic user with generic name>

2018-05-11 14:49:00 GMT <xkahn> some-guy: 29 people are here

2018-05-11 14:49:12 GMT <xkahn> some-guy: some percentage of those are not paying attention

2018-05-11 14:49:23 GMT <some-guy> xkahn: cool

2018-05-11 14:49:37 GMT <AFaust> xkahn: If one property has been loaded, all properties have been - Alfresco never loads just one property

2018-05-11 14:49:46 GMT <some-guy> xkahn: is there any proc to ask for help?

2018-05-11 14:50:26 GMT <AFaust> some-guy: Just read the channel message... ask your question and wait around for more than just a few seconds to see if someone can help you

2018-05-11 14:50:42 GMT <xkahn> some-guy: usually the procedure is to just ask... and then wait to see if you get an answer. IRC is real time, but most people aren't paying attention, so replies can take hours.

2018-05-11 14:51:01 GMT <some-guy> hahah ok, thank you :)

2018-05-11 14:51:44 GMT <xkahn> AFaust: good to know!

2018-05-11 14:52:05 GMT <AFaust> some-guy: or they can be instantaneous - if the question is formulated well and people with the right skill set are online

2018-05-11 14:52:37 GMT <AFaust> some-guy: One important thing though: If you need to post supporting info (logs, configs etc.), please use a paste service (like fpaste.org )

2018-05-11 14:52:37 GMT <some-guy> I'm starting to develop with Alfresco stuff. I'm using Alfresco Content Service 5.2 and eclipse.

2018-05-11 14:53:22 GMT <some-guy> I've linked Alfresco tomcat to eclipse, so when I run tomcat from eclipse I can open http://localhost:8080/share......

2018-05-11 14:54:14 GMT <some-guy> the problem is... how could I create/import a project that is linkd with my alfreco installation

2018-05-11 14:54:32 GMT <MorganP> some-guy: You should probably look at the Alfresco SDK

2018-05-11 14:55:05 GMT <some-guy> i.e. I want to create a webScript in an eclipse project and (wihtout restarting tomcat) see the change in alfresco web

2018-05-11 14:55:47 GMT <AFaust> some-guy: MorganP'S advise is best for someone just starting with Alfresco - the SDK provides exactly such a feature without having to link Eclipse with an external Tomcat

2018-05-11 14:55:51 GMT <some-guy> mm already tried the SDK option

2018-05-11 14:56:38 GMT <some-guy> the problem is that it creates a maven Alf. Community white/empty project...

2018-05-11 14:57:29 GMT <some-guy> it doesnt allow me to work over an Enterprise edition.

2018-05-11 14:57:49 GMT <AFaust> It does - you just need to change a few configs in the generated project

2018-05-11 14:57:58 GMT <some-guy> oh

2018-05-11 14:58:08 GMT <some-guy> do you know where is that info?

2018-05-11 14:58:19 GMT <AFaust> Primarily you would just have to change the version number of Alfresco, and that should be it

2018-05-11 14:58:30 GMT <some-guy> That would help me a lot

2018-05-11 14:58:34 GMT <AFaust> https://docs.alfresco.com/5.2/concepts/sdk-using-enterprise.html

2018-05-11 14:58:36 GMT <alfbot> Title: Working with Enterprise | Alfresco Documentation (at docs.alfresco.com)

2018-05-11 14:58:55 GMT <some-guy> ok, let me check that URL.

2018-05-11 14:59:06 GMT <some-guy> BTW, thank you very much guys :)

2018-05-11 15:00:13 GMT <some-guy> Alfresco Nexus repository...

2018-05-11 15:00:27 GMT <some-guy> is the svn.alfresco.com/repo SVN?

2018-05-11 15:00:52 GMT <some-guy> probably not, since it's public :/

2018-05-11 15:01:17 GMT <mbrodsky> some-guy, you will need an enterprise license in order to get credentials for the private repo

2018-05-11 15:02:41 GMT <xkahn> some-guy: IIRC, if you have an enterprise license, you need to request a username/password for the svn repo to get access to the enterprise branches.

2018-05-11 15:03:18 GMT <AFaust> some-guy: artifacts.alfresco.com

2018-05-11 15:04:50 GMT <AFaust> xkahn, some-guy: Access to the SVN repo does not make sense anymore because code is no longer developed there. You only need request access to the Enterprise-specific repositories in the Nexus Repository (artifacts.alfresco.com)

2018-05-11 15:05:12 GMT <some-guy> im looking how to get the .lic file and then the user/passwd

2018-05-11 15:05:39 GMT <AFaust> There is currently no way for a customer / partner to get direct read access to the Enterprise source code - you can either use the source attachments from Nexus or have Support create a ZIP bundle for you, AFAIK

2018-05-11 15:05:51 GMT <some-guy> AFaust, i guess i need the license anyway

2018-05-11 15:06:28 GMT <AFaust> some-guy: Are you working for an Alfresco customer or partner? You need to have an active subscription with Alfresco to get a license / access to Enterprise artifacts in Nexus

2018-05-11 15:07:10 GMT <AFaust> If you are working for a customer that already has an Alfresco system running, you should already have the license internally

2018-05-11 15:07:57 GMT <some-guy> its my case,

2018-05-11 15:08:12 GMT <some-guy> the cutomer is offline already :/

2018-05-11 15:08:15 GMT <AFaust> Access to license and Nexus is all handled via Support (support.alfresco.com) and you need to have been registered as an authorised contact when your organisation entered into the subscription (otherwise ask the person responsible in your org)

2018-05-11 15:09:32 GMT <some-guy> ok... then to sum up... (correct me if im wrong), the next dev. steps would be like

2018-05-11 15:09:44 GMT <mbui> I have some issues with my multiple ldap-ad synchronization setup where in the 2nd ldap-ad configuration the groups imported contains no users. Any suggestions? They have the same value for ldap.synchronization.userSearchBase but different on ldap.synchronization.groupSearchBase

2018-05-11 15:12:11 GMT <some-guy> 1-Get the license. 2-Ask for Nexus repo access. 3-Get the alfresco source code. 4-Import from eclipse. 5-Develp!

2018-05-11 15:16:03 GMT <mbrodsky> some-guy, it's up to you depending on your case, but i suggest getting your SDK set up with CE before trying to get a license. Licenses are not granted to individuals, only organizations, and depending on who you are working for, could take a while to procure.

2018-05-11 15:17:24 GMT <mbrodsky> some-guy, there isn't much difference between CE and Enterprise when it comes to getting started developing customizations.

2018-05-11 15:20:08 GMT <AFaust> some-guy: Step 3 is not required - it is implicitly handled by the SDK / Maven integrated with Eclipse

2018-05-11 15:21:50 GMT <AFaust> mbui: Without looking at the config and LDAP trees, it is difficult to tell. Is it the same LDAP/AD, only different trees, or a different system altogether?

2018-05-11 15:28:07 GMT <mbui> AFaust: They are in the same AD, in the same tree essentially.

2018-05-11 15:28:30 GMT <mbui> I've tried to depict the tree here: https://gist.github.com/buimichael/3dcc9f9c78f49d3a3fac66683a14e876

2018-05-11 15:28:31 GMT <alfbot> Title: ldap ad · GitHub (at gist.github.com)

2018-05-11 15:28:47 GMT <AFaust> fcorti_: Can you check if someone can move https://issues.alfresco.com/jira/browse/AIF-430 into the ALF project. For some reason the reporter chose a random project to report a Share issue in...

2018-05-11 15:28:50 GMT <alfbot> Title: Log in - Alfresco JIRA (at issues.alfresco.com)

2018-05-11 15:29:31 GMT <AFaust> Interestingly I had permission in that project to move issues, but due to missing field values I could not move it into ALF myself... (I probably should not have move permission anyway)

2018-05-11 15:30:45 GMT <some-guy> thank you mbrodsky, Faust

2018-05-11 15:32:27 GMT <fcorti_> AFaust: Added to my TODO. Will ask on Monday... now it's pub time in the UK. ;-)

2018-05-11 15:32:50 GMT <AFaust> Already? just half past 4 over there...

2018-05-11 15:32:58 GMT <AFaust> No work discipline...

2018-05-11 15:33:07 GMT <AFaust> ;)

2018-05-11 15:33:48 GMT <mbui> Or maybe it's not neccessary to create two ldap-ad subsystems if the users/groups are in the same tree?

2018-05-11 15:33:57 GMT <fcorti_> Probably I'm unfair saying that (I wrote to David Webster few minutes ago to talk about Share packaging for Docker and he is there running fast ;-) )

2018-05-11 15:35:31 GMT <DavidWebster> AlF-430 is now: https://issues.alfresco.com/jira/browse/SHA-2180

2018-05-11 15:35:43 GMT <DavidWebster> (just to prove I'm working)

2018-05-11 15:36:14 GMT <AFaust> mbui: The code of the user registry synchronizer only supports linking users and groups synched within the same subsystem, so if you have two LDAP/AD subsystems, one of them cannot link users / groups

2018-05-11 15:36:54 GMT <AFaust> DavidWebster, praise be unto you

2018-05-11 15:38:53 GMT <AFaust> mbui: See https://github.com/Alfresco/alfresco-repository/blob/bf0817eb62db7fb3ca4b82b602d58ef4facc7910/src/main/java/org/alfresco/repo/security/sync/ChainingUserRegistrySynchronizer.java#L1645

2018-05-11 15:38:54 GMT <alfbot> Title: alfresco-repository/ChainingUserRegistrySynchronizer.java at bf0817eb62db7fb3ca4b82b602d58ef4facc7910 · Alfresco/alfresco-repository · GitHub (at github.com)

2018-05-11 15:39:47 GMT <some-guy> have a good weekend, see you!

2018-05-11 15:40:11 GMT <fcorti_> Ah... thank you DavidWebster! This is definitely a prove! :-D

End of Daily Log

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