Invalid Volume Signature with resin img

resin-cli

#1

I’m seeing this on Linux and Windows while trying to copy a splash image into an img:

jgentes:~/workspace (master) $ resin img cp resin-SidekickPrd-2.9.7+rev2-v6.6.0.img resin-logo.png /splash/resin-logo.png
Error updating configuration file { Error: Invalid volume signature!
    at Object.exports.init (/home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/fatfs/vol.js:7:69)
    at init (/home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/fatfs/index.js:64:35)
    at /home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/fatfs/index.js:49:21
    at /home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/resin-image-fs/build/driver.js:52:16
    at FSReqWrap.wrapper [as oncomplete] (fs.js:629:17)
  cause: 
   Error: Invalid volume signature!
       at Object.exports.init (/home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/fatfs/vol.js:7:69)
       at init (/home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/fatfs/index.js:64:35)
       at /home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/fatfs/index.js:49:21
       at /home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/resin-image-fs/build/driver.js:52:16
       at FSReqWrap.wrapper [as oncomplete] (fs.js:629:17),
  isOperational: true } Error: Invalid volume signature!
    at Object.exports.init (/home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/fatfs/vol.js:7:69)
    at init (/home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/fatfs/index.js:64:35)
    at /home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/fatfs/index.js:49:21
    at /home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/resin-image-fs/build/driver.js:52:16
    at FSReqWrap.wrapper [as oncomplete] (fs.js:629:17)
Invalid volume signature!jgentes:~/workspace (master) $ resin img cp resin-SidekickPrd-2.9.7+rev2-v6.6.0.img resin-logo.png /splash/resin-logo.png
Error updating configuration file { Error: Invalid volume signature!
    at Object.exports.init (/home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/fatfs/vol.js:7:69)
    at init (/home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/fatfs/index.js:64:35)
    at /home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/fatfs/index.js:49:21
    at /home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/resin-image-fs/build/driver.js:52:16
    at FSReqWrap.wrapper [as oncomplete] (fs.js:629:17)
  cause: 
   Error: Invalid volume signature!
       at Object.exports.init (/home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/fatfs/vol.js:7:69)
       at init (/home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/fatfs/index.js:64:35)
       at /home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/fatfs/index.js:49:21
       at /home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/resin-image-fs/build/driver.js:52:16
       at FSReqWrap.wrapper [as oncomplete] (fs.js:629:17),
  isOperational: true } Error: Invalid volume signature!
    at Object.exports.init (/home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/fatfs/vol.js:7:69)
    at init (/home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/fatfs/index.js:64:35)
    at /home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/fatfs/index.js:49:21
    at /home/ubuntu/.nvm/versions/node/v7.10.1/lib/node_modules/resin-plugin-img/node_modules/resin-image-fs/build/driver.js:52:16
    at FSReqWrap.wrapper [as oncomplete] (fs.js:629:17)
Invalid volume signature!

Any ideas?


Setup resin.io behind corporate proxy/firewall
#11

Hi,

Are you still hitting this? If so, can you try updating the CLI (npm i -g resin-cli) and run the command again?

Best, Kostas