Alfresco discussion and collaboration. Stick around a few hours after asking a question.
Official support for Enterprise subscribers: support.alfresco.com.
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.
More help is available in this list of resources.
2017-03-22 07:40:11 GMT <yreg> ~later tell AFaust thanks for the hint, will transfer that to the system engineers !
2017-03-22 07:40:11 GMT <alfbot> yreg: The operation succeeded.
2017-03-22 08:19:53 GMT <yreg> Morning everyone !
2017-03-22 08:40:52 GMT <DarkStar1> Buenos dias amigos
2017-03-22 09:02:43 GMT <alfbot> AFaust: Sent 1 hour and 22 minutes ago: <yreg> thanks for the hint, will transfer that to the system engineers !
2017-03-22 09:20:01 GMT <yreg> ~later tell douglascrp ping
2017-03-22 09:20:01 GMT <alfbot> yreg: The operation succeeded.
2017-03-22 09:23:04 GMT <marco__> what is the right path when upgrading from 188.8.131.52 to 5.1.2 ?
2017-03-22 09:23:25 GMT <marco__> the alfresco documentation requires to upgrade to the latest service pack
2017-03-22 09:23:35 GMT <marco__> of 4.1.x
2017-03-22 09:23:58 GMT <marco__> it is not clear if the latest service pack is 184.108.40.206 or 220.127.116.11
2017-03-22 09:24:21 GMT <marco__> I do not find any link to 18.104.22.168 and to download it I had to manually write the url
2017-03-22 09:24:31 GMT <yreg> marco__, check support portal
2017-03-22 09:24:43 GMT <marco__> so I suppose that the correct version to use is 22.214.171.124
2017-03-22 09:24:47 GMT <yreg> you will find latest service pack for 4.1.x
2017-03-22 09:25:01 GMT <Tichodroma> marco__ Do you have Enterprise support?
2017-03-22 09:25:05 GMT <marco__> yes
2017-03-22 09:25:29 GMT <marco__> the problem is that in the support portal I can find
2017-03-22 09:25:32 GMT <marco__> both versions
2017-03-22 09:25:39 GMT <marco__> 126.96.36.199 and 188.8.131.52
2017-03-22 09:25:51 GMT <marco__> and I do not know which one is the latest service pack to use
2017-03-22 09:26:29 GMT <yreg> marco__, I do not see 4.1.7
2017-03-22 09:27:42 GMT <yreg> marco__, are on lucene or on solr ?
2017-03-22 09:27:51 GMT <Tichodroma> I don't use the EE but 184.108.40.206 looks "larger" and "newer" to me
2017-03-22 09:29:06 GMT <marco__> We are on lucene with 4.1.7
2017-03-22 09:29:26 GMT <yreg> marco__, then you need to see how to upgrade search subsystem
2017-03-22 09:29:34 GMT <marco__> I know
2017-03-22 09:29:56 GMT <marco__> but I would like to know, first of all, what version to use
2017-03-22 09:30:16 GMT <marco__> yreg, you are right, I do not see 4.1.7 either
2017-03-22 09:30:30 GMT <yreg> and you need to consider porting some of your queries to be MTQ friendly if needed (and probably activate patches related to extra indexes on DB for MTQ)
2017-03-22 09:30:35 GMT <marco__> I had to write the link by myself
2017-03-22 09:30:47 GMT <marco__> and I found an old page
2017-03-22 09:31:11 GMT <yreg> depending on your usecase
2017-03-22 09:33:05 GMT <marco__> @Tichodroma, yes 220.127.116.11 is newer but I do not know if it is the
2017-03-22 09:33:12 GMT <marco__> latest service pack
2017-03-22 09:33:18 GMT <marco__> or it is just a newer version
2017-03-22 09:34:27 GMT <AFaust> marco_: Well, it is by definition not a Service Pack in the first place. A Service Pack is suppoed to only have 3 version number digits... a 4-digit version refers to a hot fix
2017-03-22 09:35:18 GMT <AFaust> Lately Alfresco seems to have picked up the habit of superseding their Service Pack releases with hot fix releases...
2017-03-22 10:13:40 GMT <marco__> Thanks AFaust
2017-03-22 10:13:58 GMT <marco__> so it should be ok to use 18.104.22.168
2017-03-22 10:14:29 GMT <yreg> QQ: Does permissions get inherited from secondary parents as well or just from primary parents ?
2017-03-22 10:15:28 GMT <yreg> marco__, yes, after all you will be attempting upgrade on a test environment first to check if it works fine before going rogue on production, right ?
2017-03-22 10:18:34 GMT <yreg> this example is inconclusive : http://docs.alfresco.com/5.1/concepts/secur-acl-example.html
2017-03-22 10:18:35 GMT <alfbot> Title: An ACL example | Alfresco Documentation (at docs.alfresco.com)
2017-03-22 10:27:57 GMT <AFaust> yreg: Only from primary parents
2017-03-22 10:28:37 GMT <yreg> figured so by now, thanks
2017-03-22 12:24:35 GMT <alfbot> douglascrp: Sent 3 hours and 4 minutes ago: <yreg> ping
2017-03-22 12:24:53 GMT <douglascrp> yreg, pong
2017-03-22 12:25:00 GMT <douglascrp> good morning guys
2017-03-22 12:26:20 GMT <yreg> Good morning douglascrp :)
2017-03-22 12:26:23 GMT <yreg> check your email
2017-03-22 12:27:45 GMT <douglascrp> yreg, yes, I have just seem it
2017-03-22 12:27:58 GMT <douglascrp> I am going to give it a quick test and merge it if it's ok
2017-03-22 12:31:57 GMT <yreg> thanks
2017-03-22 12:50:54 GMT <yreg> douglascrp, I just noticed, that even with that parameter it will still be a bit hard to achieve what is needed in sites containers, unless siteId and container are included as well :P, but I guess I could settle with having just the destination noderef for now :)
2017-03-22 12:51:01 GMT <yreg> thanks again for your help
2017-03-22 13:18:10 GMT <mmccarthy> Good morning all. Does anyone know of a reference to the order that alfresco-global.properties files are loaded by Alfresco? e.g. alfresco/WEB-INF/classes/alfresco/module/*/alfresco-global.properties is loaded before shared/classes/alfresco-global.properties.
2017-03-22 13:19:21 GMT <AFaust> mmccarthy: There is no defined order - Alfresco uses Spring to resolve that pattern to resources, and Spring in turn uses the ClassLoader to do its bidding. Depending on the JVM / OS being used, ClassLoaders can have different orders in which they return the files found.
2017-03-22 13:20:39 GMT <AFaust> The dependencies a module might define in its module.properties are not consulted either, which would technically have allowed Alfresco to order the list of resources itself...
2017-03-22 13:26:04 GMT <mmccarthy> AFaust: So how then does Alfresco's modules define properties in modules in alfresco-global.properties files and expect and succeed at allowing those properties defined to be overridden in the shared alfresco-global.properties files?
2017-03-22 13:26:45 GMT <mmccarthy> e.g. S3 connector has an alfresco-global.properties file included.
2017-03-22 13:30:37 GMT <AFaust> The "global" alfresco-global.properties file is always loaded last. That one has a different name pattern. You only asked about the module alfresco-global.properites and only these do not have a defined order between them
2017-03-22 13:31:18 GMT <AFaust> Oh - I seem to have missed the last part of the question about the shared/classes/alfresco-global.properties...
2017-03-22 13:32:27 GMT <AFaust> One important thing to remember: The shared/classes part is not required/check in any of the code for loading. You can have an alfresco-global.properties in webapps/alfresco/WEB-INF/classes and that will cause shared/classes/alfresco-global.properties to not be loaded at all
2017-03-22 13:32:27 GMT <mmccarthy> So, then, if I understand your answer, there is only 2 levels, everything in modules followed last by shared/classes/alfresco-global.properties?
2017-03-22 13:32:43 GMT <AFaust> (which is a dirty trick to easily sabotage an Alfresco install)
2017-03-22 13:32:59 GMT <AFaust> There are actually multiple levels...
2017-03-22 13:33:03 GMT <AFaust> Not just2
2017-03-22 13:33:58 GMT <AFaust> This is the complete definition of the levels: https://github.com/Alfresco/community-edition-old/blob/master/projects/repository/config/alfresco/core-services-context.xml#L23
2017-03-22 13:33:59 GMT <alfbot> Title: community-edition-old/core-services-context.xml at master · Alfresco/community-edition-old · GitHub (at github.com)
2017-03-22 13:34:43 GMT <AFaust> (Looks like the dirty trick I mentioned is no longer possible - I remember it was possible in the past though)
2017-03-22 13:35:24 GMT <AFaust> mmccarthy: Though for the purpose of extending the configuration, only the module and global alfresco-global.properties are ever of any interest - the other levels should be ignored...
2017-03-22 13:35:31 GMT <mmccarthy> You beat me to it, I didn't remember that trick being possible.
2017-03-22 13:36:03 GMT <mmccarthy> Right, I have no interest in changing repository.properties or any of the others.
2017-03-22 13:36:21 GMT <mmccarthy> AFaust: Thanks for the answer, this is exactly what I was looking for.
2017-03-22 15:36:13 GMT <yreg> Guys, I know this is not how things should go, but I really need to do this: get folder noderef out of siteId, containerId and uploadDirectory in Freemarker
2017-03-22 15:36:20 GMT <yreg> is that even possible ?
2017-03-22 15:38:15 GMT <yreg> ~since DarkStar1
2017-03-22 15:38:15 GMT <alfbot> yreg: <yreg> Guys, I know this is not how things should go, but I really need to do this: get folder noderef out of siteId, containerId and uploadDirectory in Freemarker and <yreg> is that even possible ?
2017-03-22 15:42:50 GMT <yreg> according to this : http://docs.alfresco.com/5.1/references/API-FreeMarker-TemplateNode.html
2017-03-22 15:42:51 GMT <alfbot> Title: TemplateNode API | Alfresco Documentation (at docs.alfresco.com)
2017-03-22 15:43:41 GMT <yreg> companyhome.childByNamePath["Sites/"+siteId+"/"+containerId+uploadDirectory] should work, but it is not working in JS console
2017-03-22 15:44:09 GMT <yreg> Could it be that JS console does not support (fully) Template API ?
2017-03-22 15:56:26 GMT <yreg> AFaust, do you know anything about this ?
2017-03-22 15:57:55 GMT <AFaust> yreg: JS Console just uses the default web script template environment. There is no custom Freemarker support and anything that is supported in default Freemarker integration with Alfresco web scripts is supported in JS Console as well
2017-03-22 15:57:55 GMT <yreg> Just tried this in a form control and got an error saying that companyhome doesn't exist; which is odd since it should according to this : http://docs.alfresco.com/5.1/references/API-FreeMarker-defaultmodel.html
2017-03-22 15:57:57 GMT <alfbot> Title: Default model objects | Alfresco Documentation (at docs.alfresco.com)
2017-03-22 15:58:28 GMT <yreg> Ok that explains why it does not work in JS console
2017-03-22 15:58:42 GMT <yreg> but not when inside my form control
2017-03-22 15:59:06 GMT <AFaust> How does it explain why it does not work in JS Console?
2017-03-22 15:59:32 GMT <AFaust> And regarding the form control - that is a Share-tier FTL file. companyhome only exists on the Repository-tier
2017-03-22 15:59:44 GMT <yreg> AFaust, sorry, misread your reply
2017-03-22 15:59:50 GMT <yreg> long day of work I guess
2017-03-22 16:00:42 GMT <yreg> I can not believe how I missed that; long day of work indeed
2017-03-22 17:43:59 GMT <fwu> hello all!
2017-03-22 20:59:05 GMT <jpotts> Are there any openldap experts in the house?
2017-03-22 21:03:37 GMT <yreg> not an expert, but I had my struggles with it
2017-03-22 21:04:21 GMT <jpotts> yreg: As part of a larger Alfresco migration, I am moving an OpenLDAP server from one machine to another. The old OpenLDAP is v 2.3 and the new one is v 2.4
2017-03-22 21:04:40 GMT <jpotts> I have successfully dumped and loaded the data from one to the other
2017-03-22 21:05:00 GMT <jpotts> When I run an ldapsearch bound as the root dn I can see all of the entries
2017-03-22 21:05:24 GMT <yreg> sounds good so far
2017-03-22 21:05:32 GMT <jpotts> Yes, well here comes the problem
2017-03-22 21:05:52 GMT <jpotts> As the root dn, I can do a search for (uid=jpotts) and get that entry back
2017-03-22 21:06:22 GMT <jpotts> But if I bind as the jpotts user using its DN, I cannot find the same object, unless I specify the search scope as the DN of that object
2017-03-22 21:07:52 GMT <jpotts> This finds the entry: ldapsearch -LLL -x -H ldaps://ldap.someco.com:636 -D "uid=jpotts,ou=users,dc=someco,dc=com" -W -s base -b "uid=jpotts,ou=users,dc=someco,dc=com" "(uid=jpotts)"
2017-03-22 21:08:19 GMT <jpotts> But this does not: ldapsearch -LLL -x -H ldaps://ldap.http://someco.com:636/ -D "uid=jpotts,ou=users,dc=someco,dc=com" -W -s base -b "dc=someco,dc=com" "(uid=jpotts)"
2017-03-22 21:08:59 GMT <jpotts> In the second case, I get "No such object"
2017-03-22 21:09:20 GMT <jpotts> It is as if the user does not have the access needed to see the dc=someco,dc=com
2017-03-22 21:09:51 GMT <yreg> Well, sounds like it
2017-03-22 21:10:13 GMT <jpotts> On the old server, the full base DN is not required.
2017-03-22 21:10:22 GMT <jpotts> Weird right?
2017-03-22 21:10:42 GMT <yreg> Yes!
2017-03-22 21:11:03 GMT <yreg> can you use an LDAP browser tool and check if you can browse the root dn
2017-03-22 21:11:04 GMT <yreg> ?
2017-03-22 21:11:07 GMT <jpotts> If it weren't for OpenLDAP this would have taken about 1/4 as long. :(
2017-03-22 21:11:37 GMT <jpotts> Well getting phpldapadmin to work with SSL is another story, but I'll save you the pain there. Long story short is I am command line only at the moment.
2017-03-22 21:12:33 GMT <yreg> jpotts, can't you just use jXplorer or something ?
2017-03-22 21:13:18 GMT <yreg> even if the whole network is only available behind proxy/vpn, you can alway forward ports
2017-03-22 21:13:33 GMT <jpotts> I'll try that
The other logs are at http://esplins.org/hash_alfresco