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-07-31 05:08:28 GMT <Sanjay> Good morning!

2018-07-31 05:09:18 GMT <qwebirc77364> Hi

2018-07-31 05:24:48 GMT <alfresco-discord> <yreg> Morning everyon

2018-07-31 05:54:36 GMT <alfresco-discord> <anghelutar> morning

2018-07-31 05:55:33 GMT <rkchan> Hi @alfresco-discord, where can I find folder api for alfresco share ?if any links please send me it would be helpful for me

2018-07-31 06:06:20 GMT <alfresco-discord> <MorganP> https://api-explorer.alfresco.com/api-explorer/#/

2018-07-31 06:06:22 GMT <alfbot> Title:Alfresco Content Services REST API Explorer (at api-explorer.alfresco.com)

2018-07-31 06:06:55 GMT <alfresco-discord> <MorganP> It depends what you want exactly but look at the nodes

2018-07-31 06:19:16 GMT <ashley_> Hello all, how to call a (Ex B process) process multiple times using array variable from one (Ex A process) process to another (B) process in alfresco process service

2018-07-31 07:34:26 GMT <robinroland> Hello Everybody

2018-07-31 08:08:31 GMT <alfresco-discord> <yreg> Hi robinroland

2018-07-31 08:12:45 GMT <robinroland> Does someone have some experiences with FTP on alfresco?

2018-07-31 08:13:58 GMT <robinroland> Can't understand why I can handshake and connect to the ftp server, but i can't list directory content

2018-07-31 08:15:03 GMT <angelborroy> If you are using a Windows client, you have to use FTP in ACTIVE mode

2018-07-31 08:38:55 GMT <alfresco-discord> <RichetDan> Morning all, is it possible for you to deploy Alfresco CE 6 in a single node cluster with Minikube on a windows laptop with 12 Gb RAM just for testing purpose?

2018-07-31 08:44:59 GMT <alfresco-discord> <yreg> I was able to do that both on mac and linux with 16g of ram, I think if you give 8 to minikube you should still have enough to run windows

2018-07-31 08:49:30 GMT <alfresco-discord> <RichetDan> Thank you, the docker deamon running on Minikube is enough right? Docker for Windows installed on the windows host is not required?

2018-07-31 08:50:02 GMT <robinroland> Thanks @angelborroy

2018-07-31 09:43:16 GMT <ashley_> Can anyone guide me, how to do that?

2018-07-31 09:46:04 GMT <robinroland> how to do what?

2018-07-31 09:47:16 GMT <ashley_> hi <robinroland>: how to call a (Ex B process) process multiple times using array variable from one (Ex A process) process to another (B) process in alfresco process service

2018-07-31 09:48:33 GMT <robinroland> oh ok sorry I don't know so muche on process service... I only use Content service

2018-07-31 09:48:45 GMT <robinroland> much*

2018-07-31 10:11:45 GMT <alfresco-discord> <yreg> ashley_ I am not that familiar with APS, but isn't there a call for activity task or maybe a subprocess item in the designer ?

2018-07-31 10:14:28 GMT <alfresco-discord> <yreg> this project seems to showcase something similar to what you are trying to acvhieve: https://github.com/cijujoseph/activiti-examples/tree/master/aps-adhoc-subprocess-injection-into-multi-instance-call-activity

2018-07-31 10:14:29 GMT <alfbot> Title:activiti-examples/aps-adhoc-subprocess-injection-into-multi-instance-call-activity at master · cijujoseph/activiti-examples · GitHub (at github.com)

