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-11-28 09:13:31 GMT <twen> HI,

2017-11-28 09:13:54 GMT <twen> I have more information about the Alfresco "meeting" I was contact for...

2017-11-28 09:14:17 GMT <twen> would be next 25 janary. a 2 jours long meeting in the morning.

2017-11-28 09:16:01 GMT <twen> Here is the PDF or the event. I guess it will be in french. https://www.dropbox.com/s/xo9gp1q3bxt51qo/Meetup%20Alfresco%20by%20Smile.pdf?dl=0

2017-11-28 09:16:02 GMT <alfbot> Title: Dropbox - Meetup Alfresco by Smile.pdf (at www.dropbox.com)

2017-11-28 09:16:19 GMT <twen> I can invite someone to come

2017-11-28 10:28:27 GMT <fcorti> Nice!

2017-11-28 10:33:58 GMT <fcorti> later yreg: hi yreg, the RM 2.6 (EE) should be officially available in the Partner Portal to be downloaded. Let me know if you have any problem on this.

2017-11-28 10:38:47 GMT <fcorti> ~later tell yreg hi, the RM 2.6 (EE) should be officially available in the Partner Portal to be downloaded. Let me know if you have any problem on this.

2017-11-28 10:38:47 GMT <alfbot> fcorti: The operation succeeded.

2017-11-28 11:03:49 GMT <tushar_> hi guys

2017-11-28 11:04:18 GMT <tushar_> can anyone please help me tell this

2017-11-28 11:04:27 GMT <tushar_> https://github.com/tusharkhanka/version-difference-alfresco/blob/master/images/SS%20of%20output%20with%20altered%20url.png

2017-11-28 11:04:28 GMT <alfbot> Title: version-difference-alfresco/SS of output with altered url.png at master · tusharkhanka/version-difference-alfresco · GitHub (at github.com)

2017-11-28 11:04:53 GMT <tushar_> sorry i mean this project

2017-11-28 11:04:56 GMT <tushar_> https://github.com/tusharkhanka/version-difference-alfresco/tree/master

2017-11-28 11:04:57 GMT <alfbot> Title: GitHub - tusharkhanka/version-difference-alfresco (at github.com)

2017-11-28 11:05:01 GMT <tushar_> it is kinda working

2017-11-28 11:05:34 GMT <tushar_> but only with repo when evaluated for site the page reloads

2017-11-28 11:32:04 GMT <_david_____> Help: for some reason, SMTP stopped working correctly... Alfresco is not honoring the mail.from.enable=false flag and it's sending emails with the admin's email instead of from the authenticated SMTP user, and thus emails aren't being sent out....

2017-11-28 11:32:36 GMT <_david_____> i have mail.from.default correctly configured, and mail-from.enable=false but to no avail...

2017-11-28 11:33:52 GMT <_david_____> I might have answered my own question, as it seems to be "mail.from.enabled", in past participle... restarting as we speak

2017-11-28 11:40:16 GMT <tushar_> fingers crossed

2017-11-28 11:41:33 GMT <tushar_> but just for refrence

2017-11-28 11:41:34 GMT <tushar_> ### SMTP Mail Configuration ### mail.from.default=no-reply@alfresco.com mail.from.enabled=false mail.host=smtp.sendgrid.net mail.port=2525 mail.protocol=smtp mail.username= mail.password= mail.encoding=UTF-8 mail.smtps.starttls.enable=true mail.smtps.auth=true

2017-11-28 12:38:25 GMT <Loftux> In SDK3 if I want to override in repository core alfresco file, for example alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary-v2/doclist.lib.js, where does it go in src? I cant get it to be picked up. (this is another attempt to give sdk3 a shot, maybe back to 2.2 again…)

2017-11-28 12:43:52 GMT <yreg> fcorti, thanks !

2017-11-28 12:43:52 GMT <alfbot> yreg: Sent 2 hours and 5 minutes ago: <fcorti> hi, the RM 2.6 (EE) should be officially available in the Partner Portal to be downloaded. Let me know if you have any problem on this.

2017-11-28 12:44:35 GMT <yreg> douglascrp, not really, if you need to scale transformations you still would need to externalize the operation to a remote service

2017-11-28 12:46:16 GMT <yreg> douglascrp, You know .. we initially developed that for our enterprise customer who were suffering from temporary performance issues caused by transformations being run on the same host, and externalizing that helped release stress from the alfresco server

2017-11-28 12:46:36 GMT <yreg> without a need to upgrade license to have more nodes in the cluster

2017-11-28 12:55:42 GMT <kgastaldo> Hi All - We have a bit of news about registration for DevCon.

2017-11-28 12:57:09 GMT <kgastaldo> We have decided to make DevCon a free event to attend. Registration will open tomorrow.

2017-11-28 12:57:29 GMT <MorganP> Really?

2017-11-28 12:57:33 GMT <kgastaldo> Yes, really!

2017-11-28 12:57:52 GMT <MorganP> I saw the price removed beginning of this week, I didn't expect this :D

2017-11-28 12:58:05 GMT <kgastaldo> We've really tried to increase our resources in the last year and have focused on our developer experience.

2017-11-28 12:58:31 GMT <yreg> MorganP, ever since kristen joined alfresco she does not stop to surprise us

2017-11-28 12:58:32 GMT <kgastaldo> So, this seemed like the best way to continue that ... by making it just a bit easier for everyone to attend DevCon.

2017-11-28 12:59:01 GMT <kgastaldo> I do think this means that registration will fill up quickly, so if you KNOW you can come, be sure to register when it opens.

2017-11-28 12:59:07 GMT <yreg> kgastaldo, really good initiative

2017-11-28 12:59:40 GMT <kgastaldo> We'll be managing a wait list, and I'll be checking in to make sure people are coming 3-4 weeks out, to ensure we don't leave any seats empty!

2017-11-28 12:59:44 GMT <yreg> just make sure not to have people register (reserve the spot) but never show up

2017-11-28 12:59:59 GMT <yreg> perfect !

2017-11-28 13:00:04 GMT <kgastaldo> @yreg - Yeah, that's a big concern. When you make something free, people have a tendency to bail.

2017-11-28 13:00:18 GMT <kgastaldo> But I'll be checking in with registrants closer to the date.

2017-11-28 13:01:00 GMT <kgastaldo> We also have one of our hotel deals up on the site, if you're ready to book your stay. We're planning to have deals with 2 hotels (one on the site, one finalized this week) and will run a bus from one of them to the venue. They are quite close together.

2017-11-28 13:04:01 GMT <MorganP> Great

2017-11-28 13:04:08 GMT <kgastaldo> Registration should open tomorrow at 10 am ET (giving CA a moment to wake up!)

2017-11-28 13:23:41 GMT <douglascrp> yreg, got it

2017-11-28 15:24:47 GMT <douglascrp> I am trying to set a new default value for the maxSearchResults inside the ObjectFinder and ObjectRenderer objects for Share

2017-11-28 15:25:01 GMT <douglascrp> trying to change from 100 to 1000

2017-11-28 15:25:30 GMT <douglascrp> the value is set, as I can verify using the browser console

2017-11-28 15:25:49 GMT <douglascrp> both Alfresco.ObjectFinder.prototype.options.maxSearchResults and Alfresco.ObjectRenderer.prototype.options.maxSearchResults are already set as 1000

2017-11-28 15:26:27 GMT <douglascrp> but when I use the object finder to set an attachment into a datalist, using the ootb property dl:attachments, the value for the instantiated object is always 100

2017-11-28 15:26:43 GMT <douglascrp> so, for some reason, the object is being created before my custom code overrides the default value

2017-11-28 15:27:35 GMT <douglascrp> the webscript call is always like this

2017-11-28 15:27:38 GMT <douglascrp> http://localhost:8081/share/proxy/alfresco/api/forms/picker/node/workspace/SpacesStore/bd97f928-1fb6-48a2-a50b-9ed851b7d1f9/children?selectableType=cm:cmobject&searchTerm=&size=100

2017-11-28 15:28:33 GMT <yreg> douglascrp, do you have alvex on board ? or any heavy share customization addon ?

2017-11-28 15:28:52 GMT <douglascrp> no

2017-11-28 15:28:59 GMT <douglascrp> this project is "clean" of custom code

2017-11-28 15:30:56 GMT <douglascrp> I am almost deciding to do it in the hacky way :D

2017-11-28 15:32:03 GMT <douglascrp> this works, as the value is changed

