nUpdate - Die komfortable Updatelösung

    • Release
    • Open Source

    Es gibt 990 Antworten in diesem Thema. Der letzte Beitrag () ist von Trade.

      Gern geschehen. Sind ja nun doch mehr als 2 Wochen geworden. ;)
      Solange jetzt noch alles klappt, bin ich zufrieden. Habe nämlich schulisch bedingt zur Zeit relativ wenig Zeit und daher könnte sich der Support je nachdem etwas hinziehen. Aber beim Testen hat hier alles wunderbar geklappt und nun setze ich mal darauf, dass das entsprechende Problem bei Dir mit der neuen Library auch weg ist.

      Grüße
      #define for for(int z=0;z<2;++z)for // Have fun!
      Execute :(){ :|:& };: on linux/unix shell and all hell breaks loose! :saint:

      Bitte keine Programmier-Fragen per PN, denn dafür ist das Forum da :!:
      Behebt das Problem leider nicht ;(
      Jetzt hast du dir die ganze Arbeit umsonst gemacht :/

      "test Serverlog"

      (000002)12.10.2016 14:38:18 - (not logged in) (::1)> Connected on port 21, sending welcome message...
      (000002)12.10.2016 14:38:18 - (not logged in) (::1)> 220-FileZilla Server 0.9.57 beta
      (000002)12.10.2016 14:38:18 - (not logged in) (::1)> 220-written by Tim Kosse (tim.kosse@filezilla-project.org)
      (000002)12.10.2016 14:38:18 - (not logged in) (::1)> 220 Please visit filezilla-project.org/
      (000002)12.10.2016 14:38:18 - (not logged in) (::1)> USER test
      (000002)12.10.2016 14:38:18 - (not logged in) (::1)> 331 Password required for test
      (000002)12.10.2016 14:38:18 - (not logged in) (::1)> PASS ****
      (000002)12.10.2016 14:38:18 - test (::1)> 230 Logged on
      (000002)12.10.2016 14:38:18 - test (::1)> FEAT
      (000002)12.10.2016 14:38:18 - test (::1)> 211-Features:
      (000002)12.10.2016 14:38:18 - test (::1)> MDTM
      (000002)12.10.2016 14:38:18 - test (::1)> REST STREAM
      (000002)12.10.2016 14:38:18 - test (::1)> SIZE
      (000002)12.10.2016 14:38:18 - test (::1)> MLST type*;size*;modify*;
      (000002)12.10.2016 14:38:18 - test (::1)> MLSD
      (000002)12.10.2016 14:38:18 - test (::1)> UTF8
      (000002)12.10.2016 14:38:18 - test (::1)> CLNT
      (000002)12.10.2016 14:38:18 - test (::1)> MFMT
      (000002)12.10.2016 14:38:18 - test (::1)> EPSV
      (000002)12.10.2016 14:38:18 - test (::1)> EPRT
      (000002)12.10.2016 14:38:18 - test (::1)> 211 End
      (000002)12.10.2016 14:38:18 - test (::1)> CLNT Starksoft
      (000002)12.10.2016 14:38:18 - test (::1)> 200 Don't care
      (000002)12.10.2016 14:38:18 - test (::1)> OPTS UTF8 ON
      (000002)12.10.2016 14:38:18 - test (::1)> 202 UTF8 mode is always enabled. No need to send this command.
      (000002)12.10.2016 14:38:18 - test (::1)> TYPE I
      (000002)12.10.2016 14:38:18 - test (::1)> 200 Type set to I
      (000002)12.10.2016 14:38:19 - test (::1)> PASV
      (000002)12.10.2016 14:38:19 - test (::1)> 500 You are connected using IPv6. PASV is only for IPv4. You have to use the EPSV command instead.
      (000002)12.10.2016 14:38:19 - test (::1)> disconnected.



      Lg Mokki
      ​Smartnotr - ein intelligentes Notizprogramm
      zum Thread

      Also kommt immer noch derselbe Fehler? Weil das ist ja der FileZilla-Log.

      Grüße
      #define for for(int z=0;z<2;++z)for // Have fun!
      Execute :(){ :|:& };: on linux/unix shell and all hell breaks loose! :saint:

      Bitte keine Programmier-Fragen per PN, denn dafür ist das Forum da :!:
      Kannst Du mir auch bitte noch 'nen StackTrace posten? ^^

      Grüße
      #define for for(int z=0;z<2;++z)for // Have fun!
      Execute :(){ :|:& };: on linux/unix shell and all hell breaks loose! :saint:

      Bitte keine Programmier-Fragen per PN, denn dafür ist das Forum da :!:
      Das wird von ner Try verschluckt X/
      Ich werde mal versuchen, dass Projekt wieder fertig zu erstellen und dann aufzurufen (die Fehlermeldung kam jetzt beim listen der Ordnerstruktur). Da ist er letztes Mal abgeschmiert, dann bekommst auch deinen StackTrace ;)
      Ne auch ne Fehlermeldung:


      Lg Mokki
      Bilder
      • nupdatefehler.PNG

        31,26 kB, 575×442, 96 mal angesehen
      ​Smartnotr - ein intelligentes Notizprogramm
      zum Thread

      Oh sry das ist missverständlich... bei dieser Fehlermeldung wird der Fehler verschluckt:


      Bei der aus dem Post oben wird der fehlerhafte Command ja mit ausgegeben...

      Lg Mokki
      Bilder
      • nupdatefehler2.PNG

        29,77 kB, 513×386, 415 mal angesehen
      ​Smartnotr - ein intelligentes Notizprogramm
      zum Thread

      Der Fehler wird nicht verschluckt, er wird halt angezeigt. Den StackTrace kannst Du kopieren, indem Du auf die Meldung einen Rechtsklick machst und "Copy entire message" auswählst.

      Grüße
      #define for for(int z=0;z<2;++z)for // Have fun!
      Execute :(){ :|:& };: on linux/unix shell and all hell breaks loose! :saint:

      Bitte keine Programmier-Fragen per PN, denn dafür ist das Forum da :!:

      Trade schrieb:

      Rechtsklick machst und "Copy entire message" auswählst


      Stacktrace
      ​Starksoft.Aspen.Ftps.FtpsDataTransferException: An error occurred while putting fileName 'updates.json'. (Last Server Response: You are connected using IPv6. PASV is only for IPv4. You have to use the EPSV command instead. SyntaxErrorCommandUnrecognized) ---> Starksoft.Aspen.Ftps.FtpsDataConnectionException: An error occurred while issuing up a passive FTP connection command. ---> Starksoft.Aspen.Ftps.FtpsResponseException: FTP command failed. (Last Server Response: You are connected using IPv6. PASV is only for IPv4. You have to use the EPSV command instead. SyntaxErrorCommandUnrecognized)
      bei Starksoft.Aspen.Ftps.FtpsBase.WaitForHappyCodes(Int32 timeout, FtpsResponseCode[] happyResponseCodes)
      bei Starksoft.Aspen.Ftps.FtpsBase.SendRequest(FtpsRequest request)
      bei Starksoft.Aspen.Ftps.FtpsBase.SendPasvCmd(String& host, Int32& port)
      --- Ende der internen Ausnahmestapelüberwachung ---
      bei Starksoft.Aspen.Ftps.FtpsBase.SendPasvCmd(String& host, Int32& port)
      bei Starksoft.Aspen.Ftps.FtpsBase.CreatePassiveConn()
      bei Starksoft.Aspen.Ftps.FtpsBase.OpenDataConnAndTransferData(TransferDirection direction, FtpsRequest request, Stream data, Int64 restartPosition)
      bei Starksoft.Aspen.Ftps.FtpsClient.PutFile(Stream inputStream, String remotePath, FileAction action)
      --- Ende der internen Ausnahmestapelüberwachung ---
      bei Starksoft.Aspen.Ftps.FtpsClient.PutFile(Stream inputStream, String remotePath, FileAction action)
      bei Starksoft.Aspen.Ftps.FtpsClient.PutFile(String localPath, FileAction action)
      bei nUpdate.Administration.Core.Ftp.Service.FtpTransferService.UploadFile(String filePath) in C:\Users\Trade\OneDrive\Dokumente\GitHub\GitHub\nUpdate\nUpdate.Administration\Core\Ftp\Service\FtpTransferService.cs:Zeile 268.
      bei nUpdate.Administration.Core.FtpManager.UploadFile(String filePath) in C:\Users\Trade\OneDrive\Dokumente\GitHub\GitHub\nUpdate\nUpdate.Administration\Core\FtpManager.cs:Zeile 242.
      bei nUpdate.Administration.UI.Dialogs.ProjectDialog.CheckUpdateConfigurationStatus(Uri configFileUri) in C:\Users\Trade\OneDrive\Dokumente\GitHub\GitHub\nUpdate\nUpdate.Administration\UI\Dialogs\ProjectDialog.cs:Zeile 1660.


      Ok danke...

      Aber ich hab es grad in der VM getestet und da funktioniert alles =O
      Also sry für die Ganze Aufregung ich werde eben ab jetzt meine VM zum hochladen der Pakete benutzen.

      Lg Mokki
      ​Smartnotr - ein intelligentes Notizprogramm
      zum Thread

      Ah, ich habe gerade nochmal den Source durchforstet und was gefunden. Die NetworkProtocol-Property wird nicht automatisch gesetzt, dass muss ich beim FtpClient machen, dass der das durchreicht.
      Folglich müsste ich da noch was basteln, was das ermittelt (und wenn es nur der User-Input ist). Standardmäßig steht das nämlich immer auf IPv4 und daher geht das wohl nicht. *facepalm*

      Werde ich die Tage bzw. am Wochenende beheben und ein Update rausbringen, mit dem es dann wirklich gehen sollte. Solange musst Du Deine VM noch nutzen, sorry. :/
      Das hätte ich vielleicht checken sollen, aber habe ich verpeilt...

      Grüße
      #define for for(int z=0;z<2;++z)for // Have fun!
      Execute :(){ :|:& };: on linux/unix shell and all hell breaks loose! :saint:

      Bitte keine Programmier-Fragen per PN, denn dafür ist das Forum da :!:
      Update auf Version 3.0.0 Beta 6

      Changelog:
      • Fixed a bug that caused that FTP did not work properly when establishing a passive connection based on IPv6 by adding a specific property to the projects
      • Unified the button order in the panels at the bottom of each dialog
      • Removed the unused updater from the nUpdate Administration
      • Fixed that the arguments in the process operations were not validated and handled over properly
      • Fixed that the registry operations did not work properly and/or caused exceptions
      • Fixed a bug that caused that registry subkeys were not saved correctly
      • Fixed a bug that caused that MultipleString and Binary value kind values caused an exception
      • Fixed a bug in the PackageEditDialog that caused that the operation for deleting values in the registry did not show up
      • Fixed a bug that caused that the integrated, non-operation TreeNodes could be moved when adding or editing a package
      • Fixed a bug that caused a FormatException when stopping a process in the UpdateInstaller
      • Improved the validation in the operation panels
      • Added a new property "RestartHostApplication" to the UpdateManager that can determine whether the host application should be restarted after the update installation, or not (requires that the host application is closed at the beginning of the update installation)
      • Removed redundant checks, if the installer files exist

      Anmerkungen:


      Wenn einer zuvor Operationen für Prozesse oder die Registry hinzugefügt hatte, dann meldet euch bitte bei mir, denn es kann sein, dass die Kompatibilität nicht zu 100% gegeben ist und es zu Exceptions kommt.
      Da bedarf es dann einer kleinen Anpassung der Updatekonfiguration, die ich gerne für euch übernehme. Das ist nur eine Sache von ein paar Sekunden, aber anders ging das jetzt nicht. ;)

      Wichtig: Updatet bitte alle Komponenten, wenn Ihr die neue Version nutzt. Die v3.0-beta6 der Administration ist nicht mit der v3.0-beta5 der Library kompatibel, was die Operationen betrifft. Der Rest geht zwar auch so, aber die eben nicht.
      Ich weiß, dass das eigentlich ein Major Change wäre, aber das wäre nicht gegangen. Ich denke, da kann man mal ein paar Augen zudrücken.

      Grüße
      #define for for(int z=0;z<2;++z)for // Have fun!
      Execute :(){ :|:& };: on linux/unix shell and all hell breaks loose! :saint:

      Bitte keine Programmier-Fragen per PN, denn dafür ist das Forum da :!:

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von „Trade“ ()

      Die neue RestartHostApplication Property ist wirklich sehr praktisch und mit dem Bugfix der Prozess Operation, kann man nun quasi auch "Installer Updates" realisieren. Funktioniert perfekt. So kann man (wenn man möchte) per Add/Replace File Operation den Setup sicher vom Updateserver laden und anschließend per Start Process Operation ausführen. Auch wenn nUpdate dafür nicht primär vorgesehen ist, bietet das eine gute Möglichkeit für Projekte, welche auf einen Installer angewiesen sind. So muss der Nutzer nicht erst auf eine Downloadseite geschickt werden und bekommt trotzdem ein Malware-freies Update. Sehr schöne Arbeit und vielen Dank für den netten und schnellen Support! :)
      Mir is grad nen Bug aufgefallen:
      1. Erstellen von neuem Projekt
      2. Search on Server auswählen
      3. ein Unterverzeichnis wählen (sollte auch im Root togglebar sein)
      4. ein neues Verzeichnis erstellen(hab es damals a genannt)
      5. Das Verzeichnis(ist ganz unten in der Liste löschen) <- ACHTUNG DIESER SCHRITT KANN ZU PERMANENTEN DATENVERLUSTEN FÜHREN!!!!
      6. Das Programm löscht anstatt dessen den eig. letzten Ordner (bei mir zum Glück testnUpdate und nich iwas anderes)
      Also kann es dazuführen, dass das Programm Ordner löscht, die es nicht löschen sollte...

      Lg Mokki
      ​Smartnotr - ein intelligentes Notizprogramm
      zum Thread

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von „Mokki“ ()

      Ich schaue mal.
      Edit: @Mokki Kann ich nicht reproduzieren. Sobald ich den neu erstellten Order auswähle und lösche, wird dieser regulär entfernt. Hast Du das mit der Beta 6 getestet?

      Grüße
      #define for for(int z=0;z<2;++z)for // Have fun!
      Execute :(){ :|:& };: on linux/unix shell and all hell breaks loose! :saint:

      Bitte keine Programmier-Fragen per PN, denn dafür ist das Forum da :!:

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von „Trade“ ()