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-10-25 07:10:51 GMT <gaps> I have installed alfresco community edition 5.2 in Cent OS 7 using bin file. Am not able to open bigger doc or docx files any file more than 1 MB not able to preview. By the way I checked my libreoffice, soffice are running...

2019-10-25 07:23:35 GMT <alfresco-discord> <yreg> gaps check transformer limits

2019-10-25 07:39:16 GMT <gaps> <alfresco-discord>: do I need to check in afresco-global.properites file?

2019-10-25 07:39:52 GMT <gaps> do i need to configure manually the content.transformer properties in that file?

2019-10-25 07:43:16 GMT <gaps> configured these parameters in alfresco-global.properties file

2019-10-25 07:43:17 GMT <gaps> content.transformer.default.timeoutMs=64800000

2019-10-25 07:43:17 GMT <gaps> content.transformer.JodConverter.priority=99

2019-10-25 07:43:17 GMT <gaps> content.transformer.JodConverter.extensions.doc.pdf.maxSourceSizeKBytes=102400

2019-10-25 07:43:17 GMT <gaps> content.transformer.JodConverter.extensions.docm.pdf.maxSourceSizeKBytes=768

2019-10-25 07:43:17 GMT <gaps> content.transformer.JodConverter.extensions.docx.pdf.maxSourceSizeKBytes=102400

2019-10-25 07:43:43 GMT <gaps> still i get the same error the document can't be previewed whcih is about 4MB

2019-10-25 08:01:23 GMT <gaps> changed parameter little bit something like this,

2019-10-25 08:01:25 GMT <gaps> content.transformer.default.timeoutMs=64800000

2019-10-25 08:01:25 GMT <gaps> transformserver.transformationTimeout=300

2019-10-25 08:01:25 GMT <gaps> transformer.timeout.default=300

2019-10-25 08:01:25 GMT <gaps> content.transformer.JodConverter.priority=99

2019-10-25 08:01:25 GMT <gaps> content.transformer.JodConverter.extensions.doc.pdf.maxSourceSizeKBytes=10240

2019-10-25 08:01:25 GMT <gaps> content.transformer.JodConverter.extensions.docm.pdf.maxSourceSizeKBytes=768

2019-10-25 08:01:26 GMT <gaps> content.transformer.JodConverter.extensions.docx.pdf.maxSourceSizeKBytes=10240

2019-10-25 08:01:26 GMT <gaps> content.transformer.JodConverter.extensions.dotm.pdf.maxSourceSizeKBytes=768

2019-10-25 08:01:27 GMT <gaps> content.transformer.JodConverter.extensions.dotx.pdf.maxSourceSizeKBytes=768

2019-10-25 08:01:27 GMT <gaps> content.transformer.JodConverter.extensions.html.pdf.supported=false

2019-10-25 08:01:28 GMT <gaps> content.transformer.JodConverter.extensions.potm.pdf.maxSourceSizeKBytes=4096

2019-10-25 08:01:28 GMT <gaps> content.transformer.JodConverter.extensions.potx.pdf.maxSourceSizeKBytes=4096

2019-10-25 08:01:34 GMT <gaps> but still am not able to preview

2019-10-25 09:47:57 GMT <gaps> ok i got... it... thing is, inside this jar file alfresco-repository-5.2.g.jar i see "transformers.properties" which has the size of the files and i see for docx it has 768 and for doc it has 10240, even though i change here for docx it didn't work. but for doc if i upload 4 MB document am able to preview. I tried to change for docx but it didn't work.

2019-10-25 09:52:14 GMT <alfresco-discord> <yreg> gaps which alfresco version are you on ?

2019-10-25 09:53:16 GMT <gaps> am on 5.2

2019-10-25 09:53:23 GMT <gaps> community edition

2019-10-25 09:53:28 GMT <alfresco-discord> <yreg> do you have an alfresco-global.properties inside $TOMCAT_HOME/shared/classes ? If so, that's the way to go, that one should have the final override

2019-10-25 09:53:40 GMT <alfresco-discord> <yreg> (unless you have subsystem specific config)

2019-10-25 09:53:52 GMT <alfresco-discord> <yreg> (which I bet you don't)

2019-10-25 09:54:27 GMT <gaps> my global property file is here - /opt/alfresco-community/tomcat/shared/classes/

2019-10-25 09:54:42 GMT <gaps> its not overriding

2019-10-25 09:55:12 GMT <alfresco-discord> <yreg> and by the way, even if you change the values, and restart, I am not sure you will have previews refreshed unless you modify the files in some cases

2019-10-25 09:56:04 GMT <gaps> yes even i modify its not taking effect... either in alfresco-global.properties or in transformers.properties file in side the jar

2019-10-25 09:56:56 GMT <gaps> i guess changing in alfresco-global.properites is the best practice... !

2019-10-25 11:13:49 GMT <alfresco-discord> <yreg> you need to restart

2019-10-25 11:14:08 GMT <alfresco-discord> <yreg> you might even need to update the file to trigger the transformation again

2019-10-25 11:14:17 GMT <alfresco-discord> <yreg> or try to access it through share

2019-10-25 12:43:01 GMT <alfresco-discord> <dgradecak> @yreg did you ever create an "activiti enterprise/APS" spring boot app? I mean using act. ent. engine in a separate spring boot?

2019-10-25 12:44:49 GMT <alfresco-discord> <yreg> nope, haven't had the pleasure (horror?) yet

2019-10-25 12:46:52 GMT <alfresco-discord> <dgradecak> just going to try that, although I was wondering if it makes sense trying it

2019-10-25 12:47:24 GMT <gaps> any way i can increase the file size limit for docx and xlsx, i see its only configured as 768kb in transformers.properties file inside the jar file

2019-10-25 12:59:05 GMT <alfresco-discord> <yreg> Honestly I am not sure if you would be getting anything extra on top of activiti CE when going down the APS road there

2019-10-25 12:59:11 GMT <alfresco-discord> <yreg> other than support I mean

2019-10-25 13:01:25 GMT <alfresco-discord> <dgradecak> yeah I know, but clients have enterprise, so ...

2019-10-25 13:01:39 GMT <alfresco-discord> <dgradecak> it must be than com.activiti... 🙂

2019-10-25 13:09:54 GMT <alfresco-discord> <dgradecak> @yreg weren't you doing custom stencils etc for APS? I had the feeling you liked it at that time

2019-10-25 13:10:42 GMT <alfresco-discord> <yreg> Not particularily, but yes, I did that a bit

2019-10-25 13:15:23 GMT <alfresco-discord> <dgradecak> just by curiosity, what kind of custom stencils did you do?

2019-10-25 13:16:20 GMT <alfresco-discord> <yreg> nothing fancy

2019-10-25 13:16:39 GMT <alfresco-discord> <yreg> multiple people picker, for picking more than one reviewer at the same time

2019-10-25 13:17:24 GMT <alfresco-discord> <yreg> and complex fields for entering complex values, persisted as a serialized json object ...

2019-10-25 13:17:48 GMT <alfresco-discord> <yreg> and a hidden input stencil to overcome an ADF limitation at the time 🙂

2019-10-25 13:20:30 GMT <alfresco-discord> <dgradecak> yeah, I cannot believe there is no possibility to pick several person

2019-10-25 13:20:47 GMT <alfresco-discord> <dgradecak> that is something that still amazes me for an enterprise product 😄

2019-10-25 13:22:22 GMT <alfresco-discord> <yreg> try saying that to support, they will suggest that you make two or three controls, or as many as you need to have enough validators selected 🤣

2019-10-25 13:22:40 GMT <alfresco-discord> <dgradecak> haha, excellent 😄

2019-10-25 13:23:04 GMT <alfresco-discord> <dgradecak> well hopefully, all is based on custom UIS, but for testing would be easier in the APS forms

2019-10-25 13:23:49 GMT <alfresco-discord> <yreg> TBH that's why I used that serialized json

2019-10-25 13:23:56 GMT <alfresco-discord> <yreg> my only client is using ADF

2019-10-25 13:24:22 GMT <alfresco-discord> <yreg> and it doesn't make sense to develop the stencils twice while we have only one client

2019-10-25 13:24:40 GMT <alfresco-discord> <yreg> and devs are split as frontenders and backenders

2019-10-25 13:24:44 GMT <alfresco-discord> <dgradecak> you could send it back to the support team;) or sell it to them

2019-10-25 13:25:47 GMT <alfresco-discord> <yreg> having the in-aps stencil render as a textfield which accepts a serialized json object helps the people working on APS to be independent from the progress made on the UI

2019-10-25 13:26:15 GMT <alfresco-discord> <yreg> (the real UI I mean)

2019-10-25 13:26:33 GMT <alfresco-discord> <yreg> you should try that as well, it help

2019-10-25 13:26:42 GMT <alfresco-discord> <dgradecak> indeed, but at that point, maybe just a txt field mapped to the property could be somehow used, but ok this is a different kind of discussion

2019-10-25 13:26:58 GMT <alfresco-discord> <dgradecak> well when I need something, I just use the rest api to start what I need

2019-10-25 13:27:19 GMT <alfresco-discord> <dgradecak> but the client was complaining

2019-10-25 13:29:03 GMT <alfresco-discord> <dgradecak> so it is not really about how I use it, but mainly how to explain to paying customers that this is actually an enterprise tool

2019-10-25 13:29:36 GMT <alfresco-discord> <dgradecak> there must be a way, maybe a cookbook for that exists 😉

2019-10-25 13:34:55 GMT <gaps> Any suggestions on increasing the content size for preview...!

2019-10-25 13:42:10 GMT <alfresco-discord> <dgradecak> gaps: I think yreg told you all the things you need

2019-10-25 13:44:26 GMT <gaps> am sorry ... all of sudden my chat disconnected my old history gone... only few are there...

2019-10-25 13:44:56 GMT <alfresco-discord> <dgradecak> either check on discord or on the chat logs

2019-10-25 13:45:12 GMT <alfresco-discord> <dgradecak> https://chat.alfresco.com/log_hash-alfresco_2019-10-25.html

2019-10-25 13:45:13 GMT <alfbot> Title:Logs for #alfresco IRC channel (at chat.alfresco.com)

2019-10-25 13:45:31 GMT <gaps> let me check tks

2019-10-25 13:49:29 GMT <gaps> I see yreg said update the file to trigger the transformation... actually i changed the properties file inside the jar but I don't see any effect... or do i need extract the jar, change the file and again jar it back...?

2019-10-25 13:49:54 GMT <alfresco-discord> <dgradecak> he also mentioned to use alfresco-global.properties

2019-10-25 13:50:11 GMT <alfresco-discord> <dgradecak> just google it if it is not clear

2019-10-25 13:50:35 GMT <gaps> ok

2019-10-25 18:00:37 GMT <alfresco-discord> <Douglas Paes (douglascrp)> @gaps, you should not be changing the jar's content

2019-10-25 18:01:05 GMT <alfresco-discord> <Douglas Paes (douglascrp)> instead of that, simply copy the properties you want to change and paste them into the alfresco-global.properties file

2019-10-25 18:01:54 GMT <alfresco-discord> <Douglas Paes (douglascrp)> besides that, it seems you are using 5.2 community, so for this, you should not be changing the JodConverter related properties, like content.transformer.JodConverter.extensions.docx.pdf.maxSourceSizeKBytes=10240

2019-10-25 18:03:00 GMT <alfresco-discord> <Douglas Paes (douglascrp)> instead, change the corresponding one, but using OpenOffice, like content.transformer.OpenOffice.extensions.docx.pdf.maxSourceSizeKBytes=10240

2019-10-25 18:03:16 GMT <alfresco-discord> <Douglas Paes (douglascrp)> JodConverter is not used with Alfresco Community 5.2

2019-10-25 18:04:35 GMT <alfresco-discord> <Douglas Paes (douglascrp)> Repeating myself here: hey guys has anybody developed or know about any way to restrict access to alfresco using IP or time? is there any paid solution you know about? I got asked to think about it... being able to block the access for certain users, by ip or time, and also have the option to fully ignore the blocking rules for some users, like those like managers

2019-10-25 19:15:29 GMT <alfresco-discord> <dgradecak> @Douglas Paes (douglascrp) if you would use proxy, than I guess you can do that easily

2019-10-25 19:19:38 GMT <alfresco-discord> <Douglas Paes (douglascrp)> @dgradecak yes, we use it, but how to deal with the exceptions, like, how to identify the managers in order to let them use without restriction?

2019-10-25 19:19:54 GMT <alfresco-discord> <Douglas Paes (douglascrp)> the proxy does not have authentication in place

2019-10-25 19:20:24 GMT <alfresco-discord> <Douglas Paes (douglascrp)> I also thought about create firewall rules, but again, how would the firewall know about the user accessing it without the authentication

2019-10-25 19:20:35 GMT <alfresco-discord> <Douglas Paes (douglascrp)> that is why they asked us to put such restriction inside alfresco

2019-10-25 19:21:19 GMT <alfresco-discord> <Douglas Paes (douglascrp)> in practice, they want to let the user log in, but once logged in, inform the user that he cannot access alfresco at that time or from that IP

2019-10-25 19:21:34 GMT <alfresco-discord> <Douglas Paes (douglascrp)> but if the user is a manager, then ok

End of Daily Log

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