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-09-25 12:19:57 GMT <alfresco-discord> <mmazzola> Hi everyone, we are having an issue with a CyclicChildRelationshipException there is an association that has parentNode equal to childNode and this is breaking everything near that folder. Any idea of how we can remove the association in a safe way?

2018-09-25 12:37:59 GMT <Tichodroma> Given this Share evaluator bean https://bpaste.net/show/a20338f027f4, this Share config https://bpaste.net/show/f01ced076c76 should make a multi item action available *only* if *all* selected items have content types, correct?

2018-09-25 12:38:01 GMT <alfbot> Title:show at bpaste (at bpaste.net)

2018-09-25 12:38:49 GMT <Tichodroma> problem: the multiple item action is available even if only a single folder item is selected. I want to avoid this.

2018-09-25 12:44:34 GMT <yreg> @mmazzola define safe ?

2018-09-25 12:47:31 GMT <yreg> The association should not be possible in the first place AFAIK, unless you do some mojo to to force it or something

2018-09-25 12:48:14 GMT <yreg> I assume you could be able to remove that association by temporarily disabling all behaviours in current thread context

2018-09-25 12:48:26 GMT <yreg> You could use js-console for that

2018-09-25 13:33:26 GMT <alfresco-discord> <dgradecak> Hi guys

2018-09-25 13:33:57 GMT <alfresco-discord> <dgradecak> anyone tried to deploy a module as a "simple module" ? ->Simple Modules are located in the modules/platform

2018-09-25 13:34:02 GMT <alfresco-discord> <dgradecak> in docker?

2018-09-25 13:34:27 GMT <angelborroy> https://github.com/keensoft/docker-alfresco

2018-09-25 13:34:28 GMT <alfbot> Title:GitHub - keensoft/docker-alfresco: Docker Alfresco Compose ready to be used (at github.com)

2018-09-25 13:34:50 GMT <alfresco-discord> <dgradecak> I saw this https://github.com/keensoft/alfresco-docker-template/tree/master/templates/201806-GA#deploying-additional-addons

2018-09-25 13:34:51 GMT <alfbot> Title:alfresco-docker-template/templates/201806-GA at master · keensoft/alfresco-docker-template · GitHub (at github.com)

2018-09-25 13:35:07 GMT <alfresco-discord> <dgradecak> alfresco/modules/jars

2018-09-25 13:35:11 GMT <angelborroy> Use better previous project

2018-09-25 13:35:17 GMT <angelborroy> https://github.com/keensoft/docker-alfresco

2018-09-25 13:35:18 GMT <alfbot> Title:GitHub - keensoft/docker-alfresco: Docker Alfresco Compose ready to be used (at github.com)

2018-09-25 13:35:23 GMT <alfresco-discord> <dgradecak> but they say Simple Modules are located in the modules/platform ?

2018-09-25 13:35:33 GMT <alfresco-discord> <dgradecak> https://docs.alfresco.com/6.0/concepts/dev-extensions-packaging-techniques-jar-files.html

2018-09-25 13:35:33 GMT <angelborroy> probably you are not reading me...

2018-09-25 13:35:34 GMT <alfbot> Title:Simple Module | Alfresco Documentation (at docs.alfresco.com)

2018-09-25 13:35:41 GMT <alfresco-discord> <dgradecak> haha ok

2018-09-25 13:36:50 GMT <alfresco-discord> <dgradecak> well I am reading you, but do you mean that the alfresco docs is false?

2018-09-25 13:36:59 GMT <yreg> @dgradecak for jars you could mount them as volumes without having to rebuild your containers

2018-09-25 13:37:29 GMT <angelborroy> Alfresco documentation is describing how to develop with Alfresco 6

2018-09-25 13:37:35 GMT <yreg> Alfresco docs probably assume you are using the installer (which was discontinued and is no longer shipped)

2018-09-25 13:37:46 GMT <angelborroy> The project I gave you is for deployment in “real” environments

2018-09-25 13:38:12 GMT <alfresco-discord> <dgradecak> giving it a go angel

