Forums › Forums › OroCommerce › v1.3.0CE upgrade
This topic contains 13 replies, has 3 voices, and was last updated by The Jackal 6 years, 7 months ago.
Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.
- CreatorTopic
- August 10, 2017 at 2:58 pm #32019
Hi,
I upgraded to the most recent 1.3 CE from 1.0 and ran platform:update runs without any errors. (my system ubuntu 16.04LTS, followed the upgrade instructios in https://www.orocrm.com/documentation/2.0/cookbook/how-to-upgrade-to-new-version)
However, after unlocking from maintenance, the web page returns a blank page.
Something is definitely went wrong. How do I see what went wrong? (the app/logs/prod.log shows no errors) or am I missing anything from the upgrade instructions?
Thanks for any help or tips!
Jackal
- CreatorTopic
- AuthorReplies
- August 10, 2017 at 3:30 pm #32020
Update
——
Managed to find the error in log/nginx/oroapp_error.log. It’s the cache permissions. It is working now.Thanks!
August 10, 2017 at 4:08 pm #32021Hi,
When I went to the admin, system information…I still see the following:
oro/redis-config 2.0.0-beta.1 MIT
oro/doctrine-extensions 1.0.13 MIT
oro/platform 2.0.0 MIT
oro/marketing 2.0.0 OSL-3.0
oro/crm-task-bundle 2.0.0 OSL-3.0
oro/crm-call-bundle 2.0.0 OSL-3.0
oro/calendar-bundle 2.0.0 OSL-3.0
oro/crm 2.0.0 OSL-3.0
oro/platform-serialised-fields 2.0.0 OSL-3.0
oro/commerce 1.0.0 OSL-3.0
oro/commerce-crm 1.0.0 OSL-3.0It still shows oro/commerce 1.0.0. Is that correct?
August 11, 2017 at 6:02 am #32022hello @The Jackal,
what is the output of
1composer show oro/commerce?
Regards,
Daniel NahrebeckiAugust 11, 2017 at 8:17 am #32023Hi Daniel,
it shows:
PHP12345name : oro/commercedescrip. : OroCommerce - an open-source Business to Business Commerce application. \nThis package contains bundles and needs to be added as a dependency in an OroCommerce application.keywords :versions : * 1.0.0type : libraryAugust 11, 2017 at 8:56 am #32024Hi @The Jackal.
Which type of update are you using?
“Checkout from the GitHub Repository” or “Download the Source Code Archive”Are you sure that you have downloaded newest version of orocommerce?
August 11, 2017 at 9:07 am #32025Hi iantypenko,
I checkout to a new branch that I created called branch1.3.0 from the tag 1.3. This is my git branch status below:
PHP123$ git branch -vv* branch1.3.0 fe73af8 Preparing release changemaster 34d7580 [origin/master] Merge remote-tracking branch 'GitHubOroCommerce/master'fe73af8 is the same checksum as the original 1.3.0 tag in github.
August 11, 2017 at 9:25 am #32026It looks like that packages were not updated.
Next command should update packages.
What the command returns?Shell1php composer.phar install --prefer-dist --no-devAugust 11, 2017 at 10:20 am #32027Hi iantypenok,
Thank you! That’s the command that I have been missing!
The admins should really consider updating the default orocrm update instructions for orocommerce.
For everyone else, there are 2 instructions that are missing:
PHP123$sudo php composer.phar self-update$sudo php composer.phar install --prefer-dist --no-devAdd the above 2 before the plaform:update command
Thanks!!
August 11, 2017 at 8:53 pm #32028Hi,
I tried to run oro:update and I encountered this error:
PHP12345678[RuntimeException]Tracing dependencies for: /var/www/domain.com/html/orocommerce-application/app/../web/js/oro.min.jsUglify file: /var/www/domain.com/html/orocommerce-application/app/../web/js/oro.min.jsKilledoro:requirejs:build [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-s|--shell] [--process-isolation] [-e|--env ENV] [--no-debug] [--current-user CURRENT-USER] [--current-organization CURRENT-ORGANIZATION] [--disabled-listeners DISABLED-LISTENERS] [--] <command>The command terminated with an exit code: 1.How do I get past this error? Any help appreciated!
August 12, 2017 at 6:32 pm #32029I tried to clear cache again by running
rm -rf app/cache/*
rm -rf web/js/*
rm -rf web/css/*It still failed at
PHP12345678910111213Cleaning up18:26:07 [file+] /var/www/domain.com/html/orocommerce-application/web/js/layout/custom/js/oro.min.jsGenerating require.js configRunning code optimizer[RuntimeException]Tracing dependencies for: /var/www/domain.com/html/orocommerce-application/app/../web/js/oro.min.jsUglify file: /var/www/domain.com/html/orocommerce-application/app/../web/js/oro.min.jsKilledoro:requirejs:build [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-s|--shell] [--process-isolation] [-e|--env ENV] [--no-debug] [--current-user CURRENT-USER] [--current-organization CURRENT-ORGANIZATION] [--disabled-listeners DISABLED-LISTENERS] [--] <command>The command terminated with an exit code: 1.Any suggestions? At wits end.
August 14, 2017 at 12:18 am #32030We have instruction for oro commerce too:
https://oroinc.com/b2b-ecommerce/documentation/current/dev-guide/install-upgrade-and-patch/how-to-upgrade-to-new-versionIt has mentions about orocrm instead of orocommerce, but it will be fixed soon.
According to “Killed” in your log I think your system kills process because system doesn’t have enough memory.
August 14, 2017 at 9:02 am #32031Hi Iantypenko,
That makes sense! I didn’t think about that. ok, will enlarge the memory and retry.
I totally missed the orocommerce upgrade instructions. The blog should point to that instead of the usual orocrm.
Many thanks again!
August 15, 2017 at 1:59 pm #32032Just an update … I ran with –timeout 0 and it ran successfully! Thanks Iantypenko!
- AuthorReplies
The forum ‘OroCommerce’ is closed to new topics and replies.