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.
Screenshot
Hi,
Do you get the same error if you use Gray Theme, for example?
yes, i get the same error
Do the directories
/var/lib/sarg
and/var/lib/sarg/2018Dec01-2018Dec31
exist on your system? If so, what files do they contain?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:
Related
Bugs: #5229
Hallo!
Yes they exist.
They contain:
192_168_0_0 sarg-date sarg-sites siteuser.html
index.html sarg-general sarg-users topsites.html
picture
What about that 2018Dec01-2018Dec31 directory from the original bug report?
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.
I have exactly the same problem. Have you figured out how to solve it?