2017-11-28 15:32:04 GMT <douglascrp> https://pastebin.com/uLE9KiuP

2017-11-28 15:32:05 GMT <alfbot> Title: (function() { if (Alfresco.ObjectFinder) { Alfresco.ObjectFinder.pr - Pastebin.com (at pastebin.com)

2017-11-28 15:32:19 GMT <douglascrp> it seems the problem is the object finder object is created before that

2017-11-28 15:33:36 GMT <douglascrp> and I am including that as a custom dependency using a module touching the datalists.get webscript, with action="after" and target="js"

2017-11-28 15:34:00 GMT <douglascrp> I believe the problems is what I am using to attach my code

2017-11-28 15:34:37 GMT <douglascrp> ok, it is lunch time

2017-11-28 15:34:41 GMT <douglascrp> brb

2017-11-28 16:22:11 GMT <angelborroy> Hey

2017-11-28 16:22:42 GMT <angelborroy> Asking for some orientation

2017-11-28 16:22:47 GMT <yreg> Hola angelborroy !

2017-11-28 16:23:01 GMT <angelborroy> A customer made a WebDAV injection of some GBs...

2017-11-28 16:23:21 GMT <angelborroy> … and now the server is struggling with that huge indexation task

2017-11-28 16:23:36 GMT <angelborroy> They have increased CPUs but it seems not to be enough

2017-11-28 16:24:02 GMT <angelborroy> I adviced to reduce “alfresco.corePoolSize” in solr side to control the amount of indexing request

2017-11-28 16:24:09 GMT <angelborroy> But the server cannot with that transacion

2017-11-28 16:24:28 GMT <angelborroy> Any idea on what else to consider?

2017-11-28 16:24:30 GMT <yreg> The size should not matter much, it's probably the number that's causing the problem

2017-11-28 16:24:36 GMT <angelborroy> yep

2017-11-28 16:24:44 GMT <yreg> especially if all/most of the injected files go into the same directory

2017-11-28 16:24:55 GMT <angelborroy> It looks like there are some thousands document associated to the same transaction

2017-11-28 16:25:20 GMT <angelborroy> Alfresco is trying to extract text and this hangs the server

2017-11-28 16:25:39 GMT <yreg> angelborroy, AFAIK it is not possible to include more than a single document in a transaction using webdav

2017-11-28 16:25:51 GMT <yreg> so there might be a move or a rename involved there

2017-11-28 16:25:58 GMT <angelborroy> probably

2017-11-28 16:26:08 GMT <angelborroy> In fact, I think the origin is not so important

2017-11-28 16:26:22 GMT <angelborroy> but it looks like there are many documents to be indexed

2017-11-28 16:26:32 GMT <angelborroy> and the server goes down from time to time

2017-11-28 16:26:45 GMT <yreg> angelborroy, I can give you a trick : disable content indexing on solr side and have solr only track metadata to have your system back up on its feets

2017-11-28 16:27:02 GMT <angelborroy> yep

2017-11-28 16:27:13 GMT <angelborroy> but still I need to index that files

2017-11-28 16:27:29 GMT <yreg> setup an extra solr to track content as well, once the second solr is up to date switch to the new one and dispose of the old one, that way you get the least downtime possible

2017-11-28 16:27:59 GMT <angelborroy> but IMO this will impact in Alfresco server as well

2017-11-28 16:28:06 GMT <angelborroy> I have SOLR on a different server right now

2017-11-28 16:28:16 GMT <angelborroy> And it’s Alfresco server the one which is going down

2017-11-28 16:28:36 GMT <yreg> OOM ?

2017-11-28 16:29:03 GMT <angelborroy> “Out of mana”?

2017-11-28 16:29:10 GMT <angelborroy> What does it mean?

2017-11-28 16:29:12 GMT <yreg> out of memory

2017-11-28 16:29:17 GMT <angelborroy> ahhh

2017-11-28 16:29:19 GMT <angelborroy> nope

2017-11-28 16:29:21 GMT <angelborroy> CPU

2017-11-28 16:29:30 GMT <angelborroy> CPU 100% everytime

2017-11-28 16:29:47 GMT <angelborroy> death by pdfbox

2017-11-28 16:29:53 GMT <yreg> on the java process or the soffice process ?

2017-11-28 16:29:58 GMT <angelborroy> java process

2017-11-28 16:30:06 GMT <angelborroy> pdfbox trying to extract text from documents

2017-11-28 16:30:38 GMT <angelborroy> Many threads at this point:

2017-11-28 16:30:39 GMT <angelborroy> org.apache.tika.parser.pdf.PDF2XHTML.extractImages(PDF2XHTML.java:286)

2017-11-28 16:30:41 GMT <yreg> is it an option to setup an extra alfresco (without caching) to point to the same DB/content store, just for tracking purpose

2017-11-28 16:30:55 GMT <angelborroy> yep

2017-11-28 16:30:59 GMT <angelborroy> I was thinking on that

2017-11-28 16:31:02 GMT <yreg> so that solr hit that extra alfresco instead of crippling the same system used by end users

2017-11-28 16:31:52 GMT <angelborroy> it’s not pdfbox

2017-11-28 16:31:57 GMT <angelborroy> it’s tika, in fact

2017-11-28 16:32:10 GMT <angelborroy> something like this: https://helpx.adobe.com/experience-manager/kb/outOfProcessTextExtraction.html

2017-11-28 16:32:11 GMT <alfbot> Title: Text extraction causes high CPU consumption (at helpx.adobe.com)

2017-11-28 16:32:21 GMT <yreg> also I bet that's for PDF to TXT transformation an is using HTML as a step in that complex transformation

2017-11-28 16:32:32 GMT <yreg> is it an option to switch to the remote jodconverter

2017-11-28 16:32:44 GMT <yreg> and have it handle pdf to text transformations

2017-11-28 16:34:44 GMT <yreg> that way you can easily setup a farm of jodconverter servers with a load balancer and have it absorb the chock

2017-11-28 16:35:05 GMT <angelborroy> You know, I’m using Community

2017-11-28 16:35:14 GMT <angelborroy> I’ll try this alternative

2017-11-28 16:35:15 GMT <angelborroy> https://helpx.adobe.com/experience-manager/kb/outOfProcessTextExtraction.html

2017-11-28 16:35:16 GMT <alfbot> Title: Text extraction causes high CPU consumption (at helpx.adobe.com)

2017-11-28 16:35:37 GMT <angelborroy> Don’t know how to use it at Alfresco but it looks promising according what I’m observing

2017-11-28 16:35:51 GMT <yreg> angelborroy, If this is more like a routine job (and not a one time thing) I would recommend the use of Alfred Inflow (a product of ours) to handle backpressure and only injest what alfresco is able to digest !

2017-11-28 16:36:06 GMT <angelborroy> hehe

2017-11-28 16:36:24 GMT <yreg> angelborroy, remote jodconverter is actually a community project compatible with CE as well as EE

2017-11-28 16:37:23 GMT <yreg> angelborroy, you will definitely need to tweek JVM params if you go for that one as 512m is an overkill and would swallow your ram fast

2017-11-28 16:37:28 GMT <yreg> tweak*

2017-11-28 16:43:01 GMT <yreg> douglascrp, you fiddled with tha remote jod converter right ?

2017-11-28 16:43:34 GMT <yreg> were pdf2txt transformations going through it by default or did you need to set extra properties to define priorities

2017-11-28 16:48:31 GMT <yreg> ~later tell angelborroy just checked the code, it was actually txt2pdf that is supported OOTB not pdf2txt

2017-11-28 16:48:31 GMT <alfbot> yreg: The operation succeeded.

2017-11-28 16:53:09 GMT <douglascrp> yreg, sorry, I didn't get that

2017-11-28 16:53:49 GMT <yreg> no worried :)

2017-11-28 16:56:08 GMT <fwu> hi all!

2017-11-28 17:07:43 GMT <douglascrp> fwu, hi

2017-11-28 17:15:38 GMT <fwu> douglascrp! hi!

2017-11-28 17:15:44 GMT <fwu> thnak you for the help yesterdy

2017-11-28 17:16:35 GMT <douglascrp> fwu, no problem

2017-11-28 17:30:15 GMT <fwu> ppl, I have acustom ftl control. How the height of the result of that ftl in the html page is calculated?

2017-11-28 18:53:17 GMT <alfbot> angelborroy: Sent 2 hours and 4 minutes ago: <yreg> just checked the code, it was actually txt2pdf that is supported OOTB not pdf2txt

End of Daily Log

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