Give a extra admin access to a awstats report

hello,

Is it possible to give an extra admin access to an awstats report of his domain?

Martin koekenberg

Status: 
Active

Comments

I'll do better than that .. in the next version of the AWstats module for Virtualmin, it will be possible to grant access to any user on the "Edit Mail and FTP Users" page.

mlkoekenberg's picture
Submitted by mlkoekenberg on Tue, 01/18/2011 - 04:24

That is great. Is there a release date?

Martin Koekenberg

I plan to release all the latest plugins next week ..

Automatically closed -- issue fixed for 2 weeks with no activity.

mlkoekenberg's picture
Submitted by mlkoekenberg on Fri, 02/04/2011 - 05:24

Hello Jamie,

Anny idea when you will release the new plugin's ?

Martin

Some time early next week. If you want to get a fix sooner, I can email you a pre-release version ..

Did this ever happen? I'm not seeing this option.

The new awstats plugin was released just a few days ago ..

Thanks! How/Where do we get this plugin?

Howdy -- it sounds like you already have the Virtualmin AWstats module installed, so it would just be a matter of performing package updates to obtain it.

For example, on CentOS, you can do that by running this command as root:

yum update

Or if you just want to update this one package, you could use this command:

yum update wbm-virtualmin-awstats

Ah, yes, Thanks.

ok, should it look like this?:

Installed Packages Name : wbm-virtualmin-awstats Arch : noarch Epoch : 2 Version : 4.3 Release : 1 Size : 91 k Repo : installed Summary : Webmin module for 'AWstats Reporting' License : Copyright 2005-2010 Virtualmin, Inc. Description: Webmin module for 'AWstats Reporting' in RPM format

Actually, the latest version should be 4.6.

If you run yum info wbm-virtualmin-awstats , what does it output?

Ah, OK, here's the full output:

Loaded plugins: allowdowngrade, fastestmirror Loading mirror speeds from cached hostfile * base: dist1.800hosting.com * centosplus: dist1.800hosting.com * epel: fedora-epel.mirror.lstn.net * extras: centos.mirrors.tds.net * updates: mirrors.tummy.com addons | 951 B 00:00 base | 1.1 kB 00:00 centosplus | 1.9 kB 00:00 contrib | 951 B 00:00 epel | 3.7 kB 00:00 Not using downloaded repomd.xml because it is older than what we have: Current : Sat Sep 24 21:18:51 2011 Downloaded: Fri Aug 19 16:05:49 2011 extras | 2.1 kB 00:00 updates | 1.9 kB 00:00 utterramblings | 951 B 00:00 virtualmin | 951 B 00:00 Excluding Packages in global exclude list Finished Excluding Packages from Jason's Utter Ramblings Repo Finished Reducing Jason's Utter Ramblings Repo to included packages only Finished Installed Packages Name : wbm-virtualmin-awstats Arch : noarch Epoch : 2 Version : 4.3 Release : 1 Size : 91 k Repo : installed Summary : Webmin module for 'AWstats Reporting' License : Copyright 2005-2010 Virtualmin, Inc. Description: Webmin module for 'AWstats Reporting' in RPM format

This is the challenge to you, Jamie :) supporting "not quite an idiot", but not really a full-time sysadmin, either :) - but I'll stick with it if you will.

Maybe Virtualmin needs a Make Everything OK button like http://make-everything-ok.com ? :)

Best, K

Normally you should see a button when you login to Virtualmin to install all updates, which should make everything OK :-)

In this case, it seems that your system isn't seeing the latest version from YUM.

Could you try running :

yum clean all
yum install webmin-virtualmin-awstats

To force a re-check of our repository?

Sorry, I get this: yum clean all yum install webmin-virtualmin-awstats Loaded plugins: allowdowngrade, fastestmirror Error: invalid clean argument: 'yum' usage: yum [options] COMMAND

Those should be two separate commands ... also, I made a mistake in the second one. The commands should be :

yum clean all
yum install wbm-virtualmin-awstats

Ran the two commands, the second, I got "Nothing to do"

Still showing 4.3

Could you post the contents of the /etc/yum.repos.d/virtualmin.repo file from your system?

[root@nextwavetech ~]# cat /etc/yum.repos.d/virtualmin.repo
[virtualmin]
name=Red Hat Enterprise $releasever - $basearch - Virtualmin
baseurl=http://5557186:KZWXHZVEAP@software.virtualmin.com/rhel/$releasever/$basearch/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin
gpgcheck=1

[virtualmin-universal]
name=Virtualmin Distribution Neutral
baseurl=http://5557186:KZWXHZVEAP@software.virtualmin.com/universal/
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin
gpgcheck=1

I see the problem .. you need to change the line enabled=0 to enabled=1 in that file, then re-try the install.

ahhhh! Thanks, Jamie.

Installed Packages Name : wbm-virtualmin-awstats Arch : noarch Epoch : 2 Version : 4.6 Release : 2

Now, I should see Access Awstats in my Manage Extra Admin screen? I don't. When I "Switch to Extra Admin", I don't see it either. I guess I need to enable something somewhere?

So once you have this new version installed, what you want to do is :

  1. On the Edit Virtual Server page, disable the AWstats feature, save, go back to the page, and then re-enable.
  2. On the Edit Mail and FTP Users page, create a new user with the same name and password as the extra admin.
  3. In the "Other user permissions" section in the "Allow access to web directories" field, add the awstats directory.
  4. Create the user

You will now be able to access http://domain.com/awstats with the username and password you created..

Great, I never would have guessed that.

In step 3, I just clicked the arrow to move that directory to the allowed side. it's in home/username/awstats, not under public_html.

But https://vabf.org/awstats/ doesn't pop an auth screen, and http://vabf.org/awstats/ is not found.

Do I need a symlink?

My mistake, the correct path is /awstats/awstats.pl