Snakeoil Gear Isolation Beta Series
(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.

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 ?? Smile
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.

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
Code:
mympd: command not found
again. Otherwise something else is going on. Think
Snakeoil Operating System - Music, your way!
Reply

Beta 3 progress going well (relatively). Next update is going to use myMPD v7.0.2. And smart playlist will be automatically disabled by default. Plus fix the existing known issues in beta 2 (e.g. JSON error, cannot start the Rest server automatically, potential problem with installation if /media/music is not writable).

That's the plan anyway. That's it for the day. Going to leave the system to build the stuffs and I hope to be able to test this something this week.

Note that smartlist disabling is hard coded for now. Even though you can modify the config file, it will be reverted when you update/re-install. Gear Isolation U1 (or U2, or U3+) with updated UI will hopefully give you more flexibility. I've spent the past month in my day job honing my Angular skills. I'm a lot better now and am up to date to Angular 11.

Also have some ideas on how to implement the automatic kernel build site too. So while progress isn't as quick as I hope, I think almost all the pieces of the puzzles are in place. Thank you for your patience, and to JD1 for his sponsorship for the bare metal server. Hopefully I can get the kernel builder up before the 1 year lease is up.

If you guys are looking for any computer related Hifi stuffs, give him a go and see how it go. Click on the banner on the right to see his offerings.

And above all, happy listening!
Snakeoil Operating System - Music, your way!
[-] The following 2 users Like agent_kith's post:
  • mkysimes, Bromf
Reply

(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.

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 ?? Smile
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.

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
 
Code:
mympd: command not found
again. Otherwise something else is going on. Think

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 Smile.

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 Big Grin   only it shows as 'mpd disconnected' at the top of the myMPD page.
Will mess about further... Think Tongue

in /etc/mympd.conf
 
Code:
# 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
Reply

(27-Apr-2021, 04:34 AM)Bromf Wrote: mympd  exists only in /usr/local/bin on my system.  There is nothing in /usr/bin for mympd.
Something is definitely weirdly wrong.. Unsure what the problem is at this stage. Will try and see if I can dig deeper later tonight.

Can you run:
Code:
mympd --version
And tell me what the version is?

Thanks.
Snakeoil Operating System - Music, your way!
Reply

(27-Apr-2021, 07:36 AM)agent_kith Wrote:
(27-Apr-2021, 04:34 AM)Bromf Wrote: mympd  exists only in /usr/local/bin on my system.  There is nothing in /usr/bin for mympd.
Something is definitely weirdly wrong.. Unsure what the problem is at this stage. Will try and see if I can dig deeper later tonight.

Can you run:
 
Code:
mympd --version
And tell me what the version is?

Thanks.
 
Code:
$ mympd --version
11:40:19 INFO     mympd     Starting myMPD 6.11.0
11:40:19 INFO     mympd     Libmympdclient 1.0.5 based on libmpdclient 2.20.0
11:40:19 INFO     mympd     Mongoose 6.18
11:40:19 INFO     mympd     Parsing config file: /etc/mympd.conf
11:40:19 INFO     mympd     Stickers are disabled, disabling sticker cache
11:40:19 INFO     mympd     Setting loglevel to ERROR
myMPD 6.11.0
Reply

Fixed it !   I have found the source of all the problems I have been having Smile ....it is an incompatibility with the current Ubuntu-Server-Installer and my hardware !

You will recall that I noted the Ubuntu installer was not setting Users and Groups and I had to do that manually.  I had also tried installing Ubuntu 16.04 server and upgrading through 18.04 to 20.04 as the 16.04 did set User, Groups , and Sudo correctly...however the upgrades seemed to bring more oddness and the recent trouble with the location of myMPD files.

So...I went searching for an Ubuntu Server 20.04 installer that had the same format as the old 16.04 (Remember the Graphical screens and that purple background ?)
Finally found it as a 'legacy-installer' buried way deep on the ubuntu site.

Long story short...it worked and set-up the base install of Ubuntu correctly and I was then able to run the Snakeoil 1.2.0.6 install successfully and now myMPD works exactly as it should and opens cleanly from the webapp !!!

All good now so AK you need not spend any further time on this and can return to finishing the final release. Big Grin  Sorry to have sidetracked you from that.

all the best,
Bob.
[-] The following 1 user Likes Bromf's post:
  • agent_kith
Reply

(27-Apr-2021, 12:31 PM)Bromf Wrote: Fixed it !   I have found the source of all the problems I have been having Smile ....it is an incompatibility with the current Ubuntu-Server-Installer and my hardware !
Legacy installer. That sounds like something I need to try it out. Thanks for this post as I didn't even know about the legacy installer bit. Smile
Snakeoil Operating System - Music, your way!
Reply

the 20.04 Legacy Installer is available here... Smile
https://cdimage.ubuntu.com/ubuntu-legacy...1/release/

If anyone uses it please let Ubuntu know how valuable this alternative is... Wink    (there is a comment pop-out window on the page before you can download...at least they want to know why you're using their 'old installer'  !! lol)

I used the first-up version... 64-bit PC (AMD64) legacy server install image
[-] The following 1 user Likes Bromf's post:
  • agent_kith
Reply

Spent this past week working from home. That means I have roughly 90 extra minutes every day for the four day week!

That gave me enough time to work on Gear Isolation beta 3. Plus I spent even more time on my my day job! Working from home has turned me into a workaholic and I'll probably stop doing this WFH next week.

I'm doing Angular and python at work and to be honest I don't like Python, while it's easy to use and code, there are some quirkiness that is just plain annoying. Having said that, because Python is so easy, I'll be using Python as the foundation for the future custom kernel generator website, and obviously a beautiful Angular frontend to hide all the Python ugliness. Having only used Python for scripting and quick jobs in the past, I really appreciate and am grateful that I have the chance to improve my Python skills.

Gear Isolation Beta 3 is built. I've only done some quick tests so far. Will probe more tomorrow and hopefully release this as the last beta. I'll work on updating the wiki, and once that that this will be released out into the wild. Thank you guys for taking the time to beta test. Couldn't have done this without you guys spending the time to help me test this.

Some changes:
  • myMPD is now upgraded to 7.0.2, and because I had to replace /etc/mympd.conf with a new version because this is a major revision change. In other words, any custom settings you have will be lost. I have also disabled smart playlist by default.
  • Also updated Spotify install script to always lookup the Spotify webpage and look for the latest public key (required to install their signed packages). This should mean Spotify installation will continue work longer.
  • Tweaked the "blob installation" to not try and install from the /media/music folder just in case it's mounted as a Read Only share.
Not sure what else is new/changed as I didn't put a lot of effort tracking changes in Gitlab. Snakeoil is split into multiple projects in the repo and it's kind of difficult to track them. But there's nothing else left in the 1.2.0 milestone now. Have a look and see here.

Gonna sleep soon, and then with any luck, release beta 3 tomorrow. For those in my time zone, good night Smile. For others, good morning, good evening!!
Snakeoil Operating System - Music, your way!
[-] The following 3 users Like agent_kith's post:
  • Bromf, Snoopy8, mkysimes
Reply

A few hours later then expected as my dev machine went down. But beta 3 is live. Will start working on wiki soonish and try to put in as much as I can.
Snakeoil Operating System - Music, your way!
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  1.4.0 Beta 3 agent_kith 12 155 29-Dec-2024, 11:36 AM
Last Post: agent_kith
  1.4.0 Beta 2 agent_kith 11 138 26-Dec-2024, 10:36 AM
Last Post: agent_kith
  1.4.0 Beta 1 agent_kith 12 133 22-Dec-2024, 10:19 AM
Last Post: agent_kith
  Snakeoil 1.3.0 Alpha 1 (aarm64) agent_kith 41 784 31-Dec-2023, 10:30 PM
Last Post: hkphantomgtr
  Measures 1.3.0 Beta 1 (Last test hopefully. agent_kith 73 1,080 23-Dec-2023, 09:17 AM
Last Post: hkphantomgtr



Users browsing this thread:
4 Guest(s)

[-]
Our Sponsors

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

Username/Email:


Password:





[-]
Latest Threads
Work In Progress: 1.4.4
Last Post: Snoopy8
Today 10:52 AM
» Replies: 4
» Views: 75
new install issues
Last Post: Snoopy8
Yesterday 01:08 PM
» Replies: 7
» Views: 161
Wiki update - need your help!
Last Post: Snoopy8
16-Apr-2025 01:59 PM
» Replies: 6
» Views: 139
Connecting Spotify to SnakeOil
Last Post: Snoopy8
16-Apr-2025 01:55 PM
» Replies: 10
» Views: 234
No audio devices on RPi5 with latests bu...
Last Post: hkphantomgtr
13-Apr-2025 05:29 PM
» Replies: 13
» Views: 326
Misc. sharing for building Raspberry Pi ...
Last Post: hkphantomgtr
13-Apr-2025 12:47 PM
» Replies: 2
» Views: 101
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
10-Apr-2025 10:57 PM
» Replies: 11
» Views: 761
[split] Snakeoil 1.4.3 (High End U3)
Last Post: agent_kith
09-Apr-2025 03:45 PM
» Replies: 1
» Views: 68
SQ difference - Raspberry Pi vs x86_64?
Last Post: agent_kith
09-Apr-2025 03:41 PM
» Replies: 15
» Views: 1051
Bind Mount in REST
Last Post: agent_kith
09-Apr-2025 03:13 PM
» Replies: 3
» Views: 88

[-]
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-2025. Theme © Melroy van den Berg.