SuiteCRM 7.10.3 Maintenance Patch Now Available

SuiteCRM 7.10.3 is now available to download.

This is a minor release of SuiteCRM featuring a variety of bugfixes.

For a full list please View Release Notes for 7.10.3

Thank you to all community members who logged bugs and contributed to this release.

All input is welcome.

The SuiteCRM Team.

While running the upgrade, the last step landed on a blank page. Checking the php_errors.log I found this error (among others still to be checked):

[03-Apr-2018 16:11:19 Europe/Berlin] PHP Parse error:  syntax error, unexpected '}', expecting end of file in /opt/SuiteCRM/cache/upgrades/temp/cMZTVj/scripts/files_to_remove/UpgradeRemoval65x.php on line 592

It seems like there are some duplicate lines in UpgradeRemoval65x.php, right after the double brackets closing the main:

549          $files[] = 'modules/jjwg_Maps/DataTables/license-bsd.txt';
550          $files[] = 'modules/jjwg_Maps/DataTables/package.txt';
551 return $files;
552 }
553 }      // Php ends here, lines below look duplicates
554         // SuiteCRM 7.10.2
555          $files[] = 'lib/API/v8/Exception/Conflict.php';
556          $files[] = 'lib/API/v8/Exception/NotAllowed.php';
557          $files[] = 'lib/API/v8/Exception/ReservedKeywordNotAllowed.php';
558          $files[] = 'lib/API/v8/Exception/InvalidJsonApiRequest.php';
559          $files[] = 'lib/API/v8/Exception/BadRequest.php';
560          $files[] = 'lib/API/v8/Exception/InvalidJsonApiResponse.php';
561          $files[] = 'lib/API/v8/Exception/UnsupportedMediaType.php';
562          $files[] = 'lib/API/v8/Exception/ModuleNotFound.php';
563          $files[] = 'lib/API/v8/Exception/IdAlreadyExists.php';
564          $files[] = 'lib/API/v8/Exception/EmptyBody.php';
565          $files[] = 'lib/API/v8/Exception/Forbidden.php';
566          $files[] = 'lib/API/v8/Exception/NotFound.php';
567          $files[] = 'lib/API/v8/Exception/NotAcceptable.php';
568          $files[] = 'modules/jjwg_Maps/DataTables/license-gpl2.txt';
569          $files[] = 'modules/jjwg_Maps/DataTables/component.txt';
570          $files[] = 'modules/jjwg_Maps/DataTables/Readme.txt';
571 
572         // SuiteCRM 7.10.2
573          $files[] = 'lib/API/v8/Exception/Conflict.php';
574          $files[] = 'lib/API/v8/Exception/NotAllowed.php';
575          $files[] = 'lib/API/v8/Exception/ReservedKeywordNotAllowed.php';
576          $files[] = 'lib/API/v8/Exception/InvalidJsonApiRequest.php';
577          $files[] = 'lib/API/v8/Exception/BadRequest.php';
578          $files[] = 'lib/API/v8/Exception/InvalidJsonApiResponse.php';
579          $files[] = 'lib/API/v8/Exception/UnsupportedMediaType.php';
580          $files[] = 'lib/API/v8/Exception/ModuleNotFound.php';
581          $files[] = 'lib/API/v8/Exception/IdAlreadyExists.php';
582          $files[] = 'lib/API/v8/Exception/EmptyBody.php';
583          $files[] = 'lib/API/v8/Exception/Forbidden.php';
584          $files[] = 'lib/API/v8/Exception/NotFound.php';
585          $files[] = 'lib/API/v8/Exception/NotAcceptable.php';
586          $files[] = 'modules/jjwg_Maps/DataTables/license-gpl2.txt';
587          $files[] = 'modules/jjwg_Maps/DataTables/component.txt';
588          $files[] = 'modules/jjwg_Maps/DataTables/Readme.txt';
589          $files[] = 'modules/jjwg_Maps/DataTables/license-bsd.txt';
590          $files[] = 'modules/jjwg_Maps/DataTables/package.txt';
591 return $files;
592 }
593 }

Here’s the upgrade_progress.php content:

<?php
// created: 2018-04-03 16:11:19
$upgrade_config = array (
  1 =>
  array (
    'upgrade_vars' =>
    array (
      'install_file' => 'upload://upgrades/patch/SuiteCRM-Upgrade-7.10-to-7.10.3.zip',
      'unzip_dir' => '/opt/SuiteCRM/cache/upgrades/temp/cMZTVj',
      'zip_from_dir' => 'SuiteCRM-Upgrade-7.10-to-7.10.3',
    ),
  ),
  2 =>
  array (
    'upload' => 'done',
  ),
  3 =>
  array (
    'preflight' => 'done',
  ),
  4 =>
  array (
    'commit' =>
    array (
      'commit' => 'done',
      'commitMakeBackupFiles' => 'done',
      'pre_install' => 'done',
      'commitCopyNewFiles' => 'done',
      'post_install' =>
      array (
        'post_install' => 'done',
        'sql_query' => 'done',
      ),
      'upgradeHistory' => 'done',
    ),
  ),
  5 =>
  array (
    'layouts' => 'done',
  ),
  6 =>
  array (
    'end' => 'in_progress',
  ),
);

still showing “in progress” for the end phase. Should I complete that phase manually, or can it be ignored?
Thanks

1 Like

My upgrade worked fine on both servers. It did not, however, redirect to the about page that it usually does.

That’s exactly what happened to mine (no redirect to about page, just a blank page, with the menu above), could you please check if you have the same error in php_errors.log?

I’m just worried about having some missing parts in the process hanging around.

I had the same issue on update as @stefanom
I logged out and back in again right after the issue of the blank page.
I am still occasionally seeing blank pages.
I don’t see any issue in the log.

But, there is no 7.10.3 update in the list of applied upgrades. ???

How’s your upgrade_progress.php file? Is it still there or has it been removed?

Mine’s here:
cd /opt/SuiteCRM/cache/upgrades/temp
ll
totale 28
drwxrwxr-x 6 www-data www-data 4096 apr 3 17:09 ./
drwxrwxr-x 3 www-data www-data 4096 lug 19 2017 …/
drwxrws— 4 www-data www-data 4096 apr 3 16:10 5o6hPZ/
drwxrws— 4 www-data www-data 4096 apr 3 17:26 cMZTVj/
drwxrws— 4 www-data www-data 4096 apr 3 16:09 FGLyk0/
drwxrws— 2 www-data www-data 4096 apr 3 16:09 H442pq/
-rw-r–r-- 1 www-data www-data 880 apr 3 16:11 upgrade_progress.php

Not totally sure, but I think these files are deleted after successfully completing the upgrade, as I don’t find any file from previous upgrades.

Updated the 7.10.x -> 7.10.3 package to remove the additional closing brackets.

if your upgrade fail to complete then you can re-install the same package (perhaps rename the zip when you download it) via the upgrade wizard and it will re do the upgrade process.

Thanks for raising this!

mine left the end as in process.

I have only the upgrade_progress.php file.

ll /var/www/suitecrm/cache/upgrades/temp/
total 12K
drwxrws--- 2 www-data www-data 4.0K Apr  3 11:44 .
drwxr-s--- 3 www-data www-data 4.0K Jan 27 14:13 ..
-rw-r--r-- 1 www-data www-data  185 Apr  3 11:48 upgrade_progress.php

Not sure why it doesn’t show the 7.10.3 update but as per @samus-aran I’ll run it again.

Upgrade wizard no longer pulls up on one server, does on the other. Did a repair on both. No change on the one that won’t pull up. 7.10.3 on Ubuntu 16.0.4 on AWS.

