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-06-04 05:20:31 GMT <digcat> ~later tell fcorti, just a quick one was trying to test sdk 3.0.1, with the all in one archetype, are we expecting that not to work ? Could not resolve dependencies for project com.digcat:digcat-cms-poc:jar:1.0-SNAPSHOT: Failed to collect dependencies at com.activiti:activiti-app-logic:jar:1.5.3: Failed to read artifact descriptor for com.activiti:activiti-app-logic:jar:1.5.3: Could not transfer artifact com.activiti:activiti-app-logi

2018-06-04 05:20:31 GMT <alfbot> digcat: The operation succeeded.

2018-06-04 05:20:31 GMT <digcat> c:pom:1.5.3 from/to alfresco-private-repository (https://artifacts.alfresco.com/nexus/content/groups/private): Not authorized , ReasonPhrase:Unauthorized. -> [Help 1] im guessing its grabbing enterprise but following the instructions doesnt mention anything else needed

2018-06-04 05:42:56 GMT <qwebirc84452> I am trying to add width to dropdown in share-config.ftl like https://bpaste.net/show/25e4a5e2d7eb but the width is appending

2018-06-04 05:42:57 GMT <alfbot> Title: show at bpaste (at bpaste.net)

2018-06-04 06:11:44 GMT <alfresco-discord> <bhagyas> u

2018-06-04 06:11:52 GMT <alfresco-discord> <bhagyas> Good morning all

2018-06-04 06:11:58 GMT <alfresco-discord> <bhagyas> Good morning @digcat

2018-06-04 06:12:24 GMT <alfresco-discord> <bhagyas> @digcat can't believe you're still buying the fairy tales about sdk 3

2018-06-04 06:12:25 GMT <alfresco-discord> <bhagyas> :p

2018-06-04 06:16:34 GMT <alfresco-discord> <MorganP> Morning @bhagyas

2018-06-04 06:16:47 GMT <alfresco-discord> <bhagyas> Good morning @MorganP

2018-06-04 06:16:50 GMT <alfresco-discord> <bhagyas> ^_^

2018-06-04 06:38:16 GMT <alfbot> fcorti: Sent 1 hour and 17 minutes ago: <digcat> a quick one was trying to test sdk 3.0.1, with the all in one archetype, are we expecting that not to work ? Could not resolve dependencies for project com.digcat:digcat-cms-poc:jar:1.0-SNAPSHOT: Failed to collect dependencies at com.activiti:activiti-app-logic:jar:1.5.3: Failed to read artifact descriptor for com.activiti:activiti-app-logic:jar:1.5.3: Could not transfer artifact com.activiti:activiti-app-logi

2018-06-04 06:49:13 GMT <digcat> com.activiti:activiti-app-logic:pom:1.5.3 from/to alfresco-private-repository (https://artifacts.alfresco.com/nexus/content/groups/private): Not authorized , ReasonPhrase:Unauthorized. -> [Help 1]

2018-06-04 06:54:38 GMT <fcorti> Hi digicat. wich Alfresco version?

2018-06-04 07:14:59 GMT <digcat> hi fcorti , using sdk 3.0.1 archetype to generate an all in one project,

2018-06-04 07:17:18 GMT <digcat> ahh sorry, think i chose the activiti-jar-archetype ignore me

2018-06-04 07:17:45 GMT <digcat> using the alfresco all in one gives me the older sdks

2018-06-04 07:18:13 GMT <fcorti> got it, but it can be that something does not work.ù

2018-06-04 07:18:34 GMT <digcat> yes, sorry i was the activiti-jar-archetype

2018-06-04 07:18:47 GMT <digcat> so i guess we dont expect that to give us a community version,

2018-06-04 07:19:07 GMT <fcorti> ooooh... not supported and not guarantee to work (sadly)

2018-06-04 07:19:17 GMT <digcat> yep, :(

2018-06-04 07:26:13 GMT <digcat> hmm noticed a typo, in 2: remote -> org.alfresco.maven.archetype:alfresco-allinone-archetype (Sample multi-module project for All-in-One development on the Alfresco plaftorm.

2018-06-04 07:26:21 GMT <digcat> plaftorm

2018-06-04 07:27:18 GMT <fcorti> Where?

2018-06-04 07:27:26 GMT <yreg> SDK archetypes

2018-06-04 07:27:28 GMT <fcorti> I mean; documentation?

2018-06-04 07:27:47 GMT <fcorti> oh... the terminal descrition?

2018-06-04 07:28:19 GMT <digcat> yep plaftorm,

2018-06-04 07:28:20 GMT <angelborroy> descrition > description

2018-06-04 07:28:21 GMT <angelborroy> :D

2018-06-04 07:28:24 GMT <digcat> hehe

2018-06-04 07:28:30 GMT <fcorti> lol

2018-06-04 07:28:32 GMT <digcat> need a spell checker

2018-06-04 07:29:07 GMT <yreg> digcat, I moved to Mac/iPhone recently

2018-06-04 07:29:15 GMT <yreg> And believe me, you don't

2018-06-04 07:29:47 GMT <digcat> haha, sorry to hear that

2018-06-04 07:29:51 GMT <yreg> My spellchecker generates more typos than it fixes :-D

2018-06-04 07:38:41 GMT <AFaust> Try having your phone / computer on English (because most of your work revolves around that language) and then having to write some few texts / messages to non-English folks...

2018-06-04 07:39:10 GMT <yreg> fcorti, in case you were wondering, that typo is in here : https://github.com/Alfresco/alfresco-sdk/blob/master/archetypes/alfresco-allinone-archetype/pom.xml#L9

2018-06-04 07:39:11 GMT <alfbot> Title: alfresco-sdk/pom.xml at master · Alfresco/alfresco-sdk · GitHub (at github.com)

2018-06-04 07:39:13 GMT <AFaust> Skype app on Windows 10 is the worst, since it does not respect the OS-level setting of "disable spell checker"

2018-06-04 07:39:21 GMT <angelborroy> AFaust this is supported by Mac/iPhone, I’m working like that without issues

2018-06-04 07:39:38 GMT <angelborroy> AFaust probably you can consider switching to Apple :D

2018-06-04 07:39:53 GMT <AFaust> Nope... never gonna join a cult...

2018-06-04 07:40:28 GMT <yreg> AFaust, That's already my setup, but there is sometimes some weird corrections ie: it->is, its -> it's ....

2018-06-04 07:41:55 GMT <AFaust> In a German system it is impossible to write "IDE" because autocorrect always changes it to "die" (which in English is quite the wrong word to use in technical / business conversation)

2018-06-04 07:42:09 GMT <angelborroy> yreg yep, I have disabled the auto-corrector

2018-06-04 07:46:20 GMT <alfresco-discord> <MorganP> Why don't you use the suggested instead or auto-correct?

2018-06-04 07:47:07 GMT <angelborroy> yep, I have suggested but not auto-correction

2018-06-04 07:47:47 GMT * yreg needs to check out his settings again

2018-06-04 07:49:37 GMT <yreg> Blom

2018-06-04 08:09:42 GMT <alfresco-discord> <Francesco Corti> Thank you Digicat and Yreg. My first push on a Microsoft platform has been made. 😦

2018-06-04 08:09:43 GMT <alfresco-discord> <Francesco Corti> https://cdn.discordapp.com/attachments/451644531323174914/453108069040259082/Screen_Shot_2018-06-04_at_10.08.43.png

2018-06-04 08:18:36 GMT * DarkStar1 bids you all a good morning

2018-06-04 08:18:49 GMT <alfresco-discord> <yreg> good morning DarkStar1

2018-06-04 08:22:08 GMT <ayushi> Hi all,

2018-06-04 08:24:13 GMT <ayushi> is there any oob API that counts all the nodes(till nth node) under a given context node in alfresco

2018-06-04 08:24:50 GMT <angelborroy> ayushi no, there is no one

2018-06-04 08:24:52 GMT <yreg> ayushi, you can do a path query against solr and check the result count

2018-06-04 08:25:20 GMT <angelborroy> ayushi, probably this can help https://angelborroy.wordpress.com/2018/05/30/alfresco-counting-more-than-1000-elements/

2018-06-04 08:25:21 GMT <alfbot> Title: Alfresco, counting more than 1000 elements | Programming and So (at angelborroy.wordpress.com)

2018-06-04 08:28:24 GMT <angelborroy> ayushi, for instance, to count all nodes within site “Software”...

2018-06-04 08:28:26 GMT <angelborroy> http://localhost:8080/solr/alfresco/select?q=PATH:"/app:company_home/st:sites/cm:software//*"

2018-06-04 08:37:53 GMT <ayushi> I am trying to hit the above url but it is not giving anything

2018-06-04 08:38:18 GMT <ayushi> I have already created a site named software

2018-06-04 08:38:21 GMT <angelborroy> ayushi please, review your environment to find out where your base SOLR path is located

2018-06-04 08:38:49 GMT <angelborroy> by default is https://localhost:8443/solr4 but it depends on your installation method

2018-06-04 08:38:54 GMT <yreg> ayushi, What is your Alfresco version ?

2018-06-04 08:40:31 GMT <ayushi> 5.2 is my alfresco version

2018-06-04 08:46:48 GMT <yreg> Do you have a REST client that can access your alfresco ?

2018-06-04 08:47:52 GMT <angelborroy> wow, I want to see how this explanation ends…

2018-06-04 08:48:08 GMT <AFaust> angelborroy: Any reason you specify the /select URL instead of the /afts one?

2018-06-04 08:48:28 GMT <angelborroy> my fault

2018-06-04 08:48:39 GMT <angelborroy> better to use /afts

2018-06-04 08:49:00 GMT <yreg> ayushi, issue a POST request against your repo for this endpoint : /alfresco/api/-default-/public/search/versions/1/search with this payload : {"query": {"language": "afts", "query": "name:*"}} and do not forget to set content type as application/json

2018-06-04 08:49:22 GMT <angelborroy> yreg that is limited to 1,000 results

2018-06-04 08:49:57 GMT <yreg> angelborroy, in my experience, only when your query TMQ compatible

2018-06-04 08:50:12 GMT <yreg> But he can double check

2018-06-04 08:51:04 GMT <yreg> I am not familiar/sure with Alfresco's official REST API, but when I was using API-X, that was definitely the case

2018-06-04 08:51:20 GMT <AFaust> yreg is correct - only TMQ queries are limited to 1000 results for the "resultsFound" property...

2018-06-04 08:51:29 GMT <angelborroy> anyway you are sending him a query with “name:*”

2018-06-04 08:51:36 GMT <AFaust> Due to the default permission check limit...

2018-06-04 08:51:40 GMT <angelborroy> I let you with the question… I’m lost

2018-06-04 08:51:46 GMT <yreg> angelborroy, to force it to go through solr

2018-06-04 08:52:08 GMT <angelborroy> and where is the PATH in that request???

2018-06-04 08:52:13 GMT <angelborroy> I’m loosing something?

2018-06-04 08:52:17 GMT <AFaust> No, you are not...

2018-06-04 08:52:27 GMT <AFaust> the "under a given context node" part is missing (@yreg)

2018-06-04 08:52:42 GMT <yreg> It is up to him to adapt the query to his needs once the PoC works

2018-06-04 08:53:13 GMT <AFaust> You could always include a dummy path as an example, i.e. of the Data Dictionary...

2018-06-04 08:53:43 GMT <angelborroy> wow, yreg, this is a guy that even didn’t now the URL for SOLR server…

2018-06-04 08:53:57 GMT <angelborroy> … do you think that your “make the magic happens” instructions will be useful?

2018-06-04 08:54:51 GMT <yreg> angelborroy, TBH, I was too lazy to copy paste your query and do proper escaping for the doublequote

2018-06-04 08:55:51 GMT <yreg> But since you insist :-P ; ayushi use this payload instead : {"query": {"language": "afts", "query": "PATH:\"/app:company_home/st:sites/cm:software//*\""}}

2018-06-04 08:56:54 GMT <yreg> I left the name:* out because FTS PATH queries queries are guaranteed to go through solr because they are not TMQ compatible

2018-06-04 08:57:15 GMT <angelborroy> great

2018-06-04 08:57:51 GMT <angelborroy> that AFaust training sessions must be awesome! :D

2018-06-04 08:58:43 GMT <yreg> It was, but unfortunately I couldn't attend it as I was on my notice period :/

2018-06-04 09:00:46 GMT <angelborroy> just to confirm that “totalItems” field from Search REST API works exactly the same as SOLR afts query

2018-06-04 09:02:35 GMT <yreg> angelborroy, I saw your interest in using SDK 3 in conjunction with ACS 6, I just managed to get it to work properly last week, are you still interested in that N

2018-06-04 09:02:37 GMT <yreg> ?

2018-06-04 09:04:59 GMT <angelborroy> yreg not by now, currently focusing my efforts in apigee certification

2018-06-04 09:05:22 GMT <angelborroy> But probably you can write blog post in Community just to tell Alfresco (and others) how it can be done

2018-06-04 09:25:26 GMT <yreg> angelborroy, I wanted to write a blog post for more than a year, but unfortunately I do not think I have the talent for that :P

2018-06-04 09:25:49 GMT <yreg> Writing is definitely not my strongest suit

2018-06-04 09:25:50 GMT <yreg> :P

2018-06-04 09:26:06 GMT <angelborroy> I’m including your tips to my blog post, crediting AFaust and you

2018-06-04 09:26:15 GMT <angelborroy> a 5 minute task, but relevant for many people

2018-06-04 09:27:27 GMT <yreg> It's not really (just) about time

2018-06-04 09:27:53 GMT <yreg> I guess it's like when you are going to speak in public for the first time

2018-06-04 09:28:33 GMT <yreg> You want to make it perfect, and no matter how much you prepare for it you still want to give it some more thoughts

2018-06-04 09:28:54 GMT <angelborroy> you see, I’m correcting my own posts four days after

2018-06-04 09:29:04 GMT <angelborroy> Things like that happens :)

2018-06-04 09:46:04 GMT <rusin> hai all

2018-06-04 09:48:14 GMT <Krutik> hi

2018-06-04 09:48:53 GMT <rusin> i created a custom model(aspect) with start date, end date and daysdiffrence. Now my requirement is i need to get the daydifference value based on start data and end date while entering into that meta-data fields.

2018-06-04 09:49:39 GMT <rusin> can any one suggest me, how to solve it.

2018-06-04 09:49:44 GMT <angelborroy> rusin do you want to perform this operation in Share (while the user is introducing the datas) or in Repo (after the user has introduced the datas)

2018-06-04 09:52:40 GMT <rusin> while the user is introducing the datas

2018-06-04 09:52:55 GMT <angelborroy> so you have to develop a Share extension

2018-06-04 09:54:08 GMT <rusin> do mean any amp's i need to develop?

2018-06-04 09:54:13 GMT <angelborroy> Probably your best approach is to write a custom form control

2018-06-04 09:54:28 GMT <angelborroy> https://docs.alfresco.com/community/tasks/forms-custom-formcontrol.html

2018-06-04 09:54:29 GMT <alfbot> Title: Providing a custom form control | Alfresco Documentation (at docs.alfresco.com)

2018-06-04 09:54:56 GMT *** kpattich__ is now known as kpatticha

2018-06-04 09:54:59 GMT <angelborroy> Include your logic in that FTL by using JavaScript to calculate data difference

2018-06-04 09:58:12 GMT <rusin> <angelborroy> thanks for your reffrence.

2018-06-04 09:58:37 GMT <rusin> is there any possiblity from model manager.

2018-06-04 09:58:46 GMT <yreg> rusin, nope

2018-06-04 10:02:53 GMT <rusin> how can i get my date field references into ftl file.

2018-06-04 10:03:39 GMT <rusin> i'm new to alfresco, can you please suggest me to do it?

2018-06-04 10:03:42 GMT <alfresco-discord> <digcat> java in the cloud tech direction doc if any one interested https://docs.google.com/document/d/12vO9Ztcxyd6oxDnKFi73p7JsYaPgifpepggFxzW_uyE/edit#

2018-06-04 10:03:43 GMT <alfbot> Title: Jakarta EE Projects Technical Directions - Google Docs (at docs.google.com)

2018-06-04 10:05:08 GMT <angelborroy> rusin you are not that new…

2018-06-04 10:05:21 GMT <angelborroy> … or you are re-using chat ids

2018-06-04 10:05:29 GMT <angelborroy> anyway, a good point to start is https://github.com/rjmfernandes/share-custom-form-controls

2018-06-04 10:05:30 GMT <alfbot> Title: GitHub - rjmfernandes/share-custom-form-controls: This project contains a couple of reusable custom form controls for share. (at github.com)

2018-06-04 10:05:42 GMT <angelborroy> Different share customised controls are included there

2018-06-04 10:09:11 GMT <rusin> <angelborroy>thanks in advance.

2018-06-04 10:16:12 GMT *** CptLuxx_ is now known as CptLuxx

2018-06-04 11:14:19 GMT <yreg> angelborroy, I will see if I have what it takes to craft that blogpost after all

2018-06-04 11:14:37 GMT <yreg> In the mean time, I just crafted a small PoC here : https://github.com/yregaieg/acs6-sdk3-poc

2018-06-04 11:14:38 GMT <alfbot> Title: GitHub - yregaieg/acs6-sdk3-poc: PoC for using SDK 3.0.1 from Alfresco in conjunction with ACS 6.0 (at github.com)

2018-06-04 11:15:33 GMT <angelborroy> I’m not using AIO, but it’s a first step

2018-06-04 11:15:35 GMT <angelborroy> congrats!

2018-06-04 11:17:11 GMT <Krutik> Hi , I am trying to get version comment inside the onContentUpdate policy, the problem is as at that time version is not created i am not able to fetch the new comment..

2018-06-04 11:17:40 GMT <Krutik> is there any other way to fetch latest version comment inside policy?

2018-06-04 11:19:26 GMT <angelborroy> Krutik try VersionServicePolicies.afterCreateVersion

2018-06-04 11:20:47 GMT <Krutik> I can not use other policy, as I need to throw exception inside , onContentUpdate if specific version comment is comming.

2018-06-04 11:23:01 GMT <angelborroy> You can throw the same exception on “afterCreateVersion"

2018-06-04 11:23:10 GMT <angelborroy> They are both under the same transaction

2018-06-04 11:43:21 GMT <alfresco-discord> <kgastaldo> Hey Guys - Have you decided on this platform? Should I start linking here instead of IRC for chat?

2018-06-04 11:43:50 GMT <alfresco-discord> <kgastaldo> I'd like to let Alfresco employees know about the new space as well.

2018-06-04 11:45:07 GMT <alfresco-discord> <AFaust> @kgastaldo I think we should require a bit more than just assent by the people here in Discord / IRC.

2018-06-04 11:45:57 GMT <alfresco-discord> <AFaust> There were some critical voices on Friday and some information that appeared to have been new for some folks (discussion of Discord vs. FLOSS/FOSS platforms)

2018-06-04 11:46:44 GMT <alfresco-discord> <AFaust> Unfortunately, no one so far who has voiced opposition to Discord has volunteered to showcase / help evaluate an alternative.

2018-06-04 11:48:21 GMT <alfresco-discord> <AFaust> My suggestion would be to at least have a poll on the community platform. Ideally, we'd have an alternative option (which should be compared against Discord / IRC on functional and abstract "features", i.e. "integration with slack", "support of no-account access", "history accessiblity" etc.)

2018-06-04 11:48:54 GMT <alfresco-discord> <AFaust> But again, just my two Pfennig...

2018-06-04 11:48:55 GMT <alfresco-discord> <bhagyas> @AFaust +1 also non hosted, independent management

2018-06-04 11:50:01 GMT <alfresco-discord> <AFaust> yeah, I was too lazy to fully expand the "etc."

2018-06-04 11:50:06 GMT <alfresco-discord> <bhagyas> hehe

2018-06-04 12:03:31 GMT <rusin> <angelborroy> i tried your approach, but it is a bit confusing to get other field references into my ftl. can you provide snippet of code.

2018-06-04 12:06:49 GMT <alfresco-discord> <bhagyas> Can we get people to use both systems at the same time and decide? without sticking into one just because?

2018-06-04 12:07:56 GMT <alfresco-discord> <bhagyas> A vote without actually using both systems would not mean much of anything than the original state and would not provide any incentives for progress - people are naturally resistant to change (eg: pre-configured IRC clients with shortcuts in muscle memory)

2018-06-04 12:09:07 GMT <alfresco-discord> <bhagyas> I like the idea of running this as canary, alongside IRC and advertising Discord on IRC welcome message and chat.alfresco.com as something we are trying out for the long term.

2018-06-04 12:09:39 GMT <alfresco-discord> <bhagyas> The current integration makes it seamless when receiving messages from IRC, back and forth.

2018-06-04 12:10:49 GMT <alfresco-discord> <bhagyas> @Francesco Corti @kgastaldo ^

2018-06-04 12:27:19 GMT <DarkStar1> I've sort of been taking a back seat on this discord discussion because I only happened upon it right in the middle of it it seems. I'm not sure why it is being proposed/suggested.

2018-06-04 12:29:09 GMT <DarkStar1> yreg: o/ How goes? I only just say your greeting so apologies for the super late response.

2018-06-04 12:43:58 GMT <alfresco-discord> <AFaust> DarkStar1: Suggestion is based on multiple aspects - 1) history of IRC is hosted by Richard right now, who no longer is part of Alfresco and they cannot run have a system run in their namespace (chat.aflresco.com) when it is not controlled by them 2) IRC is considered (by quite a few ppl, not necessarily me) to be a legacy system, and a community members / Alfresco engineers may not interact with "us"

2018-06-04 12:43:58 GMT <alfresco-discord> ("core community") because of unfamiliar / uncommon tooling, 3) integrations with other systems appear to be more comprehensive in other platforms than in IRC... and I may be missing other reasons...

