jellyfin-server-macos icon indicating copy to clipboard operation
jellyfin-server-macos copied to clipboard

Logs directory doesn't open on macOS

Open kambala-decapitator opened this issue 1 year ago • 4 comments

Describe The Bug

I use Path Finder as default file manager (e.g. clicking Show in Finder from other app opens file/directory in Path Finder instead of Finder). When I click on Show Logs menu entry in menubar icon only Path Finder is activated, but ~/.local/share/jellyfin/log directory isn't opened. This is first launch of the app if it matters.

Steps To Reproduce

  1. Click Show Logs in the menubar icon
  2. Path Finder is activated
  3. No new directory is opened

Expected Behavior

Logs directory is opened.

Logs

Don't see anything about opening directory in the logs. General logs:

[2023-04-01 16:22:02.214 +03:00] [INF] [4] Main: Jellyfin version: "10.8.9"
[2023-04-01 16:22:02.252 +03:00] [INF] [4] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /Users/kambala/.local/share/jellyfin/log]"]
[2023-04-01 16:22:02.254 +03:00] [INF] [4] Main: Arguments: ["/Applications/Jellyfin.app/Contents/MacOS/jellyfin.dll", "--webdir", "/Applications/Jellyfin.app/Contents/Resources/jellyfin-web"]
[2023-04-01 16:22:02.256 +03:00] [INF] [4] Main: Operating system: "macOS"
[2023-04-01 16:22:02.256 +03:00] [INF] [4] Main: Architecture: X64
[2023-04-01 16:22:02.256 +03:00] [INF] [4] Main: 64-Bit Process: True
[2023-04-01 16:22:02.256 +03:00] [INF] [4] Main: User Interactive: True
[2023-04-01 16:22:02.257 +03:00] [INF] [4] Main: Processor count: 6
[2023-04-01 16:22:02.257 +03:00] [INF] [4] Main: Program data path: "/Users/kambala/.local/share/jellyfin"
[2023-04-01 16:22:02.257 +03:00] [INF] [4] Main: Web resources path: "/Applications/Jellyfin.app/Contents/Resources/jellyfin-web"
[2023-04-01 16:22:02.257 +03:00] [INF] [4] Main: Application directory: "/Applications/Jellyfin.app/Contents/MacOS/"
[2023-04-01 16:22:02.272 +03:00] [INF] [4] Jellyfin.Server.Migrations.MigrationRunner: Marking following migrations as applied because this is a fresh install: ["CreateNetworkConfiguration"]
[2023-04-01 16:22:02.342 +03:00] [INF] [4] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/Users/kambala/.cache/jellyfin"

System (please complete the following information):

  • Platform: macOS 12.6.4
  • Browser: Safari 16.3 (17614.4.6.11.6, 17614)
  • Jellyfin Version: 10.8.9

kambala-decapitator avatar Apr 01 '23 13:04 kambala-decapitator

oh sorry, should I have reported this to https://github.com/jellyfin/jellyfin project instead?

kambala-decapitator avatar Apr 01 '23 13:04 kambala-decapitator

No worries. It's been moved to the correct place now. 👍

thornbill avatar Apr 02 '23 16:04 thornbill

There won't be any logs about the menu bar in the server logs, so that's why it wouldn't show up there. I'll have to investigate the finder not being opened correctly though. We have a new version of the menu bar app coming that would probably do this correctly though.

anthonylavado avatar Apr 02 '23 17:04 anthonylavado

I guess you should use open method instead of selectFile

kambala-decapitator avatar Apr 02 '23 17:04 kambala-decapitator