diff --git a/plugins/webstats/tool_migrate.py b/plugins/webstats/tool_migrate.py index 407088e64..f30a6cb92 100644 --- a/plugins/webstats/tool_migrate.py +++ b/plugins/webstats/tool_migrate.py @@ -186,6 +186,8 @@ def migrateSiteHotLogs(site_name, query_date): if not mw.isAppleSystem(): mw.execShell("chown -R www:www " + getServerDir()) + + mw.opWeb('restart') return mw.returnMsg(True, "{} logs migrate ok".format(site_name))