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

    PDF Reports not being generated after upgrade to 1.5.0 RC11

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    2
    5
    766
    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.
    • ?
      A Former User
      last edited by A Former User

      Upgraded to RC11 from RC10. This went fine. So far everything is working well except for PDF report generation. I am getting 0 bytes files. CSV is working as expected. CentOS 7.4.1708 Fog server. Thanks for a great job.

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

        Does your os have htmldoc installed?

        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
        • ?
          A Former User
          last edited by A Former User

          Thanks Tom, I have htmldoc installed now! I would have thought this prerequisite/dependency would have been resolved during the install/upgrade. In any event, now I am producing a PDF file, however it is not readable using Evince version 3.18.2 on my Ubuntu 16.04.3 LTS laptop. I can see it using Foxit on a Windows box. I attached what Evince thinks is the PDF version. I was wondering if I am missing anything else. I did notice also that using Foxit, in the upper left-hand corner of the first page that is says: $LOGOIMAGE. I wonder if the branding has to be filled in or something. Thanks again.
          0_1517345893304_pdf-ver.png

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

            htmldoc is not installed automatically, this is because it often requires an additional repository, at least in the case of centos, and pdf’s aren’t as robust as the CSV. THe $LOGOIMAGE is for rebranding support, and it’s there so when you do have a picture inplace, it will cover it. If no image is there, it’s kind of a standard layout so it’s printed. No it’s not required.

            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
            • ?
              A Former User @Tom Elliott
              last edited by A Former User

              @tom-elliott Should I assume this is an Evince problem because it is not viewable and seek other options or is there something funky with the PDF generated from htmldocs. Do you have a Ubuntu 16.04.3 install to test this. Just wondering if wkhtmltopdf could be used instead. I could investigate this further for you if you like.

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

              277

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project