2018-09-25 13:38:16 GMT <angelborroy> yreg approach is mixed, mostly suit for teste environments

2018-09-25 13:39:01 GMT <yreg> Correct, for prod, I would bundle everything except for config inside the container

2018-09-25 13:39:28 GMT <yreg> But for dev/test it is probably easier to mount as volumes and that means less overhead for rebuilding images ;-)

2018-09-25 13:49:16 GMT <alfresco-discord> <dgradecak> angel you are copying those to alfresco/web-inf/lib on your sample

2018-09-25 13:49:44 GMT <angelborroy> it’s because Alfresco default config is wrong

2018-09-25 13:49:49 GMT <alfresco-discord> <dgradecak> I understood that by using modules/alfresco/jars it would be mapped as a " shared lib folder"

2018-09-25 13:49:54 GMT <angelborroy> so I cannot copy to modules/platform folder

2018-09-25 13:50:02 GMT <alfresco-discord> <dgradecak> I see what you do, but that is what I wanted to avoid

2018-09-25 13:50:04 GMT <angelborroy> because it doesn’t work

2018-09-25 13:50:17 GMT <angelborroy> you can patch Alfresco Docker Image

2018-09-25 13:50:20 GMT <alfresco-discord> <dgradecak> but that is what I was asking

2018-09-25 13:50:31 GMT <angelborroy> so the answer is yes

2018-09-25 13:50:35 GMT <alfresco-discord> <dgradecak> so their doc is somehow wrong, or like you say their image

2018-09-25 13:50:48 GMT <angelborroy> you have to patch official Alfresco Docker Repository image

2018-09-25 13:50:59 GMT <alfresco-discord> <dgradecak> but copying to the application webinf/lib is ok, however like I said good to avoid it ...

2018-09-25 13:51:06 GMT <alfresco-discord> <dgradecak> yes, I do not want indeed

2018-09-25 13:51:16 GMT <angelborroy> in fact, it’s not that hard

2018-09-25 13:51:29 GMT <angelborroy> you have only to include an alfresco.xml file in Tomcat configuration folder

2018-09-25 13:52:45 GMT <alfresco-discord> <dgradecak> no problem, just I did not know they have an error about that and was surprised it does not work

2018-09-25 13:54:49 GMT <angelborroy> I’m going to open an issue in the repository

2018-09-25 13:54:57 GMT <angelborroy> Just to see if they fix this

2018-09-25 13:55:47 GMT <alfresco-discord> <dgradecak> not sure what they did, but mainly mapping that modules/platform folder as a shared lib folder is not that complex

2018-09-25 13:55:55 GMT <alfresco-discord> <dgradecak> as I do not think they need to do anything else

2018-09-25 13:56:53 GMT <angelborroy> They were creating this configuration in /usr/local/tomcat/conf/Catalina/localhost

2018-09-25 13:57:05 GMT <angelborroy> But in official image this folder is empty

2018-09-25 13:57:24 GMT <alfresco-discord> <dgradecak> indeed, I see

2018-09-25 13:58:03 GMT <angelborroy> Let’s open a ticket and let’s see how it goes

2018-09-25 14:01:30 GMT <alfresco-discord> <RichetDan> OT: @angel.borroy here is how i see your messages inside Discord

2018-09-25 14:01:30 GMT <alfresco-discord> <RichetDan> https://cdn.discordapp.com/attachments/451644531323174914/494146430798266388/unknown.png

2018-09-25 14:02:01 GMT <angelborroy> I’m looking like a teenager :D

2018-09-25 14:02:05 GMT <yreg> @dgradecak angelborroy they don't ship it in their image, but it does exist in the distribution zip

2018-09-25 14:02:37 GMT <angelborroy> yes, but we are talking about Docker images

2018-09-25 14:02:56 GMT <yreg> https://github.com/Alfresco/acs-community-packaging/tree/master/distribution/src/main/resources/web-server/conf/Catalina/localhost

2018-09-25 14:02:57 GMT <alfbot> Title:acs-community-packaging/distribution/src/main/resources/web-server/conf/Catalina/localhost at master · Alfresco/acs-community-packaging · GitHub (at github.com)

2018-09-25 14:03:25 GMT <yreg> I assume they consider that tu be not necessary since they don't ship any simple modules out of the box :D

2018-09-25 14:05:19 GMT <angelborroy> Assignee: The default assignee does NOT have ASSIGNABLE permission OR Unassigned issues are turned off.

2018-09-25 14:05:27 GMT <angelborroy> There is no one in the other side… :D

2018-09-25 14:05:55 GMT <yreg> angelborroy, try an issue on GitHub for the project I linked

2018-09-25 14:05:57 GMT <angelborroy> https://issues.alfresco.com/jira/browse/ALF-22034

2018-09-25 14:06:41 GMT <yreg> (y)

2018-09-25 14:07:04 GMT <alfresco-discord> <dgradecak> ok so like sou said angel, the best is to map the drive and mainly copy that xml in another image, at least for now

2018-09-25 14:07:28 GMT <alfresco-discord> <dgradecak> +1 for the issue

2018-09-25 14:08:01 GMT <yreg> @dgradecak the easiest for now is to simply mount the jars one by one as volumes inside WEB-IN/lib

2018-09-25 14:09:07 GMT <yreg> Or mount the configuration file I linked in the location angel suggested, then mount the modules/platform folder (or package them inside your build)

2018-09-25 14:11:34 GMT <alfresco-discord> <dgradecak> yreg, I do not want to change the docker file for each new module

2018-09-25 14:12:05 GMT <yreg> You don't you change the docker-compose to mount them individually

2018-09-25 14:12:52 GMT <yreg> Or you change the docker-compose once to include the xml and the folder

2018-09-25 14:13:16 GMT <yreg> Then the build should pick up whatever in your folder without the need to modify Dockerfile

2018-09-25 14:32:31 GMT <alfresco-discord> <Erik.whipp> Hi all, is there a definitive place to see how different types of indexing affect Solr? I'm going the the Alfresco Developer's guide and it says to understand the consequences of each option -- so I'm just looking for more information on top of : http://docs.alfresco.com/6.0/concepts/search-home.html .. Any help is appreciated!

2018-09-25 14:32:32 GMT <alfbot> Title:Managing Alfresco Search Services | Alfresco Documentation (at docs.alfresco.com)

2018-09-25 14:46:47 GMT <alfresco-discord> <dgradecak> yreg, angel, any permission issues with mounting the modules/platform folder in docker?

2018-09-25 14:47:14 GMT <angelborroy> from which host?

2018-09-25 14:47:17 GMT <angelborroy> Windows?

2018-09-25 14:48:25 GMT <alfresco-discord> <dgradecak> well yes

2018-09-25 14:48:47 GMT <angelborroy> Sorry, no experience with Docker under Windows

2018-09-25 14:48:51 GMT <alfresco-discord> <dgradecak> arf 😉

2018-09-25 14:48:56 GMT <angelborroy> But I know that there are problems with the volumes

2018-09-25 14:49:08 GMT <angelborroy> as they are in fact a shared folder between Windows and the Docker Machine

2018-09-25 14:49:10 GMT <alfresco-discord> <dgradecak> copying my modules (jars) to web-inf/lib like you do Angel is ok

2018-09-25 14:49:17 GMT <angelborroy> Probably you can set up some configuration

2018-09-25 14:49:34 GMT <angelborroy> well, in fact copying the JARS is more or less the same

2018-09-25 14:49:43 GMT <alfresco-discord> <dgradecak> but mapping the drive modules/platform throws some java access exceptions, will check

2018-09-25 14:49:45 GMT <angelborroy> as “platform/modules” is a shortcut to WEB-INF/lib

2018-09-25 16:24:33 GMT *** TDJACR is now known as Guest25040

2018-09-25 20:17:19 GMT <alfresco-discord> <Erik.whipp> Any good examples regarding testing ACS ?

End of Daily Log

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