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.
2018-05-04 06:44:49 GMT <qwebirc23053> from the https://github.com/Alfresco/alfresco-ng2-components/blob/master/PREREQUISITES.md
2018-05-04 06:44:50 GMT <alfbot> Title: alfresco-ng2-components/PREREQUISITES.md at master · Alfresco/alfresco-ng2-components · GitHub (at github.com)
2018-05-04 06:45:38 GMT <qwebirc23053> i quess that if i want to use the angular front end, i have to pay for the Alfresco Process Services.
2018-05-04 06:45:59 GMT <qwebirc23053> is this correct?
2018-05-04 07:05:56 GMT <yreg> Morning guys!
2018-05-04 07:06:07 GMT <yreg> ~since
2018-05-04 07:06:07 GMT <alfbot> yreg: <qwebirc23053> from the https://github.com/Alfresco/alfresco-ng2-components/blob/master/PREREQUISITES.md, <qwebirc23053> i quess that if i want to use the angular front end, i have to pay for the Alfresco Process Services., and <qwebirc23053> is this correct?
2018-05-04 07:06:36 GMT <yreg> qwebirc23053, no
2018-05-04 07:07:13 GMT <yreg> You can use it without constraints with Alfresco Content Services Community Edition
2018-05-04 07:07:44 GMT <yreg> As long as you don't have BPM requirements you have no issues
2018-05-04 07:08:41 GMT <yreg> On the other hand, if your requirements include some workflow logic that require a standalone BPM component then you either pay for APS or develop the frontend integration yourself
2018-05-04 07:23:54 GMT <alfbot> angelborroy: Sent 15 hours and 4 minutes ago: <yreg> interesting wasn't aware of that setting, and it makes good argument, but still I think the gain is minimal, I believe that blog was intended for websites, not for enterprise applications... I wouldn't expect anyone to use a remote js file (query or alike) within an ADF app
2018-05-04 07:23:55 GMT <alfbot> angelborroy: Sent 15 hours and 2 minutes ago: <yreg> here is a horror story for you : https://hackernoon.com/im-harvesting-credit-card-numbers-and-passwords-from-your-site-here-s-how-9a8cb347c5b5
2018-05-04 07:24:56 GMT <yreg> Good morning angelborroy !
2018-05-04 07:25:05 GMT <angelborroy> morning
2018-05-04 08:18:15 GMT <qwebirc23053> @yreg eg. i would want to start a workflow for a document.
2018-05-04 08:39:06 GMT <yreg> Such requirements are not supported via ADF without APS, on board, though you can implement custom code to integrate with your BPM solution of choice (Activity or Camunda ....)
2018-05-04 10:33:46 GMT <fwu> hi all
2018-05-04 13:23:43 GMT <Koen_> Good afternoon
2018-05-04 13:23:48 GMT <Koen_> Anyone here?
2018-05-04 13:25:54 GMT <yreg> Hey Koen_ !
2018-05-04 13:25:59 GMT <yreg> How it goes ?
2018-05-04 13:26:02 GMT <Koen_> Hi Yreg! :)
2018-05-04 13:26:17 GMT <Koen_> It's sunny here, so all is good :)
2018-05-04 13:26:42 GMT <Koen_> I have a question about Alfresco JMX settings. So you know anything about it?
2018-05-04 13:27:38 GMT <angelborroy> Koen_ try
2018-05-04 13:28:49 GMT <yreg> Koen_, shoot
2018-05-04 13:28:52 GMT <Koen_> We have a customer which has set settings via JMX / the enterprise admin console. Now we want to deploy the solution including all settings and therefor we need to set them via global properties. I am looking for a way to delete the JMX setting, so the global property is used again
2018-05-04 13:29:14 GMT <angelborroy> Probably AFaust knows about this
2018-05-04 13:29:20 GMT <yreg> Koen_, Roxana does that all the time
2018-05-04 13:29:28 GMT <angelborroy> Properties are stored in database, right?
2018-05-04 13:29:32 GMT <Koen_> yeah
2018-05-04 13:29:38 GMT <yreg> angelborroy, using attribute service
2018-05-04 13:29:59 GMT <angelborroy> But I have no sql script to remove all of them from database
2018-05-04 13:30:02 GMT <yreg> Koen_, have you connected through JMX console ?
2018-05-04 13:30:14 GMT <angelborroy> But I’m sure that Alfresco Support will provide you one
2018-05-04 13:30:28 GMT <yreg> There should be an option there for reverting imx setting for a particular subsystem / feature
2018-05-04 13:30:48 GMT <yreg> angelborroy, of course, after having to wait for a couple of days :P
2018-05-04 13:31:09 GMT <Koen_> We have received SQL to list the properties from DB. Would you guess emptying them in de DB is enough?
2018-05-04 13:31:19 GMT <angelborroy> yep
2018-05-04 13:31:28 GMT <AFaust> Koen_, angelborroy: No script require - reset everything via JMX / Enterprise Admin Console (after exporting and applying these settings in alfresco-global.properties of course)
2018-05-04 13:31:41 GMT <AFaust> Never delete these from the DB directly / manually
2018-05-04 13:31:46 GMT <angelborroy> ups!
2018-05-04 13:31:52 GMT <angelborroy> I did it once… and it worked
2018-05-04 13:31:57 GMT <angelborroy> But it was a 4.1
2018-05-04 13:32:06 GMT <yreg> angelborroy, you got lucky it didn't backfire :P
2018-05-04 13:32:10 GMT <AFaust> Because of data deduplication, some of the entries in alf_prop_* may be referenced by other entries
2018-05-04 13:32:12 GMT <Koen_> AFaust, we have just learned (we think) that the "Revert" button in Enterprise Admin Console just takes the global property and sets it as the JMX setting
2018-05-04 13:32:31 GMT <yreg> Koen_, check https://docs.alfresco.com/5.2/tasks/jmx-access.html
2018-05-04 13:32:32 GMT <alfbot> Title: Connecting through JMX | Alfresco Documentation (at docs.alfresco.com)
2018-05-04 13:32:44 GMT <AFaust> Koen_: It did not use to... So if that is true that means they deliberately broke that functionality
2018-05-04 13:34:16 GMT <Koen_> Afaust, My colleague tried, at it seems to be the case. The documentation says: If you want to apply the global property value to the JMX value to resolve any system issues the inconsistency is causing, then click Revert"
2018-05-04 13:34:24 GMT <AxelFaust> You can still "reset" via the JMX client - that should still be a clean reset (most of the code for that is in core, only the shallow JMX connector is Enterprise-only)
2018-05-04 13:34:54 GMT <Koen_> So, jconsole is the way to go?
2018-05-04 13:35:06 GMT <yreg> indeed
2018-05-04 13:36:00 GMT <Koen_> Thanks guys
2018-05-04 13:36:03 GMT <Koen_> and gals
2018-05-04 14:48:51 GMT <mbui> We have at times this issues with site dashboards being "corrupt" namely the dashboard.xml under surf-config. We have created a webscript which creates new sitePreset for a given sites thus solving the issue, problem is that sites may be unaccesible for x hours before this webscript is invoked. I'd like to implement an automated way of doing this. Any suggestions on how to do such thing?
2018-05-04 14:50:14 GMT <mbui> I was thinking maybe a cronjob, patch (?), or similar. Best case scenario would be that once accessing a site dashboard and the client returns 500 and the share logs returns "javax.servlet.ServletException: Could not resolve view with name 'site/my-site/dashboard' in servlet with name 'Spring Surf Dispatcher Servlet' that our webscript is invoked.
2018-05-04 15:11:27 GMT <mbui> ^ Solved above by hacking/overriding into the error500.jsp
2018-05-04 16:16:38 GMT <AxelFaust> mbui: Are you aware that the ootbee-support-tools addon provides a feature to reset site dashboards?
2018-05-04 16:17:24 GMT <AxelFaust> You should not need to automate such a thing because it should be a rare occurence anyway (if not, something else may be horribly rotten in the system causing this)
2018-05-04 16:18:22 GMT <AxelFaust> https://github.com/OrderOfTheBee/ootbee-support-tools/wiki/Sites%20Manager
2018-05-04 16:18:23 GMT <alfbot> Title: Sites Manager · OrderOfTheBee/ootbee-support-tools Wiki · GitHub (at github.com)
2018-05-04 16:19:30 GMT <AxelFaust> mbui: The only typical case of corrupted site dashboard I have ever encountered was due to incorrectly set up (non-functioning) Share cluster
The other logs are at http://esplins.org/hash_alfresco