Downgrade from elasticsearch 5.1.1 to elasticsearch 2.4.1 - elasticsearch-5

I want to downgrade my elasticsearch from version 5.1.1 to 2.4.1. Is this possible?

Related

How can I upgrade from rails 6.1.4 to rails 7 and remove webpacker the previous version?

I installed rails version 6.1.4 but now I'd like to go to version 7.0.0 and remove the webpacker that was installed by default in its entirety
If you could help me I'd be grateful

Which version of Ruby do I need for Rails 5.2.3?

I'm looking to install the latest LTS version of Rails (5.2.3 at the time of writing)
https://weblog.rubyonrails.org/2019/3/28/Rails-5-2-3-has-been-released/
Which version of Ruby do I need for Rails 5.2.3?
Rails 5 requires minimum 2.2.2, but you'll be perfectly fine on latest stable 2.6.3 (at the time of writing)

Rails install suddenly requires concurrent-ruby gem and fails

After a system upgrade to macOS 10.14 I am suddenly unable to install Rails 3.2.5 on Ruby 1.8.7, since a new gem is required now: Concurrent-ruby.
I was able to install and use this system on macOS 10.13. Why is concurrent-ruby suddenly a requirement? How can I find a way to get on without it?
I found a solution.
I used to install some gems before installing Rails 3.
These were:
rdoc-data -v 3.12
i18n -v 0.6.11
execjs -v 1.4.0
rack-cache -v 1.2
rails -v 3.2.5
I found out that I had to install
rack -v 1.4.7
before installing
rack-cache -v 1.2
Now I am again able to install Rails 3.
Somehow the install process must have loaded the requirements for a newer version of i18n, since later versions of this gem require concurrent-ruby.
Rails 3.2.5 on Ruby 1.8.7? Do you need that old versions?

ionic app runs on iOS 10.1 emulator perfectly, but errors when deployed to a device

I have an ionic application that i have been deploying to google play and itunes store successfully. All the current functionality works great on all android devices tested.
For iOS, I am able to see all the functionality working great using
ionic emulate ios --target="iPhone-6-Plus"
(Or any target, really!)
When I build an ipa following the normal steps on https://ionicframework.com/docs/guide/publishing.html ... and upload the ipa to testobject.com and I cannot get the same successes.
For iOS platform 8.0, 8.1, and 8.2 the app will load, but some functionality doesn't work.
For iOS platform 8.3 - 10.1 the app either loads a blank white page, or a red page with an error stack I cannot read.
What are the normal debugging steps for this type of scenario? Like i said i can build to an emulator just fine...
Here is my plugin list.
kirbsah$ ionic plugins list
cordova-plugin-actionsheet 2.3.1 "ActionSheet"
cordova-plugin-app-version 0.1.9 "AppVersion"
cordova-plugin-camera 2.3.0 "Camera"
cordova-plugin-compat 1.1.0 "Compat"
cordova-plugin-console 1.0.4 "Console"
cordova-plugin-device 1.1.3 "Device"
cordova-plugin-splashscreen 4.0.0 "Splashscreen"
cordova-plugin-statusbar 2.2.0 "StatusBar"
cordova-plugin-whitelist 1.3.0 "Whitelist"
cordova-plugin-x-socialsharing 5.1.3 "SocialSharing"
ionic-plugin-deploy 0.6.5 "IonicDeploy"
ionic-plugin-keyboard 2.2.1 "Keyboard"
phonegap-plugin-push 1.8.1 "PushPlugin"
Here is my ionic information
Your system information:
Cordova CLI: 6.4.0
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 1.2.4
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
ios-deploy version: 1.9.0
ios-sim version: 5.0.12
OS: Mac OS X Sierra
Node Version: v7.0.0
Xcode version: Xcode 8.1 Build version 8B62
Any help or direction appreciated. I would assume the problem is somewhere in my xcode build process... but i'm just following documentation.

Grails clean command throwing Null Pointer Exception

We are planning to upgrade Grails for our application from version 2.0.1 to 3.1.1. On executing
grails clean --stacktrace --verbose
I am getting the exception given below:
| Error Error occurred running Grails CLI: null
java.lang.NullPointerException
at org.grails.cli.GrailsCli.initializeProfile(GrailsCli.groovy:504)
at org.grails.cli.GrailsCli.initializeApplication(GrailsCli.groovy:308)
at org.grails.cli.GrailsCli.execute(GrailsCli.groovy:271)
at org.grails.cli.GrailsCli.main(GrailsCli.groovy:162)
| Error Error occurred running Grails CLI: null
I also tried by setting GRAIL_OPTS but it is still not working.
set GRAILS_OPTS="-XX:-UseSplitVerifier -Xverify:none"
Environment details:
| Grails Version: 3.1.1
| Groovy Version: 2.4.5
| JVM Version: 1.8.0_74
Any pointers will be appreciated.
Thanks.
In a grails 3.2.11 project you would solve this in the following way.
Look in /gradle.properties to see what grailsVersion is set to. Mine looks like this:
grailsVersion=3.2.11
Open a command window and check your grails version
$ grails -version
| Grails Version: 3.2.11
| Groovy Version: 2.4.11
| JVM Version: 1.8.0_144
They should match. If they do not, use sdkman to set or install the correct version
$ sdk list grails
================================================================================
Available Grails Versions
================================================================================
* 3.3.3 3.2.12 3.1.14 3.0.17
* 3.3.2 > * 3.2.11 3.1.13 3.0.16
3.3.1 3.2.10 3.1.12 3.0.15
* 3.3.0.RC1 3.2.1 3.1.11 3.0.14
3.3.0.M2 3.2.0 3.1.10 3.0.13
* 3.3.0.M1 3.1.9 3.1.1 3.0.12
3.3.0 3.1.8 3.1.0 3.0.11
* 3.2.9 3.1.7 3.0.9 3.0.10
* 3.2.8 3.1.6 3.0.8 3.0.1
3.2.7 3.1.5 3.0.7 3.0.0
3.2.6 3.1.4 3.0.6 * 2.5.6
3.2.5 3.1.3 3.0.5 * 2.5.5
* 3.2.4 3.1.2 3.0.4 * 2.5.4
* 3.2.3 3.1.16 3.0.3 2.5.3
3.2.2 3.1.15 3.0.2 2.5.2
================================================================================
+ - local version
* - installed
> - currently in use
================================================================================
If you don't see your version, install it
$ sdk install grails 3.2.11
Then set it to your default
$ sdk default grails 3.2.11
Generally, this exception is encountered when you try to run Grails CLI (grails command) within a directory holding an app based on an older version of Grails.
Also it's always worth checking the $PWD for leftovers of a previous Grails app.

Resources