matomo-org / matomo-org/docker

import_logs.py in Docker image does not work

Open
#106 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
1k
Forks
384
PR merge metrics
No merged PRs in 30d

Description

root@1fcc419bfc76:~# python /usr/src/piwik/misc/log-analytics/import_logs.py --url=http://notebooks access.log
Fatal error: the configuration file/usr/src/piwik/config/config.ini.php could not be read. Please check permission. This file must be readable by the user running this script to get the authentication token

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with the shown Docker command and inspect misc/log-analytics/import_logs.py alongside /usr/src/piwik/config/config.ini.php. Determine why the script cannot read the configuration in the image; done means the command can obtain the authentication token without the configuration-file permission error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.