2018-06-04 12:56:21 GMT <DarkStar1> Thanks for bringing me up to speed AFaust

2018-06-04 13:31:17 GMT <fwu> hi all

2018-06-04 13:41:35 GMT <alfresco-discord> <bhagyas> Who is moving away from GitHub today?

2018-06-04 13:42:02 GMT <alfresco-discord> <bhagyas> Sold for 7.5 billion dollars, which is nice

2018-06-04 13:44:42 GMT <angelborroy> Maybe this movement makes some Sales guys to understand that Open Source (it/was/will be) relevant for IT

2018-06-04 13:47:23 GMT <angelborroy> Or maybe THL will hire Steve Balmer as core strategist for the future :D

2018-06-04 13:48:17 GMT <alfresco-discord> <Francesco Corti> ooooh.... you cannot imagine how I will love it. Having John Newton as direct boss and Steve Balmer as strategist... wow!

2018-06-04 14:16:58 GMT <alfresco-discord> <bhagyas> @Francesco Corti isn't John Newton out yet?

2018-06-04 14:17:06 GMT <alfresco-discord> <bhagyas> I thought he cashed out alongside the sale to THLee

2018-06-04 14:17:21 GMT <alfresco-discord> <bhagyas> and you got stuck here having to deal with us :p

2018-06-04 14:18:16 GMT <alfresco-discord> <Francesco Corti> @bhagyas no, no... JN is still active, VERY ACTIVE.

2018-06-04 14:18:37 GMT <alfresco-discord> <Francesco Corti> As you can see: I want to deal with all of you in every case 😉

2018-06-04 14:18:50 GMT <alfresco-discord> <bhagyas> also Ballmer is no longer at Microsoft (at least for the last four years)

2018-06-04 14:19:12 GMT <alfresco-discord> <bhagyas> Crazy how the MSFT stock is, it's more than doubled in last three years

2018-06-04 14:19:55 GMT <alfresco-discord> <bhagyas> and today its at all time high so far

2018-06-04 14:20:01 GMT <alfresco-discord> <bhagyas> :]

2018-06-04 14:29:25 GMT <alfresco-discord> <douglascrp> @bhagyas where did you see the value for github aquisition?

2018-06-04 14:30:00 GMT <alfresco-discord> <douglascrp> I can see some news, but none of them mentioning the amount

2018-06-04 14:30:38 GMT <angelborroy> douglascrp Microsoft itself: https://news.microsoft.com/2018/06/04/microsoft-to-acquire-github-for-7-5-billion/

2018-06-04 14:30:39 GMT <alfbot> Title: Microsoft to acquire GitHub for $7.5 billion | Stories (at news.microsoft.com)

2018-06-04 14:31:11 GMT <alfresco-discord> <douglascrp> @angel.borroy thank you

