Menu

#5229 Sarg Report

1.900
open
Ilia
None
5
2023-03-21
2019-01-19
ti tho
No

Hi Ilia!
There is a problem with sarg Access Reports on server.
When you click on "View the most recently generated report in the directory /var/lib/sarg.
The logo on top is missing
Then on Daily, Weekly or Monthly,
* choose a Report....
Failed to open report file : /var/lib/sarg/2018Dec01-2018Dec31/index.html
I think there is a bad link...
My System is Ubuntu Server 18.04

Regards tito.

Related

Bugs: #5229

Discussion

  • Ilia

    Ilia - 2019-01-19

    Hi,

    Do you get the same error if you use Gray Theme, for example?

     
  • ti tho

    ti tho - 2019-01-19

    yes, i get the same error

     
  • Jamie Cameron

    Jamie Cameron - 2019-01-27

    Do the directories /var/lib/sarg and /var/lib/sarg/2018Dec01-2018Dec31 exist on your system? If so, what files do they contain?

     
    • ti tho

      ti tho - 2019-01-27

      Hallo!

      Yes they exist.
      They contain:
      192_168_0_0 sarg-date sarg-sites siteuser.html
      index.html sarg-general sarg-users topsites.html

      Am Sonntag, den 27.01.2019, 21:30 +0000 schrieb Jamie Cameron:

      Do the directories /var/lib/sarg and /var/lib/sarg/2018Dec01-
      2018Dec31 exist on your system? If so, what files do they contain?
      [bugs:#5229] Sarg Report
      Status: open
      Group: 1.900
      Created: Sat Jan 19, 2019 12:01 PM UTC by ti tho
      Last Updated: Sat Jan 19, 2019 06:27 PM UTC
      Owner: Ilia Rostovtsev
      Hi Ilia!
      There is a problem with sarg Access Reports on server.
      When you click on "View the most recently generated report in the
      directory /var/lib/sarg.
      The logo on top is missing Then on Daily, Weekly or Monthly,
      * choose a Report....
      Failed to open report file : /var/lib/sarg/2018Dec01-
      2018Dec31/index.html
      I think there is a bad link...
      My System is Ubuntu Server 18.04
      Regards tito.
      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/webadmin/bugs/5229/
      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #5229

  • ti tho

    ti tho - 2019-01-27

    Hallo!

    Yes they exist.
    They contain:
    192_168_0_0 sarg-date sarg-sites siteuser.html
    index.html sarg-general sarg-users topsites.html

     
  • ti tho

    ti tho - 2019-01-27

    picture

     
  • Jamie Cameron

    Jamie Cameron - 2019-01-29

    What about that 2018Dec01-2018Dec31 directory from the original bug report?

     
  • David Hay-Currie

    I have the same problem. The problem is the sarg/view.cgi file, I think.
    When it is saving the path (from what I understood looking at the file in nano) it overrides the path and ends up pointing to the wrong location.
    From the first 2 screenshots you can see. The problem is that the index file is not in /var/lib/sarg/2018Dec01-2018Dec31 but rather in/var/lib/sarg/Monthly/2018Dec01-2018Dec31
    Also, it is not possible to see manually generated reports from the view button as it will not index the reports in /var/lib/sarg/ unless you are coming from the generate report button.

    I don't know enough Perl to troubleshoot it, but if I add the folder missing in the path it will display the reports after enabling referrals (not recommended), so that is what it pointed me to a problem with overriding the path variable and thinking that it is always starting from '/var/lib/sarg' while after selecting Daily/Weekly/Monthly really, we are already a folder down.

     
  • Sebastian Moustakas

    I have exactly the same problem. Have you figured out how to solve it?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.