Hi all,

I tried this [1] sugarcrm sample run as Docker container and I followed
following steps.

First I created a docker file with required libraries which is specified in
here[2]

FROM php:5.6-apache
MAINTAINER "Lahiru Manohara"
ENV STRATOS_MYSQL_HOST 10.100.7.115
ENV STRATOS_MYSQL_USER root
ENV STRATOS_MYSQL_PASSWORD root
RUN apt-get update && apt-get upgrade -y && \
    apt-get install -y libcurl4-gnutls-dev libpng-dev unzip cron re2c
php5-imap python
RUN docker-php-ext-install mysql curl gd zip mbstring mysqli
COPY www/  /var/www/html/

When i was trying run sugarcrm application, I am getting following error.

*Warning*: include(cache/modules/Home/language/en_us.lang.php): failed to
open stream: No such file or directory in
*/var/www/html/include/SugarObjects/LanguageManager.php* on line *111*

*Warning*: include(): Failed opening
'cache/modules/Home/language/en_us.lang.php' for inclusion
(include_path='/var/www/html:/var/www/html/include/..:.:/usr/local/lib/php')
in */var/www/html/include/SugarObjects/LanguageManager.php* on line *111*

*Warning*: include(cache/modules/Home/language/en_us.lang.php): failed to
open stream: No such file or directory in
*/var/www/html/include/SugarObjects/LanguageManager.php* on line *111*

*Warning*: include(): Failed opening
'cache/modules/Home/language/en_us.lang.php' for inclusion
(include_path='/var/www/html:/var/www/html/include/..:.:/usr/local/lib/php')
in */var/www/html/include/SugarObjects/LanguageManager.php* on line *111*

*Warning*: include(cache/modules/Calendar/language/en_us.lang.php): failed
to open stream: No such file or directory in
*/var/www/html/include/SugarObjects/LanguageManager.php* on line *111*

*Warning*: include(): Failed opening
'cache/modules/Calendar/language/en_us.lang.php' for inclusion
(include_path='/var/www/html:/var/www/html/include/..:.:/usr/local/lib/php')
in */var/www/html/include/SugarObjects/LanguageManager.php* on line *111*

*Warning*: include(cache/modules/Calendar/language/en_us.lang.php): failed
to open stream: No such file or directory in
*/var/www/html/include/SugarObjects/LanguageManager.php* on line *111*

*Warning*: include(): Failed opening
'cache/modules/Calendar/language/en_us.lang.php' for inclusion
(include_path='/var/www/html:/var/www/html/include/..:.:/usr/local/lib/php')
in */var/www/html/include/SugarObjects/LanguageManager.php* on line *111*

*Fatal error*: sugar_file_put_contents_atomic() : fatal rename failure
'/tmp/temp1dJwVX' -> 'cache/modules/Emails/Emailvardefs.php' in
*/var/www/html/include/utils/sugar_file_utils.php* on line *187*


[1].https://github.com/lakwarus/sugarcrm
[2].https://github.com/Spantree/docker-sugarcrm/blob/develop/Dockerfile
-- 
Best regards,

*Lahiru Manohara*
*Software Engineer*
Mobile: +94716561576
WSO2 Inc. | http://wso2.com
lean.enterprise.middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to