Uploaded image for project: 'Insight Discovery'
  1. Insight Discovery
  2. ID-108

update.exe does not work on linux

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Labels:
      None
    • Affected Version:
      2.26.1
    • Resolved Version:
      2.27.1

      Description

      I am trying to update from Discovery 2.25.2.0 to 2.26.1.0 on RHEL 8.0 with Mono 6.8.0.105

      When I try to run 'mono update.exe' I get the following error:

      3/10/2020 1:44:12 PM : Start update....
      Would you like to reset the ObjectHashSettings.xml? [Y=Yes / N=No (default)]
      N
      3/10/2020 1:44:15 PM : Temporary saving file Collector.cfg.
      3/10/2020 1:44:15 PM : Temporary saving file Discovery.cfg.
      3/10/2020 1:44:15 PM : Temporary saving file fts.
      3/10/2020 1:44:15 PM : Temporary saving file ObjectHashSettings.xml.
      3/10/2020 1:44:15 PM : Temporary saving file credentialstore.
      Extracted file: Discovery/
      3/10/2020 1:44:16 PM : Error unpacking update file.
      3/10/2020 1:44:16 PM : Exceptions:
      3/10/2020 1:44:16 PM : Exception has been thrown by the target of an invocation.
      at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in <d50a1f2f14b642d2b936cb144b307343>:0
      at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <d50a1f2f14b642d2b936cb144b307343>:0
      at Insight.Discovery.update.Program.UnpackUpdate () [0x00142] in <c7dbf9527e75406e8101826173998c93>:0
      3/10/2020 1:44:16 PM : Path cannot be the empty string or all whitespace.
      Parameter name: path
      at System.IO.Directory.CreateDirectory (System.String path) [0x00016] in <d50a1f2f14b642d2b936cb144b307343>:0
      at Ionic.Zip.ZipEntry.InternalExtract (System.String baseDir, System.IO.Stream outstream, System.String password) [0x00298] in <bbd9aba337974e5db8c5a361e0f7ec0c>:0
      at Ionic.Zip.ZipEntry.Extract (System.String baseDirectory, Ionic.Zip.ExtractExistingFileAction extractExistingFile) [0x00007] in <bbd9aba337974e5db8c5a361e0f7ec0c>:0
      at Insight.Discovery.Unpacker.DoUnpack (System.String package, System.String path) [0x0001a] in <e5e4f684dcae4731a66e3351c4078d31>:0
      at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
      at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <d50a1f2f14b642d2b936cb144b307343>:0
      3/10/2020 1:44:16 PM : Update finished.

      After this, Discovery.exe stops working. In my Discovery folder  I can see that update.exe has created an empty folder named "\opt\Discovery\update\Discovery". Notice the backslashes.

      My Discovery folder is /opt/Discovery

        Attachments

          Activity

            People

            Assignee:
            christians Christian Solle
            Reporter:
            ronny.loken@gmail.com Ronny Løken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: