Page 1 of 2
		
			
				[Solved] OS X 1.5 console won't start
				
Posted: 
Thu Jan 15, 2015 12:26 amby vidjam
				I've just updated from 1.4 to 1.5 as I understand that running/maintaining on a Mac is meant to be somewhat easier now that Serviio itself runs as a launchd etc. But the Serviio-Console app doesn't start. This is the error message from the OS X console:
15/01/2015 00:12:13.703 com.apple.xpc.launchd[1]: (org.serviio.serviio-console.38088[897]) Could not find and/or execute program specified by service: 2: No such file or directory: /Applications/Serviio-Console.app/Contents/MacOS/JavaApplicationStub
15/01/2015 00:12:13.704 Finder[356]: spawn_via_launchd() failed, errno=111 label=org.serviio.serviio-console.38088 path=/Applications/Serviio-Console.app/Contents/MacOS/JavaApplicationStub flags=1 : LaunchApplicationClient.cp #1136 LaunchApplicationViaLaunchDJobLabel() q=com.apple.root.default-qos
15/01/2015 00:12:13.704 Finder[356]: spawn_via_launchd() failed, errno=111 label=org.serviio.serviio-console.38088 path=/Applications/Serviio-Console.app/Contents/MacOS/JavaApplicationStub flags=1
15/01/2015 00:12:13.704 com.apple.xpc.launchd[1]: (org.serviio.serviio-console.38088[897]) Service setup event to handle failure and will not launch until it fires.
Despite having run the installer several times, I have no JavaApplicationStub in /Applications/Serviio-Console.app/Contents/MacOS/ . The only file in that folder is called JavaAppLauncher. Is anyone else having the same problem? Or has something unexpected happened when I've attempted to install the Console here? Many thanks for any insight!
			 
			
		
			
				Re: OS X 1.5 console won't start
				
Posted: 
Thu Jan 15, 2015 12:30 amby zip
				This looks like the previous Console version, which used the stub file. Was your 1.4 console under Applications? If yes, try to remove it from there and install again.
Otherwise, what is the contents of your console's Info.plist?
			 
			
		
			
				Re: OS X 1.5 console won't start
				
Posted: 
Thu Jan 15, 2015 12:41 amby vidjam
				HI Petr, thank you for the amazingly swift reply! Yes, 1.4 console was under Applications, but was completely removed. Am definitely installing from 1.5 .pkg installer --  it's correctly installed the main process as a launchd:
David-James-Mac-Mini-2:~ davidjames2012$ sudo launchctl list | grep serviio
679	0	org.serviio.server
If I delete Serviio-Console app and reinstall only it via the 'Customize' option on the installer, then the installation type shows up as 'Upgrade' (with size 4.1MB) even though the previous copy is entirely absent. That isn't necessarily significant though. The Console app is reporting its version as 1.5 when I run Get Info on it. But  I'm definitely still getting that error when I attempt to run it.
			 
			
		
			
				Re: OS X 1.5 console won't start
				
Posted: 
Thu Jan 15, 2015 12:43 amby zip
				The version string comes from the server, so it doesn't matter. I just tried it on my Mac and it works for me. What is the contents of your
/Applications/Serviio-Console.app/Contents/Info.plist
			 
			
		
			
				Re: OS X 1.5 console won't start
				
Posted: 
Thu Jan 15, 2015 12:51 amby vidjam
				Both the version numbers in there are 1.5:
<key>CFBundleShortVersionString</key>
<string>1.5</string>
[...]
<key>NSHumanReadableCopyright</key>
<string>1.5 (c) 2009 - 2015 Petr Nejedly</string>
So I think the installation is OK. I figure maybe there's some legacy 1.4 component lying around somewhere on the Mac that's messing up the 1.5 console when it tries to start?
			 
			
		
			
				Re: OS X 1.5 console won't start
				
Posted: 
Thu Jan 15, 2015 12:57 amby zip
				Does your Info.plist include this?
