I upgraded my system from SugarCrm Ce 6.5.20 to 7.1 without any problems except the interface does not load css styles. After that, I upgraded from 7.1 to 7.2 thinking this problem could be solved with the new release but it still remains
I found in web console the following error:
Uncaught Error: Bootstrap’s JavaScript requires jQuery version 1.9.1 or higher index.php?module=Home&action=About:570
Uncaught TypeError: undefined is not a function
Could this error be related with no css loading in thems
System -> Linux pipecrm 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u1 x86_64 GNU/Linux
Web server -> nginx-full 1.2.1-2.2+wheezy3 amd64 nginx web/proxy server
Php :
php5-common 5.4.36-0+deb7u3 amd64 Common files for packages built from the php5 source
php5-curl 5.4.36-0+deb7u3 amd64 CURL module for php5
php5-fpm 5.4.36-0+deb7u3 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary)
php5-gd 5.4.36-0+deb7u3 amd64 GD module for php5
php5-imap 5.4.36-0+deb7u3 amd64 IMAP module for php5
php5-mysql 5.4.36-0+deb7u3 amd64 MySQL module for php5
php5-xcache 2.0.0-4 amd64 Fast, stable PHP opcode cacher
Mysql:
libdbd-mysql-perl 4.021-1+b1 amd64 Perl5 database interface to the MySQL database
libmysqlclient18:amd64 5.5.41-0+wheezy1 amd64 MySQL database client library
mysql-client-5.5 5.5.41-0+wheezy1 amd64 MySQL database client binaries
mysql-common 5.5.41-0+wheezy1 all MySQL database common files, e.g. /etc/mysql/my.cnf
mysql-server-5.5 5.5.41-0+wheezy1 amd64 MySQL database server binaries and system database setup
mysql-server-core-5.5
Last command I run related with permissions was:
chmod -R 775 cache custom modules themes data upload config_override.php
You need to ensure your owner/group values are correct when you set your permissions, and you need to set permissions on all files. The command you ran only sets 775 on specific directories.
I followed all those steps (quick repair, set permissions, remove all content from cache directory, try access from diferent devices and browsers) and the problem persist
This is the second time I try upgrade from sugarCrm CE and in both failed with the same problem. First time , I upgraded it from 6.5.16 but this time the version was 6.5.20 and it happened the same
I attach another screenshot from the themes Menu with the same error in the console
I found out one part of the problem and it is related with the sugar_grp1_jquery.js version.
I can find this file in cache/include/javascript/sugar_grp1_jquery.js and it has v1.7.1 version, nonetheless if I look for this file in the suitcrm upgrade package, I can see it has v2.1.3 version
If I change one file per other, the bootstrap jquery problem solves it , but another one appears
My question is, How does this file is created because if I remove all the content in cache dir , then this file is created with the 1.7.1 version again?
Don’t know what could be the problem, maybe try to delete the content in themes/ in your test box and copy that content from the SuiteCRM install package. Maybe you have corrupted files because of a bad upgrade
Today I decided to start again with the migration process from Sugar CE to Suite and I followed the following steps:
1- I downloaded the latest packages for migrate (SugarCE Migration 6.5.x to SuiteCRM 7.1.6) and then to upgrade (SuiteCRM-Upgrade-7.1.x-to-7.2.1)
2- I set permissions following the link https://suitecrm.com/wiki/index.php/Installation
3- I run the first step, migrate from SugarCRM CE 6.5.16 to SuiteCRM 7.1.6. Everything was ok. No errors were shown, but I could see I had the previous problems with Suite7 theme, but not with classic Sugar5 CRM theme
4-I decided continue with the upgrade from Suite 7.1.6 to 7.2.1. Everything was ok too. No errors were shown , but problems persist in both Suite themes (Suite7 and SuiteR) and no in Sugar5
5- I decide to substitute /include/javascript/jquery from upgrade package zip to my folder Suite . I change themes folders too, taking them from de upgrade package
After all those steps, I managed two themes work properly (Sugar5 and SuiteR) but Sugar7 does not work completely well although it runs better than before. Suite7 shows some JavaScript errors and it does not find some files such as themePreview.png. I searched this image inside Suite upgrade package and it is not there neither
In summary, I do not know what is the cause but it appear that when I migrate/upgrade , some folders are not changed . It is something weird and maybe it is something related with my system (Debian wheezy + nginx + mysql)
I hope this steps can help to other Suite users who could be suffering something similar