• Login
  • Register

DNN Forums

A community discussion page. We're starting from scratch, so...let's get the party started!

Cleanup

You are not authorized to post a reply.
Sort:


New Member


Posts:13
New Member

    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


    Posts:484
    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 Member


      Posts:13
      New Member

        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


        Posts:484
        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 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. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
          2. 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.
          3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
          4. No Flaming or Trolling.
          5. No Profanity, Racism, or Prejudice.
          6. Site Moderators have the final word on approving / removing a thread or post or comment.
          7. 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