Jump to content

Latest MacOS EmbyServer Not launching


Go to solution Solved by sa2000,

Recommended Posts

Posted

Hi, I have tried my best (with the right click to open) and also the settings to enable the blocked developer, to launch. Nothing happens. The server icon does not appear on the top taskbar of my Mac.

I'm using MacOS 14.6.1
EmbyServer 4.8.8.0

 

 

Posted

Hi, how did you install Emby Server?

Posted

Here are the steps I did:
1. I unzipped the downloaded file
2. Drag the file EmbyServer into my Applications folder
3. Right click on EmbyServer icon, and click 'open'. 
4. MacOS error saying that it is unidentified developer so my only option is to "move to trash" or cancel. I canceled the dialog box.
5. Went into MacOS settings and proceed to "Privacy and Security". Click on "allow EmbyServer" to open
6. Key in my MacOS password to allow
7. Went back to EmbyServer, double click. Nothing happens
8. Right click EmbyServer icon and click "open". Nothing happens.

Posted
On 8/31/2024 at 1:19 AM, Junjin said:

Here are the steps I did:
1. I unzipped the downloaded file
2. Drag the file EmbyServer into my Applications folder
3. Right click on EmbyServer icon, and click 'open'. 
4. MacOS error saying that it is unidentified developer so my only option is to "move to trash" or cancel. I canceled the dialog box.
5. Went into MacOS settings and proceed to "Privacy and Security". Click on "allow EmbyServer" to open
6. Key in my MacOS password to allow
7. Went back to EmbyServer, double click. Nothing happens
8. Right click EmbyServer icon and click "open". Nothing happens.

Hi, can you try highlighting it in Finder, then using the 3-dot menu and clicking open?

  • 2 weeks later...
Posted

Hi Luke, sorry for not getting back to you.

1) Yes I have clicked on the 3-dot menu and clicking open. Nothing happens. 
2) yes, I have tried open the web app at httpL//locahost:8096. It says failed to load (because nothing seems to be running). 

I am assuming once the server is launched, it should be on the toolbar on the top right, but no icon appear. 

Is there a way to fully uninstall to install fresh again? 

Posted
On 9/16/2024 at 10:10 PM, Junjin said:

Hi Luke, sorry for not getting back to you.

1) Yes I have clicked on the 3-dot menu and clicking open. Nothing happens. 
2) yes, I have tried open the web app at httpL//locahost:8096. It says failed to load (because nothing seems to be running). 

I am assuming once the server is launched, it should be on the toolbar on the top right, but no icon appear. 

Is there a way to fully uninstall to install fresh again? 

Can you try removing the server app from your mac and installing it again? Just the normal method of app uninstall should be fine. Thanks.

  • 3 weeks later...
Posted

Hi Luke,

Yes I have done that but nothing seems to work. I deleted the server app. Download a resintall a new app. Went through the same privacy. Still no luck. 

Is there something that could be in conflict with opening it? 

Posted

Is anything else using port 8096?

Posted

That's interesting. how do I check if there's anything else that is using 8096?

Posted

@Junjin

35 minutes ago, Junjin said:

how do I check if there's anything else that is using 8096?

Start a terminal session and type this command

sudo lsof -i -P | grep LISTEN | grep 8096

If the issue is not due to port being in use, you can try to launch Emby Server in terminal and see what errors are displayed

So start a terminal session and type these commands

cd /Applications
./EmbyServer.app/Contents/MacOS/EmbyServer

Suggest you copy all the displayed output to a text file and then check it - upload here

 

Posted

(base) wongjunjin@Juns-Mac-mini ~ % sudo lsof -i -P | grep LISTEN | grep 8096

Password:

(base) wongjunjin@Juns-Mac-mini ~ % cd /applications

(base) wongjunjin@Juns-Mac-mini /applications % ./EmbyServer.app/Contents/MacOS/EmbyServer

Error GlobalExceptionHandler: UnhandledException

System.AggregateException: System.AggregateException: One or more errors occurred. (Access to the path '/Users/wongjunjin/.config/emby-server/logs' is denied.)

---> System.UnauthorizedAccessException: Access to the path '/Users/wongjunjin/.config/emby-server/logs' is denied.

---> System.IO.IOException: Permission denied

  --- End of inner exception stack trace ---

  at System.IO.FileSystem.CreateDirectory(String fullPath)

  at System.IO.Directory.CreateDirectory(String path)

  at Emby.Server.Implementations.Logging.FileLogger..ctor(String path)

  at Emby.Server.Implementations.Logging.SimpleLogManager.ReloadLogger(LogSeverity severity, CancellationToken cancellationToken)

  --- End of inner exception stack trace ---

  at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

  at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)

  at System.Threading.Tasks.Task.Wait()

  at EmbyServer.Program.Main(String[] args)

Source: System.Private.CoreLib

TargetSite: Void ThrowIfExceptional(Boolean)

InnerException: System.UnauthorizedAccessException: Access to the path '/Users/wongjunjin/.config/emby-server/logs' is denied.

Source: System.Private.CoreLib

TargetSite: Void CreateDirectory(System.String)

  at System.IO.FileSystem.CreateDirectory(String fullPath)

  at System.IO.Directory.CreateDirectory(String path)

  at Emby.Server.Implementations.Logging.FileLogger..ctor(String path)

  at Emby.Server.Implementations.Logging.SimpleLogManager.ReloadLogger(LogSeverity severity, CancellationToken cancellationToken)

InnerException: System.IO.IOException: Permission denied

Source:

TargetSite:

 

UnhandledException

System.AggregateException: System.AggregateException: One or more errors occurred. (Access to the path '/Users/wongjunjin/.config/emby-server/logs' is denied.)

---> System.UnauthorizedAccessException: Access to the path '/Users/wongjunjin/.config/emby-server/logs' is denied.

---> System.IO.IOException: Permission denied

   --- End of inner exception stack trace ---

   at System.IO.FileSystem.CreateDirectory(String fullPath)

   at System.IO.Directory.CreateDirectory(String path)

   at Emby.Server.Implementations.Logging.FileLogger..ctor(String path)

   at Emby.Server.Implementations.Logging.SimpleLogManager.ReloadLogger(LogSeverity severity, CancellationToken cancellationToken)

   --- End of inner exception stack trace ---

   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)

   at System.Threading.Tasks.Task.Wait()

   at EmbyServer.Program.Main(String[] args)

Source: System.Private.CoreLib

TargetSite: Void ThrowIfExceptional(Boolean)

InnerException: System.UnauthorizedAccessException: Access to the path '/Users/wongjunjin/.config/emby-server/logs' is denied.

Source: System.Private.CoreLib

TargetSite: Void CreateDirectory(System.String)

   at System.IO.FileSystem.CreateDirectory(String fullPath)

   at System.IO.Directory.CreateDirectory(String path)

   at Emby.Server.Implementations.Logging.FileLogger..ctor(String path)

   at Emby.Server.Implementations.Logging.SimpleLogManager.ReloadLogger(LogSeverity severity, CancellationToken cancellationToken)

InnerException: System.IO.IOException: Permission denied

Source:

TargetSite:

 

 

(base) wongjunjin@Juns-Mac-mini /applications %



^ here you go. So when I tried the first line grep, looks like nothing is appearing. The second line is interesting. What can I do to provide the permission? 

Posted
36 minutes ago, Junjin said:

What can I do to provide the permission? 

ln terminal

 ls -ail /Users/wongjunjin/.config

 

Posted

Last login: Fri Oct 11 17:54:25 on ttys000

(base) wongjunjin@Juns-Mac-mini ~ % ls -ail /Users/wongjunjin/.config

total 0

5642216 drwxr-xr-x   3 root        staff    96 Mar 27  2024 .

  35657 drwxr-x---+ 45 wongjunjin  staff  1440 Oct 11 21:43 ..

5642217 drwxr-xr-x   3 root        staff    96 Mar 27  2024 fish

(base) wongjunjin@Juns-Mac-mini ~ % cd /applications

(base) wongjunjin@Juns-Mac-mini /applications % ./EmbyServer.app/Contents/MacOS/EmbyServer

Error GlobalExceptionHandler: UnhandledException

System.AggregateException: System.AggregateException: One or more errors occurred. (Access to the path '/Users/wongjunjin/.config/emby-server/logs' is denied.)

---> System.UnauthorizedAccessException: Access to the path '/Users/wongjunjin/.config/emby-server/logs' is denied.

---> System.IO.IOException: Permission denied

  --- End of inner exception stack trace ---

  at System.IO.FileSystem.CreateDirectory(String fullPath)

  at System.IO.Directory.CreateDirectory(String path)

  at Emby.Server.Implementations.Logging.FileLogger..ctor(String path)

  at Emby.Server.Implementations.Logging.SimpleLogManager.ReloadLogger(LogSeverity severity, CancellationToken cancellationToken)

  --- End of inner exception stack trace ---

  at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

  at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)

  at System.Threading.Tasks.Task.Wait()

  at EmbyServer.Program.Main(String[] args)

Source: System.Private.CoreLib

TargetSite: Void ThrowIfExceptional(Boolean)

InnerException: System.UnauthorizedAccessException: Access to the path '/Users/wongjunjin/.config/emby-server/logs' is denied.

Source: System.Private.CoreLib

TargetSite: Void CreateDirectory(System.String)

  at System.IO.FileSystem.CreateDirectory(String fullPath)

  at System.IO.Directory.CreateDirectory(String path)

  at Emby.Server.Implementations.Logging.FileLogger..ctor(String path)

  at Emby.Server.Implementations.Logging.SimpleLogManager.ReloadLogger(LogSeverity severity, CancellationToken cancellationToken)

InnerException: System.IO.IOException: Permission denied

Source:

TargetSite:

 

UnhandledException

