Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Left behind logs after deleting domain #7

Open
iliajie opened this issue Sep 13, 2021 · 5 comments
Open

Left behind logs after deleting domain #7

iliajie opened this issue Sep 13, 2021 · 5 comments

Comments

@iliajie
Copy link
Contributor

iliajie commented Sep 13, 2021

Jamie,

After deleting a virtual server that had AWStats reporting feature, it leaves logs records behind.

For example, I just deleted hflink.com but still have it in AWStats reporting module displayed:

image

@jcameron
Copy link
Collaborator

Odd, the path to that domain's log is the system default for Apache.

I wasn't able to re-produce this, sorry. Maybe that was a default AWstats config created when the system was installed?

@iliajie
Copy link
Contributor Author

iliajie commented Sep 13, 2021

I wasn't able to re-produce this, sorry. Maybe that was a default AWstats config created when the system was installed?

That AWstats config was part of failed restore process.

@jcameron
Copy link
Collaborator

Oh .. so if the restore didn't complete, it's possible that Virtualmin doesn't know about this config, or that the domain has AWstats enabled.

@iliajie
Copy link
Contributor Author

iliajie commented Sep 13, 2021

Wouldn't it be right to revert all changes in case of a failure of dependent (parent) features (like in this case)?

@jcameron
Copy link
Collaborator

It's risky, because if for example the AWstats setup failed because the user already had created a config manually, we don't want to delete it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants