Copied to clipboard

Flag this post as spam?

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


  • Job 8 posts 88 karma points
    18 days ago
    Job
    0

    Uninstall or update package almost always throws "Access to path denied"

    I am completely out of ideas on how to fix this Almost every time I update or try to uninstall the package I get a "Access to the path denied" when the packager tries to remove the dll files.

    I've checked the permissions and this happens with the user having all permissions as well...

    I feel like it has to do with the fact that we use hangfire to do some stuff in the background.

    I have tried removing the dll's in the InstalledPackage.BeforeDelete event but this didn't change anything. I've also tried stopping the recurring hangfire job in that event but that too didn't change anything.

    I am completely out of ideas

  • Alex Skrypnyk 4982 posts 18113 karma points MVP 2x admin c-trib
    18 days ago
    Alex Skrypnyk
    0

    Hi Job

    Did you set the right permission settings for website folders? Settings should be as described here - https://our.umbraco.com/documentation/Getting-Started/Setup/Server-Setup/permissions

    Thanks,

    Alex Skrypnyk from umakers.dk

  • Job 8 posts 88 karma points
    18 days ago
    Job
    0

    Yup permissions are correct, other packages seem to have no problems uninstalling

  • Alex Skrypnyk 4982 posts 18113 karma points MVP 2x admin c-trib
    18 days ago
    Alex Skrypnyk
    0

    what package causes a problem?

  • Job 8 posts 88 karma points
    18 days ago
    Job
    0

    It's a package we're developing in house. The package relies on Hangfire, which I feel like it's causing the files to be locked. But when removing the recurring job before delete it still happens.

  • Alex Skrypnyk 4982 posts 18113 karma points MVP 2x admin c-trib
    18 days ago
    Alex Skrypnyk
    0

    this is definitely issue with Hangfire

  • Alex Skrypnyk 4982 posts 18113 karma points MVP 2x admin c-trib
    1 week ago
    Alex Skrypnyk
    0

    Hi Job

    Did you find what exactly is the issue?

    Alex

Please Sign in or register to post replies

Write your reply to:

Draft