I'm a guy spending too much time breaking things he shouldn't.
docker-matomo's Introduction
docker-matomo's People
docker-matomo's Issues
Can't stat /matomo/config/config.ini.php
Hi,
First of all, thanks for providing this image!
I've got an error in docker logs while deploying :
cp: can't stat '/matomo/config/config.ini.php': No such file or directory
It seems this file does not exist neither on the official repository : https://github.com/matomo-org/matomo/tree/3.x-dev/config (has been renamed global.ini.php)
Thanks for your time!
Unable to restart matomo container from image created by docker commit
Hello,
I committed the current state of both wonderfall/docker-matomo Container (service and db) as a new Images and tried to restart it afterwards with docker-compose up. Where the Database seems to run quite well, the Service does not.
The Web-Gui complains:
SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name does not resolve
but the container logs only show
matomo_1 | ln: /matomo/config/config.ini.php: File exists
Any Ideas how to bring them back to life?
Greetings,
Uwe
Missing instructions
Hi, Thanks for creating this repo. I almost got it to work but then restarted the container and it stopped working. I think the problem is the logic of copying the config file.
it would be great is you can add the docker-compose file. I made one you can start with:
version: "3"
services:
matomo:
container_name: matomo
image: wonderfall/matomo
links:
- db_matomo:db_matomo
volumes:
- ./matomo/config:/config
environment:
- GID=1000
- UID=1000
depends_on:
- db_matomo
ports:
- 8888:8888
networks:
- backend
db_matomo:
container_name: db_matomo
image: mariadb:10
volumes:
- ./matomo/db:/var/lib
environment:
- MYSQL_ROOT_PASSWORD=asupersecretpassword
- MYSQL_DATABASE=matomo
- MYSQL_USER=matomo
- MYSQL_PASSWORD=asupersecretpassword
networks:
- backend
networks:
backend:
external:
name: backend
I also created these:
mkdir -p ./matomo/config
mkdir -p ./matomo/db
It seems that if the ./matomo/config is empty you try to copy some file into it. But that files does not seem to exist or it had been overwritten.
I get this on the matomo container when starting a clean run with both ./matomo/db and ./matomo/config directories empty.
> docker logs matomo
cp: can't stat '/matomo/config/config.ini.php': No such file or directory
I am going to send you a pull request if I can get it to work. But I am close to giving up.
Thanks
David
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.