Hibiscus Nightly Build URL , 404 not found?

mss

Betreff:

Hibiscus Nightly Build URL , 404 not found?

 ·  Gepostet: 24.05.2018 - 17:36 Uhr  ·  #138148
Hallo Olaf,
hat sich die URL geändert?
Code
--2018-05-24 17:32:35--  http://www.willuhn.de/products/jameica/releases/nightly/jameica-2.9.0-nightly-linux64.zip
Resolving www.willuhn.de... 85.214.66.230
Connecting to www.willuhn.de|85.214.66.230|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.willuhn.de/products/jameica/releases/nightly/jameica-2.9.0-nightly-linux64.zip [following]
--2018-05-24 17:32:35--  https://www.willuhn.de/products/jameica/releases/nightly/jameica-2.9.0-nightly-linux64.zip
Connecting to www.willuhn.de|85.214.66.230|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-05-24 17:32:35 ERROR 404: Not Found.

Mein bisheriges Script sah so aus:
Code
#!/usr/bin/env bash

jameica_version=`wget --no-cache -q -O - http://www.willuhn.de/products/jameica/releases/version-nightly`
#jameica_version="2.7.0"
hibiscus_version=`wget --no-cache -q -O - http://www.willuhn.de/products/hibiscus/releases/version-nightly`
#hibiscus_version="2.7.0"

jameica_base="http://www.willuhn.de/products/jameica/releases/nightly"
jameica_file="jameica-${jameica_version}-nightly-linux64.zip"
jameica_src="${jameica_base}/${jameica_file}"

hibiscus_base="http://www.willuhn.de/products/hibiscus/releases/nightly"
hibiscus_file="hibiscus-${hibiscus_version}-nightly.zip"
hibiscus_src="${hibiscus_base}/${hibiscus_file}"

install_path="/opt"
tmp_path="/tmp"

cd "$tmp_path" \
    && wget -c "$jameica_src" \
    && wget -c "$hibiscus_src" \
    && cd "$install_path" \
    && rm -vrf jameica \
    && unzip "${tmp_path}/${jameica_file}" \
    && cd jameica \
    && cd plugins \
    && unzip "${tmp_path}/${hibiscus_file}" \
    && rm -vf "${tmp_path}/${jameica_file}","${hibiscus_file}"}

infoman

Betreff:

Re: Hibiscus Nightly Build URL , 404 not found?

 ·  Gepostet: 24.05.2018 - 18:55 Uhr  ·  #138152
Dateiname wurde geändert
du suchst nach:
xxx.willuhn.de/products/jameica/releases/nightly/jameica-2.9.0-nightly-linux64.zip[/code]

neu:
xxx.willuhn.de/products/jameica/download_ext.php
xxx.willuhn.de/products/jameica/releases/nightly/jameica-linux64-2.9.0-nightly.zip[/code]

hibiscus

Betreff:

Re: Hibiscus Nightly Build URL , 404 not found?

 ·  Gepostet: 01.06.2018 - 09:21 Uhr  ·  #138168
Zitat geschrieben von infoman

Dateiname wurde geändert
du suchst nach:
xxx.willuhn.de/products/jameica/releases/nightly/jameica-2.9.0-nightly-linux64.zip[/code]

neu:
xxx.willuhn.de/products/jameica/download_ext.php
xxx.willuhn.de/products/jameica/releases/nightly/jameica-linux64-2.9.0-nightly.zip[/code]


Korrekt. Die Plattform-Bezeichnung steht jetzt vor der Versionsnummer, damit es einheitlich zur Benamung der Releases ist. Ausserdem sind jetzt alle Download-URLs HTTPS.

mss

Betreff:

Re: Hibiscus Nightly Build URL , 404 not found?

 ·  Gepostet: 04.06.2018 - 08:49 Uhr  ·  #138196

mss

Betreff:

Re: Hibiscus Nightly Build URL , 404 not found?

 ·  Gepostet: 04.06.2018 - 08:52 Uhr  ·  #138197
Nur zur Vollständigkeit, hier ist die angepasste Version des Update-Scripts:
Code
#!/usr/bin/env bash

jameica_version=`wget --no-cache -q -O - https://www.willuhn.de/products/jameica/releases/version-nightly`
hibiscus_version=`wget --no-cache -q -O - https://www.willuhn.de/products/hibiscus/releases/version-nightly`

jameica_base="https://www.willuhn.de/products/jameica/releases/nightly"
jameica_file="jameica-linux64-${jameica_version}-nightly.zip"
jameica_src="${jameica_base}/${jameica_file}"

hibiscus_base="https://www.willuhn.de/products/hibiscus/releases/nightly"
hibiscus_file="hibiscus-${hibiscus_version}-nightly.zip"
hibiscus_src="${hibiscus_base}/${hibiscus_file}"

install_path="/opt"
tmp_path="/tmp"

cd "$tmp_path" \
    && wget -c "$jameica_src" \
    && wget -c "$hibiscus_src" \
    && cd "$install_path" \
    && rm -vrf jameica \
    && unzip "${tmp_path}/${jameica_file}" \
    && cd jameica \
    && cd plugins \
    && unzip "${tmp_path}/${hibiscus_file}" \
    && rm -vf "${tmp_path}/${jameica_file}","${hibiscus_file}"}

hibiscus

Betreff:

Re: Hibiscus Nightly Build URL , 404 not found?

 ·  Gepostet: 04.06.2018 - 10:09 Uhr  ·  #138201

mss

Betreff:

Re: Hibiscus Nightly Build URL , 404 not found?

 ·  Gepostet: 04.06.2018 - 11:30 Uhr  ·  #138204
Auch ein einfaches wget läd mir eine Datei "version-nightly" mit 2.9.0 als Inhalt. Scheint dann wohl nur das listing des Verzeichnis zu sein.

hibiscus

Betreff:

Re: Hibiscus Nightly Build URL , 404 not found?

 ·  Gepostet: 04.06.2018 - 11:37 Uhr  ·  #138205
Zitat geschrieben von Massimo

Auch ein einfaches wget läd mir eine Datei "version-nightly" mit 2.9.0 als Inhalt. Scheint dann wohl nur das listing des Verzeichnis zu sein.


Ich verstehe nicht, was du meinst. Es spielt keine Rolle, ob du mit wget oder einem anderen Client zugreifst - der Server liefert das selbe Response.

Und wenn du mit wget die URL https://www.willuhn.de/product…on-nightly aufrufst, dann wird da eine Datei zurückgeliefert, in der die aktuelle Versionsnummer der Nightly-Builds steht. Ebenso bei https://www.willuhn.de/product…on-current

Das ist kein Verzeichnislisting sondern eine Textdatei, die ich dort platziert habe. Und die von deinem Script ausgewertet wird, um die aktuellen Versionsnummern zu ermitteln.