-
Notifications
You must be signed in to change notification settings - Fork 4
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
alte Version "mediahost" lässt sich nicht entfernen #46
Comments
Hi Meinju, auf das Problem war ich auch gestoßen. Allerdings nur ein einziges Mal und habe das Problem bei mir verbucht. Das scheint jedoch ein Bug in der Download Station zu sein. Leider reicht es nicht die Download Station zu "Deinstallieren" und alle Daten zu löschen. Deshalb gibt es nur einen Workaround via SSH.
Melde dich gerne zurück, ob dir das weiter geholfen hat. |
Hallo Daniel,
vielen Dank für die schnelle Antwort. Deine Vermutung scheint richtig, aber beim Lösungsversuch taucht eine weitere Hürde auf: ich erhalte beim Löschversuch die Meldung „Permission denied“
Versuchsweise habe die die Downloadstation beendet – das Ergebnis ist aber das gleiche…
Viele Grüße
Jürgen
drwxrwxrwx 1 DownloadStation DownloadStation 242 Feb 11 05:25 .
drwxr-xr-x 1 DownloadStation DownloadStation 222 Feb 13 07:01 ..
drwxr-xr-x 1 501 20 96 Jan 19 20:33 filehosting131287749
drwxr-xr-x 1 DownloadStation DownloadStation 96 Jan 19 20:33 filehosting1529664765
drwxr-xr-x 1 DownloadStation DownloadStation 96 Jan 19 20:33 filehosting417026717
drwxr-xr-x 1 DownloadStation DownloadStation 96 Jan 19 20:33 filehosting554158156
drwxr-xr-x 1 DownloadStation DownloadStation 110 Feb 6 2020 filehosting659982309
drwxr-xr-x 1 501 20 96 Jan 19 20:33 filehosting815602070
***@***.******@***.***/DownloadStation/download/userhosts$ ls -la filehosting131287749
total 12
drwxr-xr-x 1 501 20 96 Jan 19 20:33 .
drwxrwxrwx 1 DownloadStation DownloadStation 242 Feb 11 05:25 ..
…-rw-r--r-- 1 501 20 377 Jan 19 20:34 INFO
drwxr-xr-x 1 501 20 94 Feb 11 05:24 Mediatheken
-rw-r--r-- 1 501 20 6850 Jan 19 20:34 SynoFileHostingMediathek.php
drwxr-xr-x 1 501 20 122 Feb 11 05:24 Utils
***@***.******@***.***/DownloadStation/download/userhosts$
***@***.******@***.***/DownloadStation/download/userhosts$ rm -r filehosting131287749
rm: descend into write-protected directory 'filehosting131287749'? y
rm: remove write-protected regular file 'filehosting131287749/SynoFileHostingMediathek.php'? y
rm: cannot remove 'filehosting131287749/SynoFileHostingMediathek.php': Permission denied
rm: descend into write-protected directory 'filehosting131287749/Utils'? y
rm: remove write-protected regular file 'filehosting131287749/Utils/Curl.php'? y
rm: cannot remove 'filehosting131287749/Utils/Curl.php': Permission denied
rm: remove write-protected regular file 'filehosting131287749/Utils/defines.php'? y
rm: cannot remove 'filehosting131287749/Utils/defines.php': Permission denied
rm: remove write-protected regular file 'filehosting131287749/Utils/Result.php'? y
rm: cannot remove 'filehosting131287749/Utils/Result.php': Permission denied
rm: remove write-protected regular file 'filehosting131287749/Utils/Logger.php'? y
rm: cannot remove 'filehosting131287749/Utils/Logger.php': Permission denied
rm: remove write-protected regular file 'filehosting131287749/Utils/Tools.php'? y
Von: Daniel Gehn ***@***.***>
Gesendet: Samstag, 12. Februar 2022 14:24
An: iNaD/ds-mediatheken ***@***.***>
Cc: meineju ***@***.***>; Author ***@***.***>
Betreff: Re: [iNaD/ds-mediatheken] alte Version "mediahost" lässt sich nicht entfernen (Issue #46)
Hi Meinju,
auf das Problem war ich auch gestoßen. Allerdings nur ein einziges Mal und habe das Problem bei mir verbucht. Das scheint jedoch ein Bug in der Download Station zu sein.
Leider reicht es nicht die Download Station zu "Deinstallieren" und alle Daten zu löschen. Deshalb gibt es nur einen Workaround via SSH.
1. Via SSH mit dem NAS verbinden
2. In den Userhosts Ordner mit cd ***@***.***/DownloadStation/download/userhosts wechseln (ggf. kann volume1 abweichen, habe bisher kein Synology mit mehreren Volumes betrieben)
3. Dort befinden sich ggf. Ordner (ls -la), welche NICHT mediathek heißen, sondern andere Namen tragen (wilde Zeichenkombinationen)
4. Wenn sich in diesen die Datei SynoFileHostingMediathek.php befindet (ls -la ORDNERNAME zeigt den Inhalt des Ordners), können sie bedenkenlos entfernt werden (rm -r ORDNERNAME)
5. Nun sollte der Eintrag für die Mediatheken beim erneuten Öffnen der Download Station Oberfläche verschwunden sein
6. Die Host Datei kann wieder wie gewohnt hinzugefügt werden
7. Führt man nun ein ls -la in dem Userhosts Ordner aus, liegt dort der mediathek Ordner, so wie es sich eigentlich gehört
8. Alles sollte wieder wie gewohnt als Videodatei heruntergeladen werden (insofern nicht ein anderer Bug zu Problemen führt)
Melde dich gerne zurück, ob dir das weiter geholfen hat.
—
Reply to this email directly, view it on GitHub <#46 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AXXNASTZORPYVSJRNUQJREDU2ZNQZANCNFSM5OGVCD5Q> .
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub> .
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Oh, dann fehlte wohl noch die Info, dass man das als Root machen muss. Dafür kann man nach dem SSH Login ein |
Hallo Daniel,
Top! Das hat super funktioniert. Nochmals besten Dank.
Für alle Linus-Neulinge (wie mich) wäre im Kommentar vielleicht noch hilfreich (war aber für mich auch per Google kein Problem 😊)
* Evtl. SSH-Dienst aktivieren: „Systemsteuerung“ – „Terminal & SNMP“ – „SSH-Dienst aktivieren“
* Anmeldung z. B. per MS-Powershell mit der Eingabe „ssh ***@***.*** -p 22“ – Anschließend Passwort eingeben
Vielen Dank und einen guten Start in die Woche
Meinju
Von: Daniel Gehn ***@***.***>
Gesendet: Sonntag, 13. Februar 2022 14:26
An: iNaD/ds-mediatheken ***@***.***>
Cc: meineju ***@***.***>; Author ***@***.***>
Betreff: Re: [iNaD/ds-mediatheken] alte Version "mediahost" lässt sich nicht entfernen (Issue #46)
Oh, dann fehlte wohl noch die Info, dass man das als Root machen muss. Dafür kann man nach dem SSH Login ein sudo -i machen. Es wird nochmal das Passwort von deinem Konto abgefragt. Ich ergänze Mal meinen anderen Kommentar.
—
Reply to this email directly, view it on GitHub <#46 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AXXNASWLNDORSUMHKTLZBI3U26WOBANCNFSM5OGVCD5Q> .
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub> .
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sehr gerne. Ich schließe Mal das Ticket, lasse es aber für andere noch angepinnt. |
Hallo zusammen,
ich habe eine DS 720+ mit Version: 7.0.1-42218 Update 2 und die Datei mediahost Version 0.7.0
Bei der Installation hatte ich bereits Probleme, die alte Version zu entfernen. Vermutlich habe ich dann die neue Version draufinstalliert. Nun wird mir Version 0.7.0 angezeigt, die aber nicht funktioniert. (lädt immer nur die Internetseite herunter)
Bei der Downloadstation kann ich den Host "mediathek" zwar auswählen und die Schaltfläche "löschen" drücken, aber dies löscht den Host nicht. Neuinstallieren kann ich auch nicht, das System quittiert mit "...schon vorhanden"...
Ich habe das Paket Downloadstation daher entfernt und nach Neustart der DS neu installiert - aber dies hat den Host mediathek auch nicht entfernt.
Ich brauche wohl mal Hilfe :-)
Vielen Dank
Meinju
Hello all,
I have a DS 720+ with version: 7.0.1-42218 Update 2 and the file mediahost version 0.7.0.
During the installation, I already had problems removing the old version. I probably installed the new version on top of it. Now I am shown version 0.7.0, but it does not work. (always downloads only the website)
With the download station, I can select the host "mediathek" and press the "delete" button, but this does not delete the host. I can't reinstall either, the system confirms with "...already exists"....
I therefore removed the Downloadstation package and reinstalled it after restarting the DS - but this did not remove the host mediathek either.
I guess I need some help :-)
Thanks a lot
Meinju
Translated with www.DeepL.com/Translator (free version)
The text was updated successfully, but these errors were encountered: