-
-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Description
Dear Matomo Team,
I'm on wordpress multisite in a docker PHP-FPM environment and trying to use geo location database.
Matomo Plugin says:
* Error Standorterkennung: error (Der konfigurierte Standorterkennungsdienst (<strong>DBIP / GeoIP 2 (Php)</strong>) funktioniert nicht. Bitte korrigieren Sie die Einstellung, oder setzen Sie einen anderen Anbieter. )
And in my log files:
PHP Warning: file_put_contents(/usr/src/wordpress/wp-content/plugins/matomo/app/tmp/empty): Failed to open stream: No such file or directory in /usr/src/wordpress/wp-content/plugins/matomo/app/plugins/Diagnostics/Diagnostic/RecommendedPrivateDirectories.php on line 22
PHP Warning: file_exists(): open_basedir restriction in effect. File(/usr/src/wordpressmatomo/DBIP-City.mmdb) is not within the allowed path(s): (/usr/src/wordpress/:/tmp/) in /usr/src/wordpress/wp-content/plugins/matomo/classes/WpMatomo/Paths.php on line 176
This looks like a very wrong path to look for the DBIP-City.mmdb file.
There is a missing slash between wordpress and matomo.
Wordpress admin says it will put the file in wp-content/uploads/matomo which is wrong in multisite (should be wp-content/uploads/sites/<ID>/matomo). Okay, I've created the directory. But, the error message says it doesn't look into wp-content...
It would be very nice if you could fix this issue please. The database should live in wp-content/uploads/sites/<ID>/matomo
Thank you!
Best regards,
Floek
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels