sualko / cloud_piwik

Track @Nextcloud users with @matomo-org (formerly Piwik)
http://sualko.github.io/cloud_piwik/
MIT License
37 stars 18 forks source link

oC 9.13 and Piwik 3.0 - no data #24

Closed airathere closed 7 years ago

airathere commented 7 years ago

I downloaded your app (V 0.1.0) and configured site id and url as described - but after hours no data will be shown in the dashboard! Do you have some hints for me for fixing this?

sualko commented 7 years ago

Hint 1: Use the latest master version from github. Please remember to rename the folder to piwik.

Hint 2: Check your javascript console.

airathere commented 7 years ago

Thanks a lot for your app and time! I installed the master version, no changes = no data (folder name is already "piwik"). Can you please explain what you mean with your 2nd hint? How do i have to do that?

sualko commented 7 years ago

Press Ctrl+Alt+I in your browser. Which browser do you use? Do you use oc or nc? In which version?

sualko commented 7 years ago

Do you use oc or nc? In which version?

Sorry, overlooked the title.

airathere commented 7 years ago

I'm using Firefox ESR 45.5.1 german and oC 9.13. If i browse to https://my_OC_server/piwik, then click on Dashboard and press Strg+Shift+i there is a console with "JS" where i can show errors and warnings, right? The console is empty - no errors or warnings in it

sualko commented 7 years ago

Browse https://my_OC_server/ as usual and check for errors

airathere commented 7 years ago

OK, i got this:

Content Security Policy: Die Direktive 'frame-src' sollte nicht mehr verwendet werden. Bitte verwenden Sie stattdessen die Direktive 'child-src'. JQMIGRATE: Migrate is installed, version 1.4.0 jquery-migrate.min.js:2:542 window.controllers sollte nicht mehr verwendet werden. Verwenden Sie es nicht für die Browser-Erkennung. ace.js:1716:0

Has this something to do with the issue?

airathere commented 7 years ago

Do you need some more informations or is this still unresolveable? If so, i can cut further working on it.

sualko commented 7 years ago

Has this something to do with the issue?

I don't thin so. You can check if the desired piwik script is loaded and if there is a request to your piwik installation.

airathere commented 7 years ago

please read PN

airathere commented 7 years ago

Solved: unmark "Use internal piwik library" in OC Admin "Piwik Tracking"