GithubHelp home page GithubHelp logo

docker-yetiforcecrm's Introduction

YetiforceCRM Docker

A Docker Compose environment which runs YetiforceCRM in one container (php:7.2-apache)and a MySQL instance in another.

We make reasonable efforts to support our work. Submit a GitHub issue if you have a security or other general question about this Docker image.

Running with Docker Compose

  1. Install Docker and Docker Compose
  2. Run docker-compose up -d from the root of this project.
  3. Access http://{docker_host}:8000 from your web browser to finish setting up YetiforceCRM.

Running with Docker Run

If you already have MySQL installed or want to use a platform service like Amazon RDS, you can run the YetiforceCRM container seperately using Docker run. To set up YetiforceCRM using this approach, please do the following:

  1. Install Docker
  2. Run docker run --name yetiforce -e DB_HOST_NAME=yourhostname -e DATABASE_NAME=yourdatabasename -e DB_USER_NAME=yourusername -e DB_PASSWORD=yourpassword -e DB_TYPE=mysql -e DB_TCP_PORT=3306 -e DB_MANAGER=MysqlManager -p 8000:80 -d efero/yetiforcecrm
  3. Access http://{docker_host}:8000 from your web browser to finish setting up YetiforceCRM.

docker-yetiforcecrm's People

Contributors

b4rti avatar efernau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-yetiforcecrm's Issues

Install fail on YF 4.2.0

Hi:) Im also familiar with Docker and YF. I try to update this repo and use 4.2.0 (changes in Dockerfile) but it fails, after install I see :

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'u_yf_announcement.is_mandatory' in 'field list' Failed to prepare SQL: SELECT u_yf_announcement.announcementidASid, u_yf_announcement.subjectASsubject, vtiger_crmentity.descriptionASdescription, vtiger_crmentity.smowneridASassigned_user_id, vtiger_crmentity.createdtimeAScreatedtime, u_yf_announcement.is_mandatoryASis_mandatoryFROMu_yf_announcementINNER JOINvtiger_crmentity ON u_yf_announcement.announcementid = vtiger_crmentity.crmid WHERE ((vtiger_crmentity.deleted=0)) AND (announcementstatus=:qp0)

Did you try? Is there something I forget?

YetiForce install issue (4.4.0 and 5.0.0)

I've been working on a 5.0.0 container and have been running into problems installing locally (Same as with the other versions I guess, just trying to get 5 working now); however, when I run my containers on a server, the install works just fine for 4.4.0.

Have you had issues installing while running the containers on localhost, and if so, how do you get around them?

Also, are you planning on building a 5.0.0 container. I know YetiForce themselves haven't shown interest in maintaining containers so you're the last hope.

Question about Intl problem (5.0.0)

Hello,
I wanted to consult you if I'm doing something wrong. The containers are built correctly (using version 5.0.0) but when entering http://localhost:8000 I have problems with PHP.
The error is something similar to the following:
YetiForceCompany/YetiForceCRM#9482

PHP Fatal error: Uncaught Error: Class 'Locale' not found in /var/www/html/devyeti/app/Language.php:717\nStack trace:\n#0 /var/www/html/devyeti/app/Controller/Base.php(23): App\Language::initLocale()\n#1 /var/www/html/devyeti/install/views/Index.php(66): App\Controller\Base->__construct()\n#2 /var/www/html/devyeti/install/Install.php(34): Install_Index_View->__construct()\n#3 {main}\n thrown in /var/www/html/devyeti/app/Language.php on line 717

According to the documentation, the extension intl. I replaced the following Dockerfile line:

RUN docker-php-ext-configure imap --with-imap-ssl --with-kerberos && \
    docker-php-ext-install soap curl gd zip mbstring intl imap mysqli pdo pdo_mysql gd iconv  opcache   && \
    rm -rf /var/lib/apt/lists/*

to:

RUN docker-php-ext-configure imap --with-imap-ssl --with-kerberos && \
    docker-php-ext-configure intl --with-kerberos  && \
    docker-php-ext-install soap curl gd zip mbstring intl imap mysqli pdo pdo_mysql gd iconv  opcache   && \
    rm -rf /var/lib/apt/lists/*

Sorry for my English, I speak in Spanish.
thank you and regards!

Persisten storage of yetiforce

The data stored inside the yetiforce service seems not to be persistent at the moment. Is it possible to mount the data to be persistent to the host system so that the data won't be lost after removing the yetiforce container? Thank you!

Failed to build: Command returned a non-zero code: 100

Here is a dump of the error. Message at the bottom. Ubuntu server 16.04. Any idea on what to do to fix this? Thanks!!

yeti@yetiforce:/yetidocker/Docker-YetiForceCRM-master$ sudo docker-compose up -d Pulling db (mysql:)...
latest: Pulling from library/mysql
a5a6f2f73cd8: Pull complete
936836019e67: Pull complete
283fa4c95fb4: Pull complete
1f212fb371f9: Pull complete
e2ae0d063e89: Pull complete
5ed0ae805b65: Pull complete
0283dc49ef4e: Pull complete
a7e1170b4fdb: Pull complete
88918a9e4742: Pull complete
241282fa67c2: Pull complete
b0fecf619210: Pull complete
bebf9f901dcc: Pull complete
Building yetiforcecrm
Step 1/21 : FROM php:7.1-apache
7.1-apache: Pulling from library/php
a5a6f2f73cd8: Already exists
633e0d1cd2a3: Pull complete
fcdfdf7118ba: Pull complete
4e7dc76b1769: Pull complete
c425447c8835: Pull complete
033380e6e095: Pull complete
13cbf79d7810: Pull complete
3b3aab261548: Pull complete
3a7622312067: Pull complete
da2d6e1ada9a: Pull complete
99036a0780ab: Pull complete
036866b9f082: Pull complete
e4881f72d153: Pull complete
b9052ab1a6d0: Pull complete
Digest: sha256:607903ae110407c15c7efc2ad41d67c2153fecd6f5e2e446f12ffde60a2c6f76
Status: Downloaded newer image for php:7.1-apache
---> fb15c7e9713f
Step 2/21 : ENV DOWNLOAD_URL https://github.com/YetiForceCompany/YetiForceCRM/releases/download/4.2.0/YetiForceCRM-4.2.0-complete.zip
---> Running in 2cd340b914f9
Removing intermediate container 2cd340b914f9
---> 86e6b1642d26
Step 3/21 : ENV DOWNLOAD_FILE YetiForceCRM-4.2.0-complete.zip
---> Running in 22d46cc4d15d
Removing intermediate container 22d46cc4d15d
---> 4e21d3814eda
Step 4/21 : ENV EXTRACT_FOLDER YetiForceCRM
---> Running in bb125f12180e
Removing intermediate container bb125f12180e
---> d2f34fab4f0c
Step 5/21 : ENV WWW_FOLDER /var/www/html
---> Running in 6ab413b70c1a
Removing intermediate container 6ab413b70c1a
---> 9a42ab0a9650
Step 6/21 : ENV WWW_USER www-data
---> Running in 36bfdc5e2ecc
Removing intermediate container 36bfdc5e2ecc
---> 48cdf1fe7ad0
Step 7/21 : ENV WWW_GROUP www-data
---> Running in 11c43f3f1163
Removing intermediate container 11c43f3f1163
---> 7468d4bba742
Step 8/21 : RUN apt-get update && apt-get upgrade -y && apt-get install -y wget libfreetype6-dev libxml2-dev libjpeg62-turbo-dev libpng12-dev libmcrypt-dev libcurl4-gnutls-dev libpng-dev libssl-dev libc-client2007e-dev libkrb5-dev unzip cron re2c python tree memcached mysql-client php5-mysqlnd
---> Running in 07c383ee0ed9
Ign:1 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Get:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:2 http://security-cdn.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Get:4 http://cdn-fastly.deb.debian.org/debian stretch Release [118 kB]
Get:5 http://cdn-fastly.deb.debian.org/debian stretch Release.gpg [2434 B]
Get:6 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 Packages [460 kB]
Get:7 http://cdn-fastly.deb.debian.org/debian stretch-updates/main amd64 Packages [5152 B]
Get:8 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 Packages [7089 kB]
Fetched 7860 kB in 14s (542 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Package libpng12-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package php5-mysqlnd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libpng12-dev' has no installation candidate
E: Package 'php5-mysqlnd' has no installation candidate
ERROR: Service 'yetiforcecrm' failed to build: The command '/bin/sh -c apt-get update && apt-get upgrade -y && apt-get install -y wget libfreetype6-dev libxml2-dev libjpeg62-turbo-dev libpng12-dev libmcrypt-dev libcurl4-gnutls-dev libpng-dev libssl-dev libc-client2007e-dev libkrb5-dev unzip cron re2c python tree memcached mysql-client php5-mysqlnd' returned a non-zero code: 100

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.