Unable to install or uninstall Spotify

----------------------------- Delete here & above before posting below -----------------

I’m running Volumio 3.324, and am unable to either install or uninstall the Spotify plugin. When trying to uninstall, I get the message:

Uninstalling plugin spop
An error occurred while uninstalling the plugin: TypeError: Cannot read property ‘volumio_info’ of undefined

When trying to install the plugin (v3.0.6), I get:

Installing plugin
An error occurred while installing the plugin Error: Plugin spop already exists

Is there a way to manually uninstall? Or should I try doing a complete fresh install of Volumio?

@Halloran Strange. Is the Spotify version a very old one? You should also uninstall all Spotify plugins, including Connect if you still have that. Always restart Volumio after uninstall (if you eventually get that far!) and before re-installing.

Still, if it’s not too much bother, a clean install will clear this up.

@SimonE On this Pi, the Spotify plugin was probably originally installed quite a long time ago. But since it seems only half installed, I can’t tell the version. And I’ve restarted a million times in this process.

At the end of the day, doing a re-image is probably a good idea anyway. I don’t have much in the way of customization (just the NAS config) anyway.

Thanks for the suggestions!

Hi. You can remove the folder

rm -Rf /data/plugins/music_service/spop

And reboot

Getting lots of errors like:

rm: cannot remove '/data/plugins/music_service/spop/node_modules/util-deprecate/browser.js': Structure needs cleaning

which seems to indicate that the sd might be failing… Given how long this one has been running seems totally reasonable.

Thanks for helping me to run the issue down!

Thanks but even as root, I can remove the folder. Any hint?

There is a non-empty folder named node_modules. volumio:volumio is the user and group owner.

Hi,

Your bumping a 2 year old topic.
So to be sure:

Hye @Wheaten and thanks for your reply

  • Running volumio 3.703
  • I had version 4.0.4 of spotify plugin and the update for 4.0.5 poped up. The update did not finished correctly and trying to revert to 4.0.4 is not possible
  • so I tried to delete the folder through ssh and it says spop folder in /data/plugins/music_service/spop/ is not empty in fact there is a folder named node_modules

rm -rf of the /data/plugins/music_service/spop/ folder did not worked even as root.

try:

sudo rm /usr/bin/go-librespot
sudo rm /lib/systemd/system/go-librespot-daemon.service
sudo rm -rf /data/plugins/music_service/spop

reboot and install again

1 Like

Thanks for your reply,

The first two lines run ok but the last one gave me those errors:

volumio@volumio:~$ sudo rm -rf /data/plugins/music_service/spop
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/concat-map’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/cookiejar’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/readable-stream’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/call-bind’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/spotify-web-api-node’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/klaw’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/combined-stream’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/dezalgo’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/imurmurhash’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/blob’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/component-inherit’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/brace-expansion’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/has-binary2’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/util-deprecate’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/inherits’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/methods’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/mime’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/jsonfile’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/xmlhttprequest-ssl’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/v-conf’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/hexoid’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/string_decoder’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/engine.io-parser’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/component-emitter’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/side-channel’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/minimatch’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/graceful-fs’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/lodash/fp’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/once’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/parseqs’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/qs’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/function-bind’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/base64-arraybuffer’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/balanced-match’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/get-intrinsic’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/socket.io-client’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/async-limiter’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/inflight’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/rimraf’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/has-symbols’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/formidable’: Directory not empty
rm: cannot remove ‘/data/plugins/music_service/spop/node_modules/has-cors’: Directory not empty
volumio@volumio:~$

sudo rm -Rf

1 Like

Same error

And then trying to reinstall the 4.0.5 version:
Downloading plugin at https://plugins.volumio.workers.dev/pluginsv2/download/spop/4.0.5/volumio/buster/armhf
END DOWNLOAD: https://plugins.volumio.workers.dev/pluginsv2/download/spop/4.0.5/volumio/buster/armhf
Création de l’emplacement de destination
Décompression du plugin
Vérifier que le plugin est adapté à cette version de Volumio The plugin can be used with this version of Volumio
Vérification des doublons
Une erreur est survenue lors de l’installation du plugin Error: Command failed: /bin/mv /data/temp/downloaded_plugin /data/plugins/spop /bin/mv: cannot move ‘/data/temp/downloaded_plugin’ to ‘/data/plugins/spop/downloaded_plugin’: Directory not empty

did you change the password of volumio?

1 Like

No, I don’t think so, default installation. Sd card flashing

Then I would suggest to flash a new SD,

1 Like