Giter Site home page Giter Site logo

not work about compose-matomo HOT 8 CLOSED

QylinFly avatar QylinFly commented on June 30, 2024
not work

from compose-matomo.

Comments (8)

vmarseguerra avatar vmarseguerra commented on June 30, 2024 2

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.

pierreozoux avatar pierreozoux commented on June 30, 2024

What is your host? Is it linux?

from compose-matomo.

QylinFly avatar QylinFly commented on June 30, 2024

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.

 avatar commented on June 30, 2024

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.

topperharly avatar topperharly commented on June 30, 2024

Same Issue on Mac OS X

from compose-matomo.

pierreozoux avatar pierreozoux commented on June 30, 2024

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.

keltik85 avatar keltik85 commented on June 30, 2024

yes update the readme please

from compose-matomo.

sbauer322 avatar sbauer322 commented on June 30, 2024

Ran into this problem as well. It would be quite helpful to update the README.

from compose-matomo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.