[solved] awstats upgrade

urs

Well-Known Member
#1
is it possible to upgrade to awstats 7.0. How?

is awstat 7.0 in lsws 4.1?

regards
 
Last edited by a moderator:

webizen

Well-Known Member
#2
You can reinstall with the latest 4.0.20 which includes awstats 7.0. Use U(pgrade) option during the install to keep your lsws configuration. Once done, do following to clean up your existing 6.9 version.

rm -rf /usr/local/lsws/add-ons/awstats-6.9
rm -rf /usr/local/lsws/add-ons/awstats-6.9.tar.gz
Where /usr/local/lsws is the LSWS install directory.
 

webizen

Well-Known Member
#4
will update osx shortly. in the mean time, you can try this:

1. change $AWS_VER in /usr/local/lsws/admin/misc/awstats_install.sh from 6.9 to 7.0
2. run /usr/local/lsws/admin/misc/awstats_install.sh
3. rm -rf /usr/local/lsws/add-ons/awstats-6.9
4. rm -rf /usr/local/lsws/add-ons/awstats-6.9.tar.gz
 

urs

Well-Known Member
#5
install successfull

But now error in www.domain.ch/awstats


Error: Sorry, to allow overwriting of configdir parameter, from an AWStats CGI page, with a non default value, environment variable AWSTATS_ENABLE_CONFIG_DIR must be set to 1. For example, by adding the line 'SetEnv AWSTATS_ENABLE_CONFIG_DIR 1' in your Apache config file or into a .htaccess file.

Setup (Config file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
 
Top