[SOLVED] MPD issues with 0.1.5
#31
(08-Feb-2017, 02:06 PM)Bromf Wrote:
Quote:1. Can you look at the file /var/mpd/scratch/mpd.conf, look for the line that says metadata_to_use, and confirm it's written as such:

File does not exist... Tried as user, and then sudo su
 nano   /var/mpd/scratch/mpd.conf   
File is empty for both..... very interesting.

My bad.. it's /var/www/scratch/mpd.conf (Have already amended previous post)

Just run something like
Code:
tail -n 30 /var/www/scratch/mpd.conf
Snakeoil Operating System - Music, your way!
Reply

#32
Ok that works.. file exists and metadata is as required.
I removed my usb flashdrives with Music files, copied them off and reformatted the flashdrives then reloaded.
MPD 20 now starts and is populated showing all files...

However, when I try to play I get.....
The following error was encontered when sending the command:  play

500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "/var/www/client175/cherrypy/_cprequest.py", line 606, in respond
    cherrypy.response.body = self.handler()
  File "/var/www/client175/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/var/www/client175/server.py", line 209, in default
    result = mpd.execute(args)
  File "/var/www/client175/mpd_proxy2.py", line 229, in execute
    return getattr(self, cmd)(*cmdlist)
  File "/var/www/client175/mpd.py", line 189, in <lambda>
    return lambda *args: self._execute_safe(attr, args, retval)
  File "/var/www/client175/mpd.py", line 201, in _execute_safe
    self.connect(self._host, self._port, self._password)
  File "/var/www/client175/mpd.py", line 419, in connect
    self._sock = self._connect_tcp(host, port)
  File "/var/www/client175/mpd.py", line 407, in _connect_tcp
    raise socket.error(msg)
error: [Errno 111] Connection refused

A more verbose version of the 'Connection refused" I was getting before...:-)  Hope it makes sense to you...

When I try to update database I get a similar output.....
So progress...closer and closer but no music yet... ;-)
Reply

#33
(08-Feb-2017, 03:34 PM)Bromf Wrote: Ok that works.. file exists and metadata is as required.

  1. Connect a keyboard and monitor to your machine.
  2. Reboot the computer with liveCD.
  3. Select memtest.
  4. Let the system run and wait for at least 1 pass to complete.
  5. Does memtest report any errors?
If it passes the test, then do this. 
  1. With just that  single offending file in /media/music (move the other files away from /media/music)
  2. Do a database rescan.
  3. Do you see a total of 1 file (or more?). Or did MPD crash?
  4. Next select this song and play. Does it work?
  5. Rescan the database multiple times, does it crash?
Snakeoil Operating System - Music, your way!
Reply

#34
I doubt this helps in any way but this is the error message I got yesterday.  At the time Client 175 was showing a previous version of my library. Pressing play on one of those songs gave:

The following error was encontered when sending the command: play 500 Internal Server Error The server encountered an unexpected condition which prevented it from fulfilling the request. Traceback (most recent call last): File "/var/www/client175/cherrypy/_cprequest.py", line 606, in respond cherrypy.response.body = self.handler() File "/var/www/client175/cherrypy/_cpdispatch.py", line 25, in __call__ return self.callable(*self.args, **self.kwargs) File "/var/www/client175/server.py", line 209, in default result = mpd.execute(args) File "/var/www/client175/mpd_proxy2.py", line 229, in execute return getattr(self, cmd)(*cmdlist) File "/var/www/client175/mpd.py", line 189, in <lambda> return lambda *args: self._execute_safe(attr, args, retval) File "/var/www/client175/mpd.py", line 201, in _execute_safe self.connect(self._host, self._port, self._password) File "/var/www/client175/mpd.py", line 419, in connect self._sock = self._connect_tcp(host, port) File "/var/www/client175/mpd.py", line 407, in _connect_tcp raise socket.error(msg) error: [Errno 111] Connection refused

Now while working fine and playing some Pink Floyd 

cat /var/tmp/stderr
client: [0] opened from 127.0.0.1:34042
client: [1] opened from 127.0.0.1:34044
avahi: Service 'bubble1' successfully established.
player: played "A Momentary Lapse Of Reason/05 - On The Turning Away.flac"
Reply

#35
MPD V20 crashed if music library is NFS-share directory.
I unmount NFS share and start V20. It's working.
I did mount
192.168.1.11:/export/Music to /media/music/NAS
and instant results - MPD V20 crashed:
exception: Failed to access /media/music/NAS/Music: No such file or directory
I found in my music library this file
lrwxrwxrwx   1 root     users      10 февр.  8 09:21 Music -> /mnt/Music
drwxrwxrwx+ 47 root     users    4096 февр.  8 09:21 Jazz
is likely he is the source of the problem  Steam

I was right.   [Image: shock2.gif]

All because of that damned file    [Image: hate.gif]

Now V20 normally starts and scans music from Client175
Sorry for my English
[GA-H170M-D3H + G4400 + SOtM tX-USB] > Ortofon DGI-K2 Silver > LKS Audio MH-DA003 USB Upgrade > Audioquest Colorado > Audio Note P2SE > Audio Note AN-B > Tannoy D500

 
Reply

#36
And another MPD V20 defect: run client Cantata 2.0.1 and M20 dies  
exception: Failed to open /media/playlists/[Radio Streams].m3u: No such file or directory
To solve the problem, place the file [Radio Streams].m3u (may be empty) in directory /media/playlists/
Sorry for my English
[GA-H170M-D3H + G4400 + SOtM tX-USB] > Ortofon DGI-K2 Silver > LKS Audio MH-DA003 USB Upgrade > Audioquest Colorado > Audio Note P2SE > Audio Note AN-B > Tannoy D500

 
Reply

#37
(08-Feb-2017, 03:54 PM)agent_kith Wrote:
(08-Feb-2017, 03:34 PM)Bromf Wrote: Ok that works.. file exists and metadata is as required.

  1. Connect a keyboard and monitor to your machine.
  2. Reboot the computer with liveCD.
  3. Select memtest.
  4. Let the system run and wait for at least 1 pass to complete.
  5. Does memtest report any errors?
If it passes the test, then do this. 
  1. With just that  single offending file in /media/music (move the other files away from /media/music)
  2. Do a database rescan.
  3. Do you see a total of 1 file (or more?). Or did MPD crash?
  4. Next select this song and play. Does it work?
  5. Rescan the database multiple times, does it crash?

Memtest run for several hours and allgood.

Started MPD and everything works, database updates and files play. :-)

Looking back I think I see my problem .....oops.. I have several different players in different locations and move usb drives between them. Mostly these are formatted ntfs for compatibility accross the different os'

One os has problems with ntfs and I use a dedicated drive formatted vfat.

Somehow..my big mistake!... that drive had been put in the pool with the others...Thinking the drives were all ntfs I have been adding it as such to the music mount. Of course it fails to start, mpd throws errors and can't update.

Discovered this when I went back to LMS and did a database rescan and couldn't find any files !!!

Reformatted the flashdrive,added files and now mpd works as expected.

My apologies for imposing upon your time and efforts Blush
Reply

#38
(07-Feb-2017, 01:31 AM)pupsik2005 Wrote:
(06-Feb-2017, 06:07 PM)agent_kith Wrote: I can not activate Sad
Thank you!
Reply

#39
(09-Feb-2017, 03:52 AM)Bromf Wrote: Memtest run for several hours and allgood.
That's supposed to be one of my walkthrough tweaks for the blog. Kind of let this out of the bag, but doesn't matter as I havn't written it yet LOL.

So.... From the responses so far, what I can gather so far is, I still have no idea Confused 2 In my home lab, I have tried NFS, CIFS, and direct access... All worked and played fine..

So far, it's either - missing playlists, missing folders, problem files that will cause the crash.. What I don't know is if this is a MPD issue or something else.

Until I can find out what's going on, when MPD crashes - check the last lines of /var/tmp/stderr and fix whatever it says. MPD shouldn't just crash like that.. I'd have to dig into the codes and see why it's not handling that gracefully.
Snakeoil Operating System - Music, your way!
Reply

#40
For folks who are using MPD and having problems. This may be resolved in 0.1.5a firmware. Please download that firmware and test if everything is working as expected.

If there are no reports of failures in 2 weeks from now I'd just assume this issue resolved and spin up 0.1.5a. Thumbs Up
Snakeoil Operating System - Music, your way!
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  Browse with playlists issues Snoopy8 2 928 24-Jun-2022, 08:43 PM
Last Post: agent_kith
  [SOLVEDNewbie to Snakeoil having issues getting started PKay 14 4,951 20-Sep-2020, 09:13 AM
Last Post: PKay
  Updating Ubuntu Issues Snoopy8 1 1,566 14-May-2019, 07:07 PM
Last Post: agent_kith
  Issues while connecting to my DAC rockymystic 8 4,914 20-May-2018, 08:34 AM
Last Post: agent_kith



Users browsing this thread:
3 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
Howto setup resampling in Logitech Media...
Last Post: Coacharnold
18-Nov-2024 12:06 AM
» Replies: 7
» Views: 5818
Dropping Measurements, Hello High-End.
Last Post: agent_kith
26-Oct-2024 09:02 AM
» Replies: 12
» Views: 460
Very happy to have Sankeoil......! mpd w...
Last Post: run51
24-Oct-2024 05:35 AM
» Replies: 9
» Views: 1689
SO no soundcard detected - RPI Pi4 snake...
Last Post: run51
21-Oct-2024 10:55 PM
» Replies: 4
» Views: 115
download
Last Post: Snoopy8
19-Oct-2024 05:52 AM
» Replies: 1
» Views: 114
Full proces to instal snakeiol 100% work...
Last Post: audioluthier
11-Oct-2024 02:32 AM
» Replies: 9
» Views: 349
A network protocol designed for CAS
Last Post: hkphantomgtr
10-Oct-2024 09:48 PM
» Replies: 0
» Views: 93
CAS with "Single Core"
Last Post: hkphantomgtr
06-Oct-2024 08:32 AM
» Replies: 2
» Views: 126
MPD player not working
Last Post: Snoopy8
27-Sep-2024 11:54 AM
» Replies: 7
» Views: 234
LMS playing DFF files sampling rate
Last Post: Snoopy8
16-Sep-2024 07:45 PM
» Replies: 5
» Views: 163

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2024. Theme © Melroy van den Berg.