can't access to website logs after ispconfig update

Discussion in 'Installation/Configuration' started by momo1240, Oct 11, 2022.

  1. momo1240

    momo1240 Member

    I recently updated ispconfig to the last version on debian 10
    today I wanted to check my website access logs but nothing in the usual directory on ftp
    so I logged on ssh to check and It seems that they're redirected to another file
    please see the attached picture

    thank you for your help
     

    Attached Files:

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The output looks generally fine, access.log and yesterday's access log file are always symlinks that point to the actual log file. But seems as if there was no traffic since October 9 logged.
     
  3. momo1240

    momo1240 Member

    Hello till thank you for your help
    it happened that on october 9, I change website domaine name (website config on ispconfig panel)
    from mywebsitename.fr to mynewwebsitename.fr
    I think it's maybe the issue cause since then no access logs with new domain
    thank you again
     
  4. momo1240

    momo1240 Member

    Hello guys,
    so I checked about my website logs missing in /var/www/clients/client1/web3/log:
    I think it's because I've changed my website domainename
    cause when I checked /var/log/ispconfig/httpd/mynewdomainename.fr
    I have all my access and erros logs but nothing in /var/www/clients/client1/web3/log: (I have only the logs of my old domaine name)
    any solution for this ?

    thank you
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Most likely the bind mount for the log directory still points to the old directory. Please check in /etc/fstab, if the bind mount path for this website log dir is correct.
     
  6. momo1240

    momo1240 Member

    Hello Till
    thanks for your reply
    the path seems correct
    this is what I have
    /var/log/ispconfig/httpd/mynewdomainename.fr /var/www/clients/client1/web3/log none bind,nofail 0 0

    thank you
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    try to run the commands:

    umount /var/www/clients/client1/web3/log
    mount -a

    this unmounts the directory and then enforces that everything from fstab is mounted.
     
  8. momo1240

    momo1240 Member

    thank you till
    website logs are back
    I'm using the latest ispconfig version on debian 10
    and this issue happened when I change the website domain in ispconfig panel
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    I'll have a look if I can reproduce it. I have changed domains on my own websites from time to time and have not seen issues with that yet.
     

Share This Page