I wasn't sure whether I should create two separate issues but given it's a fresh install I thought they might be linked.
Install details:
Debian 10
Docker version: 5:19.03.13~3-0~debian-buster (installed using the official Docker guide, not from Debian repos)
container created with:
docker run -p 5070:5070 -v /home/<myactualusername>/.sensorr:/app/sensorr/config -v /home/<myactualusername>/downloads:/app/sensorr/blackhole --name="sensorr" thcolin/sensorr
container created with my user (not root)
First comment:
When creating the container, the creation behaves oddly.
When I created other contaiers (Radarr, Ombi), containers were created and I returned to prompt, then I could start them.
With Sensorr, it acted as if it was actually starting the container immediately and throw up a lot of logs (the same you get with "docker logs ".
The logs show a lot of errors (see below), but Sensorr is still browsable.
After editing the config, the configuration JSON file is correctly created in the .sensorr directory in my user's home, and contains valid data.
I also manage to link Sensorr with Plex, connection seems OK from Sensorr's settings page, and Sensorr is listed in the authenticated devices in the Plex management interface.
However:
my Movies => Library page stays empty : shouldn't it list the movies I already have thanks to Plex integration ?
when looking for a movie through the regular search, Sensorr never tells the movie already exists (in Plex) ?
Did I misunderstand how the Plex integration is supposed to work ?
Here are the logs obtained after a fresh container start:
$ FORCE_COLOR=1 pm2-runtime start ecosystem.config.js --env=production 2020-11-18T16:40:32: PM2 log: Launching in no daemon mode 2020-11-18T16:40:32: PM2 error: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (28) at Object.writeFileSync (fs.js:1380:5) at module.exports.Daemon.innerStart (/app/sensorr/node_modules/pm2/lib/Daemon.js:89:8) at /app/sensorr/node_modules/pm2/lib/Client.js:77:14 at /app/sensorr/node_modules/pm2/lib/Client.js:311:14 at processTicksAndRejections (internal/process/task_queues.js:79:11) 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency (Usenode --trace-warnings ...to show where the warning was created) 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'find' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'head' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'set' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'test' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'to' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'which' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 log: App [sensorr:web:0] starting in -cluster mode- 2020-11-18T16:40:33: PM2 log: App [sensorr:purge:1] starting in -fork mode- 2020-11-18T16:40:33: PM2 error: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (46) at Object.writeFileSync (fs.js:1380:5) at /app/sensorr/node_modules/pm2/lib/God/ForkMode.js:258:12 at wrapper (/app/sensorr/node_modules/pm2/node_modules/async/internal/once.js:12:16) at next (/app/sensorr/node_modules/pm2/node_modules/async/waterfall.js:96:20) at /app/sensorr/node_modules/pm2/node_modules/async/internal/onlyOnce.js:12:16 at WriteStream.<anonymous> (/app/sensorr/node_modules/pm2/lib/Utility.js:186:13) at WriteStream.emit (events.js:315:20) at WriteStream.EventEmitter.emit (domain.js:485:12) at internal/fs/streams.js:395:12 at FSReqCallback.oncomplete (fs.js:163:23) 2020-11-18T16:40:33: PM2 log: App [sensorr:purge:1] online 2020-11-18T16:40:33: PM2 log: App [sensorr:record:2] starting in -fork mode- 2020-11-18T16:40:33: PM2 error: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (53) at Object.writeFileSync (fs.js:1380:5) at /app/sensorr/node_modules/pm2/lib/God/ForkMode.js:258:12 at wrapper (/app/sensorr/node_modules/pm2/node_modules/async/internal/once.js:12:16) at next (/app/sensorr/node_modules/pm2/node_modules/async/waterfall.js:96:20) at /app/sensorr/node_modules/pm2/node_modules/async/internal/onlyOnce.js:12:16 at WriteStream.<anonymous> (/app/sensorr/node_modules/pm2/lib/Utility.js:186:13) at WriteStream.emit (events.js:315:20) at WriteStream.EventEmitter.emit (domain.js:485:12) at internal/fs/streams.js:395:12 at FSReqCallback.oncomplete (fs.js:163:23) 2020-11-18T16:40:33: PM2 log: App [sensorr:record:2] online 2020-11-18T16:40:33: PM2 log: App [sensorr:web:0] online 2020-11-18T16:40:33: PM2 log: App [sensorr:schedule:3] starting in -fork mode- 2020-11-18T16:40:33: PM2 log: App [sensorr:pairwise:4] starting in -fork mode- 2020-11-18T16:40:33: PM2 error: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (60) at Object.writeFileSync (fs.js:1380:5) at /app/sensorr/node_modules/pm2/lib/God/ForkMode.js:258:12 at wrapper (/app/sensorr/node_modules/pm2/node_modules/async/internal/once.js:12:16) at next (/app/sensorr/node_modules/pm2/node_modules/async/waterfall.js:96:20) at /app/sensorr/node_modules/pm2/node_modules/async/internal/onlyOnce.js:12:16 at WriteStream.<anonymous> (/app/sensorr/node_modules/pm2/lib/Utility.js:186:13) at WriteStream.emit (events.js:315:20) at WriteStream.EventEmitter.emit (domain.js:485:12) at internal/fs/streams.js:395:12 at FSReqCallback.oncomplete (fs.js:163:23) 2020-11-18T16:40:33: PM2 log: App [sensorr:schedule:3] online 2020-11-18T16:40:33: PM2 error: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (61) at Object.writeFileSync (fs.js:1380:5) at /app/sensorr/node_modules/pm2/lib/God/ForkMode.js:258:12 at wrapper (/app/sensorr/node_modules/pm2/node_modules/async/internal/once.js:12:16) at next (/app/sensorr/node_modules/pm2/node_modules/async/waterfall.js:96:20) at /app/sensorr/node_modules/pm2/node_modules/async/internal/onlyOnce.js:12:16 at WriteStream.<anonymous> (/app/sensorr/node_modules/pm2/lib/Utility.js:186:13) at WriteStream.emit (events.js:315:20) at WriteStream.EventEmitter.emit (domain.js:485:12) at internal/fs/streams.js:395:12 at FSReqCallback.oncomplete (fs.js:163:23) 2020-11-18T16:40:33: PM2 log: App [sensorr:pairwise:4] online 2020-11-18T16:40:33: PM2 log: App [sensorr:hydrate:5] starting in -fork mode- 2020-11-18T16:40:33: PM2 error: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (68) at Object.writeFileSync (fs.js:1380:5) at /app/sensorr/node_modules/pm2/lib/God/ForkMode.js:258:12 at wrapper (/app/sensorr/node_modules/pm2/node_modules/async/internal/once.js:12:16) at next (/app/sensorr/node_modules/pm2/node_modules/async/waterfall.js:96:20) at /app/sensorr/node_modules/pm2/node_modules/async/internal/onlyOnce.js:12:16 at WriteStream.<anonymous> (/app/sensorr/node_modules/pm2/lib/Utility.js:186:13) at WriteStream.emit (events.js:315:20) at WriteStream.EventEmitter.emit (domain.js:485:12) at internal/fs/streams.js:395:12 at FSReqCallback.oncomplete (fs.js:163:23) 2020-11-18T16:40:33: PM2 log: App [sensorr:hydrate:5] online job "./bin/sensorr purge" waiting... job "./bin/sensorr record" waiting... job "./bin/sensorr schedule" waiting... TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (39) at Object.writeFileSync (fs.js:1380:5) at ProcessContainer (/app/sensorr/node_modules/pm2/lib/ProcessContainer.js:67:8) at Object.<anonymous> (/app/sensorr/node_modules/pm2/lib/ProcessContainer.js:100:3) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) at Module.load (internal/modules/cjs/loader.js:1034:32) at Function.Module._load (internal/modules/cjs/loader.js:923:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) at internal/main/run_main_module.js:17:47 job "./bin/sensorr pairwise" waiting... job "./bin/sensorr hydrate" waiting... SOCKET {"sessions":0} PM2 {"event":"connected"} 2020-11-18T16:40:35: PM2 log: Stopping app:sensorr:hydrate id:5 2020-11-18T16:40:35: PM2 log: Stopping app:sensorr:pairwise id:4 2020-11-18T16:40:35: PM2 log: Stopping app:sensorr:schedule id:3 SOCKET {"jobs":{"sensorr:purge":true,"sensorr:record":false,"sensorr:schedule":false,"sensorr:pairwise":false,"sensorr:hydrate":false}} SOCKET {"jobs":{"sensorr:purge":true,"sensorr:record":true,"sensorr:schedule":false,"sensorr:pairwise":false,"sensorr:hydrate":false}} SOCKET {"jobs":{"sensorr:purge":true,"sensorr:record":true,"sensorr:schedule":true,"sensorr:pairwise":false,"sensorr:hydrate":false}} SOCKET {"jobs":{"sensorr:purge":true,"sensorr:record":true,"sensorr:schedule":true,"sensorr:pairwise":true,"sensorr:hydrate":false}} SOCKET {"jobs":{"sensorr:purge":true,"sensorr:record":true,"sensorr:schedule":true,"sensorr:pairwise":true,"sensorr:hydrate":true}} 2020-11-18T16:40:35: PM2 log: Stopping app:sensorr:record id:2 2020-11-18T16:40:35: PM2 log: Stopping app:sensorr:purge id:1 2020-11-18T16:40:35: PM2 log: App [sensorr:schedule:3] exited with code [0] via signal [SIGINT] 2020-11-18T16:40:35: PM2 log: App [sensorr:pairwise:4] exited with code [0] via signal [SIGINT] 2020-11-18T16:40:35: PM2 log: App [sensorr:purge:1] exited with code [0] via signal [SIGINT] 2020-11-18T16:40:35: PM2 log: App [sensorr:record:2] exited with code [0] via signal [SIGINT] 2020-11-18T16:40:35: PM2 log: App [sensorr:hydrate:5] exited with code [0] via signal [SIGINT] SOCKET {"jobs":{"sensorr:purge":true,"sensorr:record":true,"sensorr:schedule":false,"sensorr:pairwise":true,"sensorr:hydrate":true}} SOCKET {"jobs":{"sensorr:purge":true,"sensorr:record":true,"sensorr:schedule":false,"sensorr:pairwise":false,"sensorr:hydrate":true}} SOCKET {"jobs":{"sensorr:purge":false,"sensorr:record":true,"sensorr:schedule":false,"sensorr:pairwise":false,"sensorr:hydrate":true}} SOCKET {"jobs":{"sensorr:purge":false,"sensorr:record":false,"sensorr:schedule":false,"sensorr:pairwise":false,"sensorr:hydrate":true}} SOCKET {"jobs":{"sensorr:purge":false,"sensorr:record":false,"sensorr:schedule":false,"sensorr:pairwise":false,"sensorr:hydrate":false}} 2020-11-18T16:40:35: PM2 log: pid=60 msg=process killed 2020-11-18T16:40:35: PM2 log: pid=61 msg=process killed 2020-11-18T16:40:35: PM2 log: pid=68 msg=process killed 2020-11-18T16:40:35: PM2 log: pid=46 msg=process killed 2020-11-18T16:40:35: PM2 log: pid=53 msg=process killed SOCKET #wJ0Qtl8XpsloA4LFAAAA {"event":"connected"} SOCKET #wJ0Qtl8XpsloA4LFAAAA {"sessions":0} SOCKET #wJ0Qtl8XpsloA4LFAAAA {"jobs":{"sensorr:purge":false,"sensorr:record":false,"sensorr:schedule":false,"sensorr:pairwise":false,"sensorr:hydrate":false}} SOCKET #wJ0Qtl8XpsloA4LFAAAA {"plex":"unknown"} SOCKET {"plex":"authorized"}
Hello,
I wasn't sure whether I should create two separate issues but given it's a fresh install I thought they might be linked.
Install details:
docker run -p 5070:5070 -v /home/<myactualusername>/.sensorr:/app/sensorr/config -v /home/<myactualusername>/downloads:/app/sensorr/blackhole --name="sensorr" thcolin/sensorr
First comment: When creating the container, the creation behaves oddly. When I created other contaiers (Radarr, Ombi), containers were created and I returned to prompt, then I could start them. With Sensorr, it acted as if it was actually starting the container immediately and throw up a lot of logs (the same you get with "docker logs".
The logs show a lot of errors (see below), but Sensorr is still browsable. After editing the config, the configuration JSON file is correctly created in the .sensorr directory in my user's home, and contains valid data.
I also manage to link Sensorr with Plex, connection seems OK from Sensorr's settings page, and Sensorr is listed in the authenticated devices in the Plex management interface.
However:
Here are the logs obtained after a fresh container start:
$ FORCE_COLOR=1 pm2-runtime start ecosystem.config.js --env=production 2020-11-18T16:40:32: PM2 log: Launching in no daemon mode 2020-11-18T16:40:32: PM2 error: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (28) at Object.writeFileSync (fs.js:1380:5) at module.exports.Daemon.innerStart (/app/sensorr/node_modules/pm2/lib/Daemon.js:89:8) at /app/sensorr/node_modules/pm2/lib/Client.js:77:14 at /app/sensorr/node_modules/pm2/lib/Client.js:311:14 at processTicksAndRejections (internal/process/task_queues.js:79:11) 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency (Use
node --trace-warnings ...to show where the warning was created) 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'find' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'head' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'set' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'test' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'to' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 error: (node:28) Warning: Accessing non-existent property 'which' of module exports inside circular dependency 2020-11-18T16:40:33: PM2 log: App [sensorr:web:0] starting in -cluster mode- 2020-11-18T16:40:33: PM2 log: App [sensorr:purge:1] starting in -fork mode- 2020-11-18T16:40:33: PM2 error: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (46) at Object.writeFileSync (fs.js:1380:5) at /app/sensorr/node_modules/pm2/lib/God/ForkMode.js:258:12 at wrapper (/app/sensorr/node_modules/pm2/node_modules/async/internal/once.js:12:16) at next (/app/sensorr/node_modules/pm2/node_modules/async/waterfall.js:96:20) at /app/sensorr/node_modules/pm2/node_modules/async/internal/onlyOnce.js:12:16 at WriteStream.<anonymous> (/app/sensorr/node_modules/pm2/lib/Utility.js:186:13) at WriteStream.emit (events.js:315:20) at WriteStream.EventEmitter.emit (domain.js:485:12) at internal/fs/streams.js:395:12 at FSReqCallback.oncomplete (fs.js:163:23) 2020-11-18T16:40:33: PM2 log: App [sensorr:purge:1] online 2020-11-18T16:40:33: PM2 log: App [sensorr:record:2] starting in -fork mode- 2020-11-18T16:40:33: PM2 error: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (53) at Object.writeFileSync (fs.js:1380:5) at /app/sensorr/node_modules/pm2/lib/God/ForkMode.js:258:12 at wrapper (/app/sensorr/node_modules/pm2/node_modules/async/internal/once.js:12:16) at next (/app/sensorr/node_modules/pm2/node_modules/async/waterfall.js:96:20) at /app/sensorr/node_modules/pm2/node_modules/async/internal/onlyOnce.js:12:16 at WriteStream.<anonymous> (/app/sensorr/node_modules/pm2/lib/Utility.js:186:13) at WriteStream.emit (events.js:315:20) at WriteStream.EventEmitter.emit (domain.js:485:12) at internal/fs/streams.js:395:12 at FSReqCallback.oncomplete (fs.js:163:23) 2020-11-18T16:40:33: PM2 log: App [sensorr:record:2] online 2020-11-18T16:40:33: PM2 log: App [sensorr:web:0] online 2020-11-18T16:40:33: PM2 log: App [sensorr:schedule:3] starting in -fork mode- 2020-11-18T16:40:33: PM2 log: App [sensorr:pairwise:4] starting in -fork mode- 2020-11-18T16:40:33: PM2 error: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (60) at Object.writeFileSync (fs.js:1380:5) at /app/sensorr/node_modules/pm2/lib/God/ForkMode.js:258:12 at wrapper (/app/sensorr/node_modules/pm2/node_modules/async/internal/once.js:12:16) at next (/app/sensorr/node_modules/pm2/node_modules/async/waterfall.js:96:20) at /app/sensorr/node_modules/pm2/node_modules/async/internal/onlyOnce.js:12:16 at WriteStream.<anonymous> (/app/sensorr/node_modules/pm2/lib/Utility.js:186:13) at WriteStream.emit (events.js:315:20) at WriteStream.EventEmitter.emit (domain.js:485:12) at internal/fs/streams.js:395:12 at FSReqCallback.oncomplete (fs.js:163:23) 2020-11-18T16:40:33: PM2 log: App [sensorr:schedule:3] online 2020-11-18T16:40:33: PM2 error: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (61) at Object.writeFileSync (fs.js:1380:5) at /app/sensorr/node_modules/pm2/lib/God/ForkMode.js:258:12 at wrapper (/app/sensorr/node_modules/pm2/node_modules/async/internal/once.js:12:16) at next (/app/sensorr/node_modules/pm2/node_modules/async/waterfall.js:96:20) at /app/sensorr/node_modules/pm2/node_modules/async/internal/onlyOnce.js:12:16 at WriteStream.<anonymous> (/app/sensorr/node_modules/pm2/lib/Utility.js:186:13) at WriteStream.emit (events.js:315:20) at WriteStream.EventEmitter.emit (domain.js:485:12) at internal/fs/streams.js:395:12 at FSReqCallback.oncomplete (fs.js:163:23) 2020-11-18T16:40:33: PM2 log: App [sensorr:pairwise:4] online 2020-11-18T16:40:33: PM2 log: App [sensorr:hydrate:5] starting in -fork mode- 2020-11-18T16:40:33: PM2 error: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (68) at Object.writeFileSync (fs.js:1380:5) at /app/sensorr/node_modules/pm2/lib/God/ForkMode.js:258:12 at wrapper (/app/sensorr/node_modules/pm2/node_modules/async/internal/once.js:12:16) at next (/app/sensorr/node_modules/pm2/node_modules/async/waterfall.js:96:20) at /app/sensorr/node_modules/pm2/node_modules/async/internal/onlyOnce.js:12:16 at WriteStream.<anonymous> (/app/sensorr/node_modules/pm2/lib/Utility.js:186:13) at WriteStream.emit (events.js:315:20) at WriteStream.EventEmitter.emit (domain.js:485:12) at internal/fs/streams.js:395:12 at FSReqCallback.oncomplete (fs.js:163:23) 2020-11-18T16:40:33: PM2 log: App [sensorr:hydrate:5] online job "./bin/sensorr purge" waiting... job "./bin/sensorr record" waiting... job "./bin/sensorr schedule" waiting... TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (39) at Object.writeFileSync (fs.js:1380:5) at ProcessContainer (/app/sensorr/node_modules/pm2/lib/ProcessContainer.js:67:8) at Object.<anonymous> (/app/sensorr/node_modules/pm2/lib/ProcessContainer.js:100:3) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) at Module.load (internal/modules/cjs/loader.js:1034:32) at Function.Module._load (internal/modules/cjs/loader.js:923:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) at internal/main/run_main_module.js:17:47 job "./bin/sensorr pairwise" waiting... job "./bin/sensorr hydrate" waiting... SOCKET {"sessions":0} PM2 {"event":"connected"} 2020-11-18T16:40:35: PM2 log: Stopping app:sensorr:hydrate id:5 2020-11-18T16:40:35: PM2 log: Stopping app:sensorr:pairwise id:4 2020-11-18T16:40:35: PM2 log: Stopping app:sensorr:schedule id:3 SOCKET {"jobs":{"sensorr:purge":true,"sensorr:record":false,"sensorr:schedule":false,"sensorr:pairwise":false,"sensorr:hydrate":false}} SOCKET {"jobs":{"sensorr:purge":true,"sensorr:record":true,"sensorr:schedule":false,"sensorr:pairwise":false,"sensorr:hydrate":false}} SOCKET {"jobs":{"sensorr:purge":true,"sensorr:record":true,"sensorr:schedule":true,"sensorr:pairwise":false,"sensorr:hydrate":false}} SOCKET {"jobs":{"sensorr:purge":true,"sensorr:record":true,"sensorr:schedule":true,"sensorr:pairwise":true,"sensorr:hydrate":false}} SOCKET {"jobs":{"sensorr:purge":true,"sensorr:record":true,"sensorr:schedule":true,"sensorr:pairwise":true,"sensorr:hydrate":true}} 2020-11-18T16:40:35: PM2 log: Stopping app:sensorr:record id:2 2020-11-18T16:40:35: PM2 log: Stopping app:sensorr:purge id:1 2020-11-18T16:40:35: PM2 log: App [sensorr:schedule:3] exited with code [0] via signal [SIGINT] 2020-11-18T16:40:35: PM2 log: App [sensorr:pairwise:4] exited with code [0] via signal [SIGINT] 2020-11-18T16:40:35: PM2 log: App [sensorr:purge:1] exited with code [0] via signal [SIGINT] 2020-11-18T16:40:35: PM2 log: App [sensorr:record:2] exited with code [0] via signal [SIGINT] 2020-11-18T16:40:35: PM2 log: App [sensorr:hydrate:5] exited with code [0] via signal [SIGINT] SOCKET {"jobs":{"sensorr:purge":true,"sensorr:record":true,"sensorr:schedule":false,"sensorr:pairwise":true,"sensorr:hydrate":true}} SOCKET {"jobs":{"sensorr:purge":true,"sensorr:record":true,"sensorr:schedule":false,"sensorr:pairwise":false,"sensorr:hydrate":true}} SOCKET {"jobs":{"sensorr:purge":false,"sensorr:record":true,"sensorr:schedule":false,"sensorr:pairwise":false,"sensorr:hydrate":true}} SOCKET {"jobs":{"sensorr:purge":false,"sensorr:record":false,"sensorr:schedule":false,"sensorr:pairwise":false,"sensorr:hydrate":true}} SOCKET {"jobs":{"sensorr:purge":false,"sensorr:record":false,"sensorr:schedule":false,"sensorr:pairwise":false,"sensorr:hydrate":false}} 2020-11-18T16:40:35: PM2 log: pid=60 msg=process killed 2020-11-18T16:40:35: PM2 log: pid=61 msg=process killed 2020-11-18T16:40:35: PM2 log: pid=68 msg=process killed 2020-11-18T16:40:35: PM2 log: pid=46 msg=process killed 2020-11-18T16:40:35: PM2 log: pid=53 msg=process killed SOCKET #wJ0Qtl8XpsloA4LFAAAA {"event":"connected"} SOCKET #wJ0Qtl8XpsloA4LFAAAA {"sessions":0} SOCKET #wJ0Qtl8XpsloA4LFAAAA {"jobs":{"sensorr:purge":false,"sensorr:record":false,"sensorr:schedule":false,"sensorr:pairwise":false,"sensorr:hydrate":false}} SOCKET #wJ0Qtl8XpsloA4LFAAAA {"plex":"unknown"} SOCKET {"plex":"authorized"}