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-07-28 07:00:07 GMT <Tichodroma> Is there a build in way to extract files from a tgz compressed archive? Maybe a Java action?

2017-07-28 07:16:27 GMT <chandu> Hello All

2017-07-28 07:17:48 GMT <chandu> How can i get saiku license freely.

2017-07-28 07:19:00 GMT <yreg> chandu, https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/PATCHES/5.1.3-r136795

2017-07-28 07:19:12 GMT <yreg> chandu sorry wrong link

2017-07-28 07:19:20 GMT <yreg> http://licensing.meteorite.bi

2017-07-28 07:19:22 GMT <alfbot> Title: Welcome to Meteorite License Server (at licensing.meteorite.bi)

2017-07-28 07:19:33 GMT <chandu> I am working on alflytics reports. As per documentation i need to download saiku licence and paste it into pentaho-solutions/system/saiku

2017-07-28 07:19:42 GMT <yreg> you just say you want community edition and you will get 0.00 as a price tag

2017-07-28 07:27:26 GMT <chandu> Thank you yreg

2017-07-28 07:30:16 GMT <AFaust> Tichodroma: I am not aware of a pre-defined action or any community-based ones...

2017-07-28 07:37:38 GMT <yreg> Tichodroma, a mount (FTP/CIFS/Webdav ...) and do it from your client

2017-07-28 07:37:52 GMT <yreg> that is if it is a one time thing

2017-07-28 07:55:26 GMT <chandu> One more..... i have installed Alflytics from pentaho marketplace and restarted the server. But while installing Alflytics from pentaho user console (http://<server>/pentaho/plugin/Alflytics/api/main) i have selected correct alfresco version and pentaho user credential but i am getting "Something went wrong" error.

2017-07-28 07:55:55 GMT <chandu> i have checked in logs but there is no information

2017-07-28 07:56:24 GMT <chandu> please help on this.

2017-07-28 07:59:21 GMT <fcorti> hi chandu, can you please confirm there is no "ERROR" in the pentaho's catalina.out?

2017-07-28 08:16:19 GMT <chandu> [localhost-startStop-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property 'docbase' to 'webapps/pentaho/' did not find a matching property. 28-Jul-2017 13:42:10.583 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that we

2017-07-28 08:16:38 GMT <chandu> There is no error except which i sent

2017-07-28 08:27:16 GMT <yreg> chandu, what you sent is not even an error

2017-07-28 08:27:58 GMT <fcorti> Which port are you using to run Pentaho? 8080 or a different one?

2017-07-28 08:28:07 GMT <fcorti> is it a Window machine?

2017-07-28 08:28:26 GMT * DarkStar1 bids you all a good morning

2017-07-28 08:38:04 GMT <chandu> Yes, yreg. It is window machine.

2017-07-28 08:40:56 GMT <yreg> Morning DarkStar1

2017-07-28 08:45:10 GMT <fcorti> chandu, are you running Pentaho on port 8080?

2017-07-28 08:45:54 GMT <chandu> I have changed from 8080 to 8081 port.

2017-07-28 08:46:20 GMT <fcorti> ah... this could be the cause

2017-07-28 08:46:55 GMT <fcorti> I'm not saying that you are doing something wrong... but could be a bug or something not tested enough

2017-07-28 08:47:28 GMT <fcorti> I'm aware window installation has problems and I have to look at it... but I don't have tine right now

2017-07-28 08:48:46 GMT <fcorti> I suggest you to alternative paths until then: 1) change the port to 8080 and try again 2) move to a linux based OS (suggested) 3) install it manually following the documentation

2017-07-28 08:50:30 GMT <chandu> Oh! Thank you very much for your support.

2017-07-28 08:50:57 GMT <fcorti> ehi, kidding me? it my pleasure too to see Alflytic used ;-)

2017-07-28 08:51:20 GMT <fcorti> And want to declare it as stable.. but I need use cases like yours :-)

2017-07-28 08:52:01 GMT <fcorti> Out of topic (for friday it's ok): In novemeber the Pentaho Community Meeting will happen https://it-novum.com/en/pcm17/

2017-07-28 08:52:04 GMT <alfbot> Title: Pentaho Community Meeting 2017 - it-novum (at it-novum.com)

2017-07-28 08:52:22 GMT <fcorti> If someone use AAAR or Alflytics they are looking for contributions on the business tracks

2017-07-28 08:52:40 GMT <fcorti> I can support and create the link with organizer, if interested

2017-07-28 08:52:46 GMT <fcorti> i'll be there :-)

2017-07-28 08:52:54 GMT <fcorti> Let me know if someone is interested

2017-07-28 09:02:55 GMT <chandu> great fcorti, so we will get new technologies like Alflytics ;-)

2017-07-28 09:03:56 GMT <fcorti> chandu, feel free to share feedback... I have collected some really interesting from the developers

2017-07-28 09:04:10 GMT <fcorti> Adding custom metadata analytics for processes

2017-07-28 09:04:22 GMT <fcorti> And processes only analytics from Activiti, for example

2017-07-28 09:04:57 GMT <DarkStar1> o/ yreg

2017-07-28 09:05:03 GMT <DarkStar1> how are ye?

2017-07-28 09:05:36 GMT <yreg> hey Lanre !

2017-07-28 09:05:43 GMT <yreg> fine thanks, what about you ?

2017-07-28 09:06:49 GMT <DarkStar1> -= THIS MESSAGE NOT LOGGED =-

2017-07-28 09:07:20 GMT <DarkStar1> -= THIS MESSAGE NOT LOGGED =-

2017-07-28 09:07:21 GMT <yreg> -= THIS MESSAGE NOT LOGGED =-

2017-07-28 09:07:44 GMT <AFaust> -= THIS MESSAGE NOT LOGGED =-

2017-07-28 09:08:31 GMT <yreg> -= THIS MESSAGE NOT LOGGED =-

2017-07-28 09:08:48 GMT <DarkStar1> -= THIS MESSAGE NOT LOGGED =-

2017-07-28 09:09:00 GMT <yreg> -= THIS MESSAGE NOT LOGGED =-

2017-07-28 09:09:32 GMT <DarkStar1> -= THIS MESSAGE NOT LOGGED =-

2017-07-28 09:10:36 GMT <fcorti> -= THIS MESSAGE NOT LOGGED =-

2017-07-28 09:10:40 GMT <DarkStar1> -= THIS MESSAGE NOT LOGGED =-

2017-07-28 09:10:48 GMT <DarkStar1> fcorti: Thanks very much

2017-07-28 09:11:17 GMT <yreg> -= THIS MESSAGE NOT LOGGED =-

2017-07-28 09:11:25 GMT <DarkStar1> -= THIS MESSAGE NOT LOGGED =-

2017-07-28 09:17:36 GMT <angelborroy> -= THIS MESSAGE NOT LOGGED =-

2017-07-28 09:23:06 GMT <DarkStar1> -= THIS MESSAGE NOT LOGGED =-

2017-07-28 11:09:43 GMT <chandu> Hi fcorti! i have changed port number as 8080 and tried but no result. As you said i will move to linux. Is AAAR will work on window machine?

2017-07-28 11:10:22 GMT <chandu> I am using alfresco 5.2.e, AAAR 4.5 & pentho 7.0

2017-07-28 11:11:52 GMT <chandu> I need reports, can you please suggest me.

2017-07-28 11:46:45 GMT <douglascrp> good morning everyone

2017-07-28 11:47:06 GMT <douglascrp> I have a custom webscript deployed in alfresco

2017-07-28 11:47:21 GMT <douglascrp> now, I want to let the user access it from share, using a simple link

2017-07-28 11:47:33 GMT <douglascrp> I tried to use the share proxy, but I keep getting a 401 error

2017-07-28 11:47:52 GMT <douglascrp> is there anything I should be changing, maybe something in the endpoints?

2017-07-28 11:48:22 GMT <douglascrp> it is a simple get webscript that gives the user a dinamically generated xls file

2017-07-28 11:48:38 GMT <yreg> what happens when the same user getting 401 error tries to access it on the alfresco endpoint using basic auth ?

2017-07-28 11:48:44 GMT <yreg> does it work ?

2017-07-28 11:48:52 GMT <douglascrp> yes, it works

2017-07-28 11:49:14 GMT <douglascrp> what is weird is that in my SDK project, the share one, if I try it with the share proxy, it works

2017-07-28 11:49:29 GMT <douglascrp> but when I deploy it in the server, it doesn't work anymore though share proxy

2017-07-28 11:49:44 GMT <douglascrp> so I guess the setup for the SDK share project is different from what I have in the server

2017-07-28 11:49:51 GMT <douglascrp> but I couldn't find what that difference is

2017-07-28 11:49:59 GMT <douglascrp> this is a 5.0.d server BTW

2017-07-28 11:50:53 GMT <yreg> can you share both links ?

2017-07-28 11:51:09 GMT <yreg> for share and repo variants

2017-07-28 11:51:26 GMT <yreg> is alfresco and share on the same server

2017-07-28 11:51:32 GMT <yreg> ?

2017-07-28 11:52:11 GMT <yreg> are you using any kind of SSO / external auth / Auth customization ?

2017-07-28 11:55:24 GMT <fcorti> chandu AAAR does not weork with Alfresco 5,2

2017-07-28 11:55:39 GMT <fcorti> I suggest you to move to Aflystics on Linux

2017-07-28 11:56:04 GMT <fcorti> and please... share ffedback otherwise in the future other dev will have your same issues

2017-07-28 12:03:35 GMT <AFaust> Argh - accidental whitespace (due to IDE formatting rules or simple user error) in audit application name (within the audit XML) can mean you have no chance in hell in querying / finding the audit data again...

2017-07-28 12:04:00 GMT <douglascrp> yreg, yes, I can share them

2017-07-28 12:04:09 GMT <douglascrp> let me just get them, as I have just started working

2017-07-28 12:12:48 GMT <douglascrp> yreg so, no SSO, no external auth, and yes, alfresco authentication... nothing special

2017-07-28 12:12:54 GMT <douglascrp> and yes, everything is running on the same server

2017-07-28 12:13:12 GMT <douglascrp> so all the endpoints are configured as http://127.0.0.1:8080

2017-07-28 12:18:13 GMT <douglascrp> yreg, so, this is using alfresco: http://localhost:8080/alfresco/service/api/br/dgcloud/download-relatorio-tarefas-atrasadas?user=admin

2017-07-28 12:18:16 GMT <douglascrp> this works

2017-07-28 12:18:22 GMT <douglascrp> in my local SDK project

2017-07-28 12:19:59 GMT <douglascrp> yreg, and this one, using the share proxy: http://localhost:8081/share/proxy/alfresco/service/api/br/dgcloud/download-relatorio-tarefas-atrasadas?user=admin

2017-07-28 12:20:27 GMT <douglascrp> also works locally, even using a different browser, just to make sure anything is related with the previously started session with alfresco

2017-07-28 12:20:45 GMT <douglascrp> now, when I publish that in a real server, the share proxy one doesn't work

2017-07-28 12:21:59 GMT <douglascrp> yreg, sorry, the share link is wrong

2017-07-28 12:22:08 GMT <douglascrp> this one is the right one, http://localhost:8081/share/proxy/alfresco/api/br/dgcloud/download-relatorio-tarefas-atrasadas?user=admin

2017-07-28 12:22:18 GMT <douglascrp> without the service part

2017-07-28 12:23:20 GMT <yreg> what does user=admin do ?

2017-07-28 12:23:27 GMT <douglascrp> it is just a filter

2017-07-28 12:23:43 GMT <douglascrp> it means, give me the task for admin

2017-07-28 12:23:58 GMT <douglascrp> it is not used for authentication at all

2017-07-28 12:24:04 GMT <douglascrp> it could be yreg

2017-07-28 12:24:41 GMT <yreg> aha you are looking for workflow tasks for admin ?

2017-07-28 12:24:49 GMT <douglascrp> kind of

2017-07-28 12:25:11 GMT <douglascrp> actually, it is using the admin to get his managees, and them for each one, yes, the tasks instances

2017-07-28 12:25:14 GMT <yreg> but you are not supposed to access those if you are going through the upper level services

2017-07-28 12:25:21 GMT <douglascrp> it is using the alvex-datamanager-dashboard apis

2017-07-28 12:25:25 GMT <yreg> does the same call made by admin from share work

2017-07-28 12:25:53 GMT <douglascrp> yes, both links I just shared with you are the ones I used to execute logged in as admin

2017-07-28 12:25:56 GMT <yreg> s/admin/an administrator/

2017-07-28 12:26:58 GMT <yreg> can you hook up your debugger and check that the request on the alfresco tier is indeed authenticated/debug the share connector

2017-07-28 12:27:23 GMT <douglascrp> may I ask how? :D

2017-07-28 12:30:10 GMT <douglascrp> yreg, ah, something I have just remembered... this server has a nginx in front of tomcat

2017-07-28 12:30:24 GMT <douglascrp> could that be the reason for this different behaviour?

2017-07-28 12:30:43 GMT <yreg> it might

2017-07-28 12:30:56 GMT <douglascrp> ok, let me try against the port 8080

2017-07-28 12:31:31 GMT <yreg> are you using loftux setup ?

2017-07-28 12:31:39 GMT <douglascrp> yes, I am

2017-07-28 12:31:50 GMT <douglascrp> but based on an old version, as this is a 5.0.d

2017-07-28 12:32:00 GMT <douglascrp> so, not everything in the current branch is the same

2017-07-28 12:32:54 GMT <yreg> ok

2017-07-28 12:33:21 GMT <douglascrp> yreg, nothing change using the port 8080

2017-07-28 12:34:11 GMT <yreg> enable remote debugging in tomcat and hook in your debugger

2017-07-28 12:34:25 GMT <douglascrp> it keeps waiting, and then gives me the 401

2017-07-28 12:34:30 GMT <yreg> that is the ultimate source of truth as AFaust says

2017-07-28 12:34:39 GMT <douglascrp> hmm, I won't be able to do that right now, as they are using it

2017-07-28 12:34:53 GMT <AFaust> 1+

2017-07-28 12:34:57 GMT <douglascrp> I published this yesterday at night, and I only be able to do so later

2017-07-28 12:35:14 GMT <douglascrp> *I will only be able...

2017-07-28 12:35:36 GMT <douglascrp> yreg, AFaust ok, thank you for the idea

2017-07-28 12:35:55 GMT <douglascrp> so, I will remotely debug it will tonight

2017-07-28 12:36:23 GMT <douglascrp> *it tonight

2017-07-28 13:07:30 GMT <douglascrp> yreg, so, I have just tried again, and I saw that alfresco is receiving the request

2017-07-28 13:07:40 GMT <douglascrp> but my code is failing with a NPE

2017-07-28 13:07:44 GMT <douglascrp> so, different problem

2017-07-28 13:08:26 GMT <yreg> maybe your debugger is trying to execute .toString on a null object for visualization ?

2017-07-28 13:08:38 GMT <douglascrp> no, I am not using the debugger yet

2017-07-28 13:08:43 GMT <douglascrp> I can not stop this server now

2017-07-28 13:09:03 GMT <douglascrp> after much time waiting for the 401, I ended up getting a 408

2017-07-28 13:09:11 GMT <douglascrp> and then I saw that error in the log

2017-07-28 13:09:27 GMT <douglascrp> so, the proxy is working

2017-07-28 17:38:15 GMT * rockroller3d

2017-07-28 18:18:38 GMT <fwu> hi all!

2017-07-28 18:18:55 GMT <fwu> ppl, anyone compiling to jar files?

2017-07-28 18:19:27 GMT <fwu> anyone knows if it is possible to overwrite properties files using a jar file?

2017-07-28 18:19:36 GMT <fwu> or do I need to use an amp?

End of Daily Log

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