DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Cleanup

Sort:
You are not authorized to post a reply.





New Around Here





    I'm trying to find what people do for cleaning up an old site and removing the bloat from left behind files from modules not in use  or unused files. I found mention of a cleanup manifest but can't find any documentation on how to use it and execute it. 

    Any help is greatly appreciate it. 

    -Santiago 






    Veteran Member





      Santiago,

      the cleanup part in the manifest is used to get rid of files that are not necessary anymore for a specific extension, and is executed during an extension update. The "old" way to do this was to create some text files that holds the information of files to delete,

      I delete log files from time to time from /Portals/_default/logs (normally before I do an upgrade of DNN, to have a smaller size of the file backup). I leave those which are only some days old.

      Another thing to delete is all files in /install/AuthSystem, /install/Container, /install/JavaScriptLibrary, /install/Language, /install/library, install/Module, /install/Provider and /install/Skin (except the file PlaceHolder.txt) before I unzip the upgrade package over the installation.

      When I uninstall an extension, I check if all the files have been deleted (you find this information normally in the manifest of the extension), esp. the assembly (in the /bin folder).

      There is propably more to delete and being safe.

      Happy DNNing!
      Michael

      Michael Tobisch
      DNN★MVP

      dnnWerk Austria
      DNN Connect





      New Around Here





        THank you very much @MichaelTobisch. THat's a start. It's been a very long time for me since I developed a module back in the old days so I forgot where to look for the manifest or what it looks like (FileName). Any pointers are greatly appreciated. 






        Veteran Member





          Santiago,

          the manifest is normally in the install package, and has a .dnn extension, in some cases you may find it in the installation folder of the extension (e.g. /DesktopModules/xyz/).

          The schema is documented here.

          Happy DNNing!
          Michael

           

          Michael Tobisch
          DNN★MVP

          dnnWerk Austria
          DNN Connect
          You are not authorized to post a reply.

          These Forums are dedicated to the discussion of DNN Platform.

          For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

          1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
          2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
          3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
          4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
          5. No Flaming or Trolling.
          6. No Profanity, Racism, or Prejudice.
          7. Site Moderators have the final word on approving / removing a thread or post or comment.
          8. English language posting only, please.

          Would you like to help us?

          Awesome! Simply post in the forums using the link below and we'll get you started.

          Get Involved