grafana / opcua-datasource

An OPC UA datasource for reading from OPC UA servers (DA/HDA/AE) into Grafana directly
GNU Affero General Public License v3.0
54 stars 10 forks source link

Failed to start plugin - gpx_opcua_windows_amd64.exe : file does not exist #14

Closed kevinterface closed 3 years ago

kevinterface commented 4 years ago

While trying to get the plugin up and running i encounter the following error entry in the grafana.log (located in ..\grafana\data\log)

I see a reference in the following file ..\grafana\data\plugins\grafana-opcua-datasource\pkg\dotnet\plugin-dotnet.win.build.csproj but also a comment regarding the issue of the missing file.

`

<Protobuf_NoWarnMissingExpected>true</Protobuf_NoWarnMissingExpected>
<AssemblyName>gpx_opcua_darwin_amd64</AssemblyName>

`

Are you also seeing this log entry in your grafana.log? At the moment I cannot connect to my OPC UA Server, when using UAExpert Client the server is available and I can read data from it.

MrLight commented 4 years ago

for me the usage of the following command helps to build not a darwin file but a windows exec file. I assume that you have a gpx_opcua_darwin_amd64.exe file in your dist folder.

dotnet publish ./pkg/dotnet/plugin-dotnet/.win.build.csproj -r win-x64 -o ./dist --self-contained true

srclosson commented 4 years ago

Oh, yes. That should do it (the command above)

Toha1997 commented 4 years ago

Exactly what i needed! 👍