We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 52064
    • 120 Posts
    I have to recover space on a server.
    I can delete the contents of the packages folder?



    thanks.

    This question has been answered by BobRay. See the first response.

      FerX - Developer at Eracom s.r.l.
      • 17301
      • 932 Posts
      Considering most packages are around 200-500kb it's not going to save you much space...but you should be fine to delete the .zip files in the packages folder.
        ■ email: [email protected] | ■ website: https://alienbuild.uk

        The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
      • discuss.answer
        • 3749
        • 24,544 Posts
        It seems like that would be fine, but it's not. The packages will still be in the database and Package Manager will run very slowly and will crap up the error log with lots of messages about the missing files. I think it will actually download them again if it can. If you remove the files through Package Manager (Extras -> Installer), it will try to uninstall the components, sometimes messing up things in the process (depending on how well the package author has written the uninstall code).

        What you *can* do, is:

        1. In Package Manager, remove packages that you have uninstalled and no longer need.

        2. In Package Manager, remove previous versions of installed packages (Extras -> Installer -> View Details -> Uploaded Versions -> right-click on version). That will delete the extra .zip files for older versions. Be sure not to remove the top one (the most recent version).

        TBH, if things were that tight, I'd think about either upgrading your hosting package or (more likely) moving to a MODX-friendly host.


        PS: Check your error log and any logs created by extras you have. Those can get huge over time.
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting