12-22-2017 07:44 AM
Hello everyone!
I upgraded my alfresco community edition (5.0 to 5.2) respecting specific Alfresco documentation:
- Install the new version (from Alfresco installer)
- Copy old content store in new installation directory (10Gb)
- Switching config in properties to use old Postgre database
- Regenerate SSL keys...
Firstly, the startup of Alfresco is OK (no errors) but It need many hours to be fully available (100% CPU during at least 4 hours without errors ). I thought it was only for first start (building index for first time) but it take this time for every restart of Alfresco. I don't know if this time is a normal value but is complicated for testing properties and restart application.
After the startup, Alfresco Share interface is OK with all functionnality. My problem occur when I add or modify a file, the file is well added in the interface but it seem not indexed, is never added in "recently updated/modified" category , recents and searching actions (rss functions..).
If I check Solr admin console, i notice that lastModified value is never updated and there are no log in catalina.out or solr.log) ...
UpdateHandler details :
In SolrR logging console , I found some errors after startup at ~16:00
For "Java heap space" message I already increase JAVA_OPTS values in setenv.sh like this
Any ideas?
Thanks a lot
01-03-2018 09:00 AM
Yes, that seems the problem. Default Heap settings -Xms and -Xmx from ctl.sh are probably taking preference over the ones from setenv.sh, and so, the java out of memory problems.
So just delete -Xmx and -Xms settings from ctl.sh and restart Alfresco. I prefer to use setenv.sh instead of ctl.sh
Regards.
--C.
01-04-2018 03:25 AM
It's okay deleting JAVA_OPTS settings of ctl.sh.
I still have alfresco.log errors but index seems ok!
2018-01-03 17:46:54,664 ERROR [org.alfresco.repo.web.scripts.RepositoryContainer] [http-bio-8443-exec-5] Server error (00030919)
org.alfresco.service.cmr.repository.ContentIOException: 00030919 Failed to get writer
at org.alfresco.repo.content.filestore.FileContentStore.getWriterInternal(FileContentStore.java:534)
at org.alfresco.repo.content.AbstractContentStore.getWriter(AbstractContentStore.java:238)
at org.alfresco.repo.content.ContentServiceImpl.getTempWriter(ContentServiceImpl.java:547)
at org.alfresco.repo.web.scripts.solr.NodeContentGet.execute(NodeContentGet.java:207)
at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:512)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:464)
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:355)
at 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 org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.alfresco.module.aosmodule.service.ContextRootFilter.doFilter(ContextRootFilter.java:93)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.alfresco.web.scripts.servlet.X509ServletFilterBase.doFilter(X509ServletFilterBase.java:144)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)2018-01-03 18:30:04,034 ERROR [org.apache.pdfbox.filter.FlateFilter] [http-bio-8443-exec-20] FlateFilter: stop reading corrupt stream due to a DataFormatException
2018-01-03 18:30:04,043 ERROR [org.apache.pdfbox.filter.FlateFilter] [http-bio-8443-exec-20] FlateFilter: stop reading corrupt stream due to a DataFormatException
2018-01-03 18:30:04,120 ERROR [org.apache.pdfbox.filter.FlateFilter] [http-bio-8443-exec-20] FlateFilter: stop reading corrupt stream due to a DataFormatException
2018-01-03 18:30:04,212 ERROR [org.apache.pdfbox.filter.FlateFilter] [http-bio-8443-exec-20] FlateFilter: stop reading corrupt stream due to a DataFormatException
2018-01-03 18:33:16,418 ERROR [org.apache.pdfbox.filter.FlateFilter] [http-bio-8443-exec-17] FlateFilter: stop reading corrupt stream due to a DataFormatException
2018-01-03 18:33:20,887 ERROR [org.apache.pdfbox.filter.FlateFilter] [http-bio-8443-exec-13] FlateFilter: stop reading corrupt stream due to a DataFormatException
2018-01-03 18:33:26,781 ERROR [org.apache.pdfbox.filter.FlateFilter] [http-bio-8443-exec-11] FlateFilter: stop reading corrupt stream due to a DataFormatException
2018-01-03 18:33:30,435 ERROR [org.apache.pdfbox.filter.FlateFilter] [http-bio-8443-exec-19] FlateFilter: stop reading corrupt stream due to a DataFormatException
2018-01-03 18:33:33,038 ERROR [org.apache.pdfbox.filter.FlateFilter] [http-bio-8443-exec-19] FlateFilter: stop reading corrupt stream due to a DataFormatException
Thanks a lot
Explore our Alfresco products with the links below. Use labels to filter content by product module.