• Register
    • Login
    • Search
    • Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Report - Imaging host report

    General
    2
    5
    445
    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.
    • I
      ITCC last edited by

      trying to run the imaging report but get an error
      http://SERVER/fog/management/index.php?node=report&sub=file&f=aW1hZ2luZyBsb2c=

      This page isn’t working
      fog-server is currently unable to handle this request.
      HTTP ERROR 500

      I have updated in the last 10 mins to git “working” to try and fix it.

      Please advise

      Tom Elliott 1 Reply Last reply Reply Quote 0
      • I
        ITCC last edited by

        If anyone else needs this:

        I cheated but it worked for my needs
        My personal notes =

        Imagelog cleanup
        Downloaded MySQL Workbench to complete tasks

        See records to be deleted.
        SELECT * FROM fog.imagingLog where ilImageName NOT LIKE ‘%<latest image name>%’;

        Delete Records (Rerun command until effected rows =0) - due to safety feature in Workbench
        DELETE FROM fog.imagingLog where ilImageName NOT LIKE ‘<latest image name>’ LIMIT 1000;

        1 Reply Last reply Reply Quote 0
        • I
          ITCC last edited by

          Even better would be one what deletes all records older than 3 months or the last 200 imaging logs

          1 Reply Last reply Reply Quote 0
          • I
            ITCC last edited by

            can I have an SQL command to clean the tables required so i can start it from now?

            1 Reply Last reply Reply Quote 0
            • Tom Elliott
              Tom Elliott @ITCC last edited by

              @itcc most likely it’s related to memory overlimit. The imaging log is never really cleaned up, and as such it can become very large over time.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post

              194
              Online

              10.4k
              Users

              16.4k
              Topics

              150.5k
              Posts

              Copyright © 2012-2023 FOG Project