<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-1144 Appian attempts to overwrite files in accdocs folders after an upgrade</title><link>https://community.appian.com/support/w/kb/364/kb-1144-appian-attempts-to-overwrite-files-in-accdocs-folders-after-an-upgrade</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1144 Appian attempts to overwrite files in accdocs folders after an upgrade</title><link>https://community.appian.com/support/w/kb/364/kb-1144-appian-attempts-to-overwrite-files-in-accdocs-folders-after-an-upgrade</link><pubDate>Fri, 23 Aug 2019 05:56:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d2b8dbe5-adb2-4679-96c7-33ce649ca6d0</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/364/kb-1144-appian-attempts-to-overwrite-files-in-accdocs-folders-after-an-upgrade#comments</comments><description>Current Revision posted to Appian Knowledge Base by Parmida Borhani on 8/23/2019 5:56:40 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;After an upgrade the application server either fails to start, or, it starts successfully but uploading/creating new files sometimes fails. The following message is seen in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;java.lang.IllegalArgumentException: Attempt to write over a file that already exists: &amp;lt;PATH_TO_FILE_IN_ACCDOCS&amp;gt;
&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This usually happens during upgrades with improper migrations or when the contents of the &lt;code&gt;_admin&lt;/code&gt; folder have been moved around.&lt;/p&gt;
&lt;p&gt;The cause for this is that the Collaboration engine has a mismatch with the &lt;code&gt;_admin/accdocs&lt;/code&gt; folders. Specifically, the Collaboration engine has an internal counter that determines the next internal filename when creating a file. If the internal file already exists, then this will cause a conflict in the filename, causing Appian startup or document creation to fail.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;If upgrading from a previous version, make sure&amp;nbsp;to copy&amp;nbsp;the highest numbered engine database file &lt;strong&gt;*.kdb&lt;/strong&gt; from the old directory to the new installation&amp;rsquo;s directory. If moving the &lt;strong&gt;*.kdb&lt;/strong&gt; for any reason,&amp;nbsp;it is also necessary to move the contents of the &lt;code&gt;_admin&lt;/code&gt; folder.&lt;/li&gt;
&lt;li&gt;In case of an unsuccessful upgrade, roll back to a backup from before the upgrade and attempt the migration again. Do not use the existing data to roll back, as there might be additional system files generated during the unsuccessful/partial upgrade attempt.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: August 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, engines, upgrade&lt;/div&gt;
</description></item><item><title>KB-1144 Appian attempts to overwrite files in accdocs folders after an upgrade</title><link>https://community.appian.com/support/w/kb/364/kb-1144-appian-attempts-to-overwrite-files-in-accdocs-folders-after-an-upgrade/revision/4</link><pubDate>Thu, 07 Mar 2019 19:08:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d2b8dbe5-adb2-4679-96c7-33ce649ca6d0</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/364/kb-1144-appian-attempts-to-overwrite-files-in-accdocs-folders-after-an-upgrade#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Parmida Borhani on 3/7/2019 7:08:56 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After an upgrade to a new version, you see errors in the application server log that state the system is attempting to overwrite files in the &lt;code&gt;_admin\accdocs*&lt;/code&gt; folders. The server eventually fails to start. The log messages are similar to the one below:&lt;/p&gt;
&lt;pre&gt;INFO  [stdout] (ServerService Thread Pool -- 73) com.appiancorp.ix.ConsumerException: type=content, srcId=SYSTEM_CONTENT_ICON_INDICATOR_MOVE_DOWN, dstId=8668, cause=com.appiancorp.suiteapi.common.exceptions.AppianException: java.lang.IllegalArgumentException: Attempt to write over a file that already exists: ##PATH TO FILE IN ACCDOCS##, level=ERROR, object=ContentHaul[content=[Content:id=8668,name=iconIndicatorMoveDown,description=,type=1,uuid=SYSTEM_CONTENT_ICON_INDICATOR_MOVE_DOWN,parent=92,visibility=20,security=143,attributes={},partition=2147483647],resourceName=move_down.png,roleMap=com.appiancorp.suiteapi.content.ContentRoleMap@1565d0ce[

INFO  [stdout] (ServerService Thread Pool -- 73) Caused by: java.lang.IllegalArgumentException: Attempt to write over a file that already exists: ##PATH TO FILE IN ACCDOCS
&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This usually happens during upgrades with improper migrations or when the contents of the &lt;code&gt;_admin&lt;/code&gt; folder have been moved around.&lt;/p&gt;
&lt;p&gt;The cause for this is that the Collaboration engine has a mismatch with the &lt;code&gt;_admin/accdocs&lt;/code&gt; folders. Specifically, the Collaboration engine has an internal counter that determines the next internal filename when creating a file. If the internal file already exists, then this will cause a conflict in the filename and the server may not start.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;If you are upgrading from a previous version, make sure that you copied the highest numbered engine database file *.kdb from the old directory to the new installation&amp;rsquo;s directory. If you move the *.kdb for any reason, you also have to move the contents of the &lt;code&gt;_admin&lt;/code&gt; folder.&lt;/li&gt;
&lt;li&gt;In case of an unsuccessful upgrade, roll back to a backup from before the upgrade and attempt the migration again. Do not use the existing data to roll back, as there might be additional system files generated during the unsuccessful/partial upgrade attempt.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;March 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, engines, upgrade&lt;/div&gt;
</description></item><item><title>KB-1144 Appian attempts to overwrite files in accdocs folders after an upgrade</title><link>https://community.appian.com/support/w/kb/364/kb-1144-appian-attempts-to-overwrite-files-in-accdocs-folders-after-an-upgrade/revision/3</link><pubDate>Thu, 07 Mar 2019 19:08:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d2b8dbe5-adb2-4679-96c7-33ce649ca6d0</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/364/kb-1144-appian-attempts-to-overwrite-files-in-accdocs-folders-after-an-upgrade#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Parmida Borhani on 3/7/2019 7:08:08 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After an upgrade to a new version, you see errors in the application server log that state the system is attempting to overwrite files in the &lt;code&gt;_admin\accdocs*&lt;/code&gt; folders. The server eventually fails to start. The log messages are similar to the one below:&lt;/p&gt;
&lt;pre&gt;INFO  [stdout] (ServerService Thread Pool -- 73) com.appiancorp.ix.ConsumerException: type=content, srcId=SYSTEM_CONTENT_ICON_INDICATOR_MOVE_DOWN, dstId=8668, cause=com.appiancorp.suiteapi.common.exceptions.AppianException: java.lang.IllegalArgumentException: Attempt to write over a file that already exists: ##PATH TO FILE IN ACCDOCS##, level=ERROR, object=ContentHaul[content=[Content:id=8668,name=iconIndicatorMoveDown,description=,type=1,uuid=SYSTEM_CONTENT_ICON_INDICATOR_MOVE_DOWN,parent=92,visibility=20,security=143,attributes={},partition=2147483647],resourceName=move_down.png,roleMap=com.appiancorp.suiteapi.content.ContentRoleMap@1565d0ce[

INFO  [stdout] (ServerService Thread Pool -- 73) Caused by: java.lang.IllegalArgumentException: Attempt to write over a file that already exists: ##PATH TO FILE IN ACCDOCS
&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This usually happens during upgrades with improper migrations or when the contents of the &lt;code&gt;_admin&lt;/code&gt; folder have been moved around.&lt;/p&gt;
&lt;p&gt;The cause for this is that the Collaboration engine has a mismatch with the &lt;code&gt;_admin/accdocs&lt;/code&gt; folders. Specifically, the Collaboration engine has an internal counter that determines the next internal filename when creating a file. If the internal file already exists, then this will cause a conflict in the filename and the server may not start.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;If you are upgrading from a previous version, make sure that you copied the highest numbered engine database file *.kdb from the old directory to the new installation&amp;rsquo;s directory. If you move the *.kdb for any reason, you also have to move the contents of the &lt;code&gt;_admin&lt;/code&gt; folder.&lt;/li&gt;
&lt;li&gt;In case of an unsuccessful upgrade, roll back to a backup from before the upgrade and attempt the migration again. Do not use the existing data to roll back, as there might be additional system files generated during the unsuccessful/partial upgrade attempt.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;September 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, engines, upgrade&lt;/div&gt;
</description></item><item><title>KB-1144 Appian attempts to overwrite files in accdocs folders after an upgrade</title><link>https://community.appian.com/support/w/kb/364/kb-1144-appian-attempts-to-overwrite-files-in-accdocs-folders-after-an-upgrade/revision/2</link><pubDate>Tue, 11 Sep 2018 00:31:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d2b8dbe5-adb2-4679-96c7-33ce649ca6d0</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/364/kb-1144-appian-attempts-to-overwrite-files-in-accdocs-folders-after-an-upgrade#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Parmida Borhani on 9/11/2018 12:31:08 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After an upgrade to a new version, you see errors in the application server log that state the system is attempting to overwrite files in the &lt;code&gt;_admin\accdocs*&lt;/code&gt; folders. The server eventually fails to start. The log messages are similar to the one below:&lt;/p&gt;
&lt;pre&gt;INFO  [stdout] (ServerService Thread Pool -- 73) com.appiancorp.ix.ConsumerException: type=content, srcId=SYSTEM_CONTENT_ICON_INDICATOR_MOVE_DOWN, dstId=8668, cause=com.appiancorp.suiteapi.common.exceptions.AppianException: java.lang.IllegalArgumentException: Attempt to write over a file that already exists: ##PATH TO FILE IN ACCDOCS##, level=ERROR, object=ContentHaul[content=[Content:id=8668,name=iconIndicatorMoveDown,description=,type=1,uuid=SYSTEM_CONTENT_ICON_INDICATOR_MOVE_DOWN,parent=92,visibility=20,security=143,attributes={},partition=2147483647],resourceName=move_down.png,roleMap=com.appiancorp.suiteapi.content.ContentRoleMap@1565d0ce[

INFO  [stdout] (ServerService Thread Pool -- 73) Caused by: java.lang.IllegalArgumentException: Attempt to write over a file that already exists: ##PATH TO FILE IN ACCDOCS
&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This usually happens during upgrades with improper migrations or when the contents of the &lt;code&gt;_admin&lt;/code&gt; folder have been moved around.&lt;/p&gt;
&lt;p&gt;The cause for this is that the Collaboration engine has a mismatch with the &lt;code&gt;_admin/accdocs&lt;/code&gt; folders. Specifically, the Collaboration engine has an internal counter that determines the next internal filename when creating a file. If the internal file already exists, then this will cause a conflict in the filename and the server may not start.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;If you are upgrading from a previous version, make sure that you copied the highest numbered engine database file *.kdb from the old directory to the new installation&amp;rsquo;s directory. If you move the *.kdb for any reason, you also have to move the contents of the &lt;code&gt;_admin&lt;/code&gt; folder.&lt;/li&gt;
&lt;li&gt;In case of an unsuccessful upgrade, roll back to a backup from before the upgrade and attempt the migration again. Do not use the existing data to roll back, as there might be additional system files generated during the unsuccessful upgrade attempt.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;September 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, engines, upgrade&lt;/div&gt;
</description></item><item><title>KB-1144 Appian attempts to overwrite files in accdocs folders after an upgrade</title><link>https://community.appian.com/support/w/kb/364/kb-1144-appian-attempts-to-overwrite-files-in-accdocs-folders-after-an-upgrade/revision/1</link><pubDate>Fri, 24 Feb 2017 16:22:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d2b8dbe5-adb2-4679-96c7-33ce649ca6d0</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/364/kb-1144-appian-attempts-to-overwrite-files-in-accdocs-folders-after-an-upgrade#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Nick Vigilante on 2/24/2017 4:22:53 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After an upgrade to a new version, you see errors in the application server log that state the system is attempting to overwrite files in the &lt;code&gt;_admin\accdocs*&lt;/code&gt; folders. The server eventually fails to start. The log messages are similar to the one below:&lt;/p&gt;
&lt;pre&gt;INFO  [stdout] (ServerService Thread Pool -- 73) com.appiancorp.ix.ConsumerException: type=content, srcId=SYSTEM_CONTENT_ICON_INDICATOR_MOVE_DOWN, dstId=8668, cause=com.appiancorp.suiteapi.common.exceptions.AppianException: java.lang.IllegalArgumentException: Attempt to write over a file that already exists: ##PATH TO FILE IN ACCDOCS##, level=ERROR, object=ContentHaul[content=[Content:id=8668,name=iconIndicatorMoveDown,description=,type=1,uuid=SYSTEM_CONTENT_ICON_INDICATOR_MOVE_DOWN,parent=92,visibility=20,security=143,attributes={},partition=2147483647],resourceName=move_down.png,roleMap=com.appiancorp.suiteapi.content.ContentRoleMap@1565d0ce[

INFO  [stdout] (ServerService Thread Pool -- 73) Caused by: java.lang.IllegalArgumentException: Attempt to write over a file that already exists: ##PATH TO FILE IN ACCDOCS
&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This usually happens during upgrades with improper migrations or when the contents of the &lt;code&gt;_admin&lt;/code&gt; folder have been moved around.&lt;/p&gt;
&lt;p&gt;The cause for this is that the Collaboration engine has a mismatch with the &lt;code&gt;_admin/accdocs&lt;/code&gt; folders. Specifically, the Collaboration engine has an internal counter that determines the next internal filename when creating a file. If the internal file already exists, then this will cause a conflict in the filename and the server may not start.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;If you are upgrading from a previous version, make sure that you copied the highest numbered engine database file *.kdb from the old directory to the new installation&amp;rsquo;s directory. If you move the *.kdb for any reason, you also have to move the contents of the &lt;code&gt;_admin&lt;/code&gt; folder.&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;February 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, engines, upgrade&lt;/div&gt;
</description></item></channel></rss>