Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Imspector

    Scheduled Pinned Locked Moved pfSense Packages
    5 Posts 2 Posters 2.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      OldGuru
      last edited by

      After updating to 0.4, I can no longer read older logs, but they all still show.(name date, just no messages) I read the format changed, is there a way to change the config to put it back to the old way, or convert the old to the new, and does anyone know what the changes were, so I might make the older logs readable.

      Is there a way to reinstall the old package?

      1 Reply Last reply Reply Quote 0
      • O
        OldGuru
        last edited by

        Is there a way to reinstall the old package?

        1 Reply Last reply Reply Quote 0
        • R
          rsw686
          last edited by

          I know I responded to the email you sent me, but I wanted to put a response here as well.

          No, there is no easy way to go back to imspector 0.3. The log format changed for 0.4. They added two fields to support additional features. You could probably write a shell script to convert the old logs.

          As far as the new logs not being shown in the GUI, I haven't had that problem. I tested it out before I released it and it worked. Does it show the log name in the GUI and it just doesn't display? Or do they not show at all? If not at all are the actual log files being created?

          1 Reply Last reply Reply Quote 0
          • R
            rsw686
            last edited by

            I have put together a log converter. I wasn't able to test this extensively as I don't have any old logs. It does know the difference between new and old logs and will only convert the old ones. I highly recommend making a backup before running this. The commands need to be run from the console.

            To make a backup

            
            cd /var
            tar cfz imspector.tar.gz imspector/
            
            

            To convert the logs

            
            cd /tmp
            fetch http://wgnrs.dynalias.com/pfsense/imspector/convert_logs
            chmod +x convert_logs
            ./convert_logs
            
            

            If it screws them up and you want to revert

            
            cd /var
            rm -rf imspector/
            tar zxf imspector.tar.gz
            
            
            1 Reply Last reply Reply Quote 0
            • O
              OldGuru
              last edited by

              It worked great, Thanks !!!!!!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.