Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't fully uninstall #32

Open
axelkennedal opened this issue Mar 16, 2024 · 1 comment
Open

Can't fully uninstall #32

axelkennedal opened this issue Mar 16, 2024 · 1 comment

Comments

@axelkennedal
Copy link

I installed this package a while ago and then I realized I don't need it, so I uninstalled the Nuget in Visual Studio.

The problem is that the uninstall doesn't quite work. First, the folder in App_Plugins for BackOfficeThemes was still present after the uninstall, and when entering the Umbraco Backoffice I got a 404 error message saying:

Request error: The URL returned a 404 (not found): /umbraco/backoffice/themes/backOfficeThemeApi/GetCurrentTheme

So I deleted the BackOfficeThemes folder in App_Plugins. Now I don't get the 404 error message. But when I look in the browser console I'm still getting some errors:

image

So, how do I completely uninstall this package?

@KevinJump
Copy link
Owner

Hi,

you will also need to remove the dll's from, the site (Our.Umbraco.BackOfficeThemes.*).

depending on how you have build/ran your site this will either be in the bin folder or the root folder of the site.

when you do a dotnet publish (or equivalent on a deploy) the site files won't have the dll for this package in, but if you don't have your deployment completely replacing the files then files that are from previous deployments will still be there. this isn't a 'this package' issue, its how .net deployments work. you would have to remove dll's from other packages should you remove them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants