Giter Club home page Giter Club logo

javanile / vtiger Goto Github PK

View Code? Open in Web Editor NEW
82.0 8.0 58.0 44.82 MB

šŸÆ Vtiger is the #1 business automation software. Try it with Docker!

Home Page: https://javanile.org/vtiger/?q=docker

License: MIT License

Shell 0.66% PHP 62.30% Dockerfile 0.12% Hack 0.05% Makefile 0.03% Batchfile 0.02% HTML 3.69% JavaScript 17.61% CSS 5.79% SCSS 0.01% Smarty 7.53% Less 0.40% XSLT 0.06% Python 0.02% Java 0.49% Classic ASP 0.06% Ruby 0.01% CoffeeScript 0.01% C 1.06% Perl 0.11%
vtiger vtigercrm docker kubernetes crm sales business marketing-automation

vtiger's Introduction

ā­ Give me a star, please! ā­


vtiger

Vtiger CRM is open source software that helps more than 100000 businesses grow sales,
improve marketing reach, and deliver great customer service. Try it free with Docker!

StyleCI

Supported tags and respective Dockerfile links

Get started and demo

LOOKING FOR FAST DEMO! Visit --> https://github.com/javanile/vtiger-demo <--

PHP versions

Vtiger CRM PHP
7.2.0 7.3.12
7.1.0 7.1.0-RC 7.0.1 7.0.0 7.0.33
6.5.0 6.4.0 6.3.0 6.2.0 6.1.0 6.1.0-Beta 6.0.0 6.0.0-RC 6.0.0-Beta 5.6.40
5.4.0 5.4.0-RC 5.3.0 5.3.0-RC 5.2.1 5.2.0 5.2.0-RC 5.2.0-VB2 5.2.0-VB1 5.1.0 5.3.29

Development

./develop.sh

Error reporting

error_reporting = E_WARNING & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT

vtiger's People

Contributors

francescobianco 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vtiger's Issues

Could you update vtiger7.2 to docker-hub?

Vtiger7.2 on docker-hub is 3 years old. Could you update vtiger7.2 to docker-hub,thank you very much.

I build the Vtiger7.2, build failed.

checking if nawk is broken... no
checking for zip archive read/writesupport... yes, shared
checking for the location of libz... no
checking pcre install prefix... no
checking libzip... yes
checking for the location of zlib... /usr
checking for pkg-config... /usr/bin/pkg-config
checking for libzip... not found
configure: error: Please reinstall the libzip distribution
The command '/bin/sh -c apt-get update &&     apt-get install --no-install-recommends -y zlib1g-dev libc-client-dev libkrb5-dev libfreetype6-dev libjpeg62-turbo-dev libpng-dev libxml2-dev cron rsyslog zip unzip socat vim nano &&     docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ &&     docker-php-ext-configure imap --with-kerberos --with-imap-ssl &&     docker-php-ext-install imap exif mysqli pdo pdo_mysql zip gd xml &&     echo "cron.* /var/log/cron.log" >> /etc/rsyslog.conf && rm -fr /etc/cron.* && mkdir /etc/cron.d &&     curl -o composer -sL https://getcomposer.org/composer.phar &&     php composer global require javanile/http-robot:0.0.2 javanile/mysql-import:0.0.15 javanile/vtiger-cli:0.0.4 &&     php composer clearcache && rm composer &&     curl -sL https://javanile.github.io/symvol/setup.sh?v=0.0.2 | bash - &&     usermod -u 1000 www-data && groupmod -g 1000 www-data &&     echo "ServerName localhost" >> /etc/apache2/apache2.conf &&     a2enmod ssl && a2enmod rewrite &&     cd /usr/src/vtiger &&     curl -o vtiger.tar.gz -L "http://sourceforge.net/projects/vtigercrm/files/vtiger%20CRM%207.2.0/Core%20Product/vtigercrm7.2.0.tar.gz" &&     tar -xzf vtiger.tar.gz &&     rm vtiger.tar.gz &&     rm -fr /var/www/html &&     mv "vtigercrm" /var/www/html &&     vtiger permissions --fix &&     mv .symvol /var/www/html &&     mkdir -p volume /var/lib/vtiger &&     apt-get clean && rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*' returned a non-zero code: 1

Sorry! Attempt to access restricted file.

in directory var/www/html/user_privileges vtiger cache strange files:

  • user_privileges/user_privileges_5.php

Should be it stored on volume?
Or is possible to disable this option?

Fare in modo che non vada in errore se loading.php non esiste

Fare in modo che non vada in errore se loading.php non esiste

sed -e 's!%%MESSAGE%%!'"$1"'!' /var/www/html/loading.php > /var/www/html/index.php

Spesso quando si usa l'immagine per runnare codebase vt preesistenti questa va in errore se il file loader.php non esiste
mettere un qualcosa che crei il file se non esiste

Inoltre meglio togliere loading.php dalla root e metterlo dentro 'test/'

Error running make

It runs completely making the containers, but when it tries to run the basic vtiger container it fails because it cannot connect to mysql container. I did not change any parameters, everything was left the way it is.

vtiger_1   | --| vtiger 7.1.0-php7.4 |--
vtiger_1   |    ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾
vtiger_1   | [vtiger] Init log files...
vtiger_1   | [vtiger] Start web loading...
vtiger_1   | [vtiger] Waiting for available database...
vtiger_1   | [vtiger] Connection problem for 'root' on 'mysql' with error: Access denied for user 'root'@'192.168.224.4' (using password: YES) (1045).
vtiger_vtiger_1 exited with code 1

New Document from URL

Hello,

First of all thank you for sharing all this images of Vtiger, it save me a lot of time to understand this product and docker.

I worked with one of your Docker image, Vtiger 7.2 and everithing was fine. I just had to add "libjpeg-dev libwebp-dev libpng-dev"
for the kcfinder module.
I have on last bug (maybe not from the image i don't know) and i searched everywhere for the same issue but didn't find anything.
Here is the issue : https://discussions.vtiger.com/discussion/191812/new-document-from-url/p1?new=1

Feel free to reply if you have any idea and thanks again.

Aonicesei

configure mailbox not working

experiencing same problem as describe here.
seems like php-imap package is missing in the container.
Please help.

P.S. thank you for maintaing this, have ZERO problems except this issue! You are cool!

How do I set the initial login password

From your dockerfile, I found that this environment variable(VT_ADMIN_PASSWORD) is used to set the initial password

ENV VT_ADMIN_USER="admin" \
    VT_ADMIN_PASSWORD="admin" \
    VT_ADMIN_EMAIL="[email protected]" \
    VT_CURRENCY_NAME="USA, Dollars" \
    VT_SCHEDULER=1 \
    VT_INSTALL=1 \
    MYSQL_HOST="mysql" \
    MYSQL_DATABASE="vtiger"

In my docker compose file, even if it is set, it will not take effect.

  vtiger:
    image: javanile/vtiger:${APP_VERSION}
    container_name: ${APP_NAME}
    restart: always
    ports:
      - ${APP_PORT}:80
    environment:
      - MYSQL_HOST=mysql
      - MYSQL_USER=${DB_MYSQL_USER}
      - MYSQL_DATABASE=${DB_MYSQL_NAME}
      - MYSQL_PASSWORD=${DB_MYSQL_PASSWORD}
      - VT_ADMIN_USER=admin
      - VT_ADMIN_PASSWORD=123456

Debug Cookie

if (isset($_COOKIE['VT_DEBUG']) && in_array('test', explode(',', $_COOKIE['VT_DEBUG']))) {
  // Do debug...
}

Add support for VT_ADMIN_LANGUAGE

To improve container start-up with customization we need to add support for
VT_ADMIN_LANGUAGE and VT_ADMIN_LANG environment variable

eg.
VT_ADMIN_LANGUAGE=en_us

Fix shebang

Update #!/bin/bash with #!/usr/bin/env bash

Missing php-xml

We're trying to activate a vtiger module, however its not working, and according to the documentation it requires:

vtigerCRM version ( 7.1.0)
ā€¢ Zip Archive Package Library installed at server.
ā€¢ DOMDocument (php-xml) Package Library installed at server.

If I read the php_info correctly, zip support is in, however there is no php-xml module? Can we include it somehow or does this need to be adjusted in the image itself?

Italian as default language

It seems the default language is overridden to be set to Italian. This is really annoying to everyone not speaking Italian, that is, almost everyone except italiansā€¦ Even more when it's not even documented.

problem with languages

after latest docker update I have problem with translations.

Most strings I see as "LBL_*" form example LBL_SUMMARY
No matter what language is selected

I have docker-file with 3 volumes

    volumes:
      - vtiger-storage:/var/www/html/storage
      - vtiger-logs:/var/www/html/logs
      - vtiger-users:/var/www/html/user_privileges

Probably problem is with this new main volume, but I can't fine reason.

Crete wrapper for console.php

Create command wrapper into /bin for

php -f /var/www/html/vtlib/tools/console.php -- --import=/app/Tigermate.zip
php -f /var/www/html/vtlib/tools/console.php -- --update=/app/Tigermate.zip

become

vtiger-console --import=/app/Tigermate.zip
vtiger-console --update=/app/Tigermate.zip

php 7.*

vTiger support php 5.6 and 7.

But PHP 5.6 End of Life happened on December 31, 2018.

7.0 is not supported by PHP team too,
So ... maybe it's good time to check docker with 7.1 or even 7.2

Debug broken query

Risulta molto utile il seguente codice per scovare query con errori nel CRM

global $adb;
$adb->setDieOnError(true);

Illegal request

Docker, 7.1 , latest, 17.09.2019 , on https by traefic in public domain

Almost every form generate error :

Illegal request (bo back)

for example:
index.php?module=Users&view=PreferenceDetail&parent=Settings&record=1
index.php?module=Profiles&parent=Settings&view=Edit&record=3

only errors I've found in logs:

[Tue Sep 17 09:08:45.253978 2019] [ssl:warn] [pid 23] AH01906: localhost:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue Sep 17 09:08:45.254352 2019] [ssl:warn] [pid 23] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name

Email Characters Errors

I just install vtiger 7.2, bou i have some problem with email characters. Example

"Saludos cordiales Jose, aƃĀŗn tienes tiempo de inscribirte en nuestra Master Class "El Arte de las Ventas 4.0".

Esta Master Class tendrƃĀ” lugar en la Universidad de MedellƃĀ­n el dƃĀ­a 23 de noviembre de 8:00 a.m. a 4:00 p.m. "

Please some solution

Canā€™t Run vtiger with docker

hi
I want to run vtiger on docker:
i tried to use some docker-compose.yml fileŁˆ but I did not succeed
could you please help and give me instructions step by step
thanks

yml file:
version: "3.9"
services:
vtiger:
image: javanile/vtiger:7.2.0
environment:
- VT_SITE_URL=http://localhost:5050
- MYSQL_HOST=vtiger-db
- MYSQL_DATABASE=vtigercrm
- MYSQL_ROOT_PASSWORD=vtigercrm
ports:
- 5050:80
volumes:
- vtiger:/var/lib/vtiger
vtiger-db:
image: mariadb:10.7.1
restart: always
ports:
- 3306:3306
security_opt:
- seccomp:unconfined
environment:
- MYSQL_DATABASE=vtigercrm
- MYSQL_ROOT_PASSWORD=vtigercrm
volumes:
- db_data:/var/lib/mysql:rw

volumes:
db_data:
vtiger:

and when i run it i got this error:
Ā Ā Ā ______________Ā Ā Ā 
--|Ā vtigerĀ 7.2.0Ā |--
Ā Ā Ā ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾ā€¾Ā Ā Ā 
[vtiger]Ā InitĀ logĀ files...
[vtiger]Ā StartĀ webĀ loading...
[vtiger]Ā WaitingĀ forĀ availableĀ database...
[vtiger]Ā DatabaseĀ namedĀ 'vtigercrm'Ā successfullyĀ imported.
[vtiger]Ā WaitingĀ forĀ preparationĀ volume:Ā /var/lib/vtiger

Ā copy:Ā '/usr/src/vtiger/volume'Ā toĀ '/var/lib/vtiger'
Ā mode:Ā '/var/lib/vtiger'
.symvol
logs/
storage/
test/
user_privileges/
languages/
Ā link:Ā '/var/lib/vtiger'Ā toĀ '/var/www/html'
.symvol
logs/
storage/
test/
user_privileges/
languages/
Ā mode:Ā '/var/www/html'
.symvol
logs/
storage/
test/
user_privileges/
languages/
[vtiger]Ā StartĀ cronĀ daemon...
[vtiger]Ā SetĀ workingĀ directory:Ā /app
[vtiger]Ā RunĀ mainĀ process...
(98)AddressĀ alreadyĀ inĀ use:Ā AH00072:Ā make_sock:Ā couldĀ notĀ bindĀ toĀ addressĀ 0.0.0.0:80
noĀ listeningĀ socketsĀ available,Ā shuttingĀ down

AH00015:Ā UnableĀ toĀ openĀ logs

Blank page after vtiger login

And it is running but getting white page after login as admin admin
In host already mysql server is running but what about connectivity with the host db

Add custom location to .symvol

Hi, how we can add custom locations to .symbol for persistence?

We have tried adding /modules and /layouts but this is not added when the container is recreated.

Best

Yulian

Question

Hi,

I've created a bash script that will install Vtiger, db and nginx (you can view it at my profile). However to actually install Vtiger you have to manually go through a form. Your file (vtiger-install.php) has a http bot that will do that for you. Can I just copy and execute the php file ? Thanks for your great work!

Regards,

Patrick

LDAP Connection for VTiger

Hello,

do you know any clean solution to connect vtiger to a LDAP Server for the Login credentials? I have only seen hard coded solutions and outdated addons that barely work. I need a already build solution that is reliable and secure for a while.

Thank you in advance.

/var/lib/mysql - maybe as an external volume?

First than you for this docker image, it is much appreciated.

Docker best practices say [1] that we should always try to create ephemeral containers:
"By ā€œephemeralā€, we mean that the container can be stopped and destroyed, then rebuilt and replaced with an absolute minimum set up and configuration."

Also in article "10 things to avoid in docker containers" [2] under first rule says:

  1. Donā€™t store data in containers.

This means that mysql database should be a external volume. Also writing inside docker has lots of issues - it creates new file system layers and this usually fails and looses data when there is an issue in any data layer - this happened to me once and I learned from that.

[1] https://docs.docker.com/develop/develop-images/dockerfile_best-practices/
[2] https://developers.redhat.com/blog/2016/02/24/10-things-to-avoid-in-docker-containers/

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.