Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • bh 444 posts 1544 karma points
    Jul 31, 2024 @ 12:55
    bh
    0

    Umbraco v14.1.1 Publish Failed

    Attempting to publish a v14.1.1 fails.

    Here's the error I'm getting:

    Error Could not copy "C:\Users\REDACTED\.nuget\packages\umbraco.cms.staticassets\14.1.1\staticwebassets\umbraco\backoffice\packages\log-viewer\workspace\views\overview\components\log-viewer-message-templates-overview.element.d.ts" to "C:\Users\REDACTED\repos\app.cc.com.v2.umbraco\app.cc.com.v2.umbraco\obj\Release\net8.0\PubTmp\Out\wwwroot\umbraco\backoffice\packages\log-viewer\workspace\views\overview\components\log-viewer-message-templates-overview.element.d.ts". Exceeded retry count of 10. Failed. app.cc.com.v2.umbraco 0

    @HuwReddick in a previous thread (that I had to delete b/c I prematurely marked it solved) kindly recommended adding this registry key: https://discord-chats.umbraco.com/t/14155379/installing-v14-preview-02

    Unfortunately that did not resolve the issue.

  • Huw Reddick 1929 posts 6717 karma points MVP 2x c-trib
    Jul 31, 2024 @ 13:03
    Huw Reddick
    0

    what sort of publish are you using?

    If it is a folder publish, try changing to a different folder that has less branches like "C:\testpublish" does that fix the issue?

  • bh 444 posts 1544 karma points
    Jul 31, 2024 @ 13:08
    bh
    0

    Thanks @HuwReddick...I am doing folder publish to a folder on my server...but according to the error it appears it's failing before it gets to the point of copying files to the intended server path.

    I looked at the Output and noticed an error before all of the 'could not copy' errors.

    The very first error that posts to Output is: C:\Program Files\dotnet\sdk\8.0.303\Sdks\Microsoft.NET.Sdk.Publish\targets\CopyTargets\Microsoft.NET.Sdk.Publish.CopyFiles.targets(51,5): Warning MSB3231: Unable to remove directory "C:\Users\REDACTED-45-CHARS-HERE\repos\app.cc.com.v2.umbraco\app.cc.com.v2.umbraco\obj\Release\net8.0\PubTmp\Out\". The process cannot access the file 'C:\Users\REDACTED-45-CHARS-HERE\repos\app.cc.com.v2.umbraco\app.cc.com.v2.umbraco\obj\Release\net8.0\PubTmp\Out\runtimes' because it is being used by another process.

  • bh 444 posts 1544 karma points
    Jul 31, 2024 @ 13:18
    bh
    0

    @HuwReddick I resolved the 'because it is being used by another process' error. But still getting the 'could not copy' errors.

    I changed the publish destination to 'C:\umbtestpub' the same 'could not copy' error exists.

  • Huw Reddick 1929 posts 6717 karma points MVP 2x c-trib
    Jul 31, 2024 @ 13:31
    Huw Reddick
    0

    No other ideas, sorry.

  • bh 444 posts 1544 karma points
    Jul 31, 2024 @ 13:40
    bh
    101
Please Sign in or register to post replies

Write your reply to:

Draft