(26-Apr-2021, 07:12 PM)agent_kith Wrote:(26-Apr-2021, 12:12 PM)Bromf Wrote: I've sent 2 files..one from the stock instance where Firefox can't connect and the other from when I start myMPD from an ssh session then connect in the webapp.According to the diagnostic files - the Snakeoil RestAPI server session is started when there is still a copy of mympd in /usr/local/bin. And when you delete that binary the OS still expects (think) mympd is supposed to be there.
This beta is still using the old myMPD that is broken for album art... when you release hopefully it will have the current myMPD version that fixes this ??
Reboot your computer and the OS will pick /usr/bin/mympd and will try and start that. Let me know how that goes, and if there's still a problem, generate another diagnostic file, it should not say
again. Otherwise something else is going on.Code:mympd: command not found
mympd exists only in /usr/local/bin on my system. There is nothing in /usr/bin for mympd.
Are you saying I should delete the mympd in /usr/local/bin and next boot Snakeoil should create those in /usr/bin ?? Happy to try if so

I also note that at boot ubuntu reports 1 zombie process...not sure if this is related.
Edit I copied mympd from /usr/local/bin to /usr/bin and on rebooting could start mympd from the webapp

Will mess about further...


in /etc/mympd.conf
# myMPD configuration file
#
# SPDX-License-Identifier: GPL-2.0-or-later
# myMPD (c) 2018-2020 Juergen Mang <[email protected]>
# https://github.com/jcorporation/mympd
#
[mpd]
#Connection to mpd, unix socket or host/port, socket preferred
host = 127.0.0.1
port = 6600
#absolut path of music_directory of mpd
#none = no local music_directory
#auto = get music_directory from mpd (only supported, if connected to mpd socke>
musicdirectory = /media/music
#absolut path of mpd playlist_directory
playlistdirectory = /media/playlists
#MPD compiled with regex support
regex = true
[webserver]
#Webserver options
webport = 8080
#Publishes some mpd and myMPD directories
publish = false
#Webdav support, publish must be set to true
webdav = false
[mympd]
Loglevel
#0 = error
#1 = warn
#2 = info
#3 = verbose
#4 = debug
loglevel = 0
#myMPD user
#group is the primary group of this user
user = mympd
#Usage of stickers for play statistics
stickers = false
#Mixrampdb settings in gui
mixramp = false
#Enable system commands defined in syscmds section
syscmds = false
chroot = false
readonly = false
[syscmds]
Shutdown = sudo /sbin/halt
#To use this command add following lines to /etc/sudoers (without #)
#Cmnd_Alias MYMPD_CMDS = /sbin/halt
#mympd ALL=NOPASSWD: MYMPD_CMDS