1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Managing add-on installations and their files

Discussion in 'Resource and Add-on Discussions' started by Joe Link, Nov 6, 2014.

  1. Joe Link

    Joe Link Well-Known Member

    I have a folder where I keep all of the add-on zip files, in case I need them in the future. When I uninstall an add-on, I move it to an archived folder.

    My question is, once the XML is uninstalled through the Admin CP, is there any issue with looking at the files in the upload directory of the original zip, then deleting those files from the server? I'd like to do this in order to keep things clean, but I wanted to check to see if there are any possible downsides first.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    If you uninstall an add-on, any associated files should be manually deleted from the server.
  3. Joe Link

    Joe Link Well-Known Member

    Should be as in, I should delete them, or should be, as in the uninstall process from the Admin CP should delete them? If the latter, is this new in 1.4? I'm using 1.3.

    Thanks for the quick reply!
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Manually is the operative word.
    Add-on uninstall routines do not automatically delete files from the server.

    You need to do it.
  5. Joe Link

    Joe Link Well-Known Member

    That's what I figured, I just wanted to be certain.

    Thanks again.
  6. FredC

    FredC Well-Known Member

    My server is loaded with those old junk files but it is what it is at this point.. Years worth of various plugins coming and going.. I once tried to manage the files in my server the way mentioned in the OP but it was painful for a guy with A.D.D But now my OCD tingles like spidey sense whenever i think about all those useless files just taking up space it kills me.
  7. Brogan

    Brogan XenForo Moderator Staff Member

    You could just run a comparison between the server directories and a clean install with the add-ons you are currently using.
    Then delete any which are superfluous.

    The other way would be to unzip the XenForo package you are using to your PC, add the add-on files, delete the files from the server (taking a backup of config.php and install-lock.php and making sure not to delete the data and internal_date directories), then upload the files from your PC and replace config.php and install-lock.php.
    FredC likes this.

Share This Page