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-04-01 10:06:45 GMT <alfresco-discord> <mg_itn> When trying to download files bigger than 4gb with ADF connected to a 6.0 instance I get an OutOfMemoryException, even though I increased my Tomcats Memory to 12GB. Denys told me in the Gitter chat, that this was an issue in 6.0 repository and has been fixed. Does anyone know the corresponding Jira Ticket? Can't find anything regarding this issues in the Release Notes

2019-04-01 10:13:21 GMT <alfresco-discord> <Alexander Seitz> The error in 6.0.0 @mg_itn describes behaves slightly differently depending on the memory given to the server. With ~4gb ram for the reporisty we'll get a "heap space" memory exception and with > 8gb just a OutOfMemoeryExeceoption. It looks like this, no matter how much memory you give to the server and it's only reproducable with the alfresco content app (ADF):

2019-04-01 10:17:32 GMT <alfresco-discord> <Alexander Seitz> Heap Space Error: https://0bin.net/paste/ZH6qDKQ4jbPftPSh#CdW4VKN4Z0EXAmfpbwij+UhUg45rdRrwc9x9SFjckx1

2019-04-01 10:17:34 GMT <alfbot> Title:0bin - encrypted pastebin (at 0bin.net)

2019-04-01 10:17:52 GMT <alfresco-discord> <Alexander Seitz> Out Of Memory Error: https://0bin.net/paste/k7OzqzvyYoF4YrcV#sFERT7q6RyBgKBoOov4KaCkm+leHFyBRaBnsDkCFK+O

2019-04-01 10:17:54 GMT <alfbot> Title:0bin - encrypted pastebin (at 0bin.net)

2019-04-01 10:22:18 GMT <alfresco-discord> <Alexander Seitz> if this was fixed in 6.1.0 it is not mentioned in the Release Notes...or I'm blind to find it on issues.alfresco.com

2019-04-01 14:35:11 GMT <alfresco-discord> <Mark-Unofficial> other than /alf_data/contentstore are there any other directories I need to copy to a target?

2019-04-01 14:35:30 GMT <alfresco-discord> <Mark-Unofficial> I can't seem to find any documentation on manual sync

2019-04-01 14:54:22 GMT <angelborroy> @Mark-Unofficial What is “manual sync”?

2019-04-01 14:55:07 GMT <alfresco-discord> <Mark-Unofficial> sorry, using backup / restore as a method of replication

2019-04-01 14:55:27 GMT <angelborroy> Just to be sure

2019-04-01 14:55:43 GMT <angelborroy> You want to export your data from server A and restore this data in server B

2019-04-01 14:55:45 GMT <angelborroy> right?

2019-04-01 15:00:07 GMT <alfresco-discord> <Mark-Unofficial> yes

2019-04-01 15:00:29 GMT <angelborroy> So it’s a regular backup, isn’t it?

2019-04-01 15:00:32 GMT <alfresco-discord> <Mark-Unofficial> but server B has a different DNS name & cert

2019-04-01 15:00:42 GMT <angelborroy> No problem for data

2019-04-01 15:00:53 GMT <angelborroy> Just adjust your configuration in alfresco-global.properties

2019-04-01 15:01:09 GMT <angelborroy> Where did you configure the SSL?

2019-04-01 15:01:19 GMT <angelborroy> Apache / NGINX or Tomcat itself?

2019-04-01 15:09:14 GMT <alfresco-discord> <Alexander Seitz> Just for Info: OutOfMemoryException we've mentionend above with ADF has been fixed with ACS 6.1. To be precise it was an fix to alfresco-remote-api upgrade to 6.39.3 see: https://github.com/Alfresco/alfresco-remote-api/pull/87

2019-04-01 15:09:16 GMT <alfbot> Title:REPO-3718 Service Pack: MNT-19833: Download via v1 REST API loaded in memory by andrei-zapodeanu-alfresco · Pull Request #87 · Alfresco/alfresco-remote-api · GitHub (at github.com)

2019-04-01 15:10:56 GMT <alfresco-discord> <Alexander Seitz> running into this problem could have been provided if alfresco would have released a service pack for 6.0.0 (which exists in the enterprise repo, but is not officially available to download in the support portal)

2019-04-01 15:23:43 GMT <angelborroy> @Alexander Seitz it looks like the patch is applied to ACS 6.0

2019-04-01 15:24:11 GMT <angelborroy> Can’t you find it?

2019-04-01 15:37:37 GMT <alfresco-discord> <Alexander Seitz> @angel.borroy I did not find a patch for it. Where can I get it?

2019-04-01 15:40:32 GMT <alfresco-discord> <Alexander Seitz> at least it's not on the alfresco download page: https://myalfresco.force.com/support/articles/en_US/Release_Notes/Alfresco-Content-Services-version-6-0

2019-04-01 16:00:02 GMT <angelborroy> Let me check it

2019-04-01 16:07:06 GMT <angelborroy> what is your current acs version?

2019-04-01 16:08:07 GMT <angelborroy> mmm

2019-04-01 16:08:13 GMT <angelborroy> not, it has not been merged yet

2019-04-01 16:08:14 GMT <angelborroy> https://github.com/Alfresco/alfresco-remote-api/compare/support/SP/6.39.N

2019-04-01 16:08:16 GMT <alfbot> Title:Comparing master...support/SP/6.39.N · Alfresco/alfresco-remote-api · GitHub (at github.com)

2019-04-01 16:15:59 GMT <alfresco-discord> <Mark-Unofficial> ssl is only configured in Alfresco

2019-04-01 16:16:34 GMT <angelborroy> “Alfresco” is Tomcat, Apache HTTPs, nginx… ?

2019-04-01 16:16:53 GMT <alfresco-discord> <Mark-Unofficial> tomcat

2019-04-01 16:17:27 GMT <alfresco-discord> <Mark-Unofficial> but I only configured SSL in alfresco-global * /alf_data/keystore/ssl.keystore

2019-04-01 16:17:53 GMT <alfresco-discord> <Mark-Unofficial> *&

2019-04-01 16:19:02 GMT <angelborroy> ok, so you have to take also this to the new installation

2019-04-01 16:19:53 GMT <alfresco-discord> <Mark-Unofficial> both instances are almost identical apart from these as they have different hostnames/dns names

2019-04-01 16:20:16 GMT <angelborroy> The name is configured in alfresco-global.properties

2019-04-01 16:20:39 GMT <angelborroy> ssl (as you know) in server.xml (Tomcat)

2019-04-01 16:20:59 GMT <angelborroy> then you have to take alf_data/contentstore alf_data/contentstoredeleted

2019-04-01 16:21:04 GMT <angelborroy> Also alf_data/solr

2019-04-01 16:21:12 GMT <angelborroy> And restore a backup of your databae

2019-04-01 16:21:15 GMT <alfresco-discord> <Mark-Unofficial> I've not configured ssl in server.xml.....

2019-04-01 16:21:33 GMT <angelborroy> Both are the same Alfresco version?

2019-04-01 16:21:41 GMT <alfresco-discord> <Mark-Unofficial> yes

2019-04-01 16:21:53 GMT <angelborroy> ok, so nothing to do with that

2019-04-01 16:21:59 GMT <angelborroy> just only take your ssl.keystore

2019-04-01 16:22:13 GMT <angelborroy> are you installing on the same server path?

2019-04-01 16:23:36 GMT <alfresco-discord> <Mark-Unofficial> so currently I've restored the database and reference to a file created on server A is now showing in the site in Server B, I've coppied over all of /alf_data except keystore & postgres folders but when clicking the "User created document aaaaa" I get "The item cannot be found. Either you do not have permissions to view the item, it has been removed or it never existed. "

2019-04-01 16:23:41 GMT <alfresco-discord> <Mark-Unofficial> same server path

2019-04-01 16:24:14 GMT <alfresco-discord> <Mark-Unofficial> same user logged in via LDAPs

2019-04-01 16:25:41 GMT <angelborroy> Probably it’s a SOLR problem

2019-04-01 16:25:47 GMT <angelborroy> did you take your SOLR indexes?

2019-04-01 16:26:21 GMT <angelborroy> if not, your Alfresco is currently indexing the repository

2019-04-01 16:26:29 GMT <angelborroy> And it will be available in some minutes

2019-04-01 16:26:35 GMT <angelborroy> What is the size of your repository?

2019-04-01 16:26:54 GMT <alfresco-discord> <Alexander Seitz> @angel.borroy i was able to get it working with ACS 6.0.0 by using the alfresco-remote-api-6.39.3 from the pullrequest (https://github.com/Alfresco/alfresco-remote-api/pull/87) then rename it to alfresco-remote-api-6.39 to overwrite the original alfresco-remote-api-6.39.jar and then additionally manually revert the included CMIS commit

2019-04-01 16:26:54 GMT <alfresco-discord> (https://github.com/Alfresco/alfresco-remote-api/commit/ac3b8828fd1eb577e1ff990f83a9d870c52f00cb)

2019-04-01 16:26:55 GMT <alfbot> Title:REPO-3718 Service Pack: MNT-19833: Download via v1 REST API loaded in memory by andrei-zapodeanu-alfresco · Pull Request #87 · Alfresco/alfresco-remote-api · GitHub (at github.com)

2019-04-01 16:26:56 GMT <alfbot> Title:REPO-3745 Fix CMIS tx retry (#77) · Alfresco/alfresco-remote-api@ac3b882 · GitHub (at github.com)

2019-04-01 16:26:57 GMT <alfresco-discord> <Alexander Seitz> https://cdn.discordapp.com/attachments/451644531323174914/562311948125864028/unknown.png

2019-04-01 16:27:43 GMT <angelborroy> @Alexander Seitz It works, but your support has been broken

2019-04-01 16:27:48 GMT <alfresco-discord> <Alexander Seitz> in the amp.xml we've assempled the patched remote api to overwrite the official one with: <fileSet> <directory>src/main/assembly/lib</directory> <includes> <include>*.jar</include> </includes> <outputDirectory>lib</outputDirectory> </fileSet>

2019-04-01 16:28:02 GMT <angelborroy> So probably if a problem arises in your installation...

2019-04-01 16:28:14 GMT <angelborroy> … support will deny any action

2019-04-01 16:28:38 GMT <alfresco-discord> <Mark-Unofficial> contentstore is only 20M

2019-04-01 16:28:49 GMT <angelborroy> ok, so it should be working now

2019-04-01 16:28:58 GMT <angelborroy> Did you copied alf_data/solr folder?

2019-04-01 16:29:10 GMT <alfresco-discord> <Mark-Unofficial> I did

2019-04-01 16:29:31 GMT <angelborroy> If it’s not working now, it can be corrupted

2019-04-01 16:29:41 GMT <angelborroy> is it Alfresco 6?

2019-04-01 16:30:08 GMT <alfresco-discord> <Alexander Seitz> yeah I'm aware of the support problem....at least we'll have a hotfix for there production enviroment...the support issue will be covered soon with an 6.1 upgrade on customer side

2019-04-01 16:30:25 GMT <angelborroy> ok, just for you to know

2019-04-01 16:30:37 GMT <angelborroy> I used to create a patch

2019-04-01 16:30:54 GMT <angelborroy> Just to have it under control and to be able to extract it after upgrading

2019-04-01 16:31:09 GMT <alfresco-discord> <Alexander Seitz> it should be mentioned that even with that fix, we'll have to increase webscripts file size to be able to work

2019-04-01 16:31:45 GMT <alfresco-discord> <Alexander Seitz> # no limit webscripts.setMaxContentSize=-1

2019-04-01 16:31:54 GMT <angelborroy> btw why are you using Alfresco to store files > 4 GB???

2019-04-01 16:32:02 GMT <angelborroy> Are you using videos?

2019-04-01 16:32:11 GMT <alfresco-discord> <Alexander Seitz> yes, video iso files

2019-04-01 16:32:35 GMT <angelborroy> it makes sense, then

2019-04-01 16:33:11 GMT <alfresco-discord> <Alexander Seitz> 64gb isos max...bigger files are stored on separated hdds which noderefs that links to this hdd storage

2019-04-01 16:34:01 GMT <alfresco-discord> <Alexander Seitz> I was kind of supprised that default max downloadable size is 4gb by default

2019-04-01 16:34:01 GMT <angelborroy> I have to leave now

2019-04-01 16:34:12 GMT <alfresco-discord> <Alexander Seitz> me too, thanks for your help

2019-04-01 16:34:17 GMT <angelborroy> You are right, it has no sense

2019-04-01 16:34:23 GMT <angelborroy> But we’ll try to fix that for the future

2019-04-01 16:34:27 GMT <angelborroy> See you

2019-04-01 16:34:35 GMT <alfresco-discord> <Mark-Unofficial> thanks for your help angelborroy

2019-04-01 16:34:58 GMT <alfresco-discord> <Alexander Seitz> acs team should include automated tests for upload and download bigger content files in ther integration tests

End of Daily Log

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