How to install a different version of Elasticsearch in DDEV - elasticsearch

I just installed the elasticsearch (https://github.com/drud/ddev-elasticsearch) add-on on my DDEV site, which is listed on the ddev documents:
https://ddev.readthedocs.io/en/latest/users/extend/additional-services/
The problem is that I need to downgrade the Elasticsearch version to 7.6 and this add-on installed Elasticsearch at version 7.17.6.
I cant not find additional documentation on how to install the specific version of this Elasticsearch add-on, I see that the version is listed in the docker-compose.elasticsearch.yaml file, I tried changing it there, but it complain.
Any tips or reference will be appreciated, thanks

Using https://github.com/drud/ddev-elasticsearch mostly just installs a docker-compose.elasticsearch.yaml for you. You can change the version there.
Change image: elasticsearch:7.17.6 to an appropriate value. image: elasticsearch:7.6.2
You have to look at https://hub.docker.com/_/elasticsearch/tags to see what tags are available, but it looks like you probably want 7.6.2.

Related

why can't I see kibana in my browser? instead of it, I see the classic error 404 not found

I have been trying to instal elasticsearch with all its components; the first time it was great but I'm a beginner in in IT, so I decided unistall it to practice, them when I tried to install it again, I got the error I mentioned before.
I gotta be honest guys! I didn't know that when you uninstall elasticsearch you uninstall its components, so i tried to uninstall kibana too, but I think I deleted files that might be I've shouldn't.
this is the gui I used to install it
https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elastic-stack-on-ubuntu-18-04-es
The server has Ubuntu 18.4 and it has nginx intalled correcty.
I hope you can help me please!
Can you check these below points:
Elasticsearch is up and running
Kibana is properly configured with Elasticsearch (check kibana's configuration file)
Check Kibana logs for error
If you have covered the above 3 points and still facing issue, then please provide the kibana configuration file and kibana logs here.

Running Elastic without the Trial License

Background:
I'm trying to use the Elastic stack (Elastic, Logstash & Kibana), but I have no money to pay. I don't mind using the parts that are closed source, as long as they are free. In this regard, I'm trying to understand how Elastic Licensing works.
We Opened X-Pack seems to suggest that after Elastic 6.3 the X-Pack Code is included (though with a different license). I also understand that some parts of X-Pack are free, but other's are not. This is all a bit confusing.
Objective: I would like to run Elastic stack with all of the free stuff, and none of the paid stuff.
What I have done so far:
I'm on Linux but I have chosen not to use the distribution package repositories i.e. I would like to use the downloads provided by Elastic Co. For Elastic and Kibana, I have downloaded and extracted the tar.gz version 6.5.4 GA Release from https://www.elastic.co/downloads/elasticsearch and https://www.elastic.co/downloads/kibana For most part, I did not set any options, so I assume my setup used the defaults. Both Elastic and Kibana started up, without any issues. I'm running these on the commandline for now.
From the logs, I noticed that the install had been granted a trial version license for 14 days or something like that. Since I did not want to use the license, I used the Delete license API i.e. I ran
curl -X DELETE "localhost:9200/_xpack/license"
This worked in a sense i.e. I got the {"acknowledged": true} response. I thought this would get rid of the xpack stuff that was not free, but unfortunately, it didn't. I still saw some of the x-pack stuff in the startup.
I then tried to do what is mentioned in Uninstalling X-Pack. I know this is old, but I did not know how to do it in the newer version. Anyway, if I run the commands:
bin/elasticsearch-plugin remove x-pack
I get the error:
ERROR: plugin [x-pacl] not found; run 'elasticsearch-plugin list' to
get the list of installed plugins
And elasticsearch-plugin list doesn't return anything.
If I run
bin/kibana-plugin remove x-pack
I get:
Unable to remove plugin because of error: “You are using the standard
distribution of kibana. Please install the OSS-only distribution to
remove the X-Pack features.”
Now my Kibana does not run, complaining that:
Elasticsearch cluster did not respond with license information..
i.e. it does start up, but when you go to the webpage it tells me that it Cannot connect to the Elastic cluster
Questions:
What is the OSS-only distribution and where do I download it?
Is there anyway to not use the trial version license of elastic and use
all of the parts that are free (as in cost/price) and would not
expire after x-days? I would like to use all the X-Pack stuff that's free, and not use the X-Pack stuff that's paid.
Since version 6.5 there is not a standalone x-Pack plugin anymore, all the x-pack features are integrated in the Elastic Stack.
If you want to run the Elastic Stack using only the free features, which means that you will use the free basic license, you need to set your license in the elasticsearch.yml file using the line below (more info):
xpack.license.self_generated.type: basic
This will disable the trial and enable only the free features.
If you want to run the stack using only the features licensed under Apache 2.0 license (the open source version), you need to download the oss packages for elasticsearch, kibana and logstash.
You can download it here: elasticsearch-oss,kibana-oss and logstash-oss
You can see the differences between the OSS version and the Free Basic license in the subscriptions page.
Elastic have published a apache-only-open-source distro with just free components:
https://www.elastic.co/es/downloads/elasticsearch-oss
On the other side, AWS have taken last apache-open source versions from Elastic-Apache and have created a new open source distro forking from that and including new functionalities, and functionalities that are no more open source in last Elastic version, like Kibana
https://opendistro.github.io/for-elasticsearch/downloads.html
To know more about the licenses war: https://grafana.com/blog/2019/03/20/everything-you-need-to-know-about-the-oss-licensing-war-part-1./

Elasticsearch 2.3 on Debian

we've recently upgraded from 1.4 to 2.3 and we can't seem to get our 1.4 indexes working. Anyone dealt with this issue?
We've tried updating the config files, copying the data to a "2.3" folder and ES just keeps crashing.
This is where our data is:
/var/lib/elasticsearch/elasticsearch_cognac
But updating the config file just add another '/elasticsearch' directory so it looks like this:
/var/lib/elasticsearch/elasticsearch_cognac/elasticsearch
Any help would be appreciated
You should first check if your 1.4 mappings are compatible with 2.3 before attempting the migration.
There is a specific plugin, called migration, that you need to install in your 1.4 cluster in order to get some insights whether you need to make some changes first (it looks like you do) or not.
Go to your 1.4 installation folder, and install the plugin
./bin/plugin -i elastic/elasticsearch-migration
Then start your ES and go to http://localhost:9200/_plugin/migration
You'll get plenty of info about what you need to change before attempting a migration.

Is there a way to download previous versions of Bitnami WAMP stack?

I have an application that works on a previous version of the WAMP stack.
There are couple of changes in Apache, which were not relevant when the application was on that stack, but now are. This also prevents the application to run on the current stack.
To get it working, I need the older version of WAMP stack. Any way I can download that? Or a suggested path to upgrade to newer versions of the WAMP stack?
Thanks
You can search for it in archive.org.
The file has the same url but it's not linked in the description page.
For example, now I need the dmg file of the version 3.0 of redmine, so I go to: https://web.archive.org/web/*/https://bitnami.com/stack/redmine/installer
And copy the url from the download link from a date prior to the launch of the 3.1 version.
Bitnami developer here. You can request the version of the stack that you want in the community forum of Bitnami. You have to create a new post and tell the stack and the version that you want. https://community.bitnami.com
I hope it helps.

reg.ru - how do I update Xwiki via Jelastic?

This is directed at Reg.ru support team: I'd liek to update the version of XWiki from 6.0 to the latest version but I don't know how to. I think you guys might have to update your repository. Could you please let me know if this is possible?
Thank you,
Kevin
On the official Xwiki site is provided good instructions. You can find it by the following link - http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade
I have easy upgraded my Xwiki version from the 6.0.1 to the 6.4.2 (http://xwiki-1320854.jelastic.regruhosting.ru/).

Resources