Forums › Forums › OroPlatform › OroPlatform – Installation/Technical Issues or Problems › Ajax error when updating platform or installing package
This topic contains 15 replies, has 7 voices, and was last updated by Roman Grebenchuk 8 years, 6 months ago.
Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.
- CreatorTopic
- October 1, 2014 at 6:17 am #35032
Hi, I wanted to update platform and crm but keep getting “ajax error” message. This also happens when trying to install package. Is this a permission issue or something else? Thanks.
- CreatorTopic
- AuthorReplies
- October 2, 2014 at 11:51 am #35033
Hey! Could you please share logs with us from app/logs and webserver logs. Usually this kind of errors are related to webserver timeout or max_execution time.
October 3, 2014 at 7:29 am #35034Hey, it does seem to be an issue with memory:
1[Thu Oct 02 15:47:21 2014] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32 bytes)But, this is our VPS and we have memory set to 512M and max execution time to 6000. That should be more than enough for this, no?
There were no errors in prod.log in app/logs, only in our server error log.
October 4, 2014 at 2:37 pm #35035Hello!
Yep, it’s strange, as far as I remember recommended limit is 512 MB. Do you run installation in prod mode or dev ? (using app.php or app_dev.php)
As a quick solution I can recommend to install from CLI runningphp app/console oro:install --env=prod
October 4, 2014 at 3:15 pm #35036I will try with CLI.
I didn’t see in installation docs anything about app.php or app_dev.php, we have both files. How can I check which one is running? And how do you switch between the 2?November 24, 2014 at 12:41 am #35037Hello!
I have the same error. So I updated Orocrm application using CLI. Everything works well, except in my GU. When I go to System > Package manager I can see that Oro/application and Oro/CRM are installed. But they asked me again to update to version 1.4.1. The current version for both packages is dev-master?
How can I change that to current version, so the system don’t ask me again to update untill a new version will be available?
Best regards,
Jan WillemJanuary 28, 2015 at 10:48 pm #35038$php -d memory_limit=2G app/console oro:install
May 11, 2015 at 6:16 am #35039I had time now to play more with this. We are getting error in CLI trying to install packages. We meet all server requirements, and also tried increasing memory to 2gb.
1The command ""/usr/bin/php" "/home/public/website.net/public_html/platform-application/app/console" oro:package:demo:load /home/public/website.net/public_html/platform-application/vendor/atwix/oro-mandrill/src/Atwix/Bundle/MandrillBundle --env=prod" failed. Exit Code: 1(General error) Output: ================ Error Output: ================ [InvalidArgumentException] The "fixtures-type" option does not exist. oro:package:demo:load [--dry-run] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-s|--shell] [--process-isolation] [-e|--env="..."] [--no-debug] [--jms-job-id="..."] [--current-user="..."] [--current-organization="..."] [--disabled-listeners="..."] command package1 ... [packageN]We tried wiping out ORO and re-installing, but still running into these errors with the latest stable version. Would really appreciate some insight on this.
May 12, 2015 at 6:04 am #35040Thank you for reporting issue. Extension installation with demo data will generate error. We will fix it as soon as possible
May 12, 2015 at 6:07 am #35041Roman, is it possible to install it without demo data so we can proceed? Demo data isn’t important to us. Thanks.
June 16, 2015 at 10:47 am #35042Was this issue fixed in 1.7.1?
June 16, 2015 at 12:16 pm #35043Yes, issue was fixed in 1.7.1
June 19, 2015 at 5:34 pm #35044Thanks Roman. Where is 1.7.1? Download page still has 1.7.0 listed.
August 17, 2015 at 8:51 am #35045Issue not fixed. In 1.7.6 I still get the ajax errors in the GUI when trying to update or install packages.
We also run Ubu 14 and have 512M memory set with longer time-out. PHP is 5.5
No demo data installed, just clean and plain install, installed by CLI (which also needs –timeout=3600 –process-isolation to be able to finish)
This machine runs SSD disks in raid. Magento is flying on the same VPS.
OROCRM seems slow but I noticed this also on some of the demo’s.Don’t see errors in the logs.
Reinstalled a fresh version but I keep getting the same issues.
September 29, 2015 at 5:28 am #35046which is the command syntax to update or install a package by the cli?
thanks
September 30, 2015 at 1:39 am #35047Install a package by the cli is described in following topic
http://oroinc.com/orocrm/doc/current/cookbook/how-to-install-extension-from-command-line#using-composer
Pay attention composer requires more than 1Gb memory. - AuthorReplies
The forum ‘OroPlatform – Installation/Technical Issues or Problems’ is closed to new topics and replies.