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

2019-02-13 11:51:08 GMT <alfresco-discord> <Shyam42> Hi All<

2019-02-13 11:58:48 GMT <alfresco-discord> <Shyam42> Hi All i am very curious about.. Why from version 6.0 alfresco stopped the giving one exe which is just run and play? Why they giving the Distribution.zip and what are benefit of this Distribution.zip compare to that exe approach?

2019-02-13 12:07:20 GMT <fwu2018> hello all

2019-02-13 12:24:18 GMT <alfresco-discord> <mbui> @Shyam42 They mentioned at devcon that the installers are going away in 6.x+, So you either have to use a containerized deployment (docker/k8) or "manually" install it with the zip

2019-02-13 12:46:31 GMT <alfresco-discord> <Shyam42> Is there any benefit of this Distribution.zip compare to exe ?

2019-02-13 12:52:24 GMT <alfresco-discord> <MorganP> No, it's just more work for you

2019-02-13 12:52:31 GMT <alfresco-discord> <MorganP> but less work for Alfresco

2019-02-13 13:08:27 GMT <alfresco-discord> <Shyam42> Okay One more que is what are the facilities i will get in containerized deployment with respect to EXE?

2019-02-13 13:35:50 GMT <AFaust> @Shyam42 (@MorganP) The primary benefit of the ZIP distribution over the EXE installer: People actually have to think about their setup and can't be so lazy as to use the installer for a (far from optimal) production setup

2019-02-13 13:38:51 GMT <AFaust> As for the facilities you get with containerised deployment: All the components that make up an Alfresco system, so Repository (with transformers like LibreOfice/ImageMagick et al), Share, Search Services, and any addons that you can add when building your custom (sub-)images...

2019-02-13 13:40:09 GMT <AFaust> A database is indirectly included, as the sample docker-compose file / Helm charts will include a config to set that up as well (actually reusing a standard image instead of doing a custom bundling like the installer did)

2019-02-13 13:40:46 GMT <AFaust> One missing thing: A reverse proxy, but that was also never part of the installer, so no difference there.

2019-02-13 13:53:47 GMT <AFaust> What the heck? https://github.com/Alfresco/alfresco-remote-api/pull/145 - So instead of validating input at the actual input boundaries (APIs) and properly handling XSS issues at the point of rendering, Alfresco is now going to turn logging into a mess at the low level?

2019-02-13 13:53:48 GMT <alfbot> Title:MNT-20199 Improper Output Neutralization for Logs CWE ID 117 by LMRob · Pull Request #145 · Alfresco/alfresco-remote-api · GitHub (at github.com)

2019-02-13 13:54:22 GMT <AFaust> And adding yet another full library for a single use in a single class...

2019-02-13 13:56:31 GMT <AFaust> Hopefully the PR review will lead to some changes...

2019-02-13 14:03:28 GMT <alfresco-discord> <ohej> AFaust, why not comment with your concerns on the PR? Unfortunately not everyone monitors irc/discord for this kind of feedback 😃

2019-02-13 14:06:35 GMT <alfresco-discord> <MorganP> @AFaust: My answer was really in regards to the "run and play" question so just to get familiar with Alfresco. Obviously that's not good, even for a real environment but I agree with you.

2019-02-13 14:06:39 GMT <AFaust> I don't have access to the MNT as per Alfresco Support default policy of handling customer issues as hidden by default for "allegedly" / "potential" sensitive details.

2019-02-13 14:06:45 GMT <AFaust> Without any insight on what may have already been discussed there (aka "without having all the facts") I don't like to comment on a supposedly internal process...

2019-02-13 14:08:24 GMT <alfresco-discord> <MorganP> By the way Axel, I saw you post here: https://community.alfresco.com/thread/235553-edit-online-unlocks-document-after-10-minutes-macos-alfresco-52. It looks like an issue I'm working on for a customer. Did you find a solution except upgrading to Alfresco 6? (using Community so no fix for Enterprise available)

2019-02-13 14:08:26 GMT <alfbot> Title:Edit online unlocks document after 10 minutes (... | Alfresco Community (at community.alfresco.com)

2019-02-13 14:09:10 GMT <AFaust> Well.. my customer did not upgrade to Alfresco 6.0 either - they are an Alfresco Enterprise 5.1.1 user (not even the latest service pack in that release line).

2019-02-13 14:10:31 GMT <AFaust> I actually ended up source-patching some AOS source code

2019-02-13 14:11:49 GMT <AFaust> And you don't need to upgrade to Alfresco 6 to use a newer AOS version. You can use AOS 1.2.x on Alfresco 5.2 as well, as far as I am aware.

2019-02-13 14:12:00 GMT <alfresco-discord> <MorganP> It's not working

2019-02-13 14:12:18 GMT <alfresco-discord> <MorganP> I tried to upgrade to AOS 1.1.8 with Alfresco 5.2

2019-02-13 14:12:25 GMT <alfresco-discord> <MorganP> The issue is indeed solved for the 10min timeout

2019-02-13 14:12:39 GMT <alfresco-discord> <MorganP> But another issue appear which I described earlier in this discord

2019-02-13 14:13:06 GMT <AFaust> Ahh... I see they fixed the Repository min-version to 6.0 via the module.properties file.

2019-02-13 14:13:26 GMT <alfresco-discord> <MorganP> Basically, I can open a document and work with it. If I close it, then I cannot obtain a lock anymore for this document via AOS

2019-02-13 14:14:47 GMT <AFaust> "I described earlier in Discord" - How much "earlier"? I don't see it in the logs for today...

2019-02-13 14:15:57 GMT <AFaust> Ah... Monday, right?

2019-02-13 14:16:25 GMT <alfresco-discord> <MorganP> Yes

2019-02-13 14:16:30 GMT <alfresco-discord> <MorganP> 1.1.8 min version is 5.1

2019-02-13 14:17:00 GMT <alfresco-discord> <MorganP> That's why I tried this one and not the 1.2.x

2019-02-13 14:17:10 GMT <AFaust> Without knowing what the low-level network interaction looks like in that use case it is hard to say what the issue is and what may fix it.

2019-02-13 14:17:27 GMT <AFaust> Microsoft Office and AOS are still one of the biggest pains in the nether regions...

2019-02-13 14:18:36 GMT <fwu2018> Im also struggling with aos for online editing. Any ideas about why I always get a read only version of the documents? Although, if I connect directly to the document using Word I can edit it.

2019-02-13 14:18:42 GMT <AFaust> I currently have a customer on 6.0 and latest 1.2.x AOS with an issue where files are suddenly loaded as read-only after an Office update and there is not even an option to checkout explicitly.

2019-02-13 14:19:19 GMT <AFaust> And due to some security concerns and misconfiguration (using mod_ajp instead of mod_proxy in their test environment) they can't provide me with decent network traces to analyse.

2019-02-13 14:19:41 GMT <AFaust> fwu2018: You may have noticed I currently have a customer with the same issue...

2019-02-13 14:21:10 GMT <AFaust> Since I don't have direct access to their system, I will create a "isolated laboratory"-style test setup tomorrow and hopefully be able to find the/an issue...

2019-02-13 14:22:31 GMT <fwu2018> im using alfresco community 5.2 office 2013 and office 2016 are opening documents in read only

2019-02-13 14:32:21 GMT <fwu2018> afaust, I tried making registry changes with no result also.

2019-02-13 14:32:33 GMT <fwu2018> is there any log I can activate?

2019-02-13 14:33:57 GMT <AFaust> There are very few logs and very little useful log output. The most helpful data can only be seen when looking at the network trace.

2019-02-13 14:35:39 GMT <AFaust> Since there are two systems at play here, you often will also have to work on conjecture (e.g. "I think Office interprets this/that way, so it does this"), since one of the systems is documented / logging even worse than the other (I let you decide which is which)

2019-02-13 14:48:30 GMT <fwu2018> well, what I can say is that I tried different registry options with no success

2019-02-13 14:49:50 GMT <fwu2018> I can create a network drive and open documents from there in edit mode. In alfresco I get the message the file is being edited. The problem is only opening the file from Alfresco. I beleive Alfresco only needs to open word setting a specific sharepoint link

2019-02-13 14:54:51 GMT <AFaust> There is a very complex network interchange going on when Word opens the document link, and in that exchange there can be very subtle expectations / differences that make Word behave one way or another...

2019-02-13 14:59:14 GMT <fwu2018> yes, indeed.

2019-02-13 17:55:02 GMT <fwu2018> afaust, I make a trace for the url used by Alfresco/Word and I was not able to find any problem, although I dont see any lock request in order to edit the document

2019-02-13 17:55:19 GMT <fwu2018> but I see some get and head returning 200

2019-02-13 17:55:59 GMT <AFaust> Yeah - so that would already be an "error". The problem with the exchange is that you also have to look into the messages. It is not enough to check the overall HTTP state...

2019-02-13 17:56:25 GMT <fwu2018> the last call it is made after the user authentication returns this:

2019-02-13 18:00:08 GMT <fwu2018> https://pastebin.com/ZkjQ5W9Y

2019-02-13 18:00:11 GMT <alfbot> Title:Access-Control-Allow-Credentials: true MicrosoftSharePointTeamServices: 15.0.0. - Pastebin.com (at pastebin.com)

2019-02-13 18:03:42 GMT <fwu2018> unfortunatly all the other calls are get and head. some fail, but next calls work.

End of Daily Log

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