NeonGeckoCom / neon-hub-installer

Installer script for Neon Hub, a centralized private AI server featuring Neon.AI services
Other
2 stars 1 forks source link

fix: addressing feedback from testing #4

Closed mikejgray closed 6 days ago

NeonDaniel commented 1 week ago

Minor nits:

NeonDaniel commented 1 week ago

Truncated Hub Installer

NeonDaniel commented 1 week ago

I see the same errors after re-running the installer. I just pulled the dev branch and re-ran setup.sh; let me know if you'd like me to do anything differently

BOOT FAILED
2024-10-16 19:09:27.391063+00:00 [error] <0.253.0>
2024-10-16 19:09:27.391063+00:00 [error] <0.253.0> BOOT FAILED
2024-10-16 19:09:27.391063+00:00 [error] <0.253.0> ===========
2024-10-16 19:09:27.391063+00:00 [error] <0.253.0> Error during startup: {error,failed_to_update_enabled_plugins_file}
2024-10-16 19:09:27.391063+00:00 [error] <0.253.0>
===========
Error during startup: {error,failed_to_update_enabled_plugins_file}

2024-10-16 19:09:28.391574+00:00 [error] <0.252.0>   crasher:
2024-10-16 19:09:28.391574+00:00 [error] <0.252.0>     initial call: application_master:init/4
2024-10-16 19:09:28.391574+00:00 [error] <0.252.0>     pid: <0.252.0>
2024-10-16 19:09:28.391574+00:00 [error] <0.252.0>     registered_name: []
2024-10-16 19:09:28.391574+00:00 [error] <0.252.0>     exception exit: {failed_to_update_enabled_plugins_file,
Runtime terminating during boot (terminating)
2024-10-16 19:09:28.391574+00:00 [error] <0.252.0>                         {rabbit,start,[normal,[]]}}
2024-10-16 19:09:28.391574+00:00 [error] <0.252.0>       in function  application_master:init/4 (application_master.erl, line 142)
2024-10-16 19:09:28.391574+00:00 [error] <0.252.0>     ancestors: [<0.251.0>]
2024-10-16 19:09:28.391574+00:00 [error] <0.252.0>     message_queue_len: 1

2024-10-16 19:09:28.391574+00:00 [error] <0.252.0>     messages: [{'EXIT',<0.253.0>,normal}]
2024-10-16 19:09:28.391574+00:00 [error] <0.252.0>     links: [<0.251.0>,<0.44.0>]
2024-10-16 19:09:28.391574+00:00 [error] <0.252.0>     dictionary: []
2024-10-16 19:09:28.391574+00:00 [error] <0.252.0>     trap_exit: true
2024-10-16 19:09:28.391574+00:00 [error] <0.252.0>     status: running
2024-10-16 19:09:28.391574+00:00 [error] <0.252.0>     heap_size: 376
2024-10-16 19:09:28.391574+00:00 [error] <0.252.0>     stack_size: 28
2024-10-16 19:09:28.391574+00:00 [error] <0.252.0>     reductions: 167
2024-10-16 19:09:28.391574+00:00 [error] <0.252.0>   neighbours:
2024-10-16 19:09:28.391574+00:00 [error] <0.252.0>
2024-10-16 19:09:28.394456+00:00 [notice] <0.44.0> Application rabbit exited with reason: {failed_to_update_enabled_plugins_file,{rabbit,start,[normal,[]]}}
Crash dump is being written to: erl_crash.dump...[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
[os_mon] memory supervisor port (memsup): Erlang has closed
mikejgray commented 1 week ago

I was able to get this version working, please give it another shot and let me know if anything else comes up.

NeonDaniel commented 1 week ago

Working for me now :tada: .

Summarizing discussion from Matrix chat:

Overall seems to be working for me with the exception of the distro check that I manually overrode. Updates are not part of this initial SoW, so the container update issue can be pushed to later since I think that is a broader question about how to backup/cleanup an existing installation before an update.

mikejgray commented 1 week ago

@NeonDaniel I believe I've fixed the bug introduced in the commit you tried and added a troubleshooting step for clearing out old containers. Would you please re-validate just to be sure? It's working on my end.

Assuming this all works, I believe this fulfills the requirements for the first section!

NeonDaniel commented 6 days ago

yacht.neon-hub.local does not resolve for me, but that may be more to do with my router than anything else. Also observed that the Enter key next to my 10-key input doesn't appear to map to anything on the input prompts while the "normal" Enter key does. No issues, just interesting observations.