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

incorrect location is reported #207

Open
rkhyd opened this issue Feb 28, 2018 · 1 comment
Open

incorrect location is reported #207

rkhyd opened this issue Feb 28, 2018 · 1 comment

Comments

@rkhyd
Copy link

rkhyd commented Feb 28, 2018

Hi,
Matomo is installed in /var/www/matomo/piwik and config.ini.php is located in the config directory under piwik
But, when i run the importer, it says "Fatal error: the configuration file/var/www/config/config.ini.php could not be read."
so the path where its searching is wrong and also what permissions does that file need to have..
currently its set to 644 with www-data as the owner.

@rkhyd rkhyd changed the title incorrect url report for config.ini.php incorrect location is reported Feb 28, 2018
@expert-geeks
Copy link

expert-geeks commented Sep 4, 2018

I'm having the same problem. the --url= parameter is ignored, so whatever I put here it looks in the same (wrong) place for the authentication token
EDIT: I've worked around this by passing the user/pass values, but still rather frustrating. For anyone else with the same problem, this is the command I'm using to pull shoutcast data into matomo;
./import_logs.py --url=http://myurl.com --login=username --password=password --log-format-name=shoutcast --idsite=1 /path/to/shoutcast2/logs/sc_w3c.log

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