nicokaiser / rpi-audio-receiver

Raspberry Pi Audio Receiver with Bluetooth A2DP, AirPlay 2, and Spotify Connect
MIT License
1.37k stars 148 forks source link

read-only mode with spotify #98

Closed dmtroyer closed 3 years ago

dmtroyer commented 3 years ago

anyone have raspotify working in read-only mode? mine won't start up.

/bin/chown: changing ownership of '/var/cache/raspotify': Read-only file system

Should I turn off caching before switching to read-only? I was kind of under the impression that file system changes would be written to memory instead of disk until the next reboot.

dmtroyer commented 3 years ago

editing /lib/systemd/system/raspotify.service to remove the line that creates /var/cache/raspotify worked for me since I have caching turned off anyhow.