I’m running on Apache, not IIS, yet, this thread seems to be the only place discussing the error output message I’m getting.
Here’s my output:
./import_logs.py --url=https://domain /var/log/other-domain/nginx-access-ssl.log --idsite=2 --token-auth=<STRING REMOVED> --log-hostname=other-domain
Traceback (most recent call last):
File "./import_logs.py", line 1734, in <module>
resolver = config.get_resolver()
File "./import_logs.py", line 647, in get_resolver
File "./import_logs.py", line 988, in __init__
File "./import_logs.py", line 971, in call_api
return cls._call_wrapper(cls._call_api, None, None, method, **kwargs)
File "./import_logs.py", line 960, in _call_wrapper
[li] Ubuntu 14.04
[/li][li] PHP 5.5.9
[/li][li] Apache 2.4.7
[/li][li] mysql 5.5.38
I’ve tried running the command-line query both as root and as my apache user.
My site’s only accessible via https, I wonder if the problem is in there? My ssl cert is valid, but still. I’m running low on ideas.
--------- EDITED ---------
Sigh. So I guess following the order of command-line arguments as I saw them in some example documentation led me astray. If I put the file name to be imported as the last argument, then it seems to work… Actually, it fails, but in a reasonable, sane way. /facepalm. I’m leaving my post up to help others… I hope.