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-09 06:44:48 GMT <yreg> Morning everyone !

2018-05-09 08:15:53 GMT <yreg> fcorti, it seems like I found an awesome tool for you :D

2018-05-09 08:16:00 GMT <yreg> Take a look at : http://grimoirelab.github.io/

2018-05-09 08:16:01 GMT <alfbot> Title: GrimoireLab - Software Development and Community Analytics platform (at grimoirelab.github.io)

2018-05-09 08:19:05 GMT <fcorti> Uuuuu... amazing!

2018-05-09 08:19:28 GMT <fcorti> ElasticSearxh and Kibana behind the scenes

2018-05-09 08:20:02 GMT <fcorti> Intersting this too

2018-05-09 08:20:03 GMT <fcorti> https://chaoss.community/

2018-05-09 08:20:10 GMT <fcorti> CHAOSS is a Linux Foundation project focused on creating analytics and metrics to help define community health.

2018-05-09 08:21:09 GMT <fcorti> Ok, https://chaoss.community/ it's really interesting to me in my current role

2018-05-09 08:21:56 GMT <yreg> fcorti, setting up the thing is a bit easier than what I thought :D https://grimoirelab.gitbooks.io/tutorial/content/before-you-start/deploying-from-dockerhub.html

2018-05-09 08:21:57 GMT <alfbot> Title: Deploying from DockerHub · GrimoireLab Tutorial (at grimoirelab.gitbooks.io)

2018-05-09 08:22:54 GMT <fcorti> With docker everything is easier but I'm not seeing an ETL or way to enrich the data

2018-05-09 08:24:09 GMT <AFaust> yreg: I'm reading on grimoirelab.github.io re sorting tool "Tool to manage people identities information, to merge multiple person identities across different data sources, enrich profile information with affiliation information, etc.", and can already imagine myself to send fcorti/Alfresco a GDPR request just out of fun / to test them...

2018-05-09 08:24:32 GMT <yreg> fcorti, you probably would want to spin it up a bit and experiment, it might be easier than what you thought

2018-05-09 08:24:45 GMT <fcorti> Yes, I would love to use it

2018-05-09 08:24:55 GMT <fcorti> Added to my todo list.

2018-05-09 08:24:58 GMT <fcorti> Thank you for sharing

2018-05-09 08:25:46 GMT <yreg> One thing for sure, the elastic stack brings very powerful features for associating and aggregating data of heterogenous format, and you can always talk directly to elastic to feed it whatever data you like

2018-05-09 08:25:57 GMT <AFaust> Coming to think about the poor contact data management processes Alfresco had ~5-8 years ago, such a GDPR request may actually be in order to force them to find + clean all the shitty old data they have on me

2018-05-09 08:26:12 GMT <fcorti> Yes, I'm using this in deep with the Alfresco Heartbeat solution

2018-05-09 08:26:12 GMT <yreg> AFaust, hehe

2018-05-09 08:28:15 GMT <bhagyas> AFaust: keep us updated, would love to see how they dig through the data ;)

2018-05-09 08:28:33 GMT <yreg> AFaust, even if they anonymise your data, most people would still be able to tell this or that profile belongs to you :D

2018-05-09 08:32:18 GMT <yreg> Unless of they merge all anonymised data into one big profile

2018-05-09 08:33:38 GMT <yreg> -= THIS MESSAGE NOT LOGGED =-

2018-05-09 08:35:37 GMT <AFaust> yreg: I thought that was IBM? I guess it is just a generic statement that anyone throws around when talking about that...

2018-05-09 08:36:38 GMT <bhagyas> xD as long as it brings money, people would continue to make up facts

2018-05-09 08:37:18 GMT <bhagyas> they would be talking about the need to classify the data and organise, if they had the capabilities to make money out of it

2018-05-09 08:37:19 GMT <bhagyas> xD

2018-05-09 08:37:31 GMT <bhagyas> or the technical competencies

2018-05-09 09:01:29 GMT <DarkStar1> morning everyone

2018-05-09 11:39:47 GMT <bhuvana_> hi all,good evening

2018-05-09 11:40:21 GMT <bhuvana_> I am unable to login into alfresco enterprise with admin credentials

2018-05-09 11:40:39 GMT <bhuvana_> can any one suggest me what is the root cause

2018-05-09 11:46:10 GMT <yreg> bhuvana_, the logs

2018-05-09 11:48:15 GMT <bhuvana_> when i restarted the production server initial 10mins it is working fine, once logout than login it will not login with admin user but for remaining all it is working fine

2018-05-09 12:00:55 GMT <bhagyas> https://www.open4dev.com/journal/2018/1/22/alfresco-devcon-2018-wrapping-up

2018-05-09 12:00:56 GMT <alfbot> Title: Alfresco DevCon 2018 - Wrap up — Open4Dev (at www.open4dev.com)

2018-05-09 12:50:20 GMT <AFaust> Oh great.... the new APS ADF-based client is by default configured to only use HTTP protocol even if you access the UI via HTTPS, so of course you get a CORS error during login because it sends the cleartext password to the HTTP URL

2018-05-09 12:51:18 GMT <AFaust> It's not like a web application could check the location.protocol property or anything... no, we have to hard-configure a specific protocol and require customers to patch the config JSON in the WAR for the correct one...

2018-05-09 12:56:37 GMT <yreg> AFaust, sounds fun

2018-05-09 12:57:18 GMT <AFaust> The login page in 1.8.1 causes my FireFox to display a warning "script on this site is not responding"

2018-05-09 12:57:41 GMT <AFaust> Login page shows technical labels instead of localised text when accessed from browser in de-de locale

2018-05-09 13:00:37 GMT <AFaust> Of course there is no SSO because ADF does not support that at all

2018-05-09 13:00:59 GMT <yreg> AFaust, it does support OAuth AFAIK

2018-05-09 13:01:05 GMT <AFaust> Ah - the behaviour regarding localised text in login form is even inconsistent between Firefox and Edge, nice...

2018-05-09 13:01:21 GMT <AFaust> Yeah, as if OAuth is relevant in any internal corporate environment...

2018-05-09 13:01:27 GMT <bhagyas> AFaust: +1

2018-05-09 13:01:29 GMT <bhagyas> xD

2018-05-09 13:01:40 GMT <yreg> And there is something else coming for 1.9 if I recall right

2018-05-09 13:03:25 GMT <bhagyas> Angular 6 is here now

2018-05-09 13:03:41 GMT <bhagyas> and not compatible with earlier versions as usual xP

2018-05-09 13:04:27 GMT <yreg> bhagyas, at least it provides facilities for auto-upgrade code

2018-05-09 13:04:45 GMT <bhagyas> not much really

2018-05-09 13:04:52 GMT <bhagyas> you must be talking about React

2018-05-09 13:04:53 GMT <bhagyas> ;)

2018-05-09 13:05:18 GMT <yreg> Lib developers need to create the upgrade scripts for sure, but it can make your life easier if I understand right

2018-05-09 13:13:15 GMT <bhagyas> which branch of example content app is the one which has most features?

2018-05-09 13:13:27 GMT <bhagyas> im on development branch, and i can't find anything substantial

2018-05-09 13:13:52 GMT <bhagyas> looks more like a level 1 university project

2018-05-09 13:14:10 GMT <bhagyas> I must be missing something here

2018-05-09 13:15:10 GMT <yreg> bhagyas, the idea was to strip whatever is generated by yeoman to the minimal set

2018-05-09 13:15:28 GMT <yreg> And have a bit more elaborated skeleton in the ACA

2018-05-09 13:15:44 GMT <yreg> It's not meant as a fully featured client

2018-05-09 13:17:36 GMT <bhagyas> alright

2018-05-09 13:37:28 GMT <fcorti> Hello guys, in 24 minutes the new Tech Talk Live #116 about the new deployment mechanism of ACS using Docker and Kubernetes + Helm.

2018-05-09 13:37:33 GMT <fcorti> Join us here: https://youtu.be/n-JvGTseeTs

2018-05-09 13:41:32 GMT <AFaust> Ahhh, nice, I don't have to correct any APS ADF UI expectations in my customer, because another customer already told them it would not be good...

2018-05-09 13:42:31 GMT <AFaust> fcorti: Is there any information on how long APS will continue to include / bundle the current, default angularjs UI?

2018-05-09 13:43:03 GMT <AFaust> Just so that I can guide my customer with regards to their internal product development plans...

2018-05-09 13:44:14 GMT <fcorti> AFaust not officially

2018-05-09 13:45:10 GMT <AFaust> And maybe I have missed it, but also an official word on the "product UI strategy" would be nice, i.e. like with ACS where the official word is "we are not a UI / product company so we will not be building a (new) default generic UI"...

2018-05-09 13:46:04 GMT <AFaust> I.e. is the ADF UI part even planned to become a long-term replacement for the current UI, or is it just a very minimalistic showcase like the ACA...

2018-05-09 13:57:03 GMT <fcorti> Will share more details after the TTL.

2018-05-09 13:57:18 GMT <fcorti> :-)

2018-05-09 13:59:04 GMT <fcorti> Tech Talk LIve #116 will start in few minutes here: https://youtu.be/n-JvGTseeTs

2018-05-09 14:04:10 GMT <fcorti> Feel free to raise questions here.

2018-05-09 14:16:44 GMT <AxelFaust> Hmm - I would have preferred if Sergiu did not start with a lot of abstract theory / nebulous benefits, but instead used a prepared scenario / walkthrough to explain various aspects and showcase advantages as he goes...

2018-05-09 14:18:30 GMT <fcorti> it was planned a hands, but you know, sometimes the presenter is too excited on the topic

2018-05-09 14:32:01 GMT <yreg> fcorti, is the AWS quick-start going to be using docker behind the scene ?

2018-05-09 14:32:35 GMT <fcorti> not now (as you probably know) and not in short term.

2018-05-09 14:33:15 GMT <yreg> I take that as "There is no plans for that yet"

2018-05-09 14:33:16 GMT <fcorti> Soon the ACS deployment will be enhanced to work on AWS too (on-going development)

2018-05-09 14:33:50 GMT <fcorti> yreg: indeed

2018-05-09 15:00:57 GMT * AxelFaust wonders what new / useful information to actually take from today's TTL...

2018-05-09 15:04:19 GMT <mikel_asla> yreg: ohhh! i thought it was a big change on it

2018-05-09 15:04:39 GMT <yreg> Me as well

2018-05-09 15:04:45 GMT <yreg> What a disappointment

2018-05-09 15:05:03 GMT <yreg> It looks like the CE image is being crippled on purpose

2018-05-09 15:05:33 GMT <mikel_asla> "ibreoffice, imagemagick and alfrescopdfrender are into the alfresco-content-repository-community docker image"

2018-05-09 15:05:38 GMT <mikel_asla> jejeje

2018-05-09 15:06:00 GMT <yreg> The setup of the image is quite optimized

2018-05-09 15:06:19 GMT <yreg> But it contains a lot of stuff that are better off separated into different containers

2018-05-09 15:06:39 GMT <AxelFaust> well - I don't know if that has to do with some EE-only message-broker based distribution of transformation jobs whereas CE still relies direct command line access...

2018-05-09 15:10:00 GMT <sergiuv> For now the idea is that you build your custom image using the dockerhub image as base to forge a new image with your amps.

2018-05-09 15:10:13 GMT <sergiuv> just answering the last question from youtube

2018-05-09 15:10:14 GMT <sergiuv> :)

2018-05-09 15:10:39 GMT *** younes is now known as yreg

