Force update of awstats

Discussion in 'Installation/Configuration' started by jaypabs, Jun 27, 2013.

  1. jaypabs

    jaypabs Member

    How to not wait for nightly update of awstats?

    I'm using this setup for my server.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    run:

    /usr/local/ispconfig/server/cron_daily.sh
     
  3. jaypabs

    jaypabs Member

    Thanks. It says finished but I'm wondering why is it that the log is saving on a different directory. My web folder is located at:

    But the log is updating in:

    The log should update at:

    But why is it, it's saving under web1?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The paths are set and maintained in the ispconfig database, so never edit any paths in config files or symlinks manually as this will break your setup.I can only guess how a wrong path can be inserted in the ispconfig db, e.g. by using the remote api or manually editing records with phpmyadmin.
     
  5. jaypabs

    jaypabs Member

    Thanks for the clue. But I never edited the ispconfig database. I am willing to take the risk just to fix this problem. Rest assured I will backup my database first. Can you guide me which table this path is belong to?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The website path is in the web_domain table.
     
  7. jaypabs

    jaypabs Member

    I've been through that table before. And seems that all settings are correct.

    The value of document_root is /var/www/clients/client1/web2
    The value of php_open_basedir is also pointing all to web2.

    I'm really wondering why it is pointing to web1. I need to find what script that points to this location. I believe it's the website_id that needs to fix here.

    Any idea?
     

Share This Page