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

Visitors Overview - Missing Report Pictures #9999

Closed
keltik85 opened this issue Apr 4, 2016 · 3 comments
Closed

Visitors Overview - Missing Report Pictures #9999

keltik85 opened this issue Apr 4, 2016 · 3 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@keltik85
Copy link

keltik85 commented Apr 4, 2016

My Piwik instance is not rendering the images in the Visitors Overview:

image

This is the Network access log of Chrome:

image

I already have done the following (edit config.ini.php, add disable_merged_assets ), but of no avail:

http://piwik.org/faq/troubleshooting/faq_135/

What else can I do?

@tsteur
Copy link
Member

tsteur commented Apr 4, 2016

Do you have access to the server logs?

@mattab
Copy link
Member

mattab commented Apr 4, 2016

See https://piwik.org/faq/troubleshooting/faq_34/

@keltik85
Copy link
Author

keltik85 commented Apr 5, 2016

Do you have access to the server logs?

Yes, and I have also activated the piwik.log like this: http://piwik.org/faq/troubleshooting/faq_115/ .

I can see the Piwik log like this, but its empty:

root@bb8b20685309:/var/www/html# cat tmp/logs/piwik.log | grep ERROR
root@bb8b20685309:/var/www/html#

To see the access and error log of apache I can do this:

[root@localhost templates]# docker logs piwikcontainer | grep Error
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.4. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.4. Set the 'ServerName' directive globally to suppress this message
[Tue Apr 05 06:17:22.297939 2016] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.10 (Debian) PHP/5.6.19 configured -- resuming normal operations
[Tue Apr 05 06:17:22.297995 2016] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'

See https://piwik.org/faq/troubleshooting/faq_34/

Thanks for the advice. I have installed the php5-gd library, but still the images dont, show up. My Dockerfile looks like this:

FROM php:5.6-apache
MAINTAINER "<max.payne@abc.org>"
COPY ./templates/apache2files/piwik /var/www/html/
COPY ./templates/php.ini /usr/local/etc/php/
RUN chmod 777 -R /var/www/html/
RUN docker-php-ext-install mysqli
RUN docker-php-ext-install mbstring
RUN apt-get update && \
         apt-get install -y php5-gd --no-install-recommends && \
         rm -r /var/lib/apt/lists/*


EDIT-1:
Although i installed the php5-gd extension, it is not loaded:

root@4ddd1ce105a6:/var/www/html# php -m
[PHP Modules]
Core
ctype
curl
date
dom
ereg
fileinfo
filter
hash
iconv
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcre
PDO
pdo_sqlite
Phar
posix
readline
Reflection
session
SimpleXML
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
zlib

[Zend Modules]

I think i have to post the issue on the php-docker Github page. (docker-library/php#215)

@keltik85 keltik85 closed this as completed Apr 5, 2016
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Apr 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

3 participants