2018-06-04 16:05:43 GMT <AxelFaust> WTF!?! Just rebuild a Repository-tier WAR of a project that's been running fine for years with only some minor changes in some model XML files, and suddenly the Spring bean init order is all messed up, even though I have proper depends-on and my changes have not even been loaded (yet)...

2018-06-04 16:06:14 GMT <AxelFaust> Debugging low-level Spring is not fun with thousands of runtime beans...

2018-06-04 16:11:23 GMT <yreg> hehe

2018-06-04 16:11:48 GMT <yreg> Definitely not fun, could it be that you are now injecting a new bean somewhere ?

2018-06-04 16:12:12 GMT <yreg> Injecting a new bean can result in a huge change in init order

2018-06-04 16:14:15 GMT <AxelFaust> Actually almost no new beans - all new ones are self-registering (so no reference to them)

2018-06-04 16:15:33 GMT <AxelFaust> Debugging the exception at runtime, I can see that for some reason, the dependsOn is not correctly set for a lot of beans, even though these should be inherited from the parent bean, and during the XML parsing stage they all have their parentBean correctly set

2018-06-04 16:16:30 GMT <AxelFaust> Currently re-running with last revision which of course works, so it must be a change - it's just that I already went through all the diff output and I can't find any offending changes

2018-06-04 16:20:29 GMT <AxelFaust> And I would understand if there is an issue with a few beans, but suddenly, about 140 beans fail...

2018-06-04 16:23:30 GMT * AxelFaust has found a suspect

2018-06-04 16:32:37 GMT <AxelFaust> Ok - that's crazy. A single bean where I'd accidentally put an invalid parent bean (as in: parent does not exist at all) did not fail with a logical "parent bean is invalid" exception and instead caused those 140 beans to fail, even though the affected bean itself is insignificant (without parent it has no dependencies on any other bean, and all of the 140 beans have their own proper parent/dependsOn to ensure specific init

2018-06-04 16:32:37 GMT <AxelFaust> order, as in "models first, then policies / services"))

2018-06-04 17:56:45 GMT <eswbitto> I have a question. So we have come into some additional funding and are planning on adding some additional servers. Specifically to be able to handle our growing alfresco solution. Could any of you give some feedback on a what I can and can't do for the CE?

2018-06-04 17:57:35 GMT <eswbitto> I would like to segregate solr, postgres, transformations to all their own server so that I have High Availability....Is this possible?

2018-06-04 18:00:42 GMT <alfresco-discord> <douglascrp> you can have them installed in independent servers, but the ootb CE does not offer you the High Availability

2018-06-04 18:00:58 GMT <alfresco-discord> <douglascrp> if you need it, you will have to implent it or buy it from someone

2018-06-04 18:02:24 GMT <eswbitto> douglascrp if I buy it from someone is that essentially paying for the enterprise edition or just the HA aspect.

2018-06-04 18:03:01 GMT <alfresco-discord> <douglascrp> you have to find someone who has created that feature for community

2018-06-04 18:03:11 GMT <alfresco-discord> <douglascrp> @AFaust did it if I am not wrong

2018-06-04 18:03:32 GMT <eswbitto> ah ok

2018-06-04 18:05:07 GMT <eswbitto> douglascrp I've tried looking for hardware specs for the respective compenents, but I haven't found anything that has the info I want.

2018-06-04 18:07:05 GMT <alfresco-discord> <douglascrp> I guess you are not going to find such document

2018-06-04 18:12:50 GMT <alfresco-discord> <AFaust> @douglascrp + eswbitto: To be pedantic, CE does not support clustering. There are some people (in the community) who argue that High Availability does not necessary require clustering.

2018-06-04 18:15:02 GMT <alfresco-discord> <AFaust> And @douglascrp is right in as far that I have implemented a customer clustering addon for CE / EE in 2016 (5.0 - 5.2). When I have some time this year, I'll update that to 6.0, including an update to the underlying clustering library (Apache Ignite)

2018-06-04 18:15:20 GMT <alfresco-discord> <douglascrp> @AFaust awesome

2018-06-04 18:17:38 GMT <alfresco-discord> <douglascrp> eswbitto, you can take a look at this https://www.youtube.com/watch?v=Nsyjh-Tr4AM&feature=youtu.be

2018-06-04 18:17:41 GMT <eswbitto> AFaust what about segragrating the different components? Do you think that could possibly be appropriate for a CE? Right now my repository is 147 GB and on average. It gains about 800MB a week.

2018-06-04 18:35:46 GMT <alfresco-discord> <AFaust> With repository you mean content store?

2018-06-04 18:36:02 GMT <alfresco-discord> <AFaust> Or the the database?

2018-06-04 18:36:08 GMT <eswbitto> content store

2018-06-04 18:36:22 GMT <alfresco-discord> <AFaust> Oh, then 147 GiB isn't really that much...

2018-06-04 18:37:48 GMT <alfresco-discord> <AFaust> When I talk about segregating components, I usually talk about segregating Repository, SOLR and Share. Content store segregation is primarily interesting when you have some business reasons for it, i.e. storage maintenance / different performance classes for different storages...

2018-06-04 18:42:40 GMT <eswbitto> AFaust right now I have the entire alf_data dir on a SAN, but what I'm wanting to separate is postgres, share and SOLR to their own server so that hardware resources would be spread out. I guess really my question now is would that even be necessary? To me 147GB w/ 30 concurrent users, seems like the need for doing that, but maybe not. :P

2018-06-04 18:57:02 GMT <alfresco-discord> <AFaust> Ahh - you have the default monolithic setup. Then yes, it is typically recommended to have DB separate from Repository content, and same with SOLR content

2018-06-04 18:57:40 GMT <alfresco-discord> <AFaust> If you want to have best performance for each. That way there is less IO competition ...

2018-06-04 18:58:08 GMT <alfresco-discord> <AFaust> But for a 147 GIB content store, the amount of data in the DB and SOLR is probably not that large...

2018-06-04 19:22:01 GMT <xkahn> OMG

2018-06-04 19:22:12 GMT <xkahn> This channel really has become impossible to use.

2018-06-04 19:23:52 GMT <fcorti> Why don't you join the Discord website?

2018-06-04 19:24:19 GMT <fcorti> If you send me you email i can invite you (sorry but I don't remember the URL)

2018-06-04 19:24:56 GMT <xkahn> fcorti: No thanks. I'm trying to reduce web based mail and chat systems, not increase them.

2018-06-04 19:25:18 GMT <alfresco-discord> <Francesco Corti> Ok

2018-06-04 19:27:18 GMT <xkahn> I've been looking at weechat

2018-06-04 19:27:31 GMT <xkahn> I guess it has a discord plugin which might solve the problem

2018-06-04 19:37:02 GMT <eswbitto> AFaust yeah, my DB is only 800 MB and SOLR is 2GB

2018-06-04 19:44:37 GMT <xkahn> Wow. the weechat plugin for discord is discouraging.

2018-06-04 19:45:57 GMT <xkahn> fcorti: Alright. I'll give it a try. I guess I need a login token to make it all work.

2018-06-04 19:47:39 GMT <alfresco-discord> <Francesco Corti> ok, you are in @xkahn

2018-06-04 19:49:52 GMT <eswbitto> are you using discord the same as in what gamers use?

2018-06-04 19:50:57 GMT <xkahn> yay.... The plugin needs rust...

2018-06-04 20:16:23 GMT <xkahn> eh. Looks like it's all busted. The maintainer got annoyed that discord removed a bunch of api and quit.

2018-06-04 20:29:41 GMT <alfresco-discord> <AFaust> @Francesco Corti What do you think are the chances of finding a IRC bot hacker in our community that can "improve" the discord bot? I don't know much about IRC, but shouldn't a bot be able to connect as user XY-discord (note the suffix) when user XY is logged in Discord, so that the IRC users see everyone who is online and messages are mapped to IRC names instead of prefixed via text (maybe even

2018-06-04 20:29:41 GMT <alfresco-discord> mapping them back for IRC-to-Discord messages)?

2018-06-04 20:30:41 GMT <alfresco-discord> <Francesco Corti> @AFaust we can try... not too much confident

2018-06-04 20:31:55 GMT <alfresco-discord> <AFaust> I mean, so far I only know of xkahn and Tichodroma that have expressed extreme opposition. I can also imagine that maybe hi-ko has a similar view as Tichodroma

2018-06-04 20:33:31 GMT <xkahn> AxelFaust: groups can pick whatever chat system they wish. I'm just going to only be using one chat client unless my job depends on it.

2018-06-04 20:33:50 GMT <xkahn> weechat looks alright, and may be a future.

2018-06-04 20:34:16 GMT <alfresco-discord> <AFaust> Apart from the aspect of "not being able to see who is online", I don't really follow the "impossible to use" claim for those that maybe want to stick with IRC. The bot name + message name prefix may add a bit more info, but messages are still easy to parse.

2018-06-04 20:34:18 GMT <xkahn> But, for example, I have 4 IRC networks I use. 2 possible slack networks.

2018-06-04 20:34:26 GMT <xkahn> Now discord

2018-06-04 20:34:33 GMT <xkahn> Something called mattermost.

2018-06-04 20:34:46 GMT <xkahn> Email is even worse.

2018-06-04 20:35:04 GMT <alfresco-discord> <AFaust> xkahn: That's why I am thinking of the options to improve the bridge so you can keep using your tooling without loosing access to others in the community in case there is a move to another platform (i.e. Discord as per the current "trial")

2018-06-04 20:35:14 GMT * xkahn nods

2018-06-04 20:35:29 GMT <xkahn> IRC isn't great by any means

2018-06-04 20:35:50 GMT <xkahn> It's just the most popular and I can control the UI

2018-06-04 20:36:01 GMT <alfresco-discord> <AFaust> And that's also why I tried to slow down kgastaldo today when she asked if she should already switch public links to the Discord app...

2018-06-04 20:38:26 GMT <alfresco-discord> <Francesco Corti> I don't know where to (easily) find a way to improve the bot... apart finding a volunteer to hack the source code of the project

2018-06-04 20:40:34 GMT <alfresco-discord> <AFaust> Do you have a link to the source project of the current bot?

2018-06-04 20:40:42 GMT <xkahn> Well, I think the biggest problem is freenode

2018-06-04 20:41:01 GMT * xkahn assumes https://github.com/reactiflux/discord-irc

2018-06-04 20:41:34 GMT <alfresco-discord> <Francesco Corti> oh, sorry, I start to be tired after 13 hours of development

2018-06-04 20:41:41 GMT <xkahn> If the bot could act like an IRC server, that would work.

2018-06-04 20:41:46 GMT <alfresco-discord> <Francesco Corti> no, I was confused by the Discord => SLack

2018-06-04 20:41:54 GMT <alfresco-discord> <Francesco Corti> I have the github project of that part

2018-06-04 20:41:55 GMT <xkahn> Or it could join the IRC channel anew for each user

2018-06-04 20:42:23 GMT <xkahn> both things sound like something freenode would frown over

2018-06-04 20:43:35 GMT <alfresco-discord> <AFaust> I can't find any mention of bots in the channel guidelines

2018-06-04 20:44:31 GMT <xkahn> We prefer you to use just one account, and group nicks to it as described above, rather than registering for multiple accounts. Grouping nicks in this way gives you the benefit of having all your nicks covered by the same cloak, should you choose to wear a cloak. The exception to this is where you might want to run a bot. You should register a separate account for your bot.

2018-06-04 20:49:34 GMT <alfresco-discord> <AFaust> Yeah, that's included in the normal registration page. But I cannot find any definitive rules for using bots - jumping through multiple second-hand wikis for bits and pieces

2018-06-04 20:50:47 GMT <alfresco-discord> <AFaust> This would just mean you'd have to register a separate account for the bot. Which could potentially be automated to simply instantiate a bot per Discord user (on login/logout) and register based on their unique Discord id...

2018-06-04 20:51:41 GMT <alfresco-discord> <AFaust> Each instance would (at most) need to be registered only once. ..

2018-06-04 20:52:51 GMT <alfresco-discord> <AFaust> Or we just have a certain number of instances which use /nick to change name dynamically

2018-06-04 20:53:45 GMT <alfresco-discord> <AFaust> But then again, I don't know much about bots and the relevant APIs from the Discord side ... just thinking out loud

2018-06-04 23:59:28 GMT <alfresco-discord> <kgastaldo> Out of curiosity - how many of you are already using Slack for work? That was the other option we considered.

End of Daily Log

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