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
import_logs.py fails when "php" is not available (OSError: [Errno 2] No such file or directory) #4835
Comments
I'm using Piwik 2.1.0. Ok! The problems come from the php command (line 603): command = updatetokenfile |
Thanks for the bug report! What is the result of "which php" on your system? Maybe we could use this command to find out which php to use. |
Command which php return nothing:
I'm using lighttpd 1.4.33 and php 5.5.9 on Debian testing.
|
I am having a very similar problem but not sure if exactly the same because my line numbers are a tad different. I am using apache to pipe its output to the import_logs.py file. After reading above I discovered that in my environment php is located at /usr/local/bin/php but the script is running as root which does not have that directory in its path. To fix this for myself I inserted a line in the import_logs.py file which I listed below. I know this is only a fix for my environment but just thought I'd let you know about this bug. #= My Fix
#= Error Output
#= Configuration
|
Hello together,
|
Issue was moved to the new repository for Piwik Log Analytics: https://github.com/piwik/piwik-log-analytics/issues refs #7163 |
Since 5 days, my piwik import_logs.py do nothing.
See the following error.
The text was updated successfully, but these errors were encountered: