Team, we upgraded Alfresco v6.2.2 using Oracle 12c to ORacle 19c.
Starting Alfresco after the database update give "Failed to copy content to string" error.
Help us resolve it. Thanks In Advance.
2021-06-23 13:28:33,262 ERROR [org.alfresco.repo.web.scripts.RepositoryContainer] [https-jsse-nio-8443-exec-9] Server error (05230276)
org.springframework.extensions.webscripts.WebScriptException: 05230082 Wrapped Exception (with status template): 05230272 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': 05230271 Failed to copy content to string:
accessor: ContentAccessor[ contentUrl=store://2020/7/23/18/27/3ea794f7-6da2-4534-b933-54eeb986c35d.bin, mimetype=text/plain, size=0, encoding=UTF-8, locale=en_US]
at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1139)
at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:519)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:450)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:595)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:664)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:435)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:315)
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 org.alfresco.repo.web.scripts.AlfrescoWebScriptServlet.service(AlfrescoWebScriptServlet.java:43)
Failed to copy content to string: accessor: ContentAccessor[ contentUrl=store://2020/7/23/18/27/3ea794f7-6da2-4534-b933-54eeb986c35d.bin, mimetype=text/plain, size=0, encoding=UTF-8, locale=en_US]
Looks like your database and contentstore are not synch.But maybe the problem is not on the database side because the error is that cannot copy a binary file. Could you check if you have created inside of your contentStore this file: 2020/7/23/18/27/3ea794f7-6da2-4534-b933-54eeb986c35d.bin ?
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.