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-18 05:16:30 GMT *** onu_ is now known as onu

2018-07-18 07:09:31 GMT <alfresco-discord> <MorganP> Morning everybody

2018-07-18 07:09:53 GMT <robin__> hello

2018-07-18 07:17:58 GMT <robin__> Does someone know where I can find old source code for repository v 5.1?

2018-07-18 07:18:31 GMT <robin__> I've have found this old repo for share : https://github.com/Alfresco/share-old

2018-07-18 07:18:32 GMT <alfbot> Title:GitHub - Alfresco/share-old: This repo has been moved pending a switch of the actual development branch for Share to GitHub: Mirror of the Share UI for Alfresco Community Edition (see https://wiki.alfresco.com/wiki/GitHub) (at github.com)

2018-07-18 07:18:43 GMT <robin__> But I'm looking the same for Repository... :(

2018-07-18 07:31:20 GMT <alfresco-discord> <MorganP> When using an AD for LDAP Sync/Authentication (with synchronization of the account state active/inactive). If a user that was present BEFORE the enabling of the LDAP is disabled on the AD, then it won't be authenticated anymore by the AD but it will still be able to login through the alfrescoNtlm1 (if it is still in the chain obviously)

2018-07-18 07:31:47 GMT <alfresco-discord> <MorganP> Whereas for a user created by the AD Sync, it will be set properly to "inactive"

2018-07-18 07:32:57 GMT <alfresco-discord> <MorganP> Isn't that a design flaw? I mean if you set the "synchronization.externalUserControl" to true and points that to the LDAP one, then users in Alfresco must all take the status from the LDAP, even if they were present in Alfresco before

2018-07-18 07:35:02 GMT <alfresco-discord> <MorganP> Does anymore knows if there is a workaround to that? I assume the user is still authenticated through the alfrescoNtlm1 so changing the user's password in the database to something else would prevent it to login but the user account will still be "active", even if it is disabled in the AD

2018-07-18 07:55:03 GMT <AFaust> MorganP: The problem is there are two types of "active" flags. One for the alfrescoNtlm and one for the LDAP/AD systems. You'd need to implement a policy to react to the LDAP/AD one to set the appropriate flag on alfrescoNtlm (and remove when reset)

2018-07-18 07:55:17 GMT <AFaust> Each subsystem only checks their own flags

2018-07-18 08:13:47 GMT <alfresco-discord> <MorganP> The active flag for the alfrescoNtlm can be updated on the DB?

2018-07-18 08:14:00 GMT <alfresco-discord> <MorganP> I would like to keep the alfrescoNtlm for the admin accounts only

2018-07-18 08:14:14 GMT <alfresco-discord> <MorganP> they cannot be on the AD for some particular reasons

2018-07-18 08:14:28 GMT <alfresco-discord> <MorganP> so I need to keep them locally but everything else is and should be on the AD

2018-07-18 08:16:54 GMT <AFaust> Via the MutableAuthenticationService you can modify the active flags for alfrescoNtlm

2018-07-18 08:17:11 GMT <alfresco-discord> <MorganP> I said DB but I guess I could do it through Share w or w/o scripting

2018-07-18 08:17:18 GMT <alfresco-discord> <MorganP> yeah

2018-07-18 08:17:21 GMT <AFaust> It is not Share - it is Repository

2018-07-18 08:17:35 GMT <alfresco-discord> <MorganP> I meant js console

2018-07-18 08:17:50 GMT <alfresco-discord> <MorganP> not sure it is available through the JS API

2018-07-18 08:17:52 GMT <AFaust> Of course you could also do it on the DB - we are only talking about nodes here

2018-07-18 08:17:57 GMT <alfresco-discord> <MorganP> but I will check

2018-07-18 08:17:58 GMT <AFaust> so find the node properties and update them

2018-07-18 08:18:11 GMT <AFaust> Though as we all know, DB manipulation is discouraged

2018-07-18 08:19:01 GMT <AFaust> The property you are looking for on the DB is from the http://www.alfresco.org/model/user/1.0 namespace, called "enabled".

2018-07-18 08:19:39 GMT <AFaust> So find out your QName ID for that, identify the Node IDs to change (user name is the "username" property from the same namespace)

2018-07-18 08:19:47 GMT <AFaust> ... and fire of an UPDATE

2018-07-18 08:20:15 GMT <AFaust> Since the user workspace is not indexed, you don't have to deal with re-indexing issues you would normally have when modifying data on the DB directly.

2018-07-18 08:20:35 GMT <AFaust> You might only have issues with caches in the Repository, which you could reset using the OOTBee Support Tools addon

2018-07-18 08:20:51 GMT <alfresco-discord> <MorganP> Yes absolutely

2018-07-18 08:44:35 GMT * DarkStar1 bids you all a good morning

2018-07-18 10:10:04 GMT <kkore> including new custom client js is not importing from forms ftl

2018-07-18 10:12:09 GMT <kkore> adding in form/start.ftl in that ftl added css and js where css is loading when click on action & at the same js file is not loading

2018-07-18 10:12:11 GMT <kkore> <link rel="stylesheet" type="text/css" href="${url.context}/res/components/rating/star-rating.css" /> <@script type="text/javascript" src="${url.context}/res/components/rating/star-rating.js" />

2018-07-18 10:13:44 GMT <angelborroy> https://community.alfresco.com/thread/231591-how-to-include-js-scripts-in-freemarker-templates

2018-07-18 10:13:46 GMT <alfbot> Title:how to include js scripts in freemarker templates | Alfresco Community (at community.alfresco.com)

2018-07-18 10:16:03 GMT <kkore> @angelborroy tried like that also but not loading

2018-07-18 10:16:23 GMT <angelborroy> it’s loading from browser?

2018-07-18 10:16:46 GMT <angelborroy> When you hit http://localhost:8080/share/res/…

2018-07-18 10:16:51 GMT <angelborroy> you receive the JS?

2018-07-18 10:18:28 GMT <kkore> no not getting

2018-07-18 10:18:36 GMT <kkore> that file

2018-07-18 10:18:50 GMT <kkore> sorry it's loading

2018-07-18 10:19:13 GMT <angelborroy> so you missed the share-config-custom.xml part

2018-07-18 10:19:23 GMT <angelborroy> how did you include the file in forms configuration?

2018-07-18 10:20:34 GMT <kkore> in share-config-custom.xml and in forms then in dependencies added js file

2018-07-18 10:22:42 GMT <angelborroy> is should work

2018-07-18 10:32:18 GMT <kkore> when I open site/name/docLib page coming blank in browser debug getting multipledefine

2018-07-18 10:34:16 GMT <AFaust> kkore: Sounds like you are loading a 3rd-party JS library that already comes bundled with Alfresco and now you are having conflicts.

2018-07-18 10:34:56 GMT <AFaust> i.e. you are including jQuery or dojo, or some smaller lib that also checks for being already defined...

2018-07-18 10:35:29 GMT <AFaust> Short solution: never do this - work with what is already bundled in Alfresco Share - or build a completely separate client UI / custom page without Share dependencies

2018-07-18 10:37:07 GMT <kkore> please check my custom ftl file https://bpaste.net/show/ce6c60ca3e4b

2018-07-18 10:37:08 GMT <alfbot> Title:show at bpaste (at bpaste.net)

2018-07-18 10:37:56 GMT <kkore> is there anything wrong ??

2018-07-18 10:39:20 GMT <AFaust> I see you are using jQuery - did you by any chance add jQuery as form dependencies in share-config-custom.xml? (Your previous messages with angelborroy did not specify that - they only referred to star-rating.js)

2018-07-18 10:39:53 GMT <AFaust> Or load a custom jQuery version in any other way?

2018-07-18 10:40:39 GMT <AFaust> I mean, the message about multiple define should already give you sufficient information to identify the cause of the multiple define, but you got to know how to use dev tools for that...

2018-07-18 10:42:08 GMT <kkore> means need to import jQuery dependencies also in that ftl

2018-07-18 10:43:03 GMT <kkore> Yes I am using jQuery in form ftl

2018-07-18 10:47:53 GMT <kkore> how to load jQuery to this ftl in other way means?? how to load

2018-07-18 10:49:45 GMT <AFaust> Not "how to load" - if you didn't read my message correctly, you should NEVER load a custom / different version of jQuery into Share as this will almost always cause conflict with the jQuery ALREADY loaded by the default Share code

2018-07-18 10:49:54 GMT <angelborroy> +1

2018-07-18 10:55:09 GMT <kkore> ok got it like on which version of that js developed need to add jquery version right ??

2018-07-18 10:58:42 GMT <kkore> total miss understand

2018-07-18 10:59:00 GMT <kkore> now I getting where did wrong

2018-07-18 11:09:16 GMT <kkore> I getting that issue when I added js file in both places ftl and share-config.xml :-|

2018-07-18 11:09:59 GMT <kkore> I removed total ftl code just added js and css dependencies

2018-07-18 11:18:27 GMT <kkore> thq AFaust for support resolved that issue

2018-07-18 12:07:48 GMT <alfresco-discord> <Popochon> so... if im making a new componen and I need JQuery... the best aproach is NOT to import it ?

2018-07-18 12:52:23 GMT <pjlucidi> Hi all ! :) I have correctly installed an APS cluster, does anybody know how to update the password for the admin user for the activiti-admin app?

2018-07-18 12:56:02 GMT <AFaust> Popochon: There already is jQuery loaded in/by Share, so no need to import your own, which would just clash with the default if from a different version....

2018-07-18 12:57:35 GMT <AFaust> If a page in Share does not yet have jQuery included (it isn't included in a global level), only import the version shipping with Share...

2018-07-18 12:58:06 GMT <alfresco-discord> <Popochon> ups... i will remove the import and test again my components.... and if it fails i will import the share one... 😄 thx

2018-07-18 12:58:29 GMT <AFaust> Though since Aikau in part depends on jQuery, nearly every page should have it loaded...

2018-07-18 12:59:53 GMT <alfresco-discord> <Popochon> I use the ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js in some of my workflow components

2018-07-18 12:59:56 GMT <alfresco-discord> <Popochon> tasks

2018-07-18 13:00:10 GMT <alfresco-discord> <Popochon> thx a lot

2018-07-18 13:18:39 GMT <tushar_> hi all i am trying to point content-store to a nas drive

2018-07-18 13:19:04 GMT <tushar_> i have changed log on user for tomcat in services

2018-07-18 13:20:01 GMT <tushar_> but i don't know how to define the path

2018-07-18 13:21:02 GMT <tushar_> dir.contentstore=\\\\192.168.2.48\\{folder_name}\\

2018-07-18 13:21:12 GMT <pjlucidi> @tushar_ you can change the dir.contentstore property

2018-07-18 13:21:21 GMT <pjlucidi> exactly

2018-07-18 13:21:45 GMT <pjlucidi> please remember to configure also dir.contentstore.deleted

2018-07-18 13:21:47 GMT <tushar_> or dir.contentstore=Y:/{foldername}/contenstrore

2018-07-18 13:22:02 GMT <tushar_> yeah i am doin that but

2018-07-18 13:22:06 GMT <pjlucidi> UNC path is the suggested mode I think

2018-07-18 13:22:10 GMT <tushar_> dir.contentstore=\\\\192.168.2.48\\{folder_name}\\

2018-07-18 13:22:20 GMT <pjlucidi> this last one

2018-07-18 13:22:22 GMT <tushar_> this fives error

2018-07-18 13:22:56 GMT <pjlucidi> I have just used the same approach here at the customer’s site

2018-07-18 13:23:05 GMT <pjlucidi> it simply works using SMB

2018-07-18 13:23:07 GMT <tushar_> somhow i am not getting any alfresco logs

2018-07-18 14:42:44 GMT <nodanaonlyzuul> Hi all, I'm part of a team wanting to setup Activiti 7 in a container, but we're having trouble finding the GUI component for things like viewing active jobs, checking DLQ status, etc. Anyone have any info on that?

2018-07-18 14:45:19 GMT <alfresco-discord> <Francesco Corti> Hi, did you try to contact the team in the gutter channel?

2018-07-18 14:46:53 GMT <nodanaonlyzuul> No, I wasn't aware of its existence - I'll poke over there. Thanks!

2018-07-18 14:46:55 GMT <AFaust> Francesco, I do not believe that their discussions are at gutter level yet...

2018-07-18 14:48:24 GMT * AFaust is not sure fcorti is getting as much fun out of me poking fun at the alternative meanings caused by typos...

2018-07-18 14:49:59 GMT <alfresco-discord> <Francesco Corti> Eh eh

2018-07-18 17:19:26 GMT <alfresco-discord> <mbui> https://community.alfresco.com/ down?

2018-07-18 18:32:36 GMT <alfresco-discord> <kgastaldo> @mbui Is it down for you? I got a message from Jive but it's working for me.

2018-07-18 18:33:16 GMT <alfresco-discord> <mbui> @kgastaldo Seems to be working now. Was down an hour ago.

2018-07-18 18:33:58 GMT <alfresco-discord> <kgastaldo> Strange. I'll update via twitter if I see any more messages from them.

2018-07-18 20:45:04 GMT *** CptLuxx is now known as SirLuxx

2018-07-18 21:11:58 GMT *** SirLuxx is now known as CptLuxx

End of Daily Log

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