mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #429] Using librespot with read-only filesystems #276
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#276
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jamminen on GitHub (Jan 29, 2020).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/429
Hi all,
I got my raspberry pi 3 and Raspotify working OK, but I have now a problem after following these instructions:
https://medium.com/swlh/make-your-raspberry-pi-file-system-read-only-raspbian-buster-c558694de79
First, Raspotify couldn't start. I figured I needed to modify /etc/fstab to include
tmpfs /var/cache tmpfs nosuid,nodev 0 0
(if I remember correctly)
Now Raspotify starts and I see it working using Spotify on a phone. Apparently I can also connect to it since I can see from logs that librespot tries to start playing, but librespot_playback panicks with an error "PermissionDenied" or something similar.
My question is, what do I need to change to make librespot work in my modified, read-only system?
(Sorry for not having the exact logs with me right now, I can add them later if needed)
@jamminen commented on GitHub (Jan 31, 2020):
I changed /etc/fstab to include
tmpfs /var tmpfs nosuid,nodev 0 0
so the whole folder /var was written to memory instead of only a few subfolders of /var. After this modification the system works.