Forum archive
Setting up Users and Groups for vTiger CRM
When I tried to install a module on the vTiger appliance (a language pack), some errors were generated and the installation didn't work:
mporting ES Mexico [es_mx] ... STARTED
Copying file cron/language/phpmailer.lang-es.php ... SKIPPED
Warning: file_put_contents(include/install/language/es_mx.lang.php): failed to open stream: Permission denied in /var/www/vtigercrm/vtlib/thirdparty/dUnzip2.inc.php on line 297 Warning: chmod(): No such file or directory in /var/www/vtigercrm/vtlib/thirdparty/dUnzip2.inc.php on line 225 Copying file include/install/language/es_mx.lang.php ... FAILED
Warning: file_put_contents(include/js/es_mx.lang.js): failed to open stream: Permission denied in /var/www/vtigercrm/vtlib/thirdparty/dUnzip2.inc.php on line 297 Warning: chmod(): No such file or directory in /var/www/vtigercrm/vtlib/thirdparty/dUnzip2.inc.php on line 225 Copying file include/js/es_mx.lang.js ... FAILED
Warning: file_put_contents(include/language/es_mx.lang.php): failed to open stream: Permission denied in /var/www/vtigercrm/vtlib/thirdparty/dUnzip2.inc.php on line 297 Warning: chmod(): No such file or directory in /var/www/vtigercrm/vtlib/thirdparty/dUnzip2.inc.php on line 225 Copying file include/language/es_mx.lang.php ... FAILED
Warning: file_put_contents(include/Webservices/language/es_mx.lang.php): failed to open stream: Permission denied in /var/www/vtigercrm/vtlib/thirdparty/dUnzip2.inc.php on line 297 Warning: chmod(): No such file or directory in /var/www/vtigercrm/vtlib/thirdparty/dUnzip2.inc.php on line 225 Copying file include/Webservices/language/es_mx.lang.php ... FAILED
Copying file jscalendar/calendar-setup.js ... SKIPPED
Warning: file_put_contents(jscalendar/lang/calendar-es.js): failed to open stream: Permission denied in /var/www/vtigercrm/vtlib/thirdparty/dUnzip2.inc.php on line 297 Warning: chmod(): Operation not permitted in /var/www/vtigercrm/vtlib/thirdparty/dUnzip2.inc.php on line 225 Copying file jscalendar/lang/calendar-es.js ... FAILED
Copying file modules/Accounts/language/es_mx.lang.php ... DONE
Copying file modules/Administration/language/es_mx.lang.php ... DONE
Copying file modules/Assets/language/es_mx.lang.php ... DONE
Copying file modules/Calendar/language/es_mx.lang.php ... DONE
Copying file modules/Campaigns/language/es_mx.lang.php ... DONE
Copying file modules/Contacts/language/es_mx.lang.php ... DONE
Copying file modules/CustomerPortal/language/es_mx.lang.php ... DONE
Copying file modules/CustomView/language/es_mx.lang.php ... DONE
Copying file modules/Dashboard/language/es_mx.lang.php ... DONE
Copying file modules/Documents/language/es_mx.lang.php ... DONE
.......
When I look for information about this issue, find this:
All of the directories and files need to be owned by the webserver. Which would be www-data
As the root user:
Go to the directory where it is installed and:
chown -R www-data:www-data *
After doing this, I could install the language pack successfully. This could be useful for other vTiger CRM appliance users.
Y funcionó OK. ¡Gracias!