Post Reply 
[Solved] At most 2 MinimServer processes show up in MinimWatch and in my ...
13-11-2017, 21:34 (This post was last modified: 14-11-2017 18:42 by nbpf.)
Post: #1
[Solved] At most 2 MinimServer processes show up in MinimWatch and in my ...
I typically have three MinimServer processes in my LAN: two running on 24/7 servers and one running on my laptop. Since updating to 0.8.4 update 107, I can see at most two MinimServer processes. Starting the MinimServer on the laptop while the other two instances are already running overrides the second of the two running processes. MinimWatch (also running on my laptop) displays only two icons although three processes are actually running. The icon of the second MinimServer running process has been overridden! In my control points (Bubble UPnP and Linn Kazoo), I can see only two MinimServer instances! Stopping the laptop MinimServer process makes the second MinimServer instance show up again, both as a MinimWatch icon and in control points. It is a weird behavior, in many years I have not seen anything like that! Any idea how to get back to the expected behaviour?

Edit:
- Linux cirrus 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux
- openjdk version "1.8.0_151"
- OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-1~deb9u1-b12)
- OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)
Find all posts by this user
Quote this message in a reply
14-11-2017, 08:46 (This post was last modified: 14-11-2017 08:48 by nbpf.)
Post: #2
RE: At most 2 MinimServer processes show up in MinimWatch and in my control points!
Here is a log of what happens when I start a MinimServer instance on the laptop (cirrus) on which MinimWatch is running:

MinimWatch 0.8.4 update 54, Copyright © 2012-2017 Simon Nash. All rights reserved.
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-1~deb9u1-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)
Platform default charset is UTF-8
Active subnet is 192.168.178.0
Selected media server: MinimServer[fitpc3]
MinimServer[fitpc3] is running
MinimServer[rpi] is running
Media server unavailable: MinimServer[fitpc3]
Selected media server: MinimServer[rpi]
starting MinimServer[cirrus]
MinimServer[cirrus] is running


Before entering minimserver/bin/startd, both MinimServer[fitpc3] and MinimServer[rpi] are running. After entering minimserver/bin/startd, MinimServer[fitpc3] becomes unavailable. At this point,
MinimServer[fitpc3] also disappears in my control points. Next, MinimServer[cirrus] is started. Also notice that the selected media server changes from MinimServer[fitpc3] to MinimServer[rpi] before MinimServer[cirrus] is started. After stopping the local (cirrus) MinimServer instance (with minimserver/bin/stopall) the situation is as follows:

MinimWatch 0.8.4 update 54, Copyright © 2012-2017 Simon Nash. All rights reserved.
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-1~deb9u1-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)
Platform default charset is UTF-8
Active subnet is 192.168.178.0
Selected media server: MinimServer[fitpc3]
MinimServer[fitpc3] is running
MinimServer[rpi] is running
Media server unavailable: MinimServer[fitpc3]
Selected media server: MinimServer[rpi]
starting MinimServer[cirrus]
MinimServer[cirrus] is running
stopping MinimServer[cirrus]
MinimServer[cirrus] is stopped
MinimServer[fitpc3] is running


Now MinimServer[cirrus] has stopped and MinimServer[fitpc3] becomes "running" again! It's crazy, isn't it?
Find all posts by this user
Quote this message in a reply
14-11-2017, 11:44
Post: #3
RE: At most 2 MinimServer processes show up in MinimWatch and in my control points!
Did you copy the minimserver.config file from one instance to another? This can cause the problems that you are seeing.
Find all posts by this user
Quote this message in a reply
14-11-2017, 13:24
Post: #4
RE: At most 2 MinimServer processes show up in MinimWatch and in my control points!
(14-11-2017 11:44)simoncn Wrote:  Did you copy the minimserver.config file from one instance to another? This can cause the problems that you are seeing.
I am (almost) certain not to have overwritten any files but I have put a minimserver.config.fitpc3 copy of the minimserver.config file of the [fitpc3] instance in the minimserver/data directory of the [cirrus] instance because I wanted to make a diff. I have also noticed that the minimserver.config file of the [fitpc3] instance was corrupted: the pointers to the music directories were broken. I have fixed the issue using the MinimWatch settings dialogue.

Any idea how to resume normal operations? Thanks for your support. Best, nbpf
Find all posts by this user
Quote this message in a reply
14-11-2017, 13:44
Post: #5
RE: At most 2 MinimServer processes show up in MinimWatch and in my control points!
Please post the minimserver.config files of all instances.
Find all posts by this user
Quote this message in a reply
14-11-2017, 13:54
Post: #6
RE: At most 2 MinimServer processes show up in MinimWatch and in my control points!
Here are the files:

[cirrus]
minimserver.udn = 26ebcc04-4827-4312-956f-21b01388895d
minimserver.monitorUDN = 27132caf-eb7c-4658-bcd1-453ca1b80123
minimserver.lastIndexTags = composer\:Komponist, work\:Werk, conductor\:Dirigent, ensemble\:Ensemble, All Artists\:Künstler, Genre, Form, period\:Epoche, Date\:Aufnahmedatum, -incdate\:Seit, Gramophone's top 10 violin concertos, Gramophone's top 10 symphonies, Gramophone's top 10 piano sonatas, Gramophone's top 10 piano concertos
minimserver.tagOptions = Album.sortTags\={Album, Artist}
minimserver.systemUpdateID = 166
minimserver.previousAlbumArtistDisplayRole = true
minimserver.tagCustom = AlbumArtist.displayRole\={artist}, Composer.displayRole\={artist}
minimserver.tagFormat = Artist.displayFormat\={$artist$ensemble$conductor}, Comment.displayFormat\={$*infoFileURI^<a href\="^">Digital booklet</a>$comment}
minimserver.configVersion = 0.8.254
minimserver.contentDir = /home/nicola/share/audio/data\n/home/nicola/share/audio/streams
minimserver.license = 0.8.1
minimserver.mergeFolderAlbums = true
minimserver.indexTags = composer\:Komponist, work\:Werk, conductor\:Dirigent, ensemble\:Ensemble, All Artists\:Künstler, Genre, Form, period\:Epoche, Date\:Aufnahmedatum, -incdate\:Seit, Gramophone's top 10 violin concertos, Gramophone's top 10 symphonies, Gramophone's top 10 piano sonatas, Gramophone's top 10 piano concertos
minimserver.checkedUpdates = minimserver-0.8.4.jmupd\nminimserver-0.8-update-107;1510594324418\nminimstreamer-0.5.jmupd\nminimstreamer-0.7.2;1510594327675
minimserver.aliasTags = director\:conductor
minimserver.itemTags = Comment
minimserver.lastItemTags = Comment
stream.configVersion = 0.7.102
stream.baseTime = 1510644584346
.configVersion = 0.7.112
.integrityCheck = 242f0f7f91ffc919f7c30b426ab410258

[fitpc3]
minimserver.udn = 26ebcc04-4827-4312-956f-21b01388895d
minimserver.monitorUDN = 27132caf-eb7c-4658-bcd1-453ca1b80123
minimserver.lastIndexTags = composer\:Komponist, work\:Werk, conductor\:Dirigent, ensemble\:Ensemble, All Artists\:Künstler, Genre, Form, period\:Epoche, Date\:Aufnahmedatum, -incdate\:Seit, Gramophone's top 10 violin concertos, Gramophone's top 10 symphonies, Gramophone's top 10 piano sonatas, Gramophone's top 10 piano concertos
minimserver.tagOptions = Album.sortTags\={Album, Artist}
minimserver.systemUpdateID = 165
minimserver.previousAlbumArtistDisplayRole = true
minimserver.tagCustom = AlbumArtist.displayRole\={artist}, Composer.displayRole\={artist}
minimserver.tagFormat = Artist.displayFormat\={$artist$ensemble$conductor}, Comment.displayFormat\={$*infoFileURI^<a href\="^">Digital booklet</a>$comment}
minimserver.configVersion = 0.8.254
minimserver.contentDir = /mnt/hdd4/share/audio/data\n/mnt/hdd4/share/audio/streams
minimserver.license = 0.8.1
minimserver.mergeFolderAlbums = true
minimserver.indexTags = composer\:Komponist, work\:Werk, conductor\:Dirigent, ensemble\:Ensemble, All Artists\:Künstler, Genre, Form, period\:Epoche, Date\:Aufnahmedatum, -incdate\:Seit, Gramophone's top 10 violin concertos, Gramophone's top 10 symphonies, Gramophone's top 10 piano sonatas, Gramophone's top 10 piano concertos
minimserver.checkedUpdates = minimserver-0.8.4.jmupd\nminimserver-0.8-update-108;1510614607559
minimserver.aliasTags = director\:conductor
minimserver.itemTags = Comment
minimserver.lastItemTags = Comment
stream.configVersion = 0.7.102
.configVersion = 0.7.112
stream.transcode = flac\:wav
stream.baseTime = 1510614615001
.integrityCheck = 22f536b048a2716418c96e26734b84c37

[rpi]
minimserver.udn = 6665ce94-15cf-455e-9981-5c3bd6c20fa3
minimserver.monitorUDN = 48cf3e4e-598f-4851-916a-7c5e326cc064
minimserver.lastIndexTags = composer\:Komponist, work\:Werk, conductor\:Dirigent, ensemble\:Ensemble, All Artists\:Künstler, Genre, Form, period\:Epoche, Date\:Aufnahmedatum, -incdate\:Seit, Gramophone's top 10 violin concertos, Gramophone's top 10 symphonies, Gramophone's top 10 piano sonatas, Gramophone's top 10 piano concertos
minimserver.tagOptions = Album.sortTags\={Album, Artist}
minimserver.systemUpdateID = 106
minimserver.previousAlbumArtistDisplayRole = true
minimserver.tagCustom = AlbumArtist.displayRole\={artist}, Composer.displayRole\={artist}
minimserver.tagFormat = Artist.displayFormat\={$artist$ensemble$conductor}, Comment.displayFormat\={$*infoFileURI^<a href\="^">Digital booklet</a>$comment}
minimserver.configVersion = 0.8.254
minimserver.contentDir = /mnt/hdd3/share/audio/data\n/mnt/hdd3/share/audio/streams
minimserver.license = 0.8.1
minimserver.indexTags = composer\:Komponist, work\:Werk, conductor\:Dirigent, ensemble\:Ensemble, All Artists\:Künstler, Genre, Form, period\:Epoche, Date\:Aufnahmedatum, -incdate\:Seit, Gramophone's top 10 violin concertos, Gramophone's top 10 symphonies, Gramophone's top 10 piano sonatas, Gramophone's top 10 piano concertos
minimserver.checkedUpdates = minimserver-0.8.4.jmupd\nminimserver-0.8-update-108;1510614593303
minimserver.aliasTags = director\:conductor
minimserver.mergeFolderAlbums = true
minimserver.itemTags = Comment
minimserver.lastItemTags = Comment
.configVersion = 0.7.112
.integrityCheck = 214e9fa6db3f6a15aa1077d7d85cdd25e
Find all posts by this user
Quote this message in a reply
14-11-2017, 14:17
Post: #7
RE: At most 2 MinimServer processes show up in MinimWatch and in my control points!
Thanks for this. As I suspected, the minimserver.config file for cirrus was created by copying and editing the minimserver.config file for fitpc3 (or vice versa).

You need to recreate this file from scratch on one of these machines, then use the MinimServer or MinimWatch configuration UI to add the settings you want.

In a future version of MinimServer I will try to detect this and disallow it.
Find all posts by this user
Quote this message in a reply
14-11-2017, 17:54
Post: #8
RE: At most 2 MinimServer processes show up in MinimWatch and in my control points!
(14-11-2017 14:17)simoncn Wrote:  Thanks for this. As I suspected, the minimserver.config file for cirrus was created by copying and editing the minimserver.config file for fitpc3 (or vice versa).

You need to recreate this file from scratch on one of these machines, then use the MinimServer or MinimWatch configuration UI to add the settings you want.

In a future version of MinimServer I will try to detect this and disallow it.
Strange, to the best of my knowledge I only have edited MinimServer settings via the MinimWatch configuration UI and this was long time ago.

No matter, I can recover the configuration files from backups. In case I need to recreate one of them from scratch: does this mean 1) stopping MinimServer, 2) removing the file, 3) restarting MinimServer and 4) editing the file via the MinimWatch configuration UI, right?
Find all posts by this user
Quote this message in a reply
14-11-2017, 18:30
Post: #9
RE: At most 2 MinimServer processes show up in MinimWatch and in my control points!
(14-11-2017 17:54)nbpf Wrote:  Strange, to the best of my knowledge I only have edited MinimServer settings via the MinimWatch configuration UI and this was long time ago.

No matter, I can recover the configuration files from backups. In case I need to recreate one of them from scratch: does this mean 1) stopping MinimServer, 2) removing the file, 3) restarting MinimServer and 4) editing the file via the MinimWatch configuration UI, right?

Yes, this is the correct way to recreate a valid .config file.
Find all posts by this user
Quote this message in a reply
14-11-2017, 18:43
Post: #10
RE: [Solved] At most 2 MinimServer processes show up in MinimWatch and in my ...
Done, thanks!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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