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-12-05 08:24:30 GMT <alfresco-discord> <sumit> Hi, Is this possible to integrate Alfresco with Azure Active Directory?

2018-12-05 08:29:40 GMT <alfresco-discord> <sumit> As because Alfresco AD configs need AD server ip address and port number. While I am not seeing these information in my Azure Active Directory.

2018-12-05 09:10:13 GMT <AFaust> sumit: Yes, it is possible to integrate Alfresco with Azure Active Directory. The config is actually the same as with any regular AD. I did such an integration with Alfresco 5.2 early last year for a customer evaluation of Azure for their currently/still internal Alfresco system

2018-12-05 09:11:49 GMT <AFaust> There was a trick to get the AD accessible, which involved temporarily setting up a Windows Server instance to configure the domain, since some config features are not exposed in Azure UI...

2018-12-05 09:13:54 GMT <AFaust> I believe I used this documentation / guide to set this up: https://docs.microsoft.com/en-us/azure/active-directory-domain-services/active-directory-ds-admin-guide-configure-secure-ldap

2018-12-05 09:13:56 GMT <alfbot> Title:Configure Secure LDAP (LDAPS) in Azure AD Domain Services | Microsoft Docs (at docs.microsoft.com)

2018-12-05 12:24:12 GMT <angelborroy> Could not transfer artifact org.alfresco:alfresco-solr4:zip:config:6.0.7-ga from/to alfresco-private-repository (https://artifacts.alfresco.com/nexus/content/groups/private): Not authorized , ReasonPhrase:Unauthorized.

2018-12-05 12:24:15 GMT <angelborroy> Workarounds?

2018-12-05 12:25:29 GMT <yreg> angelborroy, I do not think such an artifact exists

2018-12-05 12:26:05 GMT <yreg> I already responded to some reply on your blog post at some moment I guess with details on how I did workaround that

2018-12-05 12:26:17 GMT <yreg> Basically I disabled solr in the SDK

2018-12-05 12:26:26 GMT <yreg> And used docker for that

2018-12-05 12:27:26 GMT <angelborroy> ok, going back to 5.2

2018-12-05 12:27:27 GMT <angelborroy> thanks

2018-12-05 12:29:05 GMT <yreg> https://community.alfresco.com/community/ecm/blog/2018/07/12/quick-tips-for-migrating-sdk3-projects-to-acs-6?commentID=7134#comment-7156

2018-12-05 12:29:09 GMT <alfbot> Title:Quick tips for migrating SDK3 projects to ACS 6 | Alfresco Community (at community.alfresco.com)

2018-12-05 12:29:13 GMT <angelborroy> Yes, I’ve read that

2018-12-05 12:29:28 GMT <angelborroy> I’m developing a content model

2018-12-05 12:29:38 GMT <angelborroy> I don’t need such complexity for this task

2018-12-05 12:29:51 GMT <angelborroy> It will work the same compiling for 5.2

2018-12-05 12:30:09 GMT <yreg> sure

2018-12-05 13:14:49 GMT <alfresco-discord> <Shyam42> Hi Good morning I am assign the task to one user. That user dont want to do that task at that time. he wanted to HOLD that task for 2 days(i am taking as input from user). Now i wanted to remove that task from his task list and give it after 2 days. For that i will assign that task to some temp user and put the 2 days of timer on that task so after two days its reassign to my user This is my

2018-12-05 13:14:49 GMT <alfresco-discord> approach is there any other approach to archive this directly?

2018-12-05 13:25:46 GMT <alfresco-discord> <mbui> @Shyam42 What happens if they change their mind and want to finish the task after 1 day? Has to wait for the full 2 days first?

2018-12-05 13:29:17 GMT <alfresco-discord> <Shyam42> I hope YES he need to wait for 2 days, bcoz in the earlier stage he said that he will do it after 2 days.

2018-12-05 13:48:31 GMT <d1rewolf> guys, after I used the alfresco-ubuntu-install script to install alfresco, I get a 404 when accessing /share on :80, with the error: "Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists." Nothing appears in the alfresco log. Any hints on what I should do to track down what's wrong? I can access the admin portal at :8080

2018-12-05 14:01:41 GMT <alfresco-discord> <mbui> Can you access share at port 8080 or 8081?

2018-12-05 14:03:15 GMT <d1rewolf> mbui: sorry...didn't see your response. I get the same 404 error at http://myserver:8080/share

2018-12-05 14:03:24 GMT <d1rewolf> 8081 doesn't seem to be listening for connections at all.

2018-12-05 15:07:43 GMT <d1rewolf> any ideas guys? Or should I just kill this server and re-install?

2018-12-05 15:11:17 GMT <alfresco-discord> <douglascrp> Have you started alfresco and nginx?

2018-12-05 15:21:00 GMT <alfresco-discord> <douglascrp> what a mess alfresco is doing with the artifacts versions.... alfresco/alfresco-content-repository-community 6.0.7-ga

2018-12-05 15:21:08 GMT <alfresco-discord> <douglascrp> where is the letter for the version?

2018-12-05 15:39:57 GMT <d1rewolf> douglascrp: I have. I can access the admin console at :8080... just not share at :80/share or :8080/share

2018-12-05 15:44:33 GMT <alfresco-discord> <douglascrp> have you checked if you have the share.war file inside the webapps folder?

2018-12-05 15:44:53 GMT <alfresco-discord> <douglascrp> its instalations is optional... maybe you answered no when the script asked if you wanted it or not

2018-12-05 15:45:19 GMT <hi-ko_> angelborroy, yreg: what do you think about focusing sdk targets jar only and testing with containers?

2018-12-05 15:46:46 GMT <angelborroy> Currently I’m developing compiling JAR modules (Repo / Share) and copying them to Docker Compose

2018-12-05 15:46:55 GMT <angelborroy> It’s fast

2018-12-05 15:47:03 GMT <angelborroy> Not that fast, but fast enough

2018-12-05 15:47:12 GMT <alfresco-discord> <douglascrp> I did the same when I tested site-creators addon with alfresco 6

2018-12-05 15:48:16 GMT <angelborroy> you have only to stop-start Alfresco or Share container

2018-12-05 15:48:26 GMT <angelborroy> (depending on your modification)

2018-12-05 15:48:34 GMT <alfresco-discord> <douglascrp> sometimes, build it

2018-12-05 15:48:40 GMT <alfresco-discord> <douglascrp> rebuild it

2018-12-05 15:48:40 GMT <angelborroy> And if you manage to package everything in JAR this operation is fast

2018-12-05 15:48:53 GMT <hi-ko_> so which sdk version are you using then for alf 6 jars?

2018-12-05 15:48:56 GMT <angelborroy> if you mount JAR modules folder, then you have only to stop-start

2018-12-05 15:49:16 GMT <angelborroy> I’m (still) using SDK 3.0

2018-12-05 15:49:30 GMT <alfresco-discord> <douglascrp> same here

2018-12-05 15:49:30 GMT <hi-ko_> OK I'll try.

2018-12-05 15:49:58 GMT <angelborroy> Just made some hand-made manipulations to compile one project that was depending on Alfresco 6 libraries

2018-12-05 15:50:11 GMT <hi-ko_> I set up an environment using lxd instead of docker. less complex and updateable

2018-12-05 15:50:59 GMT <angelborroy> quite interesting… hi-ko why are you not talking about this at DevCon?

2018-12-05 15:51:18 GMT <angelborroy> All the sessions (but Jeff’s) are as boring as my own session

2018-12-05 15:51:55 GMT <hi-ko_> we had a longer internal discussion and decided not to go

2018-12-05 15:52:10 GMT <angelborroy> we’ll miss you (again)

2018-12-05 15:53:52 GMT <hi-ko_> thanks - I personally don't like the focus of docker, kubernetes ... no added value for the users but much effort and new maintenance issues

2018-12-05 15:56:12 GMT <hi-ko_> we asked our customers about docker and nobody was interested since virtualisation based on vmware esx is best practice and well known

2018-12-05 15:56:40 GMT <angelborroy> and what about ADF & k8s?

2018-12-05 15:57:30 GMT <hi-ko_> so we continue with our virtual appliance and offer additionally linux containers in a VM which is mroe or less outcome of our dev and test env

2018-12-05 15:59:32 GMT <hi-ko_> ADF is nothing for us at the moment. No modules, no upgrade path, to much efforts for the same functionallity. We are still working with share and a bunch of generic configurable modules.

2018-12-05 16:00:44 GMT <hi-ko_> you don't need k8s if you don't need cloud providers or docker

2018-12-05 16:01:04 GMT <angelborroy> just curiosity

2018-12-05 16:01:29 GMT <angelborroy> currently I’m developing a Share module using YUI, Aikau and some other super-hype technologies

2018-12-05 16:01:29 GMT <angelborroy> :D

2018-12-05 16:03:14 GMT <hi-ko_> I know, that's pain but ADF may result in much bigger pain on the next upgrade of ADF and desupport of all the components you also tried to intetrate

2018-12-05 16:03:39 GMT <hi-ko_> s/intetrate/integrate/

2018-12-05 16:05:06 GMT <d1rewolf> douglascrp: sorry...missed your response. share.war is indeed there, and it's been exploded as a "share" directory, which, while it's been awhile since I wrote and deployed an app with tomcat, would imply that it's deployed...as I think the war files are exploded on server startup

2018-12-05 16:11:17 GMT <hi-ko_> d1rewolf: maybe permissions or corrupt /wrong deployment descriptor in tomcat/conf/Catalina/localhost/share.xml ?

2018-12-05 16:15:21 GMT <d1rewolf> hi-ko_: nah, it's there, but...I should be able to remove the share directory, restart the server, and that'd re-deploy it, right?

2018-12-05 16:16:07 GMT <hi-ko_> sure - that's always worse a try

2018-12-05 16:16:24 GMT <d1rewolf> hi-ko_: would I remove share.xml as well?

2018-12-05 16:16:43 GMT <d1rewolf> it's been a few years since I used tomcat/servlet containers

2018-12-05 16:16:44 GMT <hi-ko_> no

2018-12-05 16:16:49 GMT <d1rewolf> k

2018-12-05 16:17:14 GMT <d1rewolf> fwiw: this is the content of share.xml: https://pastebin.com/RS6GnP4E

2018-12-05 16:17:15 GMT <alfbot> Title:<?xml version='1.0' encoding='utf-8'?> <Context> <Resources className="org.a - Pastebin.com (at pastebin.com)

2018-12-05 16:18:25 GMT <hi-ko_> this is correct. it describes the loadming path for jar modules

2018-12-05 16:26:47 GMT <d1rewolf> weird...removing that directory and restarting now gives me "Cannot find Alfresco Repository on this server. (Does this application have access to alfresco-global.properties? Does this application have cross-context permissions?)" at 8080.

2018-12-05 16:27:20 GMT <d1rewolf> I initially received that message after install, but correcting the database password in alfresco-global.properties made it go away

2018-12-05 16:33:50 GMT <d1rewolf> just going to reinstall...I obviously missed something

2018-12-05 16:34:22 GMT <hi-ko_> d1rewolf: please check your catalina.out and alfresco.log for errors. I don't have experience whith loftux's installer but I suppose it's doing the configuration very well.

2018-12-05 16:35:30 GMT <hi-ko_> maybe you also need to delete the exploded alfresco folder from alfresco.war also before start?

2018-12-05 16:38:43 GMT <alfresco-discord> <MorganP> If you don't have a stable internet connection

2018-12-05 16:39:04 GMT <alfresco-discord> <MorganP> it might skip/not complete some downloads

2018-12-05 16:40:05 GMT <alfresco-discord> <MorganP> Especially with fonts where I often have trouble with the downloads but that shouldn't prevent the server from starting

2018-12-05 16:55:04 GMT <fwu2018> hello all

2018-12-05 16:57:50 GMT <d1rewolf> hi-ko_: yeah, I did. no errors oddly at all

2018-12-05 16:58:03 GMT <d1rewolf> I'm restarting one more time. if that doesn't fix it I'm starting from scratch

2018-12-05 17:13:56 GMT <d1rewolf> ok, restarting got me past the "Cannot find Alfresco Repository", but share still isn't working. Startup did show one error...here's the complete log of startup: https://pastebin.com/E8eYgZTf

2018-12-05 17:13:57 GMT <alfbot> Title:2018-12-05 17:17:42,629 INFO [org.alfresco.repo.management.subsystems.ChildAppl - Pastebin.com (at pastebin.com)

2018-12-05 17:14:14 GMT <d1rewolf> isn't there a tomcat console I can log into and see deployed apps?

2018-12-05 17:15:07 GMT <d1rewolf> ah...interesting. the share directory structure is there, but there are no files

2018-12-05 17:15:08 GMT <alfresco-discord> <douglascrp> d1rewolf, that script works pretty well, and I know this because it is what I use here

2018-12-05 17:15:43 GMT <d1rewolf> hah...share.war is empty

2018-12-05 17:15:49 GMT <alfresco-discord> <douglascrp> if there are no files, that much probably means your share.war file is corrupted

2018-12-05 17:16:02 GMT <alfresco-discord> <douglascrp> try this... look inside the /opt/alfresco/addons/war folder

2018-12-05 17:16:05 GMT <d1rewolf> jar -tvf share.war : 0 Tue Dec 04 18:55:58 UTC 2018 WEB-INF/classes/alfresco/module/

2018-12-05 17:16:20 GMT <alfresco-discord> <douglascrp> there you will see both alfresco and share war files

2018-12-05 17:16:34 GMT <alfresco-discord> <douglascrp> if in doubt, simply redownload the share.war file from the link the script uses

2018-12-05 17:16:39 GMT <alfresco-discord> <douglascrp> and place it into that folder

2018-12-05 17:16:44 GMT <hi-ko_> ok - this can't work ;-/

2018-12-05 17:16:59 GMT <alfresco-discord> <douglascrp> after that, execute /opt/alfresco/addons/apply.sh all

2018-12-05 17:17:06 GMT <alfresco-discord> <douglascrp> it will redeploy the war files for you

2018-12-05 17:17:16 GMT <alfresco-discord> <douglascrp> try it and let me know how it goes

2018-12-05 17:17:22 GMT <d1rewolf> douglascrp: yeah, it appears to be corrupt. "error in opening zip file" reported by jar. redownloading now

2018-12-05 17:19:07 GMT <d1rewolf> douglascrp: is a restart necessary after running apply.sh?

2018-12-05 17:19:13 GMT <alfresco-discord> <douglascrp> yes, sure

2018-12-05 17:19:21 GMT <alfresco-discord> <douglascrp> stop alfresco, apply, and then start again

2018-12-05 17:19:47 GMT <alfresco-discord> <douglascrp> and make sure the file you download is named as share.war inside the war /opt/alfresco/addons/war folder

2018-12-05 17:27:40 GMT <d1rewolf> douglascrp: fixed! thanks very much!

2018-12-05 17:30:20 GMT <d1rewolf> douglascrp: so yesterday, I mentioned eforms support. When I start a workflow in share, there are different forms listed based on the workflow I select. Are these forms customizable? can you create more when you create new workflows?

2018-12-05 17:53:21 GMT <d1rewolf> douglascrp: did I understand you yesterday to say they're removing workflow capabilities from share?

2018-12-05 17:54:07 GMT <alfresco-discord> <douglascrp> if you need more options, you have to develop entire new custom workflows https://ecmarchitect.com/alfresco-developer-series-tutorials/workflow/tutorial/tutorial.html

2018-12-05 17:54:08 GMT <alfbot> Title:Creating Custom Advanced Workflows in Alfresco | ECM Architect | Alfresco Developer Tutorials (at ecmarchitect.com)

2018-12-05 17:54:21 GMT <alfresco-discord> <douglascrp> about removing them, that is what I understood from the blog post I shared yesterday

2018-12-05 17:54:32 GMT <d1rewolf> wow...that's crazy

2018-12-05 17:54:36 GMT <alfresco-discord> <douglascrp> but you can keep using the embeded activiti for now

2018-12-05 17:54:39 GMT <d1rewolf> i'll have to dig back and find it

2018-12-05 17:55:01 GMT <alfresco-discord> <douglascrp> it is not crazy. it is understandable as they are going to use the stand alone activiti, and connect to it using the rest api

2018-12-05 17:55:32 GMT <alfresco-discord> <douglascrp> so they are not removing, but replacing it

2018-12-05 17:57:04 GMT <d1rewolf> douglascrp: so you'll still be able to create workflows...you'll just use a separate process to do it in? is that piece open source as well?

2018-12-05 18:15:45 GMT <alfresco-discord> <douglascrp> right now, you can still use what the link I sent before is about... creating custom workflows

2018-12-05 18:16:04 GMT <alfresco-discord> <douglascrp> when they move to the new model, there will be a community edition of the workflow engine, the new activiti

2018-12-05 18:16:15 GMT <alfresco-discord> <douglascrp> but then the process will be different, I guess

2018-12-05 18:29:18 GMT <d1rewolf> douglascrp: interesting...thanks. And if you create a completely custom workflow, there's a way to add a form with it?

2018-12-05 18:31:31 GMT <alfresco-discord> <douglascrp> just like the ones that you saw OOTB

2018-12-05 18:32:22 GMT <d1rewolf> yes...ok. and final question. Do you have to have a document with which to create a workflow, or can workflow be created with forms by themselves? so the data of a form becomes the item flowed?

2018-12-05 18:32:48 GMT <alfresco-discord> <douglascrp> the item is a document or nothing

2018-12-05 18:32:58 GMT <alfresco-discord> <douglascrp> the params you enter in the forms are the process variables

2018-12-05 18:33:35 GMT <alfresco-discord> <douglascrp> the tutorial explains this

2018-12-05 18:33:49 GMT <d1rewolf> ok, i'll read the tutorial. thanks very much for the guidance

2018-12-05 18:33:58 GMT <alfresco-discord> <douglascrp> np

2018-12-05 19:15:23 GMT <d1rewolf> douglascrp: so process variables I get. but we have like 30 different paper forms we'd like to digitize. For example, a Purchase Request form might have 10 fields, and then a 1-N relationship of line items which would need to be able to be added to the form. So, I might have 4 line items on one PR, 7 on another, and so on. Does Alfresco have any capability to have forms like this? Or are workflow forms meant to be very

2018-12-05 19:15:24 GMT <d1rewolf> basic?

2018-12-05 20:34:08 GMT <alfresco-discord> <douglascrp> d1rewolf, I don't think you will be able to do so using alfresco forms

End of Daily Log

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