On one server where I could get to the upgrade wizard I ran again against a freshly downloaded upgrade zip. This time it worked, it took a while, but it worked. Eventually landed on the about page as it is supposed to.

What should I do on the other one where the upgrade wizard no longer comes up? Even after a repair?

Thanks.

Charles

Re-running with the updated upgrade zip went without issue and it shows 7.10.3 as the last updated package.

Thanks for fixing so quickly.

So, I downloaded the new zip file, ran the upgrade again, and got to the end with no errors. After clicking the last DONE icon, landed on the About page, as expected. Version showed is:

Version 7.10.3
Sugar Version 6.5.25 (Build 344)

I checked the suitecrm.log, found two errors:

Tue Apr  3 18:34:05 2018 [17157][1][FATAL]  Query Failed:  ALTER TABLE email_addresses ADD confirm_opt_in VARCHAR(255) DEFAULT 'opt-in' NULL: MySQL error 1060: Duplicate column name 'confirm_opt_in'
Tue Apr  3 18:34:17 2018 [17157][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteP/modules is not a file or a dir.

The duplicate column error was expected, as I had previously run the upgrade, so that column had already been added to the DB.

The second error is something related to the SuiteP theme, I still need to investigate on this one.

Thank you for the quick fix.

Well… The update broke Check Inbound Mailboxes… The cronjob is simply not working anymore. How on earth is that possible and how is it fixable.

I had to run back to my back-up because this patch is breaking more stuff than fixing. For example, for some reason with other language packs the whole sidebar panel doesn’t contain the options (like create mail etcetera). That was a bug in 10.0 and was fixed in 10.2, but it’s back again. Furthermore it’s breaking the cronjob… as in - the cronjob is working, i can see it’s working in syslog, the task list in SuiteCRM says “done”, however, the “Last run succesfully” is not being changed and albeit it’s saying done, i’m not receiving emails in cases.

I didn’t have the time to check this further. I was hoping it would fix some much-needed mail-formatting issues, but this is not a workable version. I would retract 10.3 immediately until those issues are fixed.

1 Like

Great Work.

I am concerned about bugs that get introduced when supposedly a patch fix release.

Eg Icons for dates are all “Telephone” icons and Create User option missing from User panel in Admin.
How does this get through QA?

If we are to crash test in production, PLEASE make sure that Git Hub is well signposted/tagged for fixes and that fixes are easy to apply.

Perhaps we are github nubies but why does new code have a “+” at the start of each new line, when to deploy we have to remove them. Ok for 30 lines of code, but not much fun if more.

Given that all SuiteCRM users need to be GDPR compliant, could we add a TAG for GDPR Compliance open issues, and make sure that they get priority over everything else (apart from reinstalling removed pre exisiting functionality).

Time to install an upgrade = 5 minutes
Time to test = 100’s of hours all due to lack of QA in build…

Small request : Could someone add to Github a request to have the ability to display Favorite as Favourite, this will avoid the need to deploy language packs. (We gave up with these already. They crashed everything.)

Cheers

After installed 7.10.3 and a lot of issues I have a question.
How back to 7.10.1 and updage 7.10.2 only?

Can I do it with Wizard only?

Thanks.
Alexey

1 Like

You can revert to a backup you (should have) made before the upgrade. Other than that, there is no “way back”.

7.10.4 should be coming out very soon, maybe tomorrow if testing goes well. It will contain several important fixes.

1 Like

Thank you for the answer. Its good news for us.
I have to deploy the CRM for testing evnirement soon.

I saw about repeating bugs which were fixed in 7.10.2 :slight_smile: Happens…
I thnik I don’t need add some bug reports :slight_smile:

Best regards, Alexey

Dear Administrator,

One more question about backup with Backup Wizard.
I see "The purpose of this tool is to assist in creating backups of the SuiteCRM application files. (Database backups should also be performed regularly. ".

Does it mean exactly that there are only apllication files and database dump I have to do always myself?

Thanl you.