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

2019-04-10 07:03:58 GMT <alfresco-discord> <dgradecak> @douglascrp a proxy in between? nginx?

2019-04-10 09:21:58 GMT *** jelly-home is now known as jelly

2019-04-10 09:32:13 GMT <alfresco-discord> <douglascrp> @dgradecak no. Talking straight to tomcat

2019-04-10 09:39:03 GMT <alfresco-discord> <digcat> hi @douglascrp im not seeing this problem on 6.1.2-ga, with apache as proxy

2019-04-10 09:40:23 GMT <alfresco-discord> <bhagyas> Is there anyone here running Alfresco on Kubernetes as of now?

2019-04-10 09:51:21 GMT <alfresco-discord> <Luca.Biondo> Good morning to everyone! I'm Luca, nice too meet you.

2019-04-10 09:52:51 GMT <alfresco-discord> <Piergiorgio Lucidi> Hi @Luca.Biondo welcome to this crazy channel ๐Ÿ˜„

2019-04-10 09:53:05 GMT <alfresco-discord> <Luca.Biondo> ๐Ÿ˜

2019-04-10 09:56:39 GMT <alfresco-discord> <Piergiorgio Lucidi> A warm welcome also to @Spino ๐Ÿ˜‰

2019-04-10 09:57:47 GMT <alfresco-discord> <Spino> Hi everyone! I'm Angelo, nice to meet you all ๐Ÿ˜ฌ

2019-04-10 09:58:14 GMT <alfresco-discord> <Piergiorgio Lucidi> @bhagyas very interesting to know. It would be great to collect some data from the community. More papers and tutorials or case references should make easier the adoption of Kubernetes by all the Alfresco experts

2019-04-10 11:53:24 GMT <alfresco-discord> <douglascrp> @digcat tks for that

2019-04-10 11:55:20 GMT <alfresco-discord> <douglascrp> @digcat but it seems not related to my problem

2019-04-10 11:55:29 GMT <alfresco-discord> <douglascrp> users were able to upload 3 GB of files without any problem

2019-04-10 11:55:50 GMT <alfresco-discord> <douglascrp> but with the upload new version action, it doesn't work, even for really small documents

2019-04-10 12:14:08 GMT <alfresco-discord> <anghelutar> @douglascrp can this be related to the problem? https://github.com/malcolmcif/alfresco-extend-session-timeouts

2019-04-10 12:14:09 GMT <alfbot> Title:GitHub - malcolmcif/alfresco-extend-session-timeouts: Alfresco - This modification extends the default session timeout for web clients from 1 hour to 16 hours (at github.com)

2019-04-10 12:14:31 GMT <alfresco-discord> <anghelutar> "The timeout specified in the custom-authentication-timeout-context.xml file must be greater than the timeout specified in the web.xml files. If it is not then the upload new version action can fail in a manner where by the user is unaware it has failed."

2019-04-10 12:26:58 GMT <angelborroy> My presentation from Alfresco Meetup yesterday is available at https://angelborroy.wordpress.com/2019/04/10/alfresco-meetup-seville-2019/

2019-04-10 12:26:59 GMT <alfbot> Title:Alfresco Meetup Seville 2019 | Programming and So (at angelborroy.wordpress.com)

2019-04-10 12:27:37 GMT <alfresco-discord> <douglascrp> @anghelutar I am going to check that right now... tks

2019-04-10 12:34:23 GMT <alfresco-discord> <douglascrp> @anghelutar it doesn't look like that is the problem

2019-04-10 12:34:32 GMT <alfresco-discord> <douglascrp> by default, both repo and share timeouts are configured to 60

2019-04-10 12:40:26 GMT <alfresco-discord> <douglascrp> and the default configuration for ticked valid duration is also 60 minutes authentication.ticket.validDuration=PT1H

2019-04-10 12:40:30 GMT <alfresco-discord> <douglascrp> so it seems it is right

2019-04-10 13:02:30 GMT <alfresco-discord> <dgradecak> @Francesco can you insist to have "loading spinners" on ajax actions by default in ACA ๐Ÿ˜‰

2019-04-10 13:02:54 GMT <alfresco-discord> <dgradecak> @Francesco Corti do you have any sample code about what you are doing for ADF RM ?

2019-04-10 13:23:47 GMT <alfresco-discord> <mg_itn> Hi, concerning the REST-API Explorer is there some kind of documentation, what Syntax is possible? For example the "where" field when I query nodes?

2019-04-10 13:28:33 GMT <alfresco-discord> <dgradecak> https://api-explorer.alfresco.com/api-explorer/

2019-04-10 13:28:34 GMT <alfresco-discord> <mg_itn> for example using where=(name MATCHES 'text.txt') doesnt work I get Invalid query

2019-04-10 13:28:34 GMT <alfbot> Title:Alfresco Content Services REST API Explorer (at api-explorer.alfresco.com)

2019-04-10 13:28:41 GMT <alfresco-discord> <dgradecak> what kind of docs you need for this?

2019-04-10 13:29:04 GMT <alfresco-discord> <mg_itn> @dgradecak Just what is possible with the where field

2019-04-10 13:29:07 GMT <alfresco-discord> <mg_itn> I found this: http://docs.alfresco.com/6.0/pra/1/concepts/pra-property-where.html

2019-04-10 13:29:08 GMT <alfbot> Title:Using WHERE to restrict output | Alfresco Documentation (at docs.alfresco.com)

2019-04-10 13:29:49 GMT <alfresco-discord> <mg_itn> And there it says when I use MATCHES I need whitespaces. But using the API explorer and with the correct syntax (regarding to the docs) I get Invalid Query

2019-04-10 13:31:58 GMT <angelborroy> @mg_itn are you using several lines?

2019-04-10 13:32:37 GMT <alfresco-discord> <mg_itn> No just on e

2019-04-10 13:36:43 GMT <alfresco-discord> <dgradecak> which API are you using ? cna you paste the full url

2019-04-10 13:38:11 GMT <alfresco-discord> <mg_itn> https://api-explorer.alfresco.com/api-explorer/#!/nodes/createNode

2019-04-10 13:38:12 GMT <alfbot> Title:Alfresco Content Services REST API Explorer (at api-explorer.alfresco.com)

2019-04-10 13:38:32 GMT <alfresco-discord> <mg_itn> wait sry wrong

2019-04-10 13:38:39 GMT <alfresco-discord> <mg_itn> https://api-explorer.alfresco.com/api-explorer/#!/nodes/listNodeChildren

2019-04-10 13:38:40 GMT <alfbot> Title:Alfresco Content Services REST API Explorer (at api-explorer.alfresco.com)

2019-04-10 13:38:41 GMT <alfresco-discord> <mg_itn> ๐Ÿ˜ƒ

2019-04-10 13:38:59 GMT <alfresco-discord> <dgradecak> not that, the way your request is sent

2019-04-10 13:39:52 GMT <alfresco-discord> <mg_itn> curl -X GET --header 'Accept: application/json' --header 'Authorization: Basic YWRtaW46YWRtaW4=' 'https://api-explorer.alfresco.com/alfresco/api/-default-/public/alfresco/versions/1/nodes/-my-/children?skipCount=0&maxItems=100&where=(name%20MATCHES%20'test.txt')'

2019-04-10 13:39:58 GMT <alfresco-discord> <mg_itn> That's the curl request

2019-04-10 13:40:32 GMT <angelborroy> This works:

2019-04-10 13:40:32 GMT <angelborroy> curl -X GET --header 'Accept: application/json' --header 'Authorization: Basic YWRtaW46YWRtaW4=' 'https://api-explorer.alfresco.com/alfresco/api/-default-/public/alfresco/versions/1/nodes/-root-/children?skipCount=0&maxItems=100&where=(isFolder%3Dtrue)'

2019-04-10 13:41:38 GMT <alfresco-discord> <dgradecak> unfortunately I also have no idea where is the full list of what is accepted by different apis

2019-04-10 13:41:40 GMT <alfresco-discord> <mg_itn> Yes it also works when I say where=(name='test'.txt)

2019-04-10 13:42:01 GMT <alfresco-discord> <mg_itn> But not when I use the MATCHES clause

2019-04-10 13:42:05 GMT <alfresco-discord> <mg_itn> as described in http://docs.alfresco.com/6.0/pra/1/concepts/pra-property-where.html

2019-04-10 13:42:06 GMT <alfbot> Title:Using WHERE to restrict output | Alfresco Documentation (at docs.alfresco.com)

2019-04-10 13:43:33 GMT <alfresco-discord> <dgradecak> angel is your mean, if he does not find than no one will

2019-04-10 13:54:31 GMT <alfresco-discord> <douglascrp> again about my timeout problem, the upload is happening, as the version is being changed

2019-04-10 13:54:51 GMT <alfresco-discord> <douglascrp> so, if I have the version 1.0 of the document and upload a new version, the timeout happens, and I see it on share

2019-04-10 13:55:00 GMT <alfresco-discord> <douglascrp> but if I refresh the page, I see the content updated

2019-04-10 13:55:08 GMT <alfresco-discord> <douglascrp> so it seems to be only a UI problem

2019-04-10 14:05:10 GMT <angelborroy> @mg_itn it looks like this only applies to โ€œpeopleโ€ and โ€œsitesโ€

2019-04-10 14:05:21 GMT <angelborroy> but itโ€™s not available for โ€œnodes"

2019-04-10 14:08:58 GMT <alfresco-discord> <mg_itn> Ah ok. Maybe this would be some kind of improvement for the API Explorer, some kind of documentation right next to the fields, what is possible and what the sytax is for each

2019-04-10 14:11:23 GMT <angelborroy> nope

2019-04-10 14:11:28 GMT <angelborroy> look at this:

2019-04-10 14:11:33 GMT <angelborroy> https://api-explorer.alfresco.com/alfresco/

2019-04-10 14:11:35 GMT <alfbot> Title:Alfresco (at api-explorer.alfresco.com)

2019-04-10 14:11:40 GMT <angelborroy> Itโ€™s an Alfresco 5.2.2

2019-04-10 14:11:57 GMT <angelborroy> Try using an Alfresco 6.0 / 6.1 locally

2019-04-10 14:16:00 GMT <alfresco-discord> <mg_itn> I tried same error

2019-04-10 14:16:08 GMT <angelborroy> yes, Iโ€™m also trying

2019-04-10 14:16:12 GMT <angelborroy> it seems an issue

2019-04-10 14:20:16 GMT <alfresco-discord> <douglascrp> I am going to downgrade share in order to check if the same problem appears

2019-04-10 14:20:19 GMT <alfresco-discord> <douglascrp> but after lunch

2019-04-10 14:20:22 GMT <alfresco-discord> <douglascrp> brb

2019-04-10 14:22:22 GMT <angelborroy> @mg_itn documentation is not accurate

2019-04-10 14:22:27 GMT <angelborroy> From source code

2019-04-10 14:22:28 GMT <angelborroy> matchespredicate : PROPERTYNAME MATCHES LEFTPAREN ( WS )? value RIGHTPAREN

2019-04-10 14:22:46 GMT <angelborroy> So you need left and right parenthesis in your search term

2019-04-10 14:25:53 GMT <alfresco-discord> <mg_itn> Ok nice. But I now see Cannot use matching for property: name

2019-04-10 14:26:01 GMT <alfresco-discord> <mg_itn> so for name it won't work I guess

2019-04-10 14:27:09 GMT <alfresco-discord> <mg_itn> I get the error message for every property I try with ๐Ÿ˜„

2019-04-10 14:27:24 GMT <angelborroy> I donโ€™t understand how this works

2019-04-10 14:27:28 GMT <angelborroy> or if this works

2019-04-10 14:27:55 GMT <AFaust> ^^ The typical reaction when diving deep into source and realising it is quite convoluted...

2019-04-10 14:34:45 GMT <angelborroy> @mg_it I could said that this is not working

2019-04-10 14:34:50 GMT <angelborroy> https://github.com/Alfresco/alfresco-remote-api/blob/7a1aa4052ab0bb44fc6501b2661349581bbc03f0/src/main/java/org/alfresco/rest/api/impl/NodesImpl.java#L1394

2019-04-10 14:34:51 GMT <alfbot> Title:alfresco-remote-api/NodesImpl.java at 7a1aa4052ab0bb44fc6501b2661349581bbc03f0 ยท Alfresco/alfresco-remote-api ยท GitHub (at github.com)

2019-04-10 14:35:08 GMT <angelborroy> As a โ€œnullโ€ is passing for matchings allowed

2019-04-10 14:35:19 GMT <angelborroy> But probably you can raise an issue for further investigation

2019-04-10 14:36:18 GMT <alfresco-discord> <mg_itn> Yeah sure will. But thanks anyway, at least im now sure it's not on my end ๐Ÿ˜„

2019-04-10 14:37:13 GMT <AFaust> One important thing to note about this where-clause in REST API: ALL filter conditions are executed post-query and in-memory via Java code. If anyone expects to see noticable performance improvements when selecting 5 children out of 10000, they will be sorely disappointed

2019-04-10 14:38:19 GMT <AFaust> All 10000 nodes will be loaded from DB and then filtered to whittle the result down to 5. The only performance improvement you will see is that this filtering is done before permission checks...

2019-04-10 14:39:32 GMT <AFaust> The only kind of conditions that may have an effect on DB query time are potentially name, type and aspect (have not checked all code paths)

2019-04-10 14:50:34 GMT <alfresco-discord> <mg_itn> Holy moly. ๐Ÿ˜„ That fits with the issue we had just recently with Downloading big files, which get copied to the temp folder before download

2019-04-10 14:52:26 GMT <alfresco-discord> <dgradecak> in french they would say "ca part en couille" ๐Ÿ˜ƒ

2019-04-10 15:10:05 GMT * AFaust looks up curse words in Japanese...

2019-04-10 15:35:30 GMT <alfresco-discord> <dgradecak> maybe we should use those kind of words in "esperando"

2019-04-10 18:54:03 GMT <alfresco-discord> <douglascrp> the share downgrade has not solved my timeout issue

2019-04-10 18:54:24 GMT <alfresco-discord> <douglascrp> any idea where to look at in order to find what is causing this?

2019-04-10 18:54:50 GMT <alfresco-discord> <douglascrp> using the browser's network monitor, there is no response from the server

2019-04-10 19:02:01 GMT <alfresco-discord> <douglascrp> but even with 5.1 , the document is updated into the repository

2019-04-10 19:28:50 GMT <alfresco-discord> <douglascrp> the timeout happens after 120 seconds

2019-04-10 21:15:26 GMT <alfresco-discord> <qwebirc48287> Just checking in quickly, but would this be the preferred place for questions related to Alfresco / Solr? If not - please redirect me appropriately

2019-04-10 21:15:46 GMT <alfresco-discord> <douglascrp> @qwebirc48287 yes, it is

2019-04-10 21:16:53 GMT <alfresco-discord> <qwebirc48287> Thanks friend. I'll likely return in the near future with an actual Disc. account and some questions

End of Daily Log

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