ImmichI
Immich3y ago
pjnd98

New install - import of external folders failing in CLI

I just installed immich in docker and I'm trying to run the CLI import to where my photos live and the command itself is failing before even getting to the photo location. I'm sure this is just something dumb on my part but I've spun my wheels for quite a while to no avail!

immich upload --key b11111HwXoa1tF5KqqgXA3yG9vT95ygANk3I22222g --server http://192.168.50.4:2283/api /mnt/photos/testPic1.jpg --import


and I get an immediate error

/usr/local/lib/node_modules/immich/node_modules/systeminformation/lib/filesystem.js:145
              osMounts[line.split(' ')[0]] = osMounts[line.split(' ')[0]] ?? false;
                                                                           ^

SyntaxError: Unexpected token '?'
    at wrapSafe (internal/modules/cjs/loader.js:915:16)
    at Module._compile (internal/modules/cjs/loader.js:963:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/immich/node_modules/systeminformation/lib/index.js:32:20)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
Was this page helpful?