Starting marketstore with polygon plugin

Hi,

I’ve been trying to install and implement marketstore, but having problems with the polygon plugin. I built the plugins and modified the mkts.yml configuration file for polygon plugin credentials, however get this error message when trying to start marketstore. Please help.

marketstore start

{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.555-0500”,“msg”:“Running single threaded”}
{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.555-0500”,“msg”:“using ./mkts.yml for configuration”}
{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.555-0500”,“msg”:“Disabling “enable_last_known” feature until it is fixed…”}
{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.555-0500”,“msg”:“initializing marketstore…”}
{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.555-0500”,“msg”:“WAL Setup: initCatalog true, initWALCache true, backgroundSync true, WALBypass false: \n”}
{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.555-0500”,“msg”:“Root Directory: data”}
{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.557-0500”,“msg”:“My WALFILE: WALFile.1590409575555614753.walfile”}
{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.557-0500”,“msg”:“Found a WALFILE: WALFile.1590409404439473806.walfile, entering replay…”}
{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.560-0500”,“msg”:“Beginning WAL Replay”}
{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.560-0500”,“msg”:“Partial Read”}
{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.560-0500”,“msg”:“Entering replay of TGData”}
{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.560-0500”,“msg”:“Replay of WAL file /home/jjoravet/Alpaca/marketstore/data/WALFile.1590409404439473806.walfile finished”}
{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.561-0500”,“msg”:“Finished replay of TGData”}
{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.566-0500”,“msg”:“launching rpc data server…”}
{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.566-0500”,“msg”:“initializing websocket…”}
{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.566-0500”,“msg”:“InitializeTriggers”}
{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.566-0500”,“msg”:“InitializeTriggers - Done”}
{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.566-0500”,“msg”:“InitializeBgWorkers”}
{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.566-0500”,“msg”:“Trying to load module from path: /home/user/go/bin/polygon.so…\n”}
{“level”:“error”,“timestamp”:“2020-05-25T07:26:15.574-0500”,“msg”:“Unable to open plugin for bgworker in polygon.so: module polygon.so not found in bin under any paths in GOPATH=/home/user/go or local directory\n: plugin.Open(“polygon.so”): realpath failed”}
{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.574-0500”,“msg”:“InitializeBgWorkers Done”}
{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.574-0500”,“msg”:“enabling query access…”}
{“level”:“info”,“timestamp”:“2020-05-25T07:26:15.574-0500”,“msg”:“launching tcp listener for all services…”}

make plugins executed fine.

The polygon plugin is in my path.

/home/user/go/bin/polygon.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=2053ee87e6176aef3ae5fc30697fd7914a4e8877, not stripped

GOPATH is /home/user/go and PATH includes GOPATH/bin

Any idea how to proceed? Thanks very much.

Not sure if related, but make test failed on sqlparser

coverage: 53.1% of statements
FAIL github.com/alpacahq/marketstore/sqlparser 1.335s
? github.com/alpacahq/marketstore/sqlparser/parser [no test files]
? github.com/alpacahq/marketstore/uda [no test files]
? github.com/alpacahq/marketstore/uda/avg [no test files]
? github.com/alpacahq/marketstore/uda/count [no test files]
? github.com/alpacahq/marketstore/uda/gap [no test files]
? github.com/alpacahq/marketstore/uda/max [no test files]
? github.com/alpacahq/marketstore/uda/min [no test files]
ok github.com/alpacahq/marketstore/utils 0.003s coverage: 38.2% of statements
ok github.com/alpacahq/marketstore/utils/functions 0.005s coverage: 61.9% of statements
ok github.com/alpacahq/marketstore/utils/io 0.016s coverage: 37.4% of statements
? github.com/alpacahq/marketstore/utils/log [no test files]
ok github.com/alpacahq/marketstore/utils/pool 1.002s coverage: 91.7% of statements
ok github.com/alpacahq/marketstore/utils/rpc/msgpack2 0.003s coverage: 83.3% of statements
? github.com/alpacahq/marketstore/utils/stats [no test files]
? github.com/alpacahq/marketstore/utils/test [no test files]

Regards,

Joe O.