-   Code:
- <key>CFBundleExecutable</key>
 <string>JavaAppLauncher</string>
and no mention of JavaApplicationStub ?
 
			
		
			
				Re: OS X 1.5 console won't start
				
Posted: 
Thu Jan 15, 2015 1:02 amby zip
				So it looks like OSX actually caches the plist file. Here are some tips on how to invalidate the cache:
https://discussions.apple.com/thread/1496021http://bridge.grumpy-troll.org/2011/01/ ... ched-apps/Maybe even logout and login back would invalidate the cache..?
 
			
		
			
				Re: OS X 1.5 console won't start
				
Posted: 
Thu Jan 15, 2015 1:04 amby vidjam
				Yep, that's correct:
David-James-Mac-Mini-2:Contents davidjames2012$ head Info.plist 
<?xml version="1.0" ?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>JavaAppLauncher</string>
<key>CFBundleIconFile</key>
<string>serviio.icns</string>
No mention of JavaApplicationStub anywhere - except the error message when Serviio-Console won't start.
I've just seen your latest message - I'll reboot and if that doesn't work, I'll check those 2 links. Thanks for your assistance, much appreciated!
			 
			
		
			
				Re: OS X 1.5 console won't start
				
Posted: 
Thu Jan 15, 2015 1:12 amby vidjam
				In fact - not even rebooting has solved this. I should have realised it wouldn't, since I'd rebooted after completely deinstalling 1.4. I'll spend some more time on this tomorrow evening and follow up on those 2 links. Cheers for now!
			 
			
		
			
				Re: OS X 1.5 console won't start
				
Posted: 
Thu Jan 15, 2015 1:14 amby Shred
				I had the same problem with the console.
It seems like I was a cached plist issue. I moved the Serviio-Console.app to another spot and ran it - it opened fine this time. So I've now moved it back under Applications and everything's working properly again.
			 
			
		
			
				Re: OS X 1.5 console won't start
				
Posted: 
Thu Jan 15, 2015 1:16 amby vidjam
				Hi Shred! I literally just tried the same thing 2 minutes ago - move the Serviio-Console.app bundle somewhere else, and run it - and it worked fine. So I've moved it back to where it belongs, and again it works fine. Issue resolved, thank you and thank you Petr for your assistance!
			 
			
		
			
				Re: [Solved] OS X 1.5 console won't start
				
Posted: 
Thu Jan 15, 2015 11:57 pmby aacosta
				Hi,
As zip suggests, the problem is that Launch Services had the "executable" key of bundle org.serviio.serviio-console (which is shared for version 1.4 and 1.5), set to "JavaApplicationStub" as showed by ltregister:
-   Code:
- `find /System/Library/Frameworks -name lsregister` -dump
-   Code:
- bundle  id:            126412
 Mach-O UUIDs:  5E54AC31-1068-E190-4963-CAF51A6A915A, 6E2AF648-359A-15FD-4DFE-8DF60B79A2D6
 sequenceNum:   3
 installType:   0
 appContainer:
 dataContainer:
 path:          /Applications/Serviio-Console.app
 name:          Serviio-Console
 displayName:
 itemName:
 teamID:
 staticSize:    0
 storeFront:    0
 category:
 identifier:    org.serviio.serviio-console (0x80061369)
 vendor:
 type:
 version:       1.4.1
 versionString:
 displayVersion 1.4.1.2
 codeInfoID:
 mod date:      1/16/2015 0:13:39
 reg date:      1/16/2015 0:13:45
 retries:       1
 type code:     'APPL'
 creator code:  '????'
 sys version:   1.4.1
 mach sys ver:  1.4.1
 execSDK ver:   10.5
 flags:         has-display-name  relative-icon-path  launch-disabled  requires-java-runtime
 item flags:    container  package  application  extension-hidden  native-app  ppc  i386  x86_64
 icons:         Contents/Resources/serviio.icns
 executable:    Contents/MacOS/JavaApplicationStub
 inode:         4459663
 exec inode:    4459669
 container id:  32
 library:
 library items:
 activityTypes: NOTIFICATION#:org.serviio.serviio-console, pv-d4ebf7f6e436cb
 
