Hello, since we updated our UbuntuLTS version the webserver logs don't get written to the /var/www/somedomain.tld/log directory, anymore. Only the error logs end up there. In the vhosts file for any particular domain I see this (mydomain.org being the correct vhost domain) error_log /var/log/ispconfig/httpd/mydomain.org/error.log; access_log /var/log/ispconfig/httpd/mydomain.org/access.log anonymized; I am assuming this is correct and there is some tasks that takes care of writing the logs to the vhost log dirs. Any hint where I check/look to fix this? Thank you Carsten
if you're seeing both logs ok in /var/log/ispconfig/httpd/mydomain.org then the log writing itself is all ok. that folder should get bind mounted to /var/www/mydomain.org/log (or rather /var/www/clients/client#/web#/log) it's the folder itself that gets mounted, not the individual files, so it's odd that only the error log would be there though. you should see all the bind mounts for each website listed in /etc/fstab you could try "mount -o remount /var/www/clients/client#/web#/log" replacing # with the relevant id's.
If it affects several mount points and the mounts are still listed in /etc/fstab, then you can also try to run: mount -a to mount all missing mount points.
Sorry if this has been brought up elsewhere. Yesterday I updated my ISPConfig installation from 3.3.0p1 to the latest 3.3.0p3 version. Everything went smoothly and I did a server reboot (just in case and to apply some kernel updates that were pending). Now I'm missing the mounted logs in /var/www/clients/client*/web*/log , the folders are empty. My fstab is correct: Code: /var/log/ispconfig/httpd/domain1.com /var/www/clients/client1/web4/log none bind,nofail 0 0 /var/log/ispconfig/httpd/domain2.com /var/www/clients/client1/web6/log none bind,nofail 0 0 But "mount -a" does nothing and dmesg doesn't show any information. On the other hand, manually mounting seems to work: Code: root@server:~# mount -o bind /var/log/ispconfig/httpd/domain2.com /var/www/clients/client1/web6/log root@server:~# ls -al /var/www/clients/client1/web6/log total 377161 drwxr-xr-x 2 root root 4096 Oct 23 01:02 . drwxr-xr-x 12 root root 12 May 20 19:32 .. -rw-r--r-- 1 root root 11318888 Oct 13 01:48 20251011-access.log.gz -rw-r--r-- 1 root root 10774945 Oct 14 01:15 20251012-access.log.gz -rw-r--r-- 1 root root 9729840 Oct 15 02:09 20251013-access.log.gz ... However, I don't get why those weren't mounted at boot time, or why "mount -a" doesn't mount them, as you would expect to I can't reboot the server now but I'll keep an eye next time I do to see if the problem is still there.