Post Reply 
License Error & Disk Corruption
04-08-2025, 21:33
Post: #1
License Error & Disk Corruption
I have had a bad set of occurrences that has resulted in my hard disk becoming unusable. I was rescaning with MinimSever on my Mac while copying other unrelated files in the Finder. I came back to find the computer frozen with the Minimserver icon highlighted in the menu bar. This happened once before this week and after restarting my mac and then doing the scan, everything worked again. This time the Mac would not boot. Later I find that the Mac's Disk First aid says the ASFS file system on the SSD disk has been corrupted ,and the disk was not longer bootable/mountable for writing. I can't pinpoint the culprit, but one of the files identified by Disk First Aid as problematic is MinimServer/Flac-2.mcache, which is built by Minimserver during the rescan of my content directories. The MacOs error was "Overlapped extext allocation" meaning the OS has lost track of it's free space and can't reliably write to the disk IOW a corrupted file system.

Again, I don't know how MinimServer is involved, if it is preventable, or was it extremely bad timing on the crash. However I wouldn't expect something this catastrophic because of a rescan. I bring this up as background on the license error issue I am now facing.

I am trying to move to my server to another Mac where I previously had minimserver installed as a test installation from a long time ago that had a starter edition license. I had a full license on the crashed computer with an expiry 3 April 2026. I changed contentDir to my backup disks, tried to rescan. This worked, but under the starter license. The licence page on the website does not allow me upgrade to starter license to the full license I have. It says

MinimServer 2.2 update 259, Copyright © 2012-2025 Simon Nash. All rights reserved.
Your license type is Starter. For more information, select the License tab.
License server error 500: [c9ca246a] Incorrect license type 4; resetting to Starter Edition
License server error 500: [ca16627d] Incorrect license type 4

Media server status for Test MinimServer[MacBook-Pro-3.local]: Running


I even tried copying the minimserver.license from my previously working server, and that didn't work.

It hasn't been a fun few days.
I want to get my server operating again and with my full license.

I'd appreciate remedies to get my server working again.

The disk corruption during a Minimserver rescan is a different issue to investigate.
Find all posts by this user
Quote this message in a reply
04-08-2025, 22:18
Post: #2
RE: License Error & Disk Corruption
The disk corruption could not have been caused by MinimServer. I will investigate the license error and post back here when I have some information. This might take a couple of days because I won't have any opportunity to look at this tomorow.

As a temporary workaround, you might be able to activate the 30-day trial license if you haven't already done this on the Mac you are now using.
Find all posts by this user
Quote this message in a reply
05-08-2025, 02:06
Post: #3
RE: License Error & Disk Corruption
(04-08-2025 22:18)simoncn Wrote:  The disk corruption could not have been caused by MinimServer. I will investigate the license error and post back here when I have some information. This might take a couple of days because I won't have any opportunity to look at this tomorow.

As a temporary workaround, you might be able to activate the 30-day trial license if you haven't already done this on the Mac you are now using.

Good sugession, but this is the error I get when try to Activate my License or the trial license. The issue seems to be on requests to validate licenses.

My License:
If you have purchased a MinimServer full license and received your license details by email, enter the license code and email address from this email and click the 'Activate license' button below. To cancel and return to the License page, click Cancel.

License code: ##############
Email address: Rxxx@xxx.NET
License server error 500: [a7c6d35e] Missing value for last_licensetype


Trial License

f you prefer not to receive any emails about your trial, you can leave the email address field empty. This means you won't be notified when your trial is about to end.

Email address (optional): Rxxx@xxx.NET
To confirm activation of your 30-day trial, click the OK button below. To return to the License page, click Cancel.

License server error 500: [109b44f7] Incorrect license type 4
Find all posts by this user
Quote this message in a reply
05-08-2025, 02:36
Post: #4
RE: License Error & Disk Corruption
Simon,

With no success trying to use my license or a trial license, I've tried just the starter edition.

MinimServer 2.2 update 259, Copyright © 2012-2025 Simon Nash. All rights reserved.
Your license type is Starter. For more information, select the License tab.
Media server status for MinimServer[MacBook-Pro-3.local]: Running

It threw a java error when I tried to rescan, so I made sure I had the latest JVM installed, and the problem went away during the rescan. The Minimserver log said the followig, but eventually thru a Java error when I tried to use a client (Wiim home app) to access the full library:

Library contains 153543 audio files in 23736 folders
MinimServer[MacBook-Pro-3.local] is running
TrayControl: exportDone error: java.lang.NoSuchMethodException: javax.swing.TransferHandler.exportDone(javax.swing.JComponent,java.awt.datatrans​fer.Transferable,java.lang.Integer)
java.lang.NoSuchMethodException: javax.swing.TransferHandler.exportDone(javax.swing.JComponent,java.awt.datatrans​fer.Transferable,java.lang.Integer)
at java.base/java.lang.Class.getDeclaredMethod(Class.java:2772)
at com.minimserver.lib.TrayControl$TrayView$DirTransferHandler.exportDone(TrayContr​ol.java:7132)
at java.desktop/javax.swing.TransferHandler$DragHandler.dragDropEnd(TransferHandler.java:1648)
at java.desktop/java.awt.dnd.DragSourceContext.dragDropEnd(DragSourceContext.java:453)
at java.desktop/sun.awt.dnd.SunDragSourceContextPeer$EventDispatcher.run(SunDragSourceContextPee​r.java:491)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Pr​otectionDomain.java:87)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203​)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113​)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)


The server is operating and sending files but I didn't see the java error ren trying the same steps in the client.
Is this all on me, or issues with the server install, or the problems with server itself?
From other posts, I read about these license 500 errors, so something maybe related.

Looking for a solution ASAP and will send any addition information (if helpful)
Find all posts by this user
Quote this message in a reply
05-08-2025, 21:31
Post: #5
RE: License Error & Disk Corruption
(04-08-2025 21:33)SonicREP Wrote:  License server error 500: [c9ca246a] Incorrect license type 4; resetting to Starter Edition
License server error 500: [ca16627d] Incorrect license type 4

I have found the cause of this problem. It should be fixed now. My apologies for the inconvenience.
Find all posts by this user
Quote this message in a reply
05-08-2025, 21:42
Post: #6
RE: License Error & Disk Corruption
(05-08-2025 02:06)SonicREP Wrote:  License server error 500: [a7c6d35e] Missing value for last_licensetype

It looks like this was caused by deleting the minimserver.license file. MinimServer should handle this better by downgrading to a starter license and letting you know that this has happened. I will work on fixing this.
Find all posts by this user
Quote this message in a reply
05-08-2025, 22:06
Post: #7
RE: License Error & Disk Corruption
(05-08-2025 02:36)SonicREP Wrote:  TrayControl: exportDone error: java.lang.NoSuchMethodException: javax.swing.TransferHandler.exportDone(javax.swing.JComponent,java.awt.datatrans​fer.Transferable,java.lang.Integer)
java.lang.NoSuchMethodException: javax.swing.TransferHandler.exportDone(javax.swing.JComponent,java.awt.datatrans​fer.Transferable,java.lang.Integer)
at java.base/java.lang.Class.getDeclaredMethod(Class.java:2772)
at com.minimserver.lib.TrayControl$TrayView$DirTransferHandler.exportDone(TrayContr​ol.java:7132)

This looks like the Java runtime might have been damaged in some way. MinimServer is calling a Java method (exportDone) and this method was not found for some reason.

The exportDone method is part of Java's drag and drop implementation. Might you have been doing a drag and drop when this happened?
Find all posts by this user
Quote this message in a reply
06-08-2025, 01:29
Post: #8
RE: License Error & Disk Corruption
No, I wasn't doing a DnD at that time, especially since this is a message on the server side. I had the server running (as shown in the log), and then went to my Wiim Home app on a different machine to access the music catalog. It looks like Wiim asked for all of the tracks do create it Ux, and that is when the message appeared on the server log. I tried the same start up seqeunce (as I mentioned) with the Wiim App, and the server log didn't show the error the second time.

Thanks for looking into the license issue. I tried the configure page and it now say: Your license has been updated from Starter to Full (without me having done anything).
I had deletee the minimserver app and started all over with I though a fresh install, so I don't recall specifically deleting the license file. When I look at /Users/username/Library/MinimServer/minimserver.license right now, it is zero byes long.
Is there another location where the license and configuration are kept on a Mac?
Find all posts by this user
Quote this message in a reply
06-08-2025, 10:24
Post: #9
RE: License Error & Disk Corruption
The license files are located in the /Users/username/Library/MinimServer folder. The minimserver.license file should not be zero length and this is likely to cause "missing last_licensetype" errors.

I suggest you start again from a clean installation by doing the following:

1) Exit MinimServer
2) Restart macOS
3) Delete the /Users/username/Library/MinimServer folder and all its contents
4) Start MinimServer
5) Your initial license type should be Starter
6) Open the License tab of the MinimServer configuration web page
7) You should see a message saying MinimServer has updated to a full license
8) Check the /Users/username/Library/MinimServer folder. You should see minimserver.license and minimserver-starter.license files, both with non-zero lengths.

You don't need to delete the MinimServer app installed in the Applications folder.

If you see the Java error about exportDone again, please make a copy of the complete minimserver.log file, then compress this copy using gzip or similar, then post the compressed file as a file attachment to a post here. I will look at it to try to find out what has caused the problem.
Find all posts by this user
Quote this message in a reply
07-08-2025, 00:38
Post: #10
RE: License Error & Disk Corruption
Ugh on this 403 error - I'll keep editing until It goes through

Thanks for the clean installation suggestion, everything looks as expected with the minimserver.license and minimserver-starter.license files, both have lengths of 129 bytes.

I kept the logfile for the Java error (from the previous install) and will include that as an attachment. I’ve not seen that Java error again during the clean install.

I am attributing the file system corruption to a combination of intensive read/writes from the Finder while reorganizing files, and MinimServer reading and writing its cache files. Since the Mac does a basic filesystem check on disk mount, the corruption occurred during the last reboot.

Something happened — perhaps an OS error, hardware glitch, or cosmic ray — that caused the write to corrupt the filesystem, specifically MinimServer’s cache file. This is NOT something I suspect MinimServer to be responsible for, but it was implicated by the file that was corrupted. I’ll let you know if I discover anything more on this.



Thanks for the help.


Attached File(s)
.zip  minimserver-javaerror.log.zip (Size: 3.19 KB / Downloads: 0)
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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