System.AggregateException: System.AggregateException: One or more errors occurred. (Access to the path '/Users/wongjunjin/.config/emby-server/logs' is denied.)

---> System.UnauthorizedAccessException: Access to the path '/Users/wongjunjin/.config/emby-server/logs' is denied.

---> System.IO.IOException: Permission denied

   --- End of inner exception stack trace ---

   at System.IO.FileSystem.CreateDirectory(String fullPath)

   at System.IO.Directory.CreateDirectory(String path)

   at Emby.Server.Implementations.Logging.FileLogger..ctor(String path)

   at Emby.Server.Implementations.Logging.SimpleLogManager.ReloadLogger(LogSeverity severity, CancellationToken cancellationToken)

   --- End of inner exception stack trace ---

   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)

   at System.Threading.Tasks.Task.Wait()

   at EmbyServer.Program.Main(String[] args)

Source: System.Private.CoreLib

TargetSite: Void ThrowIfExceptional(Boolean)

InnerException: System.UnauthorizedAccessException: Access to the path '/Users/wongjunjin/.config/emby-server/logs' is denied.

Source: System.Private.CoreLib

TargetSite: Void CreateDirectory(System.String)

   at System.IO.FileSystem.CreateDirectory(String fullPath)

   at System.IO.Directory.CreateDirectory(String path)

   at Emby.Server.Implementations.Logging.FileLogger..ctor(String path)

   at Emby.Server.Implementations.Logging.SimpleLogManager.ReloadLogger(LogSeverity severity, CancellationToken cancellationToken)

InnerException: System.IO.IOException: Permission denied

Source:

TargetSite:

 

 

(base) wongjunjin@Juns-Mac-mini /applications %

^ I tried. Still not good. 

  • Solution
Posted
3 hours ago, Junjin said:

(base) wongjunjin@Juns-Mac-mini ~ % ls -ail /Users/wongjunjin/.config

total 0

5642216 drwxr-xr-x   3 root        staff    96 Mar 27  2024 .

  35657 drwxr-x---+ 45 wongjunjin  staff  1440 Oct 11 21:43 ..

5642217 drwxr-xr-x   3 root        staff    96 Mar 27  2024 fish

Try this in terminal

sudo chown wongjunjin /Users/wongjunjin/.config

 

  • Like 1
Posted

YES! It finally worked! Thank you so much @sa2000
You made it all happened. 

So it's just about giving permission? 

 

  • Like 1
  • Thanks 1
ronmramsayii
Posted

I’ve got the same issue. Running macOS Sequoia on a M1 Mac Mini. Nothing else is running on the 8096 port. 

Posted
2 hours ago, ronmramsayii said:

I’ve got the same issue. Running macOS Sequoia on a M1 Mac Mini. Nothing else is running on the 8096 port. 

Hi, did you try the solution in this thread?

ronmramsayii
Posted
21 minutes ago, Luke said:

Hi, did you try the solution in this thread?

I will as soon as I get to my computer. I’ll report back. 

  • Thanks 1
ronmramsayii
Posted

I tried, even chown in terminal... still not working. Not sure what I'm missing... Any idea why this is even happening anyways?

Posted
1 minute ago, ronmramsayii said:

I tried, even chown in terminal... still not working. Not sure what I'm missing... Any idea why this is even happening anyways?

How did you install Emby server?

ronmramsayii
Posted
2 hours ago, Luke said:

How did you install Emby server?

I downloaded it from the website (ARM) format. Dragged and dropped in applications. I did a little research, and found out that Sequoia seems to have tightened up on apps, and is likely an issue where the app needs to be updated to run on it. 

Posted

I'm on Sequoia btw. So it should work following the above. Did you use your own user name (not mine I hope)

Posted
On 12/10/2024 at 05:50, Junjin said:

YES! It finally worked! Thank you so much

Great

 

On 12/10/2024 at 05:50, Junjin said:

So it's just about giving permission? 

It was ownership of the folder. Owned by root

(base) wongjunjin@Juns-Mac-mini ~ % ls -ail /Users/wongjunjin/.config
total 0
5642216 drwxr-xr-x   3 root        staff    96 Mar 27  2024 .
  35657 drwxr-x---+ 45 wongjunjin  staff  1440 Oct 11 21:43 ..
5642217 drwxr-xr-x   3 root        staff    96 Mar 27  2024 fish

You might remember what you did on the 27th March ? Perhaps you installed an application before creating user "wongjunjin" ? Does the "fish" directory give any hint / clues as to what was done then?

Posted
7 hours ago, ronmramsayii said:

I tried, even chown in terminal... still not working.

The bit that you need to try from the advice given in the post here

So if you have already elimintaed the possibiility that the port is used by another application - related advice was:

sudo lsof -i -P | grep LISTEN | grep 8096

Then what is needed is establishing what the error on launch is and the following should help establish that - in terminal session:

cd /Applications
./EmbyServer.app/Contents/MacOS/EmbyServer

and copy out what is displayed into a text file and examine / attach here to a post

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...