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

Report - Imaging host report

Scheduled Pinned Locked Moved
General
2
5
791
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 Jul 27, 2018, 3:10 PM

    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

    T 1 Reply Last reply Jul 28, 2018, 2:14 AM Reply Quote 0
    • T
      Tom Elliott @ITCC
      last edited by Jul 28, 2018, 2:14 AM

      @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
      • I
        ITCC
        last edited by Jul 28, 2018, 6:22 PM

        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
        • I
          ITCC
          last edited by Jul 28, 2018, 6:53 PM

          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 Jul 30, 2018, 1:37 PM

            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
            • 1 / 1
            1 / 1
            • First post
              1/5
              Last post

            198

            Online

            12.1k

            Users

            17.3k

            Topics

            155.4k

            Posts
            Copyright © 2012-2024 FOG Project