Copied to clipboard

Flag this post as spam?

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


  • Job 9 posts 90 karma points
    Feb 05, 2019 @ 09:25
    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 6132 posts 23951 karma points MVP 7x admin c-trib
    Feb 05, 2019 @ 11:08
    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 9 posts 90 karma points
    Feb 05, 2019 @ 11:12
    Job
    0

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

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Feb 05, 2019 @ 11:27
    Alex Skrypnyk
    0

    what package causes a problem?

  • Job 9 posts 90 karma points
    Feb 05, 2019 @ 12:12
    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 6132 posts 23951 karma points MVP 7x admin c-trib
    Feb 05, 2019 @ 12:27
    Alex Skrypnyk
    0

    this is definitely issue with Hangfire

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Feb 11, 2019 @ 16:02
    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