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.
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.
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
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
Yup permissions are correct, other packages seem to have no problems uninstalling
what package causes a problem?
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.
this is definitely issue with Hangfire
Hi Job
Did you find what exactly is the issue?
Alex
is working on a reply...