2018-05-09 15:11:52 GMT <AxelFaust> sergiuv: Shouldn't be too hard to ship a script in the container that takes AMPs / JARs from a mounted volume and installs them on initialisation...

2018-05-09 15:12:03 GMT <Fabian_> Thx for the clarification for the customizations, serguiv.

2018-05-09 15:12:56 GMT <AxelFaust> Just so that working with the new deployment method doesn't complicate things too much for those "under-qualified" customers that never ask for outside, expert help...

2018-05-09 15:12:58 GMT <Fabian_> Although this seems more complex than necessary. Alex's idea would be what I'd expect...

2018-05-09 15:14:06 GMT <yreg> AxelFaust, not a good idea

2018-05-09 15:14:09 GMT <AxelFaust> In my previous docker images I even had a small init script do Nexus lookups to load these AMPs / JARs

2018-05-09 15:14:14 GMT <yreg> It would slow down startups

2018-05-09 15:14:44 GMT <AxelFaust> It would slow down 1st startup. final WAR could very well be on a persisted storage...

2018-05-09 15:15:42 GMT <AxelFaust> I'm just talking about options here - default for professional ppl should still be "image = prepared deployment unit" without any startup-install-magic

2018-05-09 15:15:57 GMT <yreg> Not a good idea either, as if it is to be mounted as a volume, you will need to fetch it first

2018-05-09 15:16:18 GMT <yreg> So more preparation for deployments other than simply pulling the image

2018-05-09 15:17:11 GMT <yreg> AxelFaust, +1, the startup script to apply amps would work for fast prototypes

2018-05-09 15:17:46 GMT <yreg> By the way, you can easily mount your custom startup script and tell compose to use it instead of the OOTB one

2018-05-09 15:17:56 GMT <yreg> For such case

2018-05-09 15:17:58 GMT <yreg> s

2018-05-09 15:18:00 GMT <AxelFaust> Well - then I'll just have to sell some of my customers, who "want to do some things ourselves" that previously just had to know about two folders (amps / amps_share) and a single script (apply_amps) a week long training about building docker images..

2018-05-09 15:18:46 GMT <Fabian_> Axel, yes, this will be fun ;-)

2018-05-09 15:19:40 GMT <Fabian_> Correct me if I'm wrong: Won't the standard image fire-up Alfresco and thus the exercise to deploy a custom amp needs to shut it down, run apply-amps and start it again before generating the new image?

2018-05-09 15:19:53 GMT <AxelFaust> yreg: Sure I can have my own custom startup script... I would have my own custom Docker images not based on Alfresco ones anyway. I am just talking about the 08/15, no frills customer using default Alfresco out-of-the-box with some addons installed, no Docker expertise and no interest in hiring an external party "just for setting up Alfresco"

2018-05-09 15:20:41 GMT <AxelFaust> Fabian_ Of course apply_amps (or whatever the script would be) should run before firing up Alfresco

2018-05-09 15:24:00 GMT <AxelFaust> If Alfresco is not going to provide a base image with a simplification for those kinds of customers, then that is fine with me too... I can always offer a few hours of services to build a custom image off-site...

2018-05-09 15:25:41 GMT <Fabian_> Sure, we all know this is feasible. The question is how easy this accepted by customers.

2018-05-09 15:26:03 GMT <Fabian_> I'm curious how many customer installations do you know without additional Amps/Jars deployed?

2018-05-09 15:27:22 GMT <Fabian_> My point is, that I would consider the "uses customizations" case as the default scenario, at least from my experience.

2018-05-09 15:28:30 GMT <AxelFaust> I can confidently say: "zero"

2018-05-09 15:29:11 GMT <yreg> AxelFaust, I have seen a few of these

2018-05-09 15:29:12 GMT <AxelFaust> Considering the fact that js-console / ootbee-support-tools are always "include in initial setup" modules for me

2018-05-09 15:29:41 GMT <AxelFaust> yreg: Real, test / production systems? Not just demo ones?

2018-05-09 15:31:27 GMT <AxelFaust> Fabian_: Since you are already here, maybe you know how the heck I could (easily) get to the underlying SQL query in an APS JPA query using remote debugging (i.e. a useful breakpoint)

2018-05-09 15:32:28 GMT <Fabian_> AxelFaust: No, sorry. Not ad-hoc.

2018-05-09 15:32:45 GMT <AxelFaust> Since APS is not a traditional servlet-based application, I am having issues getting p6spy working with externalised JARs + config using virtual webapp classpath...

2018-05-09 15:33:11 GMT <yreg> AxelFaust, you would be amazed

2018-05-09 15:33:15 GMT <AxelFaust> Strangely it worked on my local dev environment, but not in this customer's UAT environment

2018-05-09 15:33:28 GMT <yreg> They are even using windows installer for setting the thing up

2018-05-09 15:33:50 GMT <AxelFaust> What thing? (a bit out of context)

2018-05-09 15:34:05 GMT <AxelFaust> Ah - you mean that customer without addons?

2018-05-09 15:34:06 GMT <yreg> And for the record, there is even 2 EE customers in that Hurd :D

2018-05-09 15:34:12 GMT <yreg> Thing = Alfresco instance

2018-05-09 15:34:17 GMT <yreg> yes

2018-05-09 15:35:04 GMT <AxelFaust> Well, "EE customer" does not mean "using / having a proper system"

2018-05-09 15:35:28 GMT <AxelFaust> It only means "I throw money at things to try and make problems go away"

2018-05-09 15:36:06 GMT <AxelFaust> (which, with regards to MS SQL / Oracle / WIndows OS, often is causing many more problems to appear)

2018-05-09 15:37:20 GMT <yreg> +1

2018-05-09 15:40:30 GMT <AxelFaust> Fabian_ So it turns out org.hibernate.loader.Loader#executeQueryStatement is about the best place to break...

2018-05-09 15:40:56 GMT <Fabian_> AxelFaust: Thx!

2018-05-09 15:41:13 GMT <AxelFaust> That's where actual JDBC prepared statement is created after all translations steps from HQL to SQL

2018-05-09 16:00:32 GMT <MorganP> Anyone already used rsync on Content Store to keep a copy of documents somewhere else...? I just found encounter a client that is doing this and I'm wondering if this is really a good idea

2018-05-09 16:00:46 GMT <MorganP> -found

2018-05-09 16:08:15 GMT <MorganP> I'm mainly wondering about // access on the same content from both Alfresco and rsync. If there are any lock or stuff like that

2018-05-09 16:08:30 GMT <MorganP> guess I will need to go check what rsync is doing exactly

2018-05-09 16:49:50 GMT <rgauss> AxelFaust, yreg, and Fabian_, regarding extensions in Docker images, there is an architectural decision record (ADR) that describes the reasoning: https://github.com/Alfresco/alfresco-anaxes-shipyard/blob/master/docs/adrs/0008-applying-extensions-to-docker-images.md.

2018-05-09 16:50:34 GMT <rgauss> You'll start to see more of these and in some cases will be able to dig into a bit of the conversations behind them: https://github.com/Alfresco/alfresco-anaxes-shipyard/pull/67

2018-05-09 16:50:36 GMT <alfbot> Title: DEPLOY-278: ADR for applying extensions by gavincornwell · Pull Request #67 · Alfresco/alfresco-anaxes-shipyard · GitHub (at github.com)

2018-05-09 16:51:39 GMT <rgauss> Note that an ADR can be changed or reverted by a subsequent ADR, but it's good to be able to explain the reasoning in a standard format.

2018-05-09 18:44:39 GMT *** CptLuxx is now known as Bucklshp

2018-05-09 18:44:49 GMT *** Bucklshp is now known as CptLuxx

End of Daily Log

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