Trying to update Ubuntu and the Elastic Stack (Debian Package) I get Internal Server Error.
When I run "apt-get update && apt-get dist-upgrade" my server tries to reach those links for example:
https://artifacts.elastic.co/packages/6.x/apt stable/main amd64 heartbeat-elastic amd64 6.3.1
https://artifacts.elastic.co/packages/6.x/apt stable/main amd64 kibana amd64 6.3.1
Then I get the following message:
500 Internal Server Error [IP: 23.21.67.46 443]
Or like this:
Ign:7 https://artifacts.elastic.co/packages/6.x/apt stable InRelease
Fehl:8 https://artifacts.elastic.co/packages/6.x/apt stable Release
500 Internal Server Error [IP: 107.21.253.15 443]
To me it looks like the links are not read correctly? This IP points to the Elastic website which is reachable, I'm not sure why it doesn't download the package.
When I installed the Elastic Stack I followed the documentation like:
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-6.x.list
This worked for me with the release 6.2.4.