Problem: An error occurs within Posit Workbench when updating a published document to an existing destination after the content has been deleted within Posit Connect. See https://docs.posit.co/connect/user/content-settings/#deleting-content.
Root Cause: This issue occurs when updating a content item that has been published and is then subsequently deleted in Posit Connect. When the document is deleted, the references to the published document within Posit Workbench are no longer valid, which results in an error message.
Solutions: The workaround is to publish the content to a New Destination by selecting Other destination
or choosing Clear List
to clear the local deployment history for a document (which then will require setting up a New Destination
). This is shown in the following screenshot:
Outcome: Once the above workaround is completed, the content can be published to Posit Connect.
Further reading: https://docs.posit.co/connect/user/publishing-rstudio/ https://docs.posit.co/connect/user/content-settings/#deleting-content
Comments