I compiled the actual media scanner to my own version (I need it to tweak the scanner.js a bit but for testing it’s just a raw compilation with no changes)
The actual Server 2.3.3 LTS works like a charm with its own scanner.exe file.
starting with my own scanner.exe it throws an error:
{"level":30,"time":1676047353209,"pid":18304,"hostname":"PS-GRA-T249841","name":"scanner","msg":"Checking for dead media"}
C:\snapshot\media-scanner-master\node_modules\node-fetch\lib\index.js:1491
reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
^
FetchError: request to http://localhost:8000/db/_media/ failed, reason: connect ECONNREFUSED ::1:8000
at ClientRequest.<anonymous> (C:\snapshot\media-scanner-master\node_modules\node-fetch\lib\index.js:1491:11)
at ClientRequest.emit (node:events:537:28)
at Socket.socketErrorListener (node:_http_client:465:9)
at Socket.emit (node:events:537:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
type: 'system',
errno: 'ECONNREFUSED',
code: 'ECONNREFUSED'
}
Node.js v18.5.0
any suggestions why?
The port 8000 isn’t blocked or used by another service