GithubHelp home page GithubHelp logo

djocker / orocrm Goto Github PK

View Code? Open in Web Editor NEW
21.0 5.0 20.0 58 KB

Dockerized OroCRM Application (Unofficial)

Home Page: http://orocrm.com

Dockerfile 100.00%
orocrm docker-image docker-compose symfony

orocrm's Issues

Question about db

Hello, very cool docker compose script!

I have been playing around with it on my Synology and I am running into an issue that I cannot seem to wrap my head around.

For some reason, the container 'source' does not seem to want to talk to container 'db'.
What might I be doing wrong?

Would you be willing to take a look?
If so, the output is below:

Creating data
Creating source_code
Creating mail
Creating db
Creating minion
Attaching to source_code, data, mail, db, minion
mail           | find: `/etc/postfix/certs': No such file or directory
db             | Initializing database
db             | 160917 11:39:22 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.5.52) starting as process 59 ...
mail           | find: `/etc/opendkim/domainkeys': No such file or directory
mail           | 2016-09-17 11:39:21,546 CRIT Supervisor running as root (no user in config file)
mail           | 2016-09-17 11:39:21,547 WARN Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
mail           | 2016-09-17 11:39:21,613 INFO RPC interface 'supervisor' initialized
mail           | 2016-09-17 11:39:21,614 CRIT Server 'unix_http_server' running without any HTTP authentication checking
mail           | 2016-09-17 11:39:21,614 INFO supervisord started with pid 22
mail           | 2016-09-17 11:39:22,622 INFO spawned: 'postfix' with pid 25
mail           | 2016-09-17 11:39:22,624 INFO spawned: 'rsyslog' with pid 26
minion         | PHP Warning:  file_get_contents(/var/www/composer.json): failed to open stream: No such file or directory in /usr/local/bin/composer-map-env.php on line 21
db             | 160917 11:39:24 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.5.52) starting as process 65 ...
minion         | 
minion         |                                                             
minion         |   [InvalidArgumentException]                                
minion         |   Script "post-install-cmd" is not defined in this package  
minion         |                                                             
minion         | 
minion         | run-script [--timeout TIMEOUT] [--dev] [--no-dev] [-l|--list] [--] [<script>] [<args>]...
minion         | 
minion         | ln: failed to create symbolic link '/var/www/app/cache': No such file or directory
minion         | ln: failed to create symbolic link '/var/www/web/media': No such file or directory
minion         | ln: failed to create symbolic link '/var/www/web/uploads': No such file or directory
minion         | ln: failed to create symbolic link '/var/www/app/attachment': No such file or directory
minion         | ERROR 2003 (HY000): Can't connect to MySQL server on 'db' (111)
minion         | Waiting database on db:3306
mail           | 2016-09-17 11:39:24,366 INFO success: postfix entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
mail           | 2016-09-17 11:39:24,366 INFO success: rsyslog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
db             | 
db             | PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
db             | To do so, start the server, then issue the following commands:
db             | 
db             | /usr/local/mysql/bin/mysqladmin -u root password 'new-password'
db             | /usr/local/mysql/bin/mysqladmin -u root -h  password 'new-password'
db             | 
db             | Alternatively you can run:
db             | /usr/local/mysql/bin/mysql_secure_installation
db             | 
db             | which will also give you the option of removing the test
db             | databases and anonymous user created by default.  This is
db             | strongly recommended for production servers.
db             | 
db             | See the manual for more instructions.
db             | 
db             | Please report any problems at http://bugs.mysql.com/
db             | 
db             | Database initialized
db             | 160917 11:39:24 [Note] mysqld (mysqld 5.5.52) starting as process 69 ...
db             | 160917 11:39:24 [Note] Plugin 'FEDERATED' is disabled.
db             | 160917 11:39:24 InnoDB: The InnoDB memory heap is disabled
db             | 160917 11:39:24 InnoDB: Mutexes and rw_locks use GCC atomic builtins
db             | 160917 11:39:24 InnoDB: Compressed tables use lib 1.2.3
db             | 160917 11:39:24 InnoDB: Using Linux native AIO
db             | MySQL init process in progress...
db             | 160917 11:39:24 InnoDB: Initializing buffer pool, size = 128.0M
db             | 160917 11:39:24 InnoDB: Completed initialization of buffer pool
db             | InnoDB: The first specified data file ./ibdata1 did not exist:
db             | InnoDB: a new database to be created!
db             | 160917 11:39:24  InnoDB: Setting file ./ibdata1 size to 10 MB
db             | InnoDB: Database physically writes the file full: wait...
db             | 160917 11:39:24  InnoDB: Log file ./ib_logfile0 did not exist: new to be created
db             | InnoDB: Setting log file ./ib_logfile0 size to 5 MB
db             | InnoDB: Database physically writes the file full: wait...
db             | 160917 11:39:24  InnoDB: Log file ./ib_logfile1 did not exist: new to be created
db             | InnoDB: Setting log file ./ib_logfile1 size to 5 MB
db             | InnoDB: Database physically writes the file full: wait...
db             | InnoDB: Doublewrite buffer not found: creating new
db             | InnoDB: Doublewrite buffer created
db             | InnoDB: 127 rollback segment(s) active.
db             | InnoDB: Creating foreign key constraint system tables
db             | InnoDB: Foreign key constraint system tables created
db             | 160917 11:39:25  InnoDB: Waiting for the background threads to start
db             | MySQL init process in progress...
minion         | Waiting database on db:3306
db             | 160917 11:39:26 InnoDB: 5.5.52 started; log sequence number 0
db             | 160917 11:39:26 [Warning] 'user' entry 'root@274b40343c8a' ignored in --skip-name-resolve mode.
db             | 160917 11:39:26 [Warning] 'user' entry '@274b40343c8a' ignored in --skip-name-resolve mode.
db             | 160917 11:39:26 [Warning] 'proxies_priv' entry '@ root@274b40343c8a' ignored in --skip-name-resolve mode.
db             | 160917 11:39:26 [Note] Event Scheduler: Loaded 0 events
db             | 160917 11:39:26 [Note] mysqld: ready for connections.
db             | Version: '5.5.52'  socket: '/tmp/mysql.sock'  port: 0  MySQL Community Server (GPL)
db             | Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
db             | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
minion         | Waiting database on db:3306
minion         | Waiting database on db:3306
db             | Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
minion         | Waiting database on db:3306
db             | 160917 11:39:32 [Warning] 'proxies_priv' entry '@ root@274b40343c8a' ignored in --skip-name-resolve mode.
db             | 160917 11:39:32 [Warning] 'proxies_priv' entry '@ root@274b40343c8a' ignored in --skip-name-resolve mode.
db             | 
db             | 160917 11:39:32 [Note] mysqld: Normal shutdown
db             | 
db             | 160917 11:39:32 [Note] Event Scheduler: Purging the queue. 0 events
db             | 160917 11:39:32  InnoDB: Starting shutdown...
db             | 160917 11:39:34  InnoDB: Shutdown completed; log sequence number 1595675
db             | 160917 11:39:34 [Note] mysqld: Shutdown complete
db             | 
db             | 
db             | MySQL init process done. Ready for start up.
db             | 
minion         | Waiting database on db:3306
db             | 160917 11:39:34 [Note] mysqld (mysqld 5.5.52) starting as process 1 ...
db             | 160917 11:39:34 [Note] Plugin 'FEDERATED' is disabled.
db             | 160917 11:39:34 InnoDB: The InnoDB memory heap is disabled
db             | 160917 11:39:34 InnoDB: Mutexes and rw_locks use GCC atomic builtins
db             | 160917 11:39:34 InnoDB: Compressed tables use lib 1.2.3
db             | 160917 11:39:34 InnoDB: Using Linux native AIO
db             | 160917 11:39:34 InnoDB: Initializing buffer pool, size = 128.0M
db             | 160917 11:39:34 InnoDB: Completed initialization of buffer pool
db             | 160917 11:39:34 InnoDB: highest supported file format is Barracuda.
db             | 160917 11:39:34  InnoDB: Waiting for the background threads to start
db             | 160917 11:39:35 InnoDB: 5.5.52 started; log sequence number 1595675
db             | 160917 11:39:35 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
db             | 160917 11:39:35 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
db             | 160917 11:39:35 [Note] Server socket created on IP: '0.0.0.0'.
db             | 160917 11:39:35 [Warning] 'proxies_priv' entry '@ root@274b40343c8a' ignored in --skip-name-resolve mode.
db             | 160917 11:39:35 [Note] Event Scheduler: Loaded 0 events
db             | 160917 11:39:35 [Note] mysqld: ready for connections.
db             | Version: '5.5.52'  socket: '/tmp/mysql.sock'  port: 3306  MySQL Community Server (GPL)
minion         | /usr/local/lib/python2.7/dist-packages/supervisor-3.3.1-py2.7.egg/supervisor/options.py:298: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
minion         |   'Supervisord is running as root and it is searching '
minion         | 2016-09-17 11:39:38,155 CRIT Supervisor running as root (no user in config file)
minion         | 2016-09-17 11:39:38,646 INFO RPC interface 'supervisor' initialized
minion         | 2016-09-17 11:39:38,646 CRIT Server 'inet_http_server' running without any HTTP authentication checking
minion         | 2016-09-17 11:39:38,647 INFO supervisord started with pid 1
minion         | 2016-09-17 11:39:39,650 INFO spawned: 'app-cron' with pid 74
minion         | 2016-09-17 11:39:39,652 INFO spawned: 'stdout' with pid 75
minion         | 2016-09-17 11:39:39,655 INFO spawned: 'nginx' with pid 76
minion         | 2016-09-17 11:39:39,658 INFO spawned: 'websocket-server' with pid 77
minion         | 2016-09-17 11:39:39,660 INFO spawned: 'php5-fpm' with pid 78
minion         | nginx: [warn] duplicate MIME type "text/html" in /etc/nginx/nginx.conf:33
source_code    | Cannot create cache directory /root/.composer/cache/repo/https---packagist.orocrm.com/, or directory is not writable. Proceeding without cache
source_code    | Cannot create cache directory /root/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache
source_code    | Cannot create cache directory /root/.composer/cache/files/, or directory is not writable. Proceeding without cache
source_code    | > Incenteev\ParameterHandler\ScriptHandler::buildParameters
source_code    | Updating the "app/config/parameters.yml" file
source_code    | Deprecation Notice: The callback Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap declared at /var/www/vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Composer/ScriptHandler.php accepts a Composer\Script\CommandEvent but post-install-cmd events use a Composer\Script\Event instance. Please adjust your type hint accordingly, see https://getcomposer.org/doc/articles/scripts.md#event-classes in phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:289
source_code    | > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
minion         | 2016-09-17 11:39:41,469 INFO success: app-cron entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
minion         | 2016-09-17 11:39:41,469 INFO success: stdout entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
minion         | 2016-09-17 11:39:41,470 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
minion         | 2016-09-17 11:39:41,470 INFO success: websocket-server entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
minion         | 2016-09-17 11:39:41,470 INFO success: php5-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
source_code    | Deprecation Notice: The callback Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile declared at /var/www/vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Composer/ScriptHandler.php accepts a Composer\Script\CommandEvent but post-install-cmd events use a Composer\Script\Event instance. Please adjust your type hint accordingly, see https://getcomposer.org/doc/articles/scripts.md#event-classes in phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:289
source_code    | > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile
source_code    | Deprecation Notice: The callback Oro\Bundle\InstallerBundle\Composer\ScriptHandler::setPermissions declared at /var/www/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/Composer/ScriptHandler.php accepts a Composer\Script\CommandEvent but post-install-cmd events use a Composer\Script\Event instance. Please adjust your type hint accordingly, see https://getcomposer.org/doc/articles/scripts.md#event-classes in phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:289
source_code    | > Oro\Bundle\InstallerBundle\Composer\ScriptHandler::setPermissions
source_code    | Deprecation Notice: The callback Oro\Bundle\InstallerBundle\Composer\ScriptHandler::installAssets declared at /var/www/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/Composer/ScriptHandler.php accepts a Composer\Script\CommandEvent but post-install-cmd events use a Composer\Script\Event instance. Please adjust your type hint accordingly, see https://getcomposer.org/doc/articles/scripts.md#event-classes in phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:289
source_code    | > Oro\Bundle\InstallerBundle\Composer\ScriptHandler::installAssets
source_code    | Deprecation Notice: The callback Oro\Bundle\InstallerBundle\Composer\ScriptHandler::setAssetsVersion declared at /var/www/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/Composer/ScriptHandler.php accepts a Composer\Script\CommandEvent but post-install-cmd events use a Composer\Script\Event instance. Please adjust your type hint accordingly, see https://getcomposer.org/doc/articles/scripts.md#event-classes in phar:///usr/local/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:289
source_code    | > Oro\Bundle\InstallerBundle\Composer\ScriptHandler::setAssetsVersion
source_code    | Updating the "assets_version" parameter
source_code    | Enter password: ERROR 2005 (HY000): Unknown MySQL server host '-u' (0)
source_code    | This is nc from the netcat-openbsd package. An alternative nc is available
source_code    | in the netcat-traditional package.
source_code    | usage: nc [-46bCDdhjklnrStUuvZz] [-I length] [-i interval] [-O length]
source_code    |          [-P proxy_username] [-p source_port] [-q seconds] [-s source]
source_code    |          [-T toskeyword] [-V rtable] [-w timeout] [-X proxy_protocol]
source_code    |          [-x proxy_address[:port]] [destination] [port]
source_code    | Waiting database on :3306

Problem Fatal error: Allowed memory size

Hello,

Since the last release, it's impossible to install. We have theses errors :

PHP Fatal error:  Allowed memory size of 2684354560 bytes exhausted (tried to allocate 64 bytes) in phar:///var/www/composer.phar/src/Composer/DependencyResolver/Rule.php on line 76
Fatal error: Allowed memory size of 2684354560 bytes exhausted (tried to allocate 64 bytes) in phar:///var/www/composer.phar/src/Composer/DependencyResolver/Rule.php on line 76

Fatal error: Allowed memory size of 2684354560 bytes exhausted (tried to allocate 64 bytes) in phar:///var/www/composer.phar/src/Composer/DependencyResolver/Rule.php on line 60
PHP Fatal error:  Allowed memory size of 2684354560 bytes exhausted (tried to allocate 64 bytes) in phar:///var/www/composer.phar/src/Composer/DependencyResolver/Rule.php on line 60

If we upgraded memory_limit in /etc/php/5.6/cli/php.ini & /etc/php/5.6/fpm/php.ini, sames errors :

Fatal error: Allowed memory size of 2684354560 bytes exhausted (tried to allocate 72 bytes) in phar:///var/www/composer.phar/src/Composer/DependencyResolver/Rule.php on line 60
PHP Fatal error:  Allowed memory size of 2684354560 bytes exhausted (tried to allocate 72 bytes) in phar:///var/www/composer.phar/src/Composer/DependencyResolver/Rule.php on line 60
Fatal error: Allowed memory size of 2684354560 bytes exhausted (tried to allocate 32 bytes) in phar:///var/www/composer.phar/src/Composer/DependencyResolver/Rule.php on line 60
PHP Fatal error:  Allowed memory size of 2684354560 bytes exhausted (tried to allocate 32 bytes) in phar:///var/www/composer.phar/src/Composer/DependencyResolver/Rule.php on line 60

PHP Fatal error:  Allowed memory size of 3221225472 bytes exhausted (tried to allocate 32 bytes) in phar:///var/www/composer.phar/src/Composer/DependencyResolver/RuleSetGenerator.php on line 126
Fatal error: Allowed memory size of 3221225472 bytes exhausted (tried to allocate 32 bytes) in phar:///var/www/composer.phar/src/Composer/DependencyResolver/RuleSetGenerator.php on line 126
Fatal error: Allowed memory size of 3221225472 bytes exhausted (tried to allocate 32 bytes) in phar:///var/www/composer.phar/src/Composer/DependencyResolver/RuleSetGenerator.php on line 205
PHP Fatal error:  Allowed memory size of 3221225472 bytes exhausted (tried to allocate 32 bytes) in phar:///var/www/composer.phar/src/Composer/DependencyResolver/RuleSetGenerator.php on line 205

Do you have an idea ?
Thank you

Install and enable the Tidy extension.

Hi,

The latest current version 2.4.2 report this message after successfully install:

WARNING | Install and enable the Tidy extension.

All others Oro requirements checks are OK.

Unable to install 2.4.2

Hi,

I'm unable to install oroCrm 2.4.2 with this process:

git clone https://github.com/djocker/orocrm.git
git checkout tags/2.4.2
cd orocrm
docker-compose -f docker-compose-auto.yml up -d

is this the right method?

typo in README

I propose this patch

diff --git a/README.md b/README.md

-_Navigate to [http://localhost:3080](http://localhost:3080) or [http://localhost:3080/admin](http://localhost/admin:3080) in your web browser (default admin login/password: admin / admin1111)_
+_Navigate to [http://localhost:3080](http://localhost:3080) or [http://localhost:3080/admin](http://localhost:3080/admin) in your web browser (default admin login/password: admin / admin1111)_

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.