2018-07-31 10:23:33 GMT <AFaust> Does anyone here have any experience with using Tomcat <PostResources> (https://tomcat.apache.org/tomcat-8.0-doc/config/resources.html) instead of the shared.loader to load Alfresco Repository configuration?

2018-07-31 10:23:36 GMT <alfbot> Title:Apache Tomcat 8 Configuration Reference (8.0.53) - The Resources Component (at tomcat.apache.org)

2018-07-31 10:24:33 GMT <AFaust> I am currently trying to switch over all my usages of shared.loader to PostResources in order to fully isolate the Repository from any other webapss that may be running on the same instance.

2018-07-31 10:25:31 GMT <AFaust> It works completely flawlessly on my local Windows 10, but in a recently build Docker image based on Ubuntu, only the alfresco-global.properties (placed in the root directory referenced by <PostResources>) is picked up while any config in subfolders (such as subsystems et al) is not

2018-07-31 10:26:59 GMT <AFaust> I have yet to debug this (as it likely involves going through Tomcat's own sources), but maybe someone else already dealt with this and could help shave some time of the investigation

2018-07-31 10:27:34 GMT <alfresco-discord> <Mark> Interesting. This could also be used to make load order more predictable.

2018-07-31 10:28:01 GMT <AFaust> Precisely (i.e. you could also use <PreResources> for overriding Alfresco stuff)

2018-07-31 10:28:11 GMT <alfresco-discord> <MorganP> Is this a new thing from Tomcat8 onwards? Never seen it before

2018-07-31 10:28:11 GMT <AFaust> Instead of messing with the WAR

2018-07-31 10:28:11 GMT <alfresco-discord> <dgradecak> doesn't this has to do more with Docker resources? do you use the "COPY" command?

2018-07-31 10:28:28 GMT <AFaust> I inspected the container and all files are there

2018-07-31 10:29:15 GMT <AFaust> MorganP: Yes, Tomcat 8 introduced the Resources bit. In Tomcat 7 you had the VirtualWebAppClassLoader which did some of the same stuff, but not with such a fine level of control

2018-07-31 10:30:18 GMT <alfresco-discord> <Mark> I fully expect your local machine to be a Unix host, but could the difference in behavior be caused by differences in how 'include all subfolders' is denoted in the XML, between your local machine and a docker container?

2018-07-31 10:30:33 GMT <AFaust> dgradecak: And as for the Dockerfile, COPY is used

2018-07-31 10:30:46 GMT <alfresco-discord> <Mark> Issue might well be around there if only root files are picked up

2018-07-31 10:31:31 GMT <AFaust> Just to be clear, when the image is build and the container created, the entire file structure exists in the container and all the files do have content

2018-07-31 10:32:39 GMT <AFaust> What I have not yet tried (because it feels like defeating the purpose) is to configure a <PostResources> for every sub-folder in my structure

2018-07-31 10:32:52 GMT <AFaust> ...and to see if then they are picked up

2018-07-31 10:34:00 GMT <alfresco-discord> <Mark> and throw one of your other config files in the root and see if that is picked up..

2018-07-31 10:34:19 GMT <AFaust> The problem is that Alfresco would not look in the root for those files.

2018-07-31 10:34:26 GMT <alfresco-discord> <Mark> yeah figures.

2018-07-31 10:34:27 GMT <AFaust> So they would not be picked up there

2018-07-31 10:34:47 GMT <AFaust> i.e. alfresco/extension/custom-log4j.properties is one such file I am dealing with

2018-07-31 10:35:43 GMT <alfresco-discord> <dgradecak> I used to use VirtualWebappLoader for that

2018-07-31 10:35:57 GMT <AFaust> Me too in Tomcat 7, but Tomcat 8 is a different thing now

2018-07-31 10:36:27 GMT <alfresco-discord> <dgradecak> that is not supported on tomcat 8 anymore?

2018-07-31 10:36:55 GMT <AFaust> I have not found any documentation for VirtualWebAppLoader on Tomcat 8 and it looks like the Resources stuff completely replaced that...

2018-07-31 10:37:09 GMT <alfresco-discord> <dgradecak> ach so

2018-07-31 10:37:20 GMT <AFaust> genau

2018-07-31 10:38:41 GMT <alfresco-discord> <dgradecak> "The Aliases, VirtualLoader, VirtualDirContext, JAR resources and external repositories features that all provided a way to add resources to a web application have been replaced with a single framework rather than each being implemented separately (this was becoming increasingly difficult to maintain). The resources documentation provides details on how the new implementation may be used."

2018-07-31 10:38:48 GMT <alfresco-discord> <dgradecak> nice one

2018-07-31 10:41:31 GMT <alfresco-discord> <dgradecak> did you try adding webAppMount="/WEB-INF/classes"

2018-07-31 10:42:16 GMT <alfresco-discord> <dgradecak> seems as this might be helpful if you did not try it yet (https://stackoverflow.com/questions/23143697/adding-external-resources-to-class-path-in-tomcat-8)

2018-07-31 10:42:17 GMT <alfbot> Title:java - Adding external resources to class-path in Tomcat 8 - Stack Overflow (at stackoverflow.com)

2018-07-31 11:12:02 GMT <AFaust> Yes, my mount is /WEB-INF/classes

2018-07-31 11:12:50 GMT <AFaust> Already went over this (and other) SO post(s) in the hopes of finding some information on how sub-directories should be handled

2018-07-31 11:15:55 GMT <alfresco-discord> <dgradecak> I had an issue with resources on docker when using it at the begining, for instance "COPY lic/sample-peltas.lic /lic/peltas.lic" would not make that file available correctly if not having the slash here /lic/peltas.lic

2018-07-31 11:16:29 GMT <alfresco-discord> <dgradecak> although this comamnd COPY ${JAR_FILE} peltas.jar copies the jar file at the root, never digged into it, since the forward slash worked

2018-07-31 11:20:18 GMT <alfresco-discord> <yreg> @dgradecak , AFaust if you don't use leading slash, you point to a relative path based on your workdir (usually user home)

2018-07-31 11:22:17 GMT <AFaust> In my case relative paths all point to the build dir where my Dockerfile and other static resources are located. At the risk of repeating myself: The files are correctly stored in the container and I have even experimented with dynamically created files (via "vi" in the container)

2018-07-31 11:23:14 GMT <AFaust> I also use COPY on a directory of files for the Repository config files, including alfresco-global.properties (which is picked up)

2018-07-31 11:27:00 GMT <alfresco-discord> <dgradecak> did you try preResource instead of postResource?

2018-07-31 11:38:34 GMT <alfresco-discord> <anghelutar> permission issues?

2018-07-31 11:39:12 GMT <alfresco-discord> <anghelutar> did you try on a normal Ubuntu? (not dockerized)

2018-07-31 11:40:06 GMT <alfresco-discord> <anghelutar> I see no reason why it would work on a non-dockerized setup and not work in a container, provided versions for java+tomcat are the same

2018-07-31 12:05:05 GMT <AFaust> I did not yet have time to setup a comparable system in a regular VM / host

2018-07-31 12:05:31 GMT <AFaust> And I did not try PreResource either as I did not want to accidentally override anything shipped with Alfresco / an addon

2018-07-31 12:06:39 GMT <AFaust> I checked and verified that permissions are correctly set, i.e. chown on my tomcat8 user and chmod having full access for owner

2018-07-31 12:26:57 GMT <alfresco-discord> <dgradecak> just by curiosity, could you share your postresource config?

2018-07-31 12:28:19 GMT <AFaust> I have not yet pushed my Maven-based build projects to GitHub as I wanted to have a usable state...

2018-07-31 12:28:38 GMT <alfresco-discord> <dgradecak> copy/paste?

2018-07-31 12:28:45 GMT <AFaust> But I'll create a fpaste

2018-07-31 12:29:33 GMT <AFaust> This is my Tomcat conf/Catalina/localhost/alfresco.xml: https://paste.fedoraproject.org/paste/DYQtCEPQPNy9UyRmC9Axeg

2018-07-31 12:29:34 GMT <alfbot> Title:Untitled - Modern Paste (at paste.fedoraproject.org)

2018-07-31 12:30:40 GMT <alfresco-discord> <dgradecak> not opening for some reasons

2018-07-31 12:30:53 GMT <AFaust> The path /srv/alfresco/modules is where I am storing any JAR extensions, and of course /srv/alfresco/config is the intended root for my alfresco-global.properties + config

2018-07-31 12:34:00 GMT <alfresco-discord> <dgradecak> fpaste servers seems to struggle, at least for me

2018-07-31 12:34:16 GMT <AFaust> It took a while to load the submit form for me

2018-07-31 12:39:09 GMT <alfresco-discord> <mbui> I've had end users complaining that sometimes changes in document using the Edit Online/in Microsoft Office doesn't get saved. I havn't been able to reproduce it, anyone had similar issues? This is for Alfresco Enterprise 5.1

2018-07-31 12:40:17 GMT <AFaust> I have a customer that had multiple issues with AOS on Enterprise 5.1, including sometimes changes not being saved.

2018-07-31 12:40:47 GMT <alfresco-discord> <yreg> mbui I had issues with edit online not properly locking the document, and endusers being able to concurrently edit online the same document

2018-07-31 12:40:59 GMT <AFaust> They provided me with network traces of those instances when they could reproduce it and so far I could only analyse that "yes, Office does not send any request to save the document to Alfresco"

2018-07-31 12:41:13 GMT <alfresco-discord> <yreg> obviously last one ta hit the save button would discard the other user's changes

2018-07-31 12:41:49 GMT <AFaust> ^^ that also happened once or twice, as the AOS version initially shipped with 5.1 had bugs in its locking code and we have since upgraded to 1.1.7

2018-07-31 12:42:00 GMT <alfresco-discord> <mbui> Any of these AOS issues solved with upgrading to latest service pack?

2018-07-31 12:45:00 GMT <alfresco-discord> <mbui> Hm, found this issue which may be related: https://issues.alfresco.com/jira/browse/MNT-17113

2018-07-31 12:45:27 GMT <alfresco-discord> <mbui> If a user can't see the changes in the preview then they may assume that nothing was changed I guess.

2018-07-31 12:52:43 GMT <alfresco-discord> <dgradecak> finally fpaste opened, of course it seems you are in some kind of troubles;) however I wonder why you use crossContext?

2018-07-31 12:57:46 GMT <AFaust> Ehmm - no reason, just copied that from previous alfresco.xml

2018-07-31 12:58:42 GMT <AFaust> Since Alfresco internally redirects some requests from its _vti_bin / ROOT applications, it sounded like it may be necessary

2018-07-31 12:59:12 GMT <AFaust> Though for Alfresco itself it may not be strictly necessary - only for the others, since they want to forward requests

2018-07-31 13:06:03 GMT <alfresco-discord> <douglascrp> @mbui I observed that problem when using the onlyoffice integration... changes are saved, but the preview is not updated in the browser

2018-07-31 13:06:16 GMT <alfresco-discord> <douglascrp> it is updated in the server, but browser is not able to download the new version

2018-07-31 13:06:28 GMT <alfresco-discord> <douglascrp> so it gives the user the impression the changes got lost

2018-07-31 13:09:53 GMT <alfresco-discord> <douglascrp> if you clean the browser's cache, then the right preview is loaded

2018-07-31 13:18:29 GMT <AFaust> Oh boy, you can't use site roles / groups in an evaluator to restrict the applicability of a Surf extension module (backend web script only loads groups from zone APP.DEFAULT). That sucks...

2018-07-31 13:19:17 GMT <angelborroy> https://community.alfresco.com/thread/238173-alfresco-keycloak-authenticaiton

2018-07-31 13:19:19 GMT <alfbot> Title:Alfresco Keycloak Authenticaiton | Alfresco Community (at community.alfresco.com)

2018-07-31 13:19:41 GMT <angelborroy> sorry for my replies, but people can search a minimum before posting, can’t they?

2018-07-31 13:21:09 GMT <AFaust> Surely they can... but some just are inherently incapable it seems

2018-07-31 13:22:02 GMT <AFaust> I no longer care if some of my responses may seem a bit snarky in those cases...

2018-07-31 13:22:56 GMT <angelborroy> I know :D

2018-07-31 13:22:56 GMT <AFaust> Oh - I also had the pleasure to deal with that user

2018-07-31 13:23:23 GMT <angelborroy> (I note that “user” word selection)

2018-07-31 13:49:34 GMT <alfresco-discord> <IanW> Since tomcat is being discussed today I notice that tomcat8 went eol last month - anybody doing anything about that or is everyone still on tomcat7?

2018-07-31 13:51:28 GMT <AFaust> Well, Alfresco has chosen 8.5 as the new basis for 6.0, so they already addressed this. And AFAIK you can safely use 8.5 for older releases as well (granted, requires to do a custom install)

2018-07-31 13:52:17 GMT <AFaust> 8.5 is also the version I'll be rebasing any systems towards whenever relevant

2018-07-31 13:52:59 GMT <AFaust> Since none of my customers are using Docker ATM, I am not limited by this issue I mentioned earlier today

2018-07-31 13:53:28 GMT <alfresco-discord> <yreg> @IanW I thought 8.0 is the one being EOLed, not the entire 8.x line

2018-07-31 13:53:29 GMT <angelborroy> Sorry, I missed that

2018-07-31 13:53:35 GMT <angelborroy> What issue?

2018-07-31 13:54:15 GMT <angelborroy> ok, I’m reading chat history

2018-07-31 13:54:56 GMT <alfresco-discord> <yreg> https://tomcat.apache.org/download-80.cgi says : "Note: End of life has been announced for 8.0.x only. 8.5.x is not affected by this announcement."

2018-07-31 13:54:57 GMT <alfbot> Title:Apache Tomcat® - Apache Tomcat 8 Software Downloads (at tomcat.apache.org)

2018-07-31 13:55:59 GMT <alfresco-discord> <douglascrp> has anyone here implemented a kind of documents print control inside alfresco?

2018-07-31 13:56:23 GMT <alfresco-discord> <douglascrp> I have a requirement where the user wants to have the pdf marked with the name of the user, and the date when the document got printed

2018-07-31 13:56:46 GMT <alfresco-discord> <douglascrp> so, what I thought was to remove all the download actions spread through share, and then for the user to use the preview

2018-07-31 13:57:15 GMT <AFaust> There was a question regarding this not too long ago in community.alfresco.com, and I believe also in either of the IRC/Discord chats

2018-07-31 13:57:16 GMT <alfresco-discord> <douglascrp> when he wants to download/print the document, he will have to use a custom action I am going to create, which will process the file, insert the texts, and then open it in another tab

2018-07-31 13:57:33 GMT <alfresco-discord> <douglascrp> then the user can do whatever he wants with the document

2018-07-31 13:57:39 GMT <alfresco-discord> <douglascrp> what do you think about this approach?

2018-07-31 13:58:06 GMT <alfresco-discord> <douglascrp> AFaust, was that for me? if yes, then I missed that one

2018-07-31 13:58:56 GMT <AFaust> At one of my customers, we have used AOP to inject a generic piece of logic into ContentService / NodeService that would transparently interpose a PDF-rendition instead of the original document, where the rendition would have watermarks (only in specific sites / folders with specific configuration aspects on them)

2018-07-31 13:59:03 GMT <AFaust> douglascrp: Yes, for you

2018-07-31 13:59:52 GMT <AFaust> Though our feature is limited to those with read-only / contributor access

2018-07-31 14:00:31 GMT <alfresco-discord> <IanW> thanks all - missed the 8.0 vs 8.5 distinction

2018-07-31 14:00:50 GMT <alfresco-discord> <douglascrp> AFaust, got it

2018-07-31 14:01:19 GMT <alfresco-discord> <douglascrp> in my case, if the user wants to read the content, he can use the default preview

2018-07-31 14:01:23 GMT <alfresco-discord> <yreg> @douglascrp I have done something similar to what AFaust explained in a GDPR project, used AOP to add watermarks for sensitive documents (based on the presence of predefined aspects/props)

2018-07-31 14:03:26 GMT <alfresco-discord> <douglascrp> @yreg right

2018-07-31 14:03:36 GMT <alfresco-discord> <douglascrp> well, I guess my case is simpler

2018-07-31 14:05:57 GMT <alfresco-discord> <douglascrp> but do you think my idea is worth it?

2018-07-31 14:06:12 GMT <alfresco-discord> <douglascrp> I guess it is a simple way to solve the client's problem

2018-07-31 14:07:53 GMT <AFaust> As long as they don't use WebDAV, AOS (for Windows file drive), FTP, IMAP, CMIS...

2018-07-31 14:08:13 GMT <alfresco-discord> <douglascrp> they won't, for sure

2018-07-31 14:08:13 GMT <AFaust> Those interfaces would be wide open to get a non-print-controlled document

2018-07-31 14:08:30 GMT <AFaust> ReST API...

2018-07-31 14:08:39 GMT <alfresco-discord> <douglascrp> this is for a client running alfresco internally, but using it to distribute manuals to partners

2018-07-31 14:09:04 GMT <alfresco-discord> <douglascrp> and they are going to use exclusively the share interface, and only in a specific site, where the content is shared with them

2018-07-31 14:16:42 GMT <alfresco-discord> <yreg> tracking all places where document can be downloaded/printed seems like a lot of work to me

2018-07-31 14:17:18 GMT <alfresco-discord> <yreg> and users familiar with Alfresco, or malicious users could still easily construct a download URL

2018-07-31 14:18:36 GMT <angelborroy> douglascrp probably that is the right scenario for ADF

2018-07-31 14:19:29 GMT <angelborroy> a simple app can solve easliy that feature

2018-07-31 14:29:27 GMT <alfresco-discord> <douglascrp> @yreg we already have an addon to block download, but yes, you are right... it simply removes the links

2018-07-31 14:29:54 GMT <alfresco-discord> <douglascrp> anyone really knowing how alfresco works, can download the content

2018-07-31 14:34:21 GMT <angelborroy> AxelFaust in the end was me not understanding the real question… Damn Heat! :D

2018-07-31 14:38:42 GMT <AxelFaust> angelborroy: I can relate - my home office days since last week have been extremely unproductive

2018-07-31 14:40:59 GMT <AxelFaust> That reminds me, @yreg I have not yet found the reason why my shell script substitution does / did not work as expected, but at least I have fixed my guard so the problem currently does not come up unless I use a specific constellation of parameters. I will table that issue for sometime cooler...

2018-07-31 14:42:09 GMT <alfresco-discord> <yreg> hehe

2018-07-31 14:45:46 GMT <alfresco-discord> <RichetDan> @douglascrp for a customer we have implemented an extension that dinamically add something like a footer, watermark and user infos each time user downloads documents through Share

2018-07-31 14:46:41 GMT <alfresco-discord> <RichetDan> but it works only in Share and does not work when user download as zip.

2018-07-31 14:47:45 GMT <alfresco-discord> <douglascrp> @RichetDan yes, exactly

2018-07-31 14:55:35 GMT <alfresco-discord> <RichetDan> @douglascrp to obtain the result we have implemented a class which replace the ootb org.alfresco.slingshot.web.scripts.SlingshotContentGet

2018-07-31 14:55:56 GMT <alfresco-discord> <douglascrp> I see

2018-07-31 14:56:09 GMT <alfresco-discord> <douglascrp> but in that case, you are modifying the resulting content for everybody, I guess

2018-07-31 14:56:31 GMT <alfresco-discord> <douglascrp> and that is not the result they want, as the internal employees should see the original content

2018-07-31 14:56:46 GMT <alfresco-discord> <douglascrp> the watermarked version is only intended for the external partners

2018-07-31 14:56:55 GMT <alfresco-discord> <douglascrp> but that is an idea

2018-07-31 15:01:19 GMT <alfresco-discord> <RichetDan> couldn't you add your custom logic in order to manipulate the stream only if the user belongs to a specific group?

2018-07-31 15:01:32 GMT <alfresco-discord> <douglascrp> I guess yes

2018-07-31 15:07:45 GMT <alfresco-discord> <RichetDan> Yes. in our case are properties on the document to pilot any change to the stream.

2018-07-31 15:08:03 GMT <alfresco-discord> <douglascrp> cool

2018-07-31 15:24:53 GMT <alfresco-discord> <dgradecak> seems everyone is doing a similar thing;) on my side I implemnted the saem thing but with a custom "webscript", which is available for the external users by a temporary link

2018-07-31 15:25:45 GMT <alfresco-discord> <dgradecak> the webscript was an alfresco-mvc (spring mvc) controller of course;)

2018-07-31 15:26:46 GMT <alfresco-discord> <dgradecak> @AFaust any progress on the tomcat resources?

2018-07-31 15:27:55 GMT <AxelFaust> Today I am working on a different project / topic, so haven't had time during the day to do anything. I will continue to work on this once I get home and have finished my groceries run...

2018-07-31 15:28:32 GMT <AxelFaust> I just did not want to forget to ask in case anyone could provide insight...

2018-07-31 15:28:59 GMT <alfresco-discord> <dgradecak> ok, I am just curious of course

2018-07-31 15:29:11 GMT <AxelFaust> I will let you know once I progressed

2018-07-31 15:29:27 GMT <alfresco-discord> <dgradecak> ok thank you 😉

2018-07-31 15:29:51 GMT <alfresco-discord> <dgradecak> btw, is anyone using alfresco audit? or any need in BI on alfresco data?

2018-07-31 15:30:12 GMT <AxelFaust> Since I have to deal with connecting all of the external transformer programs now, this is currently on the top of the priority list

2018-07-31 15:31:04 GMT <AxelFaust> ~me raises the hand with regards to using Audit, but not BI

2018-07-31 15:31:04 GMT <alfbot> AxelFaust: Error: "me" is not a valid command.

2018-07-31 15:31:38 GMT <AxelFaust> Hmm ... /me did not work and ~me also does not? Have I really forgot the command for this?

2018-07-31 15:32:23 GMT * AxelFaust tests /me again

2018-07-31 15:32:32 GMT <AxelFaust> Now it works - strange

2018-07-31 15:36:45 GMT <alfresco-discord> <dgradecak> I had to close my "irc" window, trying to get used to discord

2018-07-31 15:37:34 GMT <alfresco-discord> <dgradecak> why no need for BI?

2018-07-31 15:37:38 GMT <AxelFaust> Though it is the same command on both. Just for some reason my first /me was silently swallowed without doing anything

2018-07-31 15:39:10 GMT <alfresco-discord> <dgradecak> I built a "nice" tool to be able to export audit data or even repository data from alfresco, incrementaly ...

2018-07-31 15:40:07 GMT <alfresco-discord> <dgradecak> just trying to see how many people are trying to use BI on top of alfresco, since I know some people tried A.A.A.R.

2018-07-31 15:40:26 GMT <AxelFaust> It just comes up rarely - if at all. Most data customers / managers typically ask for can already be extracted from the DB without any special tooling, and if special BI is required, an Alfresco-specific solution is typically not acceptable as the customer will have a company-wide standard that needs to be used...

2018-07-31 15:40:48 GMT <alfresco-discord> <dgradecak> and this "new comer" tool can export to whatever format or table structure, based on evaluators etc ...

2018-07-31 15:41:58 GMT <alfresco-discord> <dgradecak> exactly, this is not alfresco specific, it exports data to a DB for instance, iwthout alfresco amps required or whatever to be installed on alfresco. Just using audit URLs or solr URLs on the alfresco side

2018-07-31 15:42:15 GMT <alfresco-discord> <dgradecak> will try to have a lightning talk on the next devcon about it

2018-07-31 15:43:11 GMT <alfresco-discord> <dgradecak> and of course the customers team can use whatever tool they want or have

2018-07-31 15:43:37 GMT <AxelFaust> Apart from that, quite a bit of the information most of the Alfresco BI tooling I know focus on would be border-line illegal to collect / use / access in Germany, since it could allow you to profile in detail the work of your employees

2018-07-31 15:44:46 GMT <alfresco-discord> <dgradecak> that is why there are "evaluators" to evaluate the audit action in order to persist in a normalized format

2018-07-31 15:45:27 GMT <alfresco-discord> <dgradecak> anyhow, if ever needed think about that;) also think about that if someone needs to gain insights in the "live" repository data

2018-07-31 15:48:23 GMT <AxelFaust> The problem often already begins at the time of data collection, so the evaluator based restriction during export may not be sufficient to be approved by the workers representation / data protection officer

2018-07-31 15:49:30 GMT <AxelFaust> But I get what you are saying - I was just explaining why it has not been relevant for me that often...

2018-07-31 19:39:02 GMT <alfresco-discord> <douglascrp> does anyone know about any way to undo a stupid move from a user?

2018-07-31 19:39:19 GMT <alfresco-discord> <douglascrp> one more my customers simply deleted a folder, containing thousands of folders and files

2018-07-31 19:39:37 GMT <alfresco-discord> <douglascrp> not all in the same folder, but distributed in year, week and then files

2018-07-31 19:40:02 GMT <alfresco-discord> <douglascrp> now, I am trying to restore from trashcan, but it is taking ages, and it not finishing

2018-07-31 19:40:23 GMT <alfresco-discord> <douglascrp> is there any script or something like that to do this incrementally?

2018-07-31 19:43:33 GMT <AFaust> Short answer: No

2018-07-31 19:43:40 GMT <alfresco-discord> <douglascrp> 😄

2018-07-31 19:43:46 GMT <alfresco-discord> <douglascrp> that is what I thought

2018-07-31 19:44:24 GMT <AFaust> One thing to keep in mind is that policies / rules significantly increase the time for a restore from trashcan, so you may want to run this with RuleService and policyBehaviourFilter disabled...

2018-07-31 19:44:39 GMT <alfresco-discord> <douglascrp> that is a good idea

2018-07-31 19:44:44 GMT <alfresco-discord> <douglascrp> I will try that

2018-07-31 19:46:43 GMT <AFaust> Alternatively, if you are feeling extremely adventurous, you could try to perform the restoration using a custom DB script / procdeure, avoiding the delete + re-create cycles (and policies), though you would have to reindex from a backup and have your system shut down. Also, I don't have a script ready as a starting point.

2018-07-31 19:47:06 GMT <alfresco-discord> <douglascrp> no, I prefer not to do that

2018-07-31 19:47:33 GMT <AFaust> Rightly so...

2018-07-31 19:47:53 GMT <alfresco-discord> <douglascrp> I am going with the idea you gave me before

2018-07-31 19:48:18 GMT <alfresco-discord> <douglascrp> as the rules basically deal with this folder structure, as the full folder is going to be restored, there is no need to let it run again

2018-07-31 19:59:26 GMT <alfresco-discord> <douglascrp> ~afaust still running, even after disabling the folder rules

2018-07-31 19:59:35 GMT <alfresco-discord> <douglascrp> users are dangerous

2018-07-31 20:02:10 GMT <alfresco-discord> <douglascrp> in order to avoid those stupid mistakes, one thing that could be done is to fully block the delete action for non-empty folders

2018-07-31 20:02:17 GMT <alfresco-discord> <douglascrp> just like the rm command does on linux

2018-07-31 20:02:48 GMT <alfresco-discord> <douglascrp> and force the user to browse inside the folder, remove all the documents/folders, and only after that remove the folder

2018-07-31 20:19:03 GMT <alfresco-discord> <douglascrp> we already have a "custom delete" action implemented for a customer, where the user has to inform, in a form, the reason to delete the document, and when he confirms, the document is actually moved into another site, an archive site, where the full path is replicated, and the folder is kept

2018-07-31 20:19:26 GMT <alfresco-discord> <douglascrp> only admin/power users can execute the real delete in the archive site

2018-07-31 21:38:41 GMT <alfresco-discord> <mbui> @douglascrp Good idea, however I think disabling delete action if folder contains children is a little extreme and may cause more annoyance for the end users. Maybe extend the "Are you sure?" popup with some information such as Are you sure you want to delete 'folder'? 'folder' contains X documents and Y files. Type "DELETE" into the field to confirm.

2018-07-31 21:39:38 GMT <alfresco-discord> <mbui> Possibly only show the extended version if folder contains more than X documents.

2018-07-31 21:44:45 GMT <alfresco-discord> <douglascrp> Amazing idea really

2018-07-31 21:45:00 GMT <alfresco-discord> <douglascrp> A good idea for the hackathon

End of Daily Log

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