The following command causes the OSX Launch Services register to add the new Serviio-Console 1.5 application (without needing to rename it), making the error go away:
-   Code:
- `find /System/Library/Frameworks -name lsregister` -apps user,local,system
This could either be a bug in OSX or a bad practice in the bundle identifier (I am not a OSX programmer but could it be that OSX expects a different identifier for different versions and builds the cache making that assumption?). Either way I think this should be looked into because it provides a bad experience for the faithful users who jumped from 1.4 to 1.5 .
 
			
		
			
				Re: [Solved] OS X 1.5 console won't start
				
Posted: 
Sat Jan 17, 2015 3:53 amby exsing
				Hi guys,
I have been reading this thread and it fixed my issue of "Serviio Console cannot be opened" by moving the app to another location and then copying it back.
Now that I no longer get the message that Serviio Console cannot be opened, I have a different issue.  Although the console can execute and open, I cannot see the physical app to modify my library.  Can anyone help with this issue please?
Thank you.
			 
			
		
			
				Re: [Solved] OS X 1.5 console won't start
				
Posted: 
Sat Jan 17, 2015 2:20 pmby zip
				Start a new thread and provide some more details. Thx
			 
			
		
			
				Re: [Solved] OS X 1.5 console won't start
				
Posted: 
Fri Feb 06, 2015 11:31 amby dbuchner
				Hi, 
I seem to be having exactly the same issues but none of what's been suggested has been able to resolve my issue.
Running OSX 10.10.2 and until earlier tonight ran Serviio 1.4.1.2 - after upgrading to 1.5  the server service starts fine and it's browsable but the Console fails to start.
I've reinstalled the application a few times, moved the console, renamed the console - all have the same result:
-   Code:
-  LSOpenURLsWithRole() failed with error -10810 for the file /Applications/Serviio-Console.app. 
-   Code:
- QBit:Applications Dan$ sudo launchctl list | grep serviio
 Password:
 1485    0       org.serviio.server
and from the Console
-   Code:
- 6/02/2015 10:11:12.499 pm com.apple.xpc.launchd[1]: (org.serviio.serviio-console.51720[1527]) Could not find and/or execute program specified by service: 2: No such file or directory: /Applications/Serviio-Console.app/Contents/MacOS/JavaApplicationStub
 
 
			
		
			
				Re: [Solved] OS X 1.5 console won't start
				
Posted: 
Sun Mar 01, 2015 2:52 pmby zingo1
				I am on OS X
I have been using Serviio for some time and i have same thing with 1.5 
 I removed 1.4 downloaded 1.5 ran the install but only the console installed, no server.
 Tried moving renaming re downloading same thing all the time.
I have posted a few times but no one replies.
			 
			
		
			
				Re: [Solved] OS X 1.5 console won't start
				
Posted: 
Sun Apr 12, 2015 10:03 amby phn2
				Same here on Linux mint; moved folder to desktop from home = it works
			 
			
		
			
				Re: [Solved] OS X 1.5 console won't start
				
Posted: 
Sun Jul 05, 2015 1:15 amby Asubekti
				Moved the app to another folder does nor work for me. There's no  serviio folder in library/application support/ created after installation.
			 
			
		
			
				Re: [Solved] OS X 1.5 console won't start
				
Posted: 
Fri Dec 25, 2015 5:49 pmby wazer
				This is not a SOLO problem for topic creator, i have the exact same problem on windows, this is the FIRST time EVER I'm trying out serviio...
			 
			
		
			
				Re: [Solved] OS X 1.5 console won't start
				
Posted: 
Mon Sep 11, 2017 5:57 amby Torence
				The same to me is to catch answers on here. I want to fix that trouble in easy way.