Recently we copied our _admin folder and KDBs from other environment to our stag

Recently we copied our _admin folder and KDBs from other environment to our staging/UAT. Since then, while using the smart service "Appian document from Base64 String" we are getting below Alert

The document could not be created. Error: Attempt to write over a file that already exists [fileName = E:\\appian\\_admin\\accdocs2\\8\\10264112.pdf].

Do we need to re import our accdocs folders to fix this issue?
Also can anyone let us know the why this error is occurring?

OriginalPostID-168903

OriginalPostID-168903

  Discussion posts and replies are publicly visible

Parents
  • Eduardo, I have a question that I think is related to what you just described about the relationship between the COLLAB engine and the ACCDOCS folder.

    I wrote a plugin for Appian whose purpose was to combine two pdf documents into one document, then put that document in the Appian file system and make it available for download.

    The plugin successfully combines the files (I can open the file and view it in Windows explorer) and puts the new file in the Appian file system with the name I gave it, "Merge_Result_Doc", and in windows explorer it also shows up as "Merge_Result_Doc".

    When I click on the document download link in the form, however, I get an error 404 web page not found error. And when I click it in the Documents tab in Appian it does not open but I get the following error message in the console:

    22:56:36,423 INFO [stdout] (http-/0.0.0.0:8080-8) 2015-09-24 22:56:36,423
    [http-/0.0.0.0:8080-8] ERROR com.appiancorp.km.actions.GetDocumentAction - The file for the Document could not be found on the server. (id=2656, path=C:/appian/_admin/accdocs3\\2050\\10001257.pdf)

    Also, I noticed that when I delete it in Appian, it does not delete from the local file system (I can still see it in Windows Explorer). One other thing I noticed is that in the Appian file system the file shows up as <1kb in size.

    Can you or anyone explain to me what causes this behavior?

    Thanks.

Reply
  • Eduardo, I have a question that I think is related to what you just described about the relationship between the COLLAB engine and the ACCDOCS folder.

    I wrote a plugin for Appian whose purpose was to combine two pdf documents into one document, then put that document in the Appian file system and make it available for download.

    The plugin successfully combines the files (I can open the file and view it in Windows explorer) and puts the new file in the Appian file system with the name I gave it, "Merge_Result_Doc", and in windows explorer it also shows up as "Merge_Result_Doc".

    When I click on the document download link in the form, however, I get an error 404 web page not found error. And when I click it in the Documents tab in Appian it does not open but I get the following error message in the console:

    22:56:36,423 INFO [stdout] (http-/0.0.0.0:8080-8) 2015-09-24 22:56:36,423
    [http-/0.0.0.0:8080-8] ERROR com.appiancorp.km.actions.GetDocumentAction - The file for the Document could not be found on the server. (id=2656, path=C:/appian/_admin/accdocs3\\2050\\10001257.pdf)

    Also, I noticed that when I delete it in Appian, it does not delete from the local file system (I can still see it in Windows Explorer). One other thing I noticed is that in the Appian file system the file shows up as <1kb in size.

    Can you or anyone explain to me what causes this behavior?

    Thanks.

Children
No Data