Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation on macOS Sonoma 14.15 #16

Open
albertjimenez opened this issue Aug 3, 2024 · 7 comments
Open

Installation on macOS Sonoma 14.15 #16

albertjimenez opened this issue Aug 3, 2024 · 7 comments

Comments

@albertjimenez
Copy link

albertjimenez commented Aug 3, 2024

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!

@mbn18
Copy link

mbn18 commented Aug 4, 2024

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

@albertjimenez
Copy link
Author

albertjimenez commented Aug 4, 2024

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

@pricelessrabbit
Copy link
Collaborator

pricelessrabbit commented Aug 4, 2024

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

@albertjimenez
Copy link
Author

albertjimenez commented Aug 4, 2024

@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"}

@pricelessrabbit
Copy link
Collaborator

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

@albertjimenez
Copy link
Author

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

@mawisome
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants