Comments (8)
Hi,I have experienced the same issue.
For the issue with the error line _System error: not a directory_ , you need to manually create the file revaliases and ssmtp.conf like this for exemple:
revaliases:
www-data:[email protected]:smtp.gmail.com:587
ssmtp.conf:
# The user that gets all the mails (UID < 1000, usually the admin)
[email protected]
# The mail server (where the mail is sent to), both port 465 or 587 should be acceptable
# See also http://mail.google.com/support/bin/answer.py?answer=78799
mailhub=smtp.gmail.com:587
# The address where the mail appears to come from for user authentication.
rewriteDomain=gmail.com
# The full hostname
hostname=localhost
# Use SSL/TLS before starting negotiation
UseTLS=Yes
UseSTARTTLS=Yes
# Username/Password
AuthUser=username
AuthPass=password
# Email 'From header's can override the default domain?
FromLineOverride=yes
FromLineOverride=yes
You can also run the instal script
This occurs because docker seem to create a directory by default when a volume doesn't exist on the host, but here we need a file.
You can use the command docker-compose --verbose up to see more precisely what append behind
For the issue with the error line _Cannot link to a non running container_, this is may occurs because the DB container doesn't have a MYSQL_ROOT_PASSWORD defined, to do so you need to modified this line in the docker-compose.yml:
environment:
- MYSQL_ROOT_PASSWORD=myRootPassword
I have also notice than the cron container do not work for me because of the script in the entrypoint in the file docker-compose.yml
So i have write this little script in a new file like this:
cronScript:
#!/bin/bash
trap "break;exit" SIGHUP SIGINT SIGTERM
while /bin/true;
do
/usr/local/bin/php /var/www/html/console core:archive
sleep 3600
done
and I place it in the config directory, I have also modify the entry point to run this script:
entrypoint: ./config/cronScript
May be it could help someone.
from compose-matomo.
What is your host? Is it linux?
from compose-matomo.
hi,my host is centos7
[root@MiWiFi-R1CM-srv piwik]# docker-compose up -d
Creating piwik_db_1
Creating piwik_app_1
ERROR: Cannot link to a non running container: /piwik_db_1 AS /piwik_app_1/db
from compose-matomo.
i also got error message.
ubuntu 14.04
Docker version 1.10.3, build 20f81dd
docker-compose version 1.6.2, build 4d72027
docker-py version: 1.7.2
CPython version: 2.7.6
OpenSSL version: OpenSSL 1.0.1f 6 Jan 2014
root@tr:~/piwik# docker-compose up
Creating piwik_db_1
Creating piwik_app_1
ERROR: Cannot start container ceb90f9c0cbb203fd052d6ddac922d144302b0473f56404f79e5c0df543c9456: [9] System error: not a directory
from compose-matomo.
Same Issue on Mac OS X
from compose-matomo.
Thanks @vincent-ma for the deep answer!
I think I can close the issue :) Please let me know if it didn't solve your issue.
Should we update the README to make it clearer? I tried my best to make it as clear as possible, but apparently, it is simply not the case!
from compose-matomo.
yes update the readme please
from compose-matomo.
Ran into this problem as well. It would be quite helpful to update the README.
from compose-matomo.
Related Issues (20)
- oci runtime error HOT 8
- mysql db startup failure HOT 2
- Using MariaDB HOT 2
- Updating piwik HOT 5
- nginx configuration in a subfolder HOT 4
- Docker compose v2. HOT 2
- Cannot start service app: Cannot link to a non running container: /piwik_db_1 AS /piwik_app_1/db HOT 11
- Cannot start service app: invalid header field value... HOT 6
- "Cannot connect to the database: SQLSTATE..." HOT 2
- Can't run the app HOT 1
- Restaure the backup HOT 4
- external network dependency HOT 5
- No access through web HOT 8
- Nothing is record
- Unable to access via haproxy HOT 1
- Database Setup issue HOT 1
- unifont.ttf can not be effective
- Error while trying to connect to the database server: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client HOT 3
- Shouldn't use the Matomo container? HOT 2
- MySQL with it's data in a host volume does not run on OSX HOT 2
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.
from compose-matomo.