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-09-11 08:41:20 GMT <alfresco-discord> <drazen04> Hi guys, when i upload a document (up to 11mb) I get an error on preview

2019-09-11 08:41:49 GMT <alfresco-discord> <drazen04> extensions.webscripts.AbstractRuntime Exception from executeScript: 08110002 The content node was not specified so the content cannot be streamed to the client: classpath:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js org.springframework.extensions.webscripts.WebScriptException: 08110002 The content node was not specified so the content cannot be streamed to the

2019-09-11 08:41:50 GMT <alfresco-discord> client: classpath:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:176) at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:512) at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:464)

2019-09-11 08:41:50 GMT <alfresco-discord> at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:587) at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:656) at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:428) at

2019-09-11 08:41:51 GMT <alfresco-discord> org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:308) at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:399) at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:210) at

2019-09-11 08:41:51 GMT <alfresco-discord> org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

2019-09-11 08:42:06 GMT <alfresco-discord> <drazen04> Any suggest?

2019-09-11 09:26:27 GMT <alfresco-discord> <Alexander Seitz> Looks to me like the document mimetype is not known to alfresco and therefore transformer does not know what to do...imagemagic wants to create a thumbnail but can't cause mimetype is not specified? Check: https://docs.alfresco.com/5.2/references/dev-extension-points-mimetypes.html

2019-09-11 09:26:28 GMT <alfbot> Title:MIME Types | Alfresco Documentation (at docs.alfresco.com)

2019-09-11 10:58:31 GMT <hi-ko> Does anybody know if it should be still possible to register a remote/authenticator in Share? I tried to install https://github.com/Redpill-Linpro/share-ticket-login/blob/master/src/main/resources/alfresco/web-extension/share-ticket-login-config.xml which does not have any effect in latest Share version.

2019-09-11 10:58:32 GMT <alfbot> Title:share-ticket-login/share-ticket-login-config.xml at master · Redpill-Linpro/share-ticket-login · GitHub (at github.com)

2019-09-11 11:42:56 GMT <AFaust> hi-ko: Yes, that is still possible. I have recently done that in a 6.1 system. The only problem I have is that it works perfectly in my Docker-based (*nix) dev test environment, but in the customer test environment, requires me to duplicate the config from my module config file into the global share-config-custom.xml for some reason.

2019-09-11 11:45:02 GMT <AFaust> The authenticator in that project is just a trivial sub-class of a default authenticator, which does some additional checks on the session-based authentication state to determine the result of the isAuthenticated operation to avoid superfluous auth handshakes

2019-09-11 11:49:18 GMT <AFaust> A subset of users will use a HTTP header-based SSO scheme, but we do not want to use cookies / backend sessions to keep the state alive, so we use the extended default ticket authenticator with SSO HTTP header persisted as part of the connector session in Share

2019-09-11 12:01:11 GMT <hi-ko> AFaust: I also added the authenticator to the share-config-custom.xml but with no effect, so I thought it's a loader issue lost by some jars loaded earlier than share-config-custom

2019-09-11 12:02:43 GMT <AFaust> I am not a fan of re-using default Alfresco IDs for such overrides. The authenticator in my project has a separate ID and is explicitly referenced in the connector config in the share-config-custom.xml Remote section.

2019-09-11 12:03:13 GMT <AFaust> Especially in those <alfresco-config> files you can never be sure which config blocks support ID-based override resolution / merges and which don't

2019-09-11 12:03:32 GMT <hi-ko> exactly.

2019-09-11 12:07:23 GMT <hi-ko> do you have an example of a complete connector example? I din't understand the relation between connector-id endpoint-id and authenticator-id. https://docs.alfresco.com/6.1/concepts/surf-authenticators.html didn't help me

2019-09-11 12:07:24 GMT <alfbot> Title:Authenticators | Alfresco Documentation (at docs.alfresco.com)

2019-09-11 12:19:34 GMT <hi-ko> AFaust: do you suggest to create a custom authenticator, connector and reference that new connector-id in endpoint alfresco?

2019-09-11 12:32:25 GMT <AFaust> Sorry - had to step out to a colleague in the project, and my phone is acting as my wi-fi hotspot (no usable public wi-fi at the customer)...

2019-09-11 12:34:17 GMT <AFaust> Yes, what you asked about is what I have actually done and would typically always do. Define a custom connector to use my custom authenticator, and reference the connector in the endpoint

2019-09-11 12:34:52 GMT <AFaust> Most of the time, I end up with extremely similar to identical configs, only with a customer specific suffix to the default ID

2019-09-11 12:35:10 GMT <AFaust> Only other difference being the class name of course

2019-09-11 12:35:57 GMT <hi-ko> sure - thanks.

2019-09-11 13:56:15 GMT <alfresco-discord> <dgradecak> @hi-ko I usually deal with "external auth", not sure if it suitable for you but it might help

2019-09-11 13:59:07 GMT <alfresco-discord> <dgradecak> lately I used spring gateway and spring oauth for securing the different endpoints and just external auth on alfresco where each request is proyied with the username mapped from facebook/okta/google ...

2019-09-11 13:59:32 GMT <alfresco-discord> <dgradecak> works pretty well and the famos ADF apps works too that way

2019-09-11 14:34:01 GMT <alfresco-discord> <kgastaldo> Hi All - I put this in the announcements, but in case anyone missed it there: We're in the final stages of migration for the community. We'll be freezing the community on Monday, Sept 16 - meaning it will be read-only - until we launch the new space on Wednesday, Sept 18.

2019-09-11 15:20:18 GMT <hi-ko> kgastaldo: why not moving the questions to SO? ;-)

2019-09-11 15:21:34 GMT <hi-ko> dgradecak: thanks for your input. That's exactly what we now decided: moving to external auth with all consequences and all involved apps.

2019-09-11 15:24:06 GMT <hi-ko> since we want to combine sso with Identity Federation I'm now looking on LemonLDAP::NG which has all the other use cases we are painfully missing.

2019-09-11 15:27:22 GMT <hi-ko> I will also take a look into spring gateway/oauth

2019-09-11 17:41:58 GMT <alfresco-discord> <kgastaldo> @hi-ko What do you mean?

2019-09-11 17:42:59 GMT <alfresco-discord> <kgastaldo> We're moving over almost all the content from Jive to Khoros (questions, blogs, docs)

2019-09-11 17:59:37 GMT <hi-ko> @kgastaldo just kidding. alfresco forums is not a success story in terms of user acceptance and content quality. wiki is even worse (migrated from old media wiki to jive docs). before last upgrade most questions moved to stack overflow which pushed quality and visibility. today we have some questions in SO and some answers in jive.

2019-09-11 18:00:49 GMT <alfresco-discord> <kgastaldo> Ohhh Stack Overflow. I missed the reference.

2019-09-11 18:01:02 GMT <hi-ko> sorry - my fault.

2019-09-11 18:01:17 GMT <alfresco-discord> <kgastaldo> There's an argument for using SO, but ultimately we want to have all our content live on one of our sites.

2019-09-11 18:02:11 GMT <hi-ko> I think you can't since there are to many lost to SO only.

2019-09-11 18:03:21 GMT <alfresco-discord> <kgastaldo> Agreed. People will always post in SO. But hopefully everyone will like the new platform and we'll have worthwhile conversations and resources there - driving more people to post there instead of SO\

2019-09-11 18:06:14 GMT <hi-ko> You may gain some discussions back if you could reanimate something like a wiki with howto's having a good categorization but this would end up in a lot of work for you first since most of the old wiki pages are outdated and/or broken

2019-09-11 18:08:15 GMT <hi-ko> what could be the goal of posting a question on the alfresco platform if you could expect more experts on SO?

2019-09-11 18:12:17 GMT <alfresco-discord> <kgastaldo> We're actually moving a lot of the old content into a read-only archive section; hopefully making the search much better

End of Daily Log

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