Closed wagnerpinheiro closed 9 years ago
Hello everyone,
If it can help, I noticed that issue from the latest container: marvambass/piwik Both are due to the $PIWIK_RELATIVE_URL_ROOT containing at the end a "/" which make some code bugged.
When launching marvambass/piwik, I map at start the modified /opt/startup-piwik.sh
Let me know if this was the issue and if a modification could be implemented in the next version.
Thanks in all case for your work on that container, it is a very cool product! ;-)
Good evening there! Greg.
sorry guys but I can't reproduce this error, I've tried a lot of different approaches but it works every time without a problem
Hello,
Here are the steps I used, hope it helps:
docker run -d --name mysql \ -e MYSQL_ROOT_PASSWORD=pw \ -e MYSQL_USER=dbadmin \ -e MYSQL_PASSWORD=pw \ -e MYSQL_DATABASE=piwik \ mysql
docker run --name web -p 80:80 -d \ -v $PWD/index.html:/usr/share/nginx/html/index.html \ nginx
docker run -d -p 81:80 \ --link mysql:mysql --name piwik \ -e PIWIK_MYSQL_USER=dbadmin \ -e PIWIK_MYSQL_PASSWORD=pw \ marvambass/piwik
docker cp $PWD/config.ini.php piwik:/piwik/config/config.ini.php
I am using docker v1.8.1. Container marvambass/piwik inspect: "Id": "8604b226b64a9572ae861db215c4fcd5a60356d32a0e279841d1d1bef0b4d887", "Parent": "68119dbe4a91c48dd5d653db20872a87e6317216a133f4ee4d87713cbef8528b", "Comment": "", "Created": "2015-08-25T18:50:33.995752183Z", "Container": "cf968b73b8f5cbd2112344c17c8fb79ec7af9a73a8f79697e50b76efa34191ac"
Everything is working fine your the modified version of startup-piwik.sh.
Thank you and good evening! Greg.
New version is working, thanks a lot! ;-)
The bug was introduced in commit 775e02a6944dcd8131f5613cf3bf45ef80cdd755