nui icon indicating copy to clipboard operation
nui copied to clipboard

Installation on macOS Sonoma 14.15

Open albertjimenez opened this issue 1 year ago • 7 comments

Hi there, I hope it is not a dumb question, but how I can run the GUI after installing it through the PKG file? I don't see it in my terminal or the Application list. It would be good to have it on the README.md if possible. PS: Docker works like a charm, in case I need it, how do I uninstall the PKG? Thanks!

albertjimenez avatar Aug 03 '24 22:08 albertjimenez

Same issue, cant find the app nor uninstall it. Sonoma 14.5

mbn18 avatar Aug 04 '24 09:08 mbn18

Got it in this path

/Users/runner/work/nui/nui/build/bin/nui-app.app

but as soon as I open it, it closes, on an Intel CPU

albertjimenez avatar Aug 04 '24 09:08 albertjimenez

@albertjimenez which OS version are you using? Are there inside ~/Library/Application Support/nui-app some logs? @mbn18 could you find the app in the same path of @albertjimenez and ty lauch it? NUI is using wails for cross platform build, i'm going to investigate this issue also with the wails team after collecting some feedbacks.

pricelessrabbit avatar Aug 04 '24 10:08 pricelessrabbit

@pricelessrabbit macOS Sonoma 14.15 on intel CPU, the path you provided yielded the logs, although I am going to attach them, I know the root cause of the issue. I was launching it whilst Docker was running the NUI web server hence why the app did not launch successfully. Now it is working but I had to move the app from /Users/runner/work/nui/nui/build/bin/nui-app.app to the Application folder otherwise it would not be recognised so I still believe there is an issue where the app does not get install on the proper location in Mac. I have tried to look into some logs but since it is a pkg and not a dmg I could not retrieve sys logs or scripts executed to debug the installation process. I hope it helps! Thanks!

{"time":"2024-08-04T00:34:38.808545+02:00","level":"INFO","msg":"Starting nui app..."}
{"time":"2024-08-04T00:34:38.809285+02:00","level":"INFO","msg":"Version: v0.4.2"}
{"time":"2024-08-04T00:34:38.809338+02:00","level":"INFO","msg":"database path: /Users/albertsendrosjimenez/Library/Application Support/nui-app/databases/nui"}
{"time":"2024-08-04T00:34:38.906383+02:00","level":"ERROR","msg":"fatal error setting up app webserver: failed to listen: listen tcp4 :31311: bind: address already in use"}
{"time":"2024-08-04T00:34:56.709251+02:00","level":"INFO","msg":"Starting nui app..."}
{"time":"2024-08-04T00:34:56.70983+02:00","level":"INFO","msg":"Version: v0.4.2"}
{"time":"2024-08-04T00:34:56.710274+02:00","level":"INFO","msg":"database path: /Users/albertsendrosjimenez/Library/Application Support/nui-app/databases/nui"}
{"time":"2024-08-04T00:34:56.742265+02:00","level":"ERROR","msg":"fatal error setting up app webserver: failed to listen: listen tcp4 :31311: bind: address already in use"}
{"time":"2024-08-04T00:35:23.242393+02:00","level":"INFO","msg":"Starting nui app..."}
{"time":"2024-08-04T00:35:23.242904+02:00","level":"INFO","msg":"Version: v0.4.2"}
{"time":"2024-08-04T00:35:23.242932+02:00","level":"INFO","msg":"database path: /Users/albertsendrosjimenez/Library/Application Support/nui-app/databases/nui"}
{"time":"2024-08-04T00:35:23.278873+02:00","level":"ERROR","msg":"fatal error setting up app webserver: failed to listen: listen tcp4 :31311: bind: address already in use"}
{"time":"2024-08-04T00:35:33.867574+02:00","level":"INFO","msg":"Starting nui app..."}
{"time":"2024-08-04T00:35:33.86907+02:00","level":"INFO","msg":"Version: v0.4.2"}
{"time":"2024-08-04T00:35:33.869111+02:00","level":"INFO","msg":"database path: /Users/albertsendrosjimenez/Library/Application Support/nui-app/databases/nui"}
{"time":"2024-08-04T00:35:33.904304+02:00","level":"ERROR","msg":"fatal error setting up app webserver: failed to listen: listen tcp4 :31311: bind: address already in use"}

albertjimenez avatar Aug 04 '24 20:08 albertjimenez

Talked to the wails community and they manage to reproduce the issue: Apple with 14.5 quarantine the application due to the fact that there's no signing. Simple workaround to make it working and install in right directory: right click -> open with installer

pricelessrabbit avatar Aug 12 '24 18:08 pricelessrabbit

excellent! top notch work! I've reinstalled using the right click and now it did work, thanks a million, not closing the issue since some other folks had the same issue and it would be good to wait on them but I leave it up to you @pricelessrabbit

albertjimenez avatar Aug 12 '24 22:08 albertjimenez

I did the rightclick install but the app endend up in /Users/runner/work/nui/nui/build/bin/nui-app.app as @albertjimenez mentioned earlier. But at least I can start it from there. Haven't tried to copy it to my users home dir, yet.

mawisome avatar Oct 11 '24 08:10 mawisome