• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • How to uninstall?

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: How to uninstall?

    • Issue Tools
      • View Changes
    1. issueid=3946 August 23, 2014 5:52 PM
      madmaxmangos madmaxmangos is offline
      Junior Member
      How to uninstall?

      Hello,

      How do we uninstall VW? We just tried from the admincp and go this message "Unauthorized attempt at removal."
    Issue Details
    Issue Number 3946
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.0 RC 2
    Fixed Version 4.0.0 RC 3
    Milestone VaultWiki 4.0 Gold
    Software DependencyvBulletin 3.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. August 23, 2014 7:11 PM
      pegasus pegasus is offline
      VaultWiki Team
      You're right. The new uninstall code in RC gives the permission denied message you noted in a vBulletin environment.

      In the Product Manager, you will have to edit the uninstall code for version 1.0.0. Find the line that says:
      Code:
      vw_Hard_Core::controller('UnInstall')->execute();
      Add this before that line:
      Code:
      define('VW_UNINSTALL', 1);
      Reply Reply  
    2. August 23, 2014 7:57 PM
      madmaxmangos madmaxmangos is offline
      Junior Member
      Hi there,

      Did that, now I get a blank grey page when doing uninstall.
      Reply Reply  
    3. August 23, 2014 8:42 PM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/core/controller/uninstall/vw.php, find:
      Code:
      class vw_Install_UnInstall_Insert_Controller
      Replace with:
      Code:
      class vw_UnInstall_Insert_Controller
      As a side note, I've reopened this because the first change I gave you involved editing a value in the database, so an upgrade script needs to be written to do that on other existing installations.
      Reply Reply  
    4. August 24, 2014 11:09 AM
      madmaxmangos madmaxmangos is offline
      Junior Member
      I don't seem to have that line in my vw.php file anywhere.

      Closest I can find is:
      Code:
      class vw_UnInstall_Controller
      Also I have tried editing that to both things you posted above and it had no effect.
      Reply Reply  
    5. August 24, 2014 11:30 AM
      pegasus pegasus is offline
      VaultWiki Team
      There were a lot more issues with this version of the uninstaller. I am trying to bundle all the changes into a new build some time today. The directory location of the uninstaller was changed in RC 2, and it seems that caused a lot of issues that were not expected.

      This issue has been marked as fixed again since the upgrade script to handle the changes above has been written, and the other issues I mentioned have been resolved.
      Reply Reply  
    6. September 1, 2014 3:33 AM
      madmaxmangos madmaxmangos is offline
      Junior Member
      Hey there,

      We just noticed a new issue, even though vaultwiki is uninstalled we still have buttons appearing in the enhanced editor when making any kind of post on the forums.

      Reply Reply  
    7. September 1, 2014 10:24 AM
      pegasus pegasus is offline
      VaultWiki Team
      If you ran the uninstaller between RC 2 build 001 and RC 2 build 002, and it somehow completed successfully, from what I understand absolutely nothing was removed from the database.

      You can manually remove the buttons from vBulletin's Custom BB Codes section in the AdminCP.
      Reply Reply  
    8. September 1, 2014 8:58 PM
      madmaxmangos madmaxmangos is offline
      Junior Member
      Hey,

      I managed to remove the bbcode and manually removed all the files. As you said I ran the uninstaller and it seems to of at most removed the template edits and its entry from the manage products page.

      I have checked the database and can confirm that the VW tables are still there.

      What is also interesting is that I did attempt to upgrade to the latest version but it never added back the entry under manage products so reverted to a backup.

      What is the best way to get rid of the database changes made by vw? I don't mind doing it manually as long as I have a complete list.
      Reply Reply  
    9. September 1, 2014 9:12 PM
      madmaxmangos madmaxmangos is offline
      Junior Member
      Just to update:

      I dropped all the tables starting with vw_

      And looking though the alter folder manually checked each table and removed the vw colums from there, is there anything else I should check? I cannot see anything else to do with vw now.
      Reply Reply  
    10. September 1, 2014 10:30 PM
      pegasus pegasus is offline
      VaultWiki Team
      That's basically it. If you want to be really thorough:

      There are some entries in the datastore table that start with vw_
      Make sure that the contenttype table doesn't contain vwpage or vwcomment.
      Make sure that the package table doesn't contain a vaultwiki or vw entry.
      There are also entries in the blocktype, block, cms_widgettype tables with vw in the name.

      If you have to remove any of the above manually, change the following setting for a few minutes:
      Settings > Options > Server Settings and Optimization Options > Disable Content Caching = Yes.
      After visiting a few pages the entries you removed should be cleared from the cache and you can set it back to No.

      Rebuild the search index.
      Rebuild the activity stream.

      Unfortunately, as you noticed, upgrading a version does not re-add the product entries. It just performs any steps between the current version and whatever version is logged in the database. If you had a partially removed product already, you would have to remove the vw_upgradelog table in order to work around that issue. If this table is missing, VaultWiki thinks it has not been installed yet and will recreate all the data.
      Reply Reply  
    11. September 1, 2014 10:40 PM
      madmaxmangos madmaxmangos is offline
      Junior Member
      Hey,

      Thanks, looks like i got it all covered

      So if i understand right, in future I could remove the vw_upgradelog table if I got in a similar situation and that would re-add the entry in the product manager?
      Reply Reply  
    12. September 1, 2014 11:02 PM
      pegasus pegasus is offline
      VaultWiki Team
      Yes, in that case it should treat it as a fresh install. The install process is pretty smart also about not duplicating anything that is already installed, so really the only thing to worry about is the vw_upgradelog table.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 12:50 AM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.