bubbleupnp serverr homedirectory on raspberry

35 views
Skip to first unread message

Michael Waldor

unread,
Aug 29, 2025, 3:05:46 AMAug 29
to BubbleUPnP
bubbleupnp server stores all its runtime files within /home/bubbleupnp. Beware, by default the folder /home is stored on the raspberry's sd card. All IO - especially the proxy buffering - is done there. To protect your sd card for too many write cycles, I propose to move the home directory into some other location. E.g. I use an SSD attached to my raspberry.

Regards, Michael

Bubblesoft

unread,
Sep 5, 2025, 6:21:31 AM (11 days ago) Sep 5
to BubbleUPnP
The only thing that writes regularly in that folder is the log file (BubbleUPnPServer.log.0). 

Two solutions.

1. disable writing of the log file, editing the systemctl service for it:

systemctl edit bubbleupnpserver

And add these lines

ExecStart=
ExecStart=/opt/bubbleupnpserver/launch.sh -dataDir /home/bubbleupnp -nologstdout -nologfile


2. Or use a different data folder:

cp -r /home/bubbleupnp /some/path/bubbleupnp
chown -R bubbleupnp:bubbleupnp  /some/path/bubbleupnp

systemctl edit bubbleupnpserver

And add these lines

ExecStart=
ExecStart=/opt/bubbleupnpserver/launch.sh -dataDir /some/path/bubbleupnp -nologstdout

Michael Waldor

unread,
Sep 7, 2025, 1:35:27 AM (9 days ago) Sep 7
to BubbleUPnP
Thanks for your suggestion. But logging is - as far as I can tell - not the main source of IO. All streaming data is stored within subfolder proxytmp, and that counts for many GBs. As I wrote, I've stored bubbleupnp's homedirectory on an attached SSD.

Regards, Michael

Bubblesoft

unread,
Sep 7, 2025, 5:58:21 AM (9 days ago) Sep 7
to BubbleUPnP
Yup I forgot proxytmp which is only used for Qobuz/TIDAL.
Speaking of which, it may be better if BubbleUPnP Server used the system temp folder for that purpose.

The solution is then to move the data dir which I suppose is what you did.
Reply all
Reply to author
Forward
0 new messages