Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rmupdate compatibility #109

Closed
derkopp opened this issue Nov 25, 2018 · 8 comments
Closed

rmupdate compatibility #109

derkopp opened this issue Nov 25, 2018 · 8 comments
Labels
🐛bug Something isn't working 🚡upstream

Comments

@derkopp
Copy link

derkopp commented Nov 25, 2018

Hallo,
die installation via rmupdate funktioniert generell sehr gut.
Wünschenswert wäre es noch, wenn rmupdate automatisch erkennt, dass eine neue Version vorliegt und man direkt installieren kann - ohne bei jedem Update den Link zur tgz kopieren zu müssen.

@hobbyquaker
Copy link
Member

Hmm, bei mir funktioniert das:
image
Was passiert denn wenn Du im Browser http://<ccu-adresse>/addons/redmatic/update_check.cgi aufrufst?

@hobbyquaker
Copy link
Member

related: #65

@derkopp
Copy link
Author

derkopp commented Nov 25, 2018

Im FF getestet: Ich erhalte den korrekten String:
addons/redmatic/update_check.cgi -> 1.9.6
In rmupdate jedoch ist das Feld einfach leer:

bildschirmfoto 2018-11-25 um 17 23 57

@derkopp
Copy link
Author

derkopp commented Nov 25, 2018

Hier ist die JSON:
bildschirmfoto 2018-11-25 um 18 07 54
Die Download URL ist leer.

@helmsklamm
Copy link

helmsklamm commented Nov 25, 2018

[Nachtrag] habe es gerade nochmal ausprobiert. War vorher nicht zu Hause... Meine Annahme war wohl leider falsch. Ich kann das Verhalten nicht mehr reproduzieren. Es wird nun immer die cgi zum Download angeboten. Ich vermute dass bei mir zuvor irgendwas aus dem Browser Cache kam und daher die Seite kurzfristig funktionierte. Bei mir kommt übrigens auch beim Klick auf den Button "Zusatz Software" der cgi download...

Hi Sebastian. Vielleicht hilft das: bei mir gab es auch Probleme dass die cgi Datei zum Download Angeboten (statt ausgeführt) wurde.
Das hing mit den Sicherheitseinstellungen des neuen Security Wizards zusammen. Kann mich leider nicht erinnern welches Setting genau das war aber folgender Tipp.
Custom settings (Benutzerdefiniert) verwenden und mal alles auf voll Zugriff stellen.
Geht’s dann evtl wieder? Danach sukzessive die Settings so restriktiv wie mögl. Setzen.....

@hobbyquaker
Copy link
Member

related: jens-maus/RaspberryMatic#480

@hobbyquaker hobbyquaker added 🐛bug Something isn't working 🚡upstream and removed 🤔to be clarified labels Nov 25, 2018
@hobbyquaker
Copy link
Member

ich schließe hier mal, ich geh davon aus dass das die gleiche ursache hat wie #108 - allerdings kann ich da nix dran machen. Wird wieder funktionieren wenn Jens ein RaspberryMatic Bugfix Release veröffentlicht hat oder wenn Jan sein Addon anpasst.

@derkopp
Copy link
Author

derkopp commented Dec 9, 2018

Ich mache mal wieder auf - auch mit neustem raspberrymatic, rmupdate und redmatic funktioniert die Anzeige eines Updates über rmupdate nicht.

bildschirmfoto 2018-12-09 um 13 55 06

addons/redmatic/update_check.cgi:
1.9.15

addons/rmupdate/rest.cgi?sid=@zIdf2Fgono@&path=/get_addon_info

[{
    "available_version": "2.4.1",
    "cgi": "/usr/local/etc/config/addons/www/mediola/update-check.cgi",
    "cgi_interpreter": "/bin/tclsh",
    "config_url": "/addons/mediola/index.html",
    "download_url": "",
    "id": "97NeoServer",
    "name": "NEO SERVER",
    "operations": "uninstall restart",
    "update": "/addons/mediola/update-check.cgi",
    "version": "2.4.0"
}, {
    "available_version": "",
    "cgi": "/usr/local/etc/config/addons/www/redmatic/update_check.cgi",
    "cgi_interpreter": "/usr/bin/env tclsh",
    "config_url": "/addons/redmatic/settings.cgi",
    "download_url": "",
    "id": "redmatic",
    "name": "RedMatic",
    "operations": "restart uninstall",
    "update": "/addons/redmatic/update_check.cgi",
    "version": "1.9.14"
}, {
    "available_version": "1.13.5",
    "cgi": "/usr/local/etc/config/addons/www/rmupdate/update.cgi",
    "cgi_interpreter": "/bin/tclsh",
    "config_url": "/addons/rmupdate",
    "download_url": "https://github.com/j-a-n/raspberrymatic-addon-rmupdate/raw/master/rmupdate.tar.gz",
    "id": "rmupdate",
    "name": "System-Update",
    "operations": "uninstall",
    "update": "/addons/rmupdate/update.cgi",
    "version": "1.13.5"
}]

Die Download-URL ist leer.

@derkopp derkopp mentioned this issue Dec 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working 🚡upstream
Development

No branches or pull requests

3 participants