How to download the previous releases of the opendistro elasticsearch and kibana - elasticsearch-opendistro

I have opendistro elasticsearch 1.10.1 running in my machine. I want to try the same version of kibana. But from the opendistro website, only the latest version is available for download. I am unable to download the previous releases.

Raised this issue with the OpenDistro team on their Github page. The answer is, for now, there is no page available to download the earlier releases directly from the site. Instead, they have provided a link where we can mention the required version and download it.
Refer to the link for the answer,
https://github.com/opendistro-for-elasticsearch/opendistro-build/issues/665

You can download the previous releases using this link - https://opendistro.github.io/for-elasticsearch-docs/docs/previousversions/

Related

Upgrade Jenkins on CentOS

I am trying to upgrade Jenkins from version 2.176.1 to 2.375.2. I tried two methods and both of them failed.
Method-1: Download the jenkins.war and copy it into /usr/lib/jenkins/ directory by replacing the original one. After copying, when I restart Jenkins, it simply fails to restart.
Method-2: Upgrade Jenkins' RPM using yum update jenkins. This command runs successfully and process exists without any error. But, again when I restart Jenkins, it fails to start.
CentOS version: CentOS-7
First of all - I can only support opinion of Dmitriy Tarasevich about reading upgrade guides. You can find theme here: https://www.jenkins.io/doc/upgrade-guide/
Then - stick to the version upgrade process that you've used previously (or for the first time with installation). If you did install it via .*war, don¨t worry and use your Method-1. On the other hand, if you used yum, stick to that method-2.
Then - such a "big" upgrade at once from 2.176.1 to 2.375.1 is, I'd say, the reason it's failing for you as the version in between contain several major/breaking changes (our team has faced the same problem (we "just" wanted to bump the versions too much after a long time of no upgrading and we've faced several problems we weren't able to solve together). So it was necessary to split it into several independent upgrades which appeared to be doable and we managed to get to LTS 2.375).
To summarize recommended steps - I'd you need to:
1/ Split your upgrade into several steps and upgrade LTS more gradually: try to upgrade to first to some not-current LTS version. I believe something less than or precisely 2.303.3 could work and see if you can start it.
then actually run Jenkins and check administration page,
upgrade your plugins (if you want). FYI: this is recommended officially in Jenkins docs after every Jenkins core upgrade.
check Jenkins administration page and apply necessary changes / manage necessary decision that might appear there (if applicable).
2/ Try to upgrade to a higher LTS version (repeat step 1 with its sub-steps)
To be a very specific and give some examples (although I don't remember everything by hearth):
you skipped a gradually upgrade to version 2.319 LTS that brings a major change of working with master node --> built-in node that needs to be applied (confirmed) from within the administration section of Jenkins (see docs: https://www.jenkins.io/doc/book/managing/built-in-node-migration/ )
version 2.332.1 LTS brings an important change. I would say that you've hit exactly this issue (covered here): https://community.jenkins.io/t/jenkins-cant-find-java-after-update-running-on-centos-7/3615 - exact steps and more resources are within that thread and also here: https://www.jenkins.io/doc/upgrade-guide/2.332/#upgrading-to-jenkins-lts-2-332-1
from version 2.361 LTS Jenkins requires Java 11 or higher (see docs https://www.jenkins.io/doc/upgrade-guide/2.361/ ). So - you will need to ensure that you have a proper Java installed (you already might have it though). Including your agents!. Otherwise you would start your Jenkins but it would not connect any agent (usually undesired state).
Please, try to make some gradual progress and let us know where you managed to get

Where to find legacy mbedtls documentation?

I am looking for the legacy mbedtls documentation.
It was available at tls.mbed.org before joining the trustedFirmware project. Now, sadly, it is not reachable anymore.
Thanks!
tls.mbed.org only had the latest version, and then it froze at some point and was showing an old version until it went down. I haven't found a site hosting multiple versions of the documentation.
You can typeset the documentation on a typical Unix-like system (e.g. Linux or macOS or WSL or Cygwin) by checking out the version you want from the GitHub repository. This has the advantage that you can typeset the documentation for your configuration: after setting mbedtls/mbedtls_config.h (mbedtls/config.h in Mbed TLS 2.x), run
make apidoc
and browse apidoc/modules.html or apidoc/files.html.
If you want the whole documentation including all compile-time options and features that may or may not be enabled in your build, run
scripts/apidoc_full.sh
Note that this overwrites mbedtls/mbedtls_config.h.

update nextcloud inside docker

After accidental run, I can't get nextcloud's database and image in sync.
My database is somehow updated to the latest version, but the image (apps) are not.
In my config.php the version is: 'version' => '20.0.5.2'
My version.php shows: $OC_Version = array(22,1,1,2);
If I spin up docker image version 20.0.12, the image keeps restarting with this error:
Can't start Nextcloud because the version of the data (22.1.1.2) is higher than the docker image version (20.0.12.1) and downgrading is not supported. Are you sure you have pulled the newest image version?
But If I start the latest (the same version of the "data") v22.1.1.2, I can't finish the update because:
Updates between multiple major versions and downgrades are unsupported. Can't start Nextcloud because the version of the datais higher than the docker image version and downgrading is not supported.
So I am kind of stuck! I can't run previous the version because the database reports it is updated, and I can't update to the last version, because it is not supported.
What should I do?
I read I have to update 'gradually' but the database reports it's already the latest version.
Just in case somebody is still looking for answer, you need to change your version.php file back to the version matching your last working configuration (in this case probably to 20.0.5.2). Definitely use backup of this file if you have it.
If you have no backup, you can make it yourself as described here: https://help.nextcloud.com/t/skipped-major-version-21-23-did-not-run-the-updater-yet/139638/2?u=vset

Commits UI returns replacements.flatMap error

Browsing commits in the web UI at /scm/repo/namspace/repo_name/code/branch/default/changesets returns replacements.flatMap is not a function, see image:
SCM error
I traced this to scm-ui\ui-components\src\repos\changesets\ChangesetDescription.tsx in line 46.
My deployment is in a docker container but I was able to verify the issue on a physical deployment of the application as well. Am I missing a dependency?
edit: The deployed version of scm-manager is 2.3.0 in both cases.
This issue was resolved by updating my browser to a newer version.

gitlab ci with conda not using the latest package version

I am using a docker image from by Continuum Analytics in my .gitlab-ci.yml file, in order to use conda (as well explained here)
Everything works fine except for one detail: I cannot get the latest version of a package published on a specific channel (this one, but that shouldn't matter) - the latest version is 0.2.6, but the version 0.2.3 is installed.
If I specify in my environment.yaml file that I want a specific version:
dependencies:
- presamples>=0.2.6
I get the following error during build:
ResolvePackageNotFound:
- presamples[version='>=0.2.6']
Are Continuum Analytics docker image not able to download versions of packages that were created after the docker image was created? This may be a silly question, I don't know anything about docker...

Resources