Introduction

You want to delete old downloaded Software Updates from the CSC but nothing is happend.


Problem

Very often the data file for this update is missing in "\diagserverdata\updates".
This can happen if anybody has moved the diagserverdata folder from one location to another location and delete the content of the updates folder.
Or anybody has reinstalled the custo diagnostic server in a new location.


Workaround

  1. Try to delete the old update from the CSC.
  2. Open the "diagserver.log" (Location: "\diagserverdata\log") and search for the failed deletion attempt.
    Example: 2023-03-31T14:58:38,531 = ERROR [http-nio-8080-exec-9] (FileServiceImpl.java:391) {de.customed.diag.service.FileServiceImpl.deleteFile_aroundBody12} - java.nio.file.NoSuchFileException: C:\diagserverdata\updates\2061.dat
  3. Find the file name in the log entry. (Example above: "2061.dat")
  4. Create an empty file with this file name in the folder "\diagserverdata\updates"
  5. Delete the update from the CSC
  6. Repeat this with all undeletable updates.
  • No labels