Jump to content

MacOS permissions error on new MacMini install


WallyW

Recommended Posts

WallyW

Hi, Moving across from a windows setup to a macOS setup. Noticed the following errors in the logs, tried running through some similar errors others have reported, haven't had success. Setup is Mac mini M2, 512MB SSD, 16GB Ram. Enabled EmbyServer for full Disk Access which fixed other permission errors however these remain. Logs pasted below, any assistance greatly appreciated.

Data path: /Users/rickyr/.config/emby-server

Application path: /Applications/EmbyServer.app/Contents/MacOS

System.ComponentModel.Win32Exception: System.ComponentModel.Win32Exception (13): An error occurred trying to start process '/Applications/EmbyServer.app/Contents/MacOS/embytray' with working directory '/'. Permission denied

at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)

at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)

at System.Diagnostics.Process.Start()

at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

at EmbyServer.TrayApp.StartTrayIcon(Int32 serverPort, String language)

Source: System.Diagnostics.Process

TargetSite: Boolean ForkAndExecProcess(System.Diagnostics.ProcessStartInfo, System.String, System.String[], System.String[], System.String, Boolean, UInt32, UInt32, UInt32[], Int32 ByRef, Int32 ByRef, Int32 ByRef, Boolean, Boolean)


*** Error Report ***

Version: 4.7.13.0

Command line: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll

Operating system: Darwin 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 5 22:17:35 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T8112

Framework: .NET 6.0.5

OS/Process: arm64/arm64

Runtime: Applications/EmbyServer.app/Contents/MacOS/System.Private.CoreLib.dll

Processor count: 8

Data path: /Users/rickyr/.config/emby-server

Application path: /Applications/EmbyServer.app/Contents/MacOS

System.Exception: System.Exception: ffprobe failed for file:"/Volumes/SynSF/TV Shows/12 Monkeys/Season 2/12.Monkeys.-.S02E12 - HDTV XviD-FUM.mp4" - streams and format are both null: 

{

}

ffprobe version 5.1-emby_2022_09_07 Copyright (c) 2007-2022 the FFmpeg developers and softworkz for Emby LLC

built with clang version 14.0.6

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x134e04ee0] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x134e04ee0] moov atom not found

file:/Volumes/SynSF/TV Shows/12 Monkeys/Season 2/12.Monkeys.-.S02E12 - HDTV XviD-FUM.mp4: Invalid data found when processing input

at Emby.Server.MediaEncoding.Probing.MediaProbeManager.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, String userAgent, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Boolean forceEnableLogging, CancellationToken cancellationToken)

at Emby.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](MetadataResult`1 metadataResult, MetadataRefreshOptions options, LibraryOptions libraryOptions, CancellationToken cancellationToken)

at Emby.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, MetadataResult`1 itemResult, String logName, MetadataRefreshOptions options, LibraryOptions libraryOptions, RefreshResult refreshResult, CancellationToken cancellationToken)

Source: Emby.Server.MediaEncoding

TargetSite: Void MoveNext()

2023-08-02 08:39:34.303 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /Applications/EmbyServer.app/Contents/MacOS/ffprobe -i file:"/Volumes/SynSF/TV Shows/Suits/Season 6/Suits.-.S06E01.-.To.Trouble.SDTVSuits0601SDTVXviD.MP3FUM.Suits.avi" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data

2023-08-02 08:39:34.357 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0 - Succeeded

2023-08-02 08:39:34.357 Error App: Error in ffprobe

Thanks, WallyW

Link to comment
Share on other sites

WallyW

Downloaded embyserver-osx-arm64-4.7.13.0.zip, extracted app, moved to dock and I start it manually from the dock.

Link to comment
Share on other sites

WallyW

Right click on EmbyServer.app in the applications folder > Open, got the undefined developer screen, said open anyway. Opened okay into localhost:8096. App does open okay and runs.

Link to comment
Share on other sites

  • 2 weeks later...

Luke, Just tried again. Downloaded directly into the applications folder and opened from applications folder.

Processor count: 8

Data path: /Users/rickyrosa/.config/emby-server

Application path: /private/var/folders/fr/y_nvnbvs62vc9pwh72j2qnzr0000gn/T/AppTranslocation/77A1F575-3257-4054-AC32-009485547515/d/EmbyServer.app/Contents/MacOS

2023-08-21 19:00:19.537 Info Main: Logs path: /Users/rickyr/.config/emby-server/logs

2023-08-21 19:00:19.537 Info Main: Cache path: /Users/rickyr/.config/emby-server/cache

2023-08-21 19:00:19.537 Info Main: Internal metadata path: /Users/rickyr/.config/emby-server/metadata

2023-08-21 19:00:19.537 Info Main: Transcoding temporary files path: /Users/rickyr/.config/emby-server/transcoding-temp

2023-08-21 19:00:19.538 Info Main: Tray icon path: /private/var/folders/fr/y_nvnbvs62vc9pwh72j2qnzr0000gn/T/AppTranslocation/77A1F575-3257-4054-AC32-009485547515/d/EmbyServer.app/Contents/MacOS/embytray

2023-08-21 19:00:19.549 Error Main: Error starting tray icon

*** Error Report ***

Version: 4.7.13.0

Command line: /private/var/folders/fr/y_nvnbvs62vc9pwh72j2qnzr0000gn/T/AppTranslocation/77A1F575-3257-4054-AC32-009485547515/d/EmbyServer.app/Contents/MacOS/EmbyServer.dll

Operating system: Darwin 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 5 22:17:35 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T8112

Framework: .NET 6.0.5

OS/Process: arm64/arm64

Runtime: private/var/folders/fr/y_nvnbvs62vc9pwh72j2qnzr0000gn/T/AppTranslocation/77A1F575-3257-4054-AC32-009485547515/d/EmbyServer.app/Contents/MacOS/System.Private.CoreLib.dll

 

 

 

Link to comment
Share on other sites

Apologies, just noticed date on Embyserver.app didn't update when I moved it to trash. This time did a copy to ensure it replaced the old version. I can now see Emby in the tray.

Thank you!

Link to comment
Share on other sites

1 hour ago, WallyW said:

Apologies, just noticed date on Embyserver.app didn't update when I moved it to trash. This time did a copy to ensure it replaced the old version. I can now see Emby in the tray.

Thank you!

Hi, so the issue is resolved now?

Link to comment
Share on other sites

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