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

git5572 - snapin log errors

Scheduled Pinned Locked Moved Solved
Bug Reports
2
5
2.0k
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.
  • T
    tian
    last edited by Dec 1, 2015, 1:27 PM

    There seems to be a problem with snapin log:

    • Getting the snapin log after selecting the start and end date the following appears:
      0_1448975480945_2015-12-01 fog_git5572 snapinlog 01.png
      The snapins listed below this are displayed fine though (I just cut the screenshot there).

    • exporting the csv works, but the “snapin run with” content has some display error (on the web interface and in the database the backslashes are displayed fine with just one between drive letter, folders and file):
      0_1448975755292_2015-12-01 fog_git5572 snapinlog 03.png

    • Trying to export the pdf the following page appears:
      0_1448975734746_2015-12-01 fog_git5572 snapinlog 02.png

    The snapins executed fine - return code was 0, state was 4.

    The imaging log seems not to have these error and works fine (display web page, export csv and pdf).

    1 Reply Last reply Reply Quote 0
    • T
      tian
      last edited by Dec 3, 2015, 8:51 AM

      errors are still there in git5612 - from apache error log:

      [Thu Dec 03 09:29:53.144110 2015] [:error] [pid 1458] [client MY_IP:55385] PHP Warning: mb_convert_encoding() expects parameter 1 to be string, object given in /var/www/html/fog/lib/db/mysql.class.php on line 152, referer: http://FOG_IP/fog/management/index.php?node=report&sub=snapin-log
      [Thu Dec 03 09:29:53.148772 2015] [:error] [pid 1458] [client MY_IP:55385] PHP Warning: mb_convert_encoding() expects parameter 1 to be string, object given in /var/www/html/fog/lib/db/mysql.class.php on line 152, referer: http://FOG_IP/fog/management/index.php?node=report&sub=snapin-log
      

      In the file “/var/log/php5-fpm.log” I just can see some of these messages:

      NOTICE: configuration file /etc/php5/fpm/php-fpm.conf test is successfull
      

      The number of warnings seems to be related to the number of snapin log entries returned for the selected date range.

      Should I check/try anything else?

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Dec 3, 2015, 3:14 PM

        Confirmed and fixed in latest. Please update and thanks for reporting.

        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

        T 2 Replies Last reply Dec 3, 2015, 4:07 PM Reply Quote 0
        • T
          tian @Tom Elliott
          last edited by Dec 3, 2015, 4:07 PM

          @Tom-Elliott Thanks for the (partly) fix. The good news: I’m now on git5618 and the warning from the web page are gone now.

          But the bad news: the other 2 bugs (backslashes in csv export and not be able to create pdf export) for the snapin log still exist.

          1 Reply Last reply Reply Quote 0
          • T
            tian @Tom Elliott
            last edited by Dec 7, 2015, 9:59 AM

            @Tom-Elliott Thanks for fixing the two other bugs also. I’m on git5662 now and it is working again.

            And something other worth mentioning:
            It is a great change that the state in the snapin log is now displayed as “complete” instead of “4” - this makes things more clear.

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

            160

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project