Unable to uninstall add-ons. Is a manual uninstall possible?

Permalink 1 user found helpful
I had some permission issues on my hosting account that caused errors when installing add-ons.

Every time I tried installing a package manually I got the following error:

not found. Please check that the block controller file contains the correct class name.

This was fixed by changing the permissions on the server.

Unfortunately although the packages installed prior to fixing the permissions are viewable in the "dashboard > add functionality" area they do not show up when adding a block to a page.

I am trying to uninstall these packages but when I go to "add functionality" and then click on the add-on, there is no edit or remove button. I assume this is due to the add-on not installing properly.

Is there any way to manually uninstall the add-on?

Thanks

1 Attachment

digievo
 
digievo replied on at Permalink Reply
digievo
Anyone know how to uninstall an add-on when the remove button is not visible. Or reinstall an add-on that is already installed?

Thanks
digievo replied on at Permalink Reply
digievo
Anyone know how to uninstall an add-on when the remove button is not visible. Or reinstall an add-on that is already installed?

Thanks
Ekko replied on at Permalink Reply
Ekko
If you manually upload the missing add-ons than the edit and remove options will become available. For example download the version of tweetcrete that is missing, than upload to your packages directory, refresh cache and than edit/remove buttons should appear.

One thing that stands out is that your attachment shows a 5.4 dash and tweetcrete is for 5.5 but either way uploading its files manually should give you the options to remove it from dashboard.

Go tohttp://www.concrete5.org/marketplace/addons/tweetcrete/... and click download archive. Now open your ftp and upload to the packages directory. If you dont have ftp than go to your hosting cpanel and use the file manager there to upload to your sites packages directory.
digievo replied on at Permalink Reply
digievo
Thanks for your reply.

I manually uploaded the add-ons in teh first place.

I have tried reuploading, checked all files match and have cleared the cache. The remove option is still not visible.

Any other ideas?

The original issue was caused by a permissions issue with the files directory. i have since corrected this and have been able to upload other add-ons. I just can't uninstall the add-ons i tried installing previously.


thanks
Ekko replied on at Permalink Reply 1 Attachment
Ekko
You could try refreshing the database for the blocks from dashboard. I think your in 5.4 because of the screenshot so go to dashboard, sitewide settings, debug and check refresh database schema. Screenshot attached. Now you could try this with files there and files removed to see if it gives you the dashboard options afterwards if files are there or if it removes the dashboard item if the files are not.

Ive never used it but it seems like it could help, possibly include some database checks from cpanel along the way ?
digievo replied on at Permalink Reply
digievo
Thanks again for your help.

I tried refreshing the database and this made no difference.

I then removed the files for a package and then refreshed the database and the package name appeared in the "add functionality" are without an icon. If I clicked the link it just took me to the top of the add functionality page.

I then uploaded the add-on files again and refreshed the database and when i click edit again, the remove button still does not appear.


Thanks
mhawke replied on at Permalink Reply
mhawke
First off, don't install Tweetcrete. It has some structural issues that will haunt you if you ever upgrade to version 5.6. Just type 'Tweetcrete' in the search box on the C5 forum and you'll see what I mean.

I have found that I need to do a few things to remove 'packages gone wild'.

1) First I try to delete all instances of that block on my site. This isn't always possible but try anyways.

2) Next I delete the package files from the 'root/packages' folder.

3) Then I remove an entry in the database for the package you want to remove. If you have SQLBuddy installed you can do it from there or you can use the phpMyAdmin in your host's Control Panel. In the database, find the table called 'BlockTypes'. Find the package you want to remove and delete that row from the database.

4) The offending package should no longer show up in your Dashboard and you should be free to re-install properly, except for Tweetcrete ;-)
newtoweb replied on at Permalink Reply
I followed your instructions and successfully removed the tweetcrete which caused a problem of adding a new block. Thank you for taking time to post the solution.

It fixed the my problem.
mhawke replied on at Permalink Reply
mhawke
Just a quick update... Tweetcrete has been updated for 5.6 so it may be fine to try using the newest version.
wildfirelondon replied on at Permalink Reply
wildfirelondon
Thought I would piggyback on this thread. I have the same tweetcrete problem, however when I have a look at the database I see no mention of tweetcrete within the BlockTypes table. There are however tables called btJeremeTweetcrete and btJeremeTweetcreteUserorHashSettings. I can drop these tables, but should I and will it achieve the desired outcome?