Unfortunately, I just noticed that the web statistics are not working. Specifically, it does not collect data. It stopped last year and nothing since. Then we moved to a new server. I think that the schedule should be entered in cron, but I don't know what command to enter. Maybe I should enter it in cron under ISPConfig? Could you help me? PHP8,2 Apache
That#s not the case, there is no cronjob to be added. Does the access.log file in /var/www/domain.tld/log/ folder contains up to date log file entries?
Yes, of course. Constantly. Nothing is updated under the /var/www/domain.tld/web/stats/ directory. But now I see that the /var/www/domain.tld/log/ folder is root. Change access?
No, the folder must be owned by root. How did you migrate the server? You might have missed migrating the entries in /etc/fstab for the sites' statistics folders.
Everything was reinstalled. We did not copy. After the clean server, we redid the websites. 5-6 websites. A website is unique from other wordpress. The unique one was copied, I copied the rest of the wp website with the UpdraftPlus plugin. The previous server was too old and there were too many old settings. A clean server was a better solution. Nothing has been missing so far. One of the lines in fstab is like this. /var/log/ispconfig/httpd/mydomain.com /var/www/clients/client1/web1/log none bind,nofail 0 0 There is an entry for each domain.
One more observation. The log files are constantly updated in the /var/log/ispconfig/httpd/mydomain.com folder. The /var/log/ispconfig/httpd/ folder contains all current domains and log files.