Announcement

Collapse
No announcement yet.

EspoCRM v7.3.0 released

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • murugappan
    commented on 's reply
    @yuri,

    Hi, thank you for the feedback. My server guys fixed the problem. It appears that there was global limit set in the php.ini which appears to override the limit i set in the local domain. After setting the global parameter it works fine now. The developers of PHP were also helpful. Thank you so much. This topic stands closed.

  • yuri
    commented on 's reply
    ini_set is applied only to the current process. But upgrade executes in multiple processes. You need to change your memory limit for PHP for CLI.

  • esforim
    commented on 's reply
    My apology... here is my experience. It might be different from you if you already using v8.1

    1) Use CLI to run upgrade.
    2) CLI Upgrade to one latest EspoCRM version allow.
    3) Upgrade complete, upgrade again: CLI show no error except it say to "7.4 PHP" no longer supported.
    4) Go to server User CP / Control Panel / GUI of My Shared Hosting Server,
    5) Change PHP version to 8.1 (or PHP 8). Go back to CLI and try Upgrade command again.
    6) It run for about 5 minutes
    7) Done.

    But your server probably will be much longer I assume since I know you have big database.

  • murugappan
    replied
    HI yuri



    Please accept my apologies for posting my investigation here. I posted by problem under another topic under the Installation and Upgrade category but did not get much attention or help. This is related to memory_limit error when upgrading from 7.2.7 to 7.3.2 under PHP 8.1.12 which i also posted above. After further investigation. this is what i did:

    (1) I modified the code in upgrade.php to set the memory_limit in the code as below:

    Click image for larger version  Name:	memory-error1A.png Views:	0 Size:	25.9 KB ID:	87608

    (2) Then ran the upgrade as per cli "php command.php upgrade".
    (3) This time the memory-limit error went away and the upgrade started but terminated abruptly with the following message:


    Code:
    Espo\Core\Exceptions\Error::__construct(): Argument #1 ($message) must be of type string, null given, called in /home/sysdev/public_html/wellnessclinictstx/application/Espo/Core/Console/Commands/Upgrade.php on line 379
    Please advise/help.
    Last edited by murugappan; 01-30-2023, 03:52 AM.

    Leave a comment:


  • murugappan
    commented on 's reply
    esforim, I am sorry could not understand what you have done.

  • esforim
    commented on 's reply
    I change my GUI with my host's UserCP, here the step I did:
    Compatibility: PHP 8.2 support Drop PHP 7.4 support Enhancements: Working Calendar #2415 (https://github.com/espocrm/espocrm/issues/2415) Logging in as another user for admin #2444 (https://github.com/espocrm/espocrm/issues/2444) OIDC authentication #2455 (https://github.com/espocrm/espocrm/issues/2455) Email: Group

  • murugappan
    replied
    Hi All,

    Has anyone upgraded using PHP 8.1.x? I performed the upgrade and all i got was "downloading..." and then process died just like that. I tried upgrading with PHP 8.0.7 and it worked fine. Anyone facing this problem? Appreciate any help.

    On testing further, I found that I was getting the following error in the error.log:


    PHP Code:
    Allowed memory size of 33554432 bytes exhausted (tried to allocate 14976300 bytesin /home/sysdev/public_html/wellnessclinicx/application/Espo/Core/Console/Commands/Upgrade.php on line 294 


    I have set the memory_limit to -1 and also 1024M. Nothing seems to work. Its odd when i do the same upgrade with PHP 8.0.7 it seems to work fine.​
    Last edited by murugappan; 01-26-2023, 03:18 AM.

    Leave a comment:


  • murugappan
    replied
    Oh boy, the time i was expecting has come. I have many apps to migrate. Oh well, thats what keeps my boys on the job.

    yuri, all the improvements and enhancement are great. Love the calendar enhancements. I was hoping and praying for them. I just created an instance and built a Clinic Management System. Only wish the items on the calendar can show the user assigned as well. That way the doctor assigned can see it at a glance. This will help identify whose appoint each one is. May be it can be done but not sure how. Great Job! I have recommended Espocrm to many users in Joomla forum as well and the excitement has started.

    Thank you so much.

    Leave a comment:


  • nickh
    replied
    Hi yuri
    Have upgraded multiple instances from 7.2.7 -> 7.3.2 using CLI. All went fine.
    Now noticed all instances and all users are not receiving mail in the inbox. All connections are fine - outlook and IMAP, and scheduled job "check personal email accounts" returning "Success".
    Email simply does not appear
    Any suggestions please?

    PHP 8.0.27
    System Requirements all met

    One of our users has reported many of their email filters are missing.

    Hi again yuri
    Please ignore that details above. This was caused by my server requiring the PHP version in the CRON job, As I upgraded PHP version to 8.0.27 from 7.4, I simply needed to amend the CRON job.

    Still blown away by this product and the support you provide.!!
    Last edited by nickh; 01-20-2023, 03:42 PM. Reason: Because I am stupid sometimes

    Leave a comment:


  • esforim
    commented on 's reply
    REPORTING IN:

    Update all good (as far as I can tell). CLI show no error except it say to "7.4 PHP" no longer supported, so just change it to 8.1 (or PHP 8) and try CLI update again.

  • yuri
    replied
    If one run into an issue that upgrade failed with the error:

    SQLSTATE[42S22]: Column not found: 1054 Unknown column 'user.working_time_calendar_id' in 'field list'

    try the following:

    1. Rebuild from CLI:
    Code:
    php rebuild.php
    2. Run upgrade again.

    Do not use `-s` parameter with the upgrade command. Its purpose to run upgrade in a single process. Use it only if your environment requires (might be needed on shared hosting providers).
    Last edited by yuri; 01-11-2023, 07:22 AM.

    Leave a comment:


  • yuri
    commented on 's reply
    Upgrade is published.

    Don't forget to backup if you upgrade a production.

  • esforim
    commented on 's reply
    Was just about to complain!

  • yuri
    replied
    Upgrade not ready yet.

    Leave a comment:


  • yuri
    replied
    If you run into issues with upgrade, create a separate topic in the corresponding section.

    Don't forget to backup if you upgrade a production. Upgrade a test environment first.

    Most issues after upgrade are related to environment upgrade (PHP, webserver, file permissions, crontab, etc.). Please try not to overwhelm our support with urgencies "nothing is working, no backup".

    See recommendations.
    Last edited by yuri; 01-15-2023, 08:42 PM.

    Leave a comment:

Working...
X