Dev:Install or update DeviceDataUploader service: Difference between revisions

From Kordeus Wiki
Jump to navigation Jump to search
Mionamilosevic (talk | contribs)
No edit summary
Mionamilosevic (talk | contribs)
No edit summary
Line 64: Line 64:


[[File:Collect data 4.jpg|left|thumb]]
[[File:Collect data 4.jpg|left|thumb]]
I




Line 75: Line 74:




f you need to adjust the settings, e.g. if you are adding support for another device
 
 
 
 
If you need to adjust the settings, e.g. if you are adding support for another device
----
----
# Start -> Editor -> Right click -> Als Administrator ausführen -> navigate to the appsettings.json (you will have to choose Alle Dateien option)
# Start -> Editor -> Right click -> Als Administrator ausführen -> navigate to the appsettings.json (you will have to choose Alle Dateien option)

Revision as of 07:44, 12 April 2023

This service is used to monitor the configured folders for new data sent from the devices (or SerialDeviceIntegration service).

Install / update DeviceDataUpload

Prerequisits: You have dotnet 2.0 installed on the machine which is going to run the service and that dotnet.exe is accessible from everywhere (added to the PATH variable)

⚠️Add file: DeviceDataUploadRelease-1.9.zip (latest version)


If you already have DeviceDataUpload service installed


  1. Make a zip of current C:\Program Files (x86)\b-op\DeviceDataUploaderRelease just in case
  2. Start -> Type cmd -> Right click -> Als Administrator ausführen
  3. Execute: cd C:\Program Files (x86)\b-op\DeviceDataUploaderRelease
  4. Execute: dotnet DeviceDataUploadService.dll action:stop


If you are installing the service for the first time


  1. Copy contents of DeviceDataUploaderRelease-x.x (except for appsettings.json) to C:\Program Files (x86)\b-op\DeviceDataUploaderRelease
  2. Start -> Type cmd -> Right click -> Als Administrator ausführen
  3. Execute: cd C:\Program Files (x86)\b-op\DeviceDataUploaderRelease
  4. Execute: dotnet DeviceDataUploadService.dll action:install



























If you need to adjust the settings, e.g. if you are adding support for another device


  1. Start -> Editor -> Right click -> Als Administrator ausführen -> navigate to the appsettings.json (you will have to choose Alle Dateien option)
Required settings for each device can be found here
  1. Execute: dotnet DeviceDataUploadService.dll action:stop
  2. Execute: dotnet DeviceDataUploadService.dll action:start