Post Reply 
Minimserver not seeing one of my files
02-12-2013, 22:35
Post: #11
RE: Minimserver not seeing one of my files
(02-12-2013 22:11)NeilT Wrote:  I have this in /etc/rc.local:

# start minimserver-flac
/home/pi/minimserver-flac/autostart.sh

# start minimserver-mp3
/home/pi/minimserver-mp3/autostart.sh

for the two instances I run.

I commented those lines out and ran manually as you mentioned, and I get the UTF-8 charset. The automatic start means the process is owned by root, which must explain the difference. So I need a better start up process.

The recommended approach is described in this post.

However, I'm not sure why you're getting US-ASCII when you start MinimServer as root. Does the root user on your RPi have a different locale setting? On my RPi, the root user locale is the same as the pi user locale.
Find all posts by this user
Quote this message in a reply
02-12-2013, 22:52
Post: #12
RE: Minimserver not seeing one of my files
(02-12-2013 22:35)simoncn Wrote:  The recommended approach is described in this post.

However, I'm not sure why you're getting US-ASCII when you start MinimServer as root. Does the root user on your RPi have a different locale setting? On my RPi, the root user locale is the same as the pi user locale.

Yup, that's what I did - you must have posted before seeing my success post Smile

I also have no idea why root is different. I've not knowingly modified the account in any way. I guess that's another challenge to find out - not for any reason,. just because we ought to know!

Again, thanks.
Find all posts by this user
Quote this message in a reply
02-12-2013, 23:26
Post: #13
RE: Minimserver not seeing one of my files
(02-12-2013 22:52)NeilT Wrote:  Yup, that's what I did - you must have posted before seeing my success post Smile

I also have no idea why root is different. I've not knowingly modified the account in any way. I guess that's another challenge to find out - not for any reason,. just because we ought to know!

Again, thanks.

I've done some experiments, and it seems the US-ASCII problem isn't caused by running MinimServer as root. It seems to be caused by running MinimServer from the /etc/rc.local script. For some reason, the locale isn't set correctly when /etc/rc.local is running.
Find all posts by this user
Quote this message in a reply
02-12-2013, 23:49
Post: #14
RE: Minimserver not seeing one of my files
(02-12-2013 23:26)simoncn Wrote:  I've done some experiments, and it seems the US-ASCII problem isn't caused by running MinimServer as root. It seems to be caused by running MinimServer from the /etc/rc.local script. For some reason, the locale isn't set correctly when /etc/rc.local is running.

As I understand it, there is technically no actual root user so maybe there is no locale associated. The apparent US is possibly some basic default?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)