SID-02491: WebStatistics not updated
| Status: |
Answered |
TWiki version: |
6.1.0 |
Perl version: |
perl 5, version 16, subversion 3 (v5.16.3) |
| Category: |
CategoryMissingFunctionality |
Server OS: |
Red Hat Enterprise Linux Server release 7.9 (Maipo) |
Last update: |
3 years ago |
After upgrade of twiki from 5.1 to 6.1.0, the
WebStatistics are no longer updating. Looks like after upgrade to new twiki version, its stopped updating
WebStatistics for each web.
--
Anwar Ahmed - 2022-04-05
Discussion and Answer
Did you install the cron job as documented?
--
Peter Thoeny - 2022-04-06
No Peter, there is no cron jobs installed. Could you please share the document link, I will try to follow implement cron jobs.
--
Anwar Ahmed - 2022-04-06
MailerContrib and
TWikiSiteTools
--
Peter Thoeny - 2022-04-07
Hi Peter, I have implemented the cron but still statistics does not show. It shows 0 (0 unique users) | 0 (0 unique users) | 0 (0 unique users)
Also when ./statistics runs, it shows below. Please advice if below log will help to identify the problem-
[root@localhost bin]# ./statistics
[Mon Jun 6 08:40:51 2022] statistics: Use of qw(...) as parentheses is deprecated at /var/www/html/twiki/lib/TWiki/Plugins/ChartPlugin.pm line 88.
TWiki: Create Usage Statistics
Do not interrupt this script!
(Please wait until page download has finished)
* Statistics for 2022-06
* Executed by
TWikiAdminGroup
* Finished collecting log data at 2022-06-06 - 08:40
* Reporting overall statistics
- webs: 13, topics: 189, attachments: 155
- view: , save: , upload:
- data size: 59.1 MB, pub size: 206.7 MB
- disk use: 82%
- users: 6, groups: 4
--
Anwar Ahmed - 2022-06-06
Check the file permissions, and the user the script runs under. It should be the webserver user.
--
Peter Thoeny - 2022-06-07
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.