[GH-ISSUE #78] webapp for self hosted. #24

Open
opened 2026-02-27 14:56:57 +03:00 by kerem · 11 comments
Owner

Originally created by @mocallins on GitHub (Nov 23, 2024).
Original GitHub issue: https://github.com/netbootxyz/webapp/issues/78

Do you have this enabled for a self hosted system, NOT using Docker ?

Originally created by @mocallins on GitHub (Nov 23, 2024). Original GitHub issue: https://github.com/netbootxyz/webapp/issues/78 Do you have this enabled for a self hosted system, NOT using Docker ?
Author
Owner

@MrMEEE commented on GitHub (Jan 14, 2025):

@mocallins I have just created a playbook for RHEL..

Take a look if you want:

https://github.com/MrMEEE/netbootxyz-webapp-ansible

<!-- gh-comment-id:2590989450 --> @MrMEEE commented on GitHub (Jan 14, 2025): @mocallins I have just created a playbook for RHEL.. Take a look if you want: https://github.com/MrMEEE/netbootxyz-webapp-ansible
Author
Owner

@mocallins commented on GitHub (Jan 14, 2025):

Hmmm, is webapp.xml all i need ?Any other instructions ?

On Tuesday, January 14, 2025 at 01:58:21 PM CST, Martin Juhl ***@***.***> wrote:  

@mocallins I have just created a playbook for RHEL..

Take a look if you want:

https://github.com/MrMEEE/netbootxyz-webapp-ansible


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

<!-- gh-comment-id:2591282784 --> @mocallins commented on GitHub (Jan 14, 2025): Hmmm, is webapp.xml all i need ?Any other instructions ? On Tuesday, January 14, 2025 at 01:58:21 PM CST, Martin Juhl ***@***.***> wrote: @mocallins I have just created a playbook for RHEL.. Take a look if you want: https://github.com/MrMEEE/netbootxyz-webapp-ansible — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: ***@***.***>
Author
Owner

@MrMEEE commented on GitHub (Jan 15, 2025):

You need the role as well..

Basically just clone the repository (git clone) and run the playbook with:

ansible-playbook -i inventory webapp.xml (supply your own inventory, or leave out "-i inventory" to install on localhost)

Options are in roles/webapp/vars/main.yml

<!-- gh-comment-id:2591355052 --> @MrMEEE commented on GitHub (Jan 15, 2025): You need the role as well.. Basically just clone the repository (git clone) and run the playbook with: ansible-playbook -i inventory webapp.xml (supply your own inventory, or leave out "-i inventory" to install on localhost) Options are in roles/webapp/vars/main.yml
Author
Owner

@mocallins commented on GitHub (Jan 17, 2025):

Multiple issues getting this to run.

Had to disable nginx.
This didn't exist here: _ roles/webapp/vars/main.yml_
but this does: `cat roles/netbootxyz/vars/main.yml

---`

I finally got it to run with the inventory , but still failed at:

TASK [netbootxyz : Generate checksums] *****************************************
included: /opt/netboot.xyz/roles/netbootxyz/tasks/generate_checksums.yml for localhost

TASK [netbootxyz : Register a listing of all created iPXE bootloaders] *********
changed: [localhost]

TASK [netbootxyz : Generate date] **********************************************
changed: [localhost]

TASK [netbootxyz : Gather stat listing of directory] ***************************
changed: [localhost] => (item=netboot.xyz.dsk)
changed: [localhost] => (item=netboot.xyz.efi)
changed: [localhost] => (item=netboot.xyz.efi.dsk)
changed: [localhost] => (item=netboot.xyz.kpxe)
changed: [localhost] => (item=netboot.xyz.lkrn)
changed: [localhost] => (item=netboot.xyz.pdsk)
changed: [localhost] => (item=netboot.xyz-snp.efi)
changed: [localhost] => (item=netboot.xyz-snp.efi.dsk)
changed: [localhost] => (item=netboot.xyz-snponly.efi)
changed: [localhost] => (item=netboot.xyz-undionly.kpxe)

TASK [netbootxyz : Generate ipxe disk checksums] *******************************
changed: [localhost]

TASK [netbootxyz : Generate site name banner for index] ************************
changed: [localhost]

TASK [netbootxyz : Reset bootloader filename to first in list] *****************
ok: [localhost]

TASK [netbootxyz : Generate netboot.xyz index template] ************************
ok: [localhost]

TASK [netbootxyz : Generate signatures] ****************************************
skipping: [localhost]

PLAY RECAP *********************************************************************
localhost                  : ok=46   changed=18   unreachable=0    failed=0    skipped=19   rescued=0    ignored=0


PLAY [localhost] ***************************************************************

TASK [Gathering Facts] *********************************************************
ok: [localhost]

TASK [webapp : Add the service user] *******************************************
ok: [localhost]

TASK [webapp : Create install path] ********************************************
ok: [localhost]

TASK [webapp : Cloning the netboot.xyz webapp repo] ****************************
ok: [localhost]

TASK [webapp : Install dependencies] *******************************************
[WARNING]: Unable to detect release version (use "releasever" option to specify
release version)
fatal: [localhost]: FAILED! => {"changed": false, "msg": "No group nodejs:22 available.", "results": []}
<!-- gh-comment-id:2599135466 --> @mocallins commented on GitHub (Jan 17, 2025): Multiple issues getting this to run. Had to disable nginx. This didn't exist here: _ roles/webapp/vars/main.yml_ but this does: `cat roles/netbootxyz/vars/main.yml ---` I finally got it to run with the _inventory_ , but still failed at: ``` TASK [netbootxyz : Generate checksums] ***************************************** included: /opt/netboot.xyz/roles/netbootxyz/tasks/generate_checksums.yml for localhost TASK [netbootxyz : Register a listing of all created iPXE bootloaders] ********* changed: [localhost] TASK [netbootxyz : Generate date] ********************************************** changed: [localhost] TASK [netbootxyz : Gather stat listing of directory] *************************** changed: [localhost] => (item=netboot.xyz.dsk) changed: [localhost] => (item=netboot.xyz.efi) changed: [localhost] => (item=netboot.xyz.efi.dsk) changed: [localhost] => (item=netboot.xyz.kpxe) changed: [localhost] => (item=netboot.xyz.lkrn) changed: [localhost] => (item=netboot.xyz.pdsk) changed: [localhost] => (item=netboot.xyz-snp.efi) changed: [localhost] => (item=netboot.xyz-snp.efi.dsk) changed: [localhost] => (item=netboot.xyz-snponly.efi) changed: [localhost] => (item=netboot.xyz-undionly.kpxe) TASK [netbootxyz : Generate ipxe disk checksums] ******************************* changed: [localhost] TASK [netbootxyz : Generate site name banner for index] ************************ changed: [localhost] TASK [netbootxyz : Reset bootloader filename to first in list] ***************** ok: [localhost] TASK [netbootxyz : Generate netboot.xyz index template] ************************ ok: [localhost] TASK [netbootxyz : Generate signatures] **************************************** skipping: [localhost] PLAY RECAP ********************************************************************* localhost : ok=46 changed=18 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0 PLAY [localhost] *************************************************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [webapp : Add the service user] ******************************************* ok: [localhost] TASK [webapp : Create install path] ******************************************** ok: [localhost] TASK [webapp : Cloning the netboot.xyz webapp repo] **************************** ok: [localhost] TASK [webapp : Install dependencies] ******************************************* [WARNING]: Unable to detect release version (use "releasever" option to specify release version) fatal: [localhost]: FAILED! => {"changed": false, "msg": "No group nodejs:22 available.", "results": []} ```
Author
Owner

@mocallins commented on GitHub (Jan 17, 2025):

Also what is the port or /dir on the webserver page ?

<!-- gh-comment-id:2599139531 --> @mocallins commented on GitHub (Jan 17, 2025): Also what is the port or _/dir_ on the webserver page ?
Author
Owner

@MrMEEE commented on GitHub (Jan 17, 2025):

  1. I'm not using nginx, i'm using Apache/httpd.. nginx could be added as an option later..
  2. My bad, I meant roles/netbootxyz/vars/main.yml
  3. It seems like you are not using RHEL9? What distribution are you running?
  4. The webinterface should be available on port 3000 (remember to open fw or disable it)
<!-- gh-comment-id:2599165165 --> @MrMEEE commented on GitHub (Jan 17, 2025): 1. I'm not using nginx, i'm using Apache/httpd.. nginx could be added as an option later.. 2. My bad, I meant roles/netbootxyz/vars/main.yml 3. It seems like you are not using RHEL9? What distribution are you running? 4. The webinterface should be available on port 3000 (remember to open fw or disable it)
Author
Owner

@mocallins commented on GitHub (Jan 17, 2025):

I'm not specifically sing nginx either,, i thought it got installed with netboot.xyz
That's correct not using RHEL, using Debian 12 (Bookworm)

On Friday, January 17, 2025 at 02:49:58 PM CST, Martin Juhl ***@***.***> wrote:  
  • I'm not using nginx, i'm using Apache/httpd.. nginx could be added as an option later..
  • My bad, I meant roles/netbootxyz/vars/main.yml
  • It seems like you are not using RHEL9? What distribution are you running?
  • The webinterface should be available on port 3000 (remember to open fw or disable it)


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

<!-- gh-comment-id:2599233120 --> @mocallins commented on GitHub (Jan 17, 2025): I'm not specifically sing nginx either,, i thought it got installed with netboot.xyz That's correct not using RHEL, using Debian 12 (Bookworm) On Friday, January 17, 2025 at 02:49:58 PM CST, Martin Juhl ***@***.***> wrote: - I'm not using nginx, i'm using Apache/httpd.. nginx could be added as an option later.. - My bad, I meant roles/netbootxyz/vars/main.yml - It seems like you are not using RHEL9? What distribution are you running? - The webinterface should be available on port 3000 (remember to open fw or disable it) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: ***@***.***>
Author
Owner

@MrMEEE commented on GitHub (Jan 17, 2025):

Wait.. you are not using my playbook.. you are using the netbootxyz playbook.. that doesn't include the gui..

you should do a pull of my playbook:

https://github.com/MrMEEE/netbootxyz-webapp-ansible

and use that

<!-- gh-comment-id:2599245044 --> @MrMEEE commented on GitHub (Jan 17, 2025): Wait.. you are not using my playbook.. you are using the netbootxyz playbook.. that doesn't include the gui.. you should do a pull of my playbook: https://github.com/MrMEEE/netbootxyz-webapp-ansible and use that
Author
Owner

@MrMEEE commented on GitHub (Jan 17, 2025):

Besides from that, my playbook only supports RHEL9 at the moment..

<!-- gh-comment-id:2599245996 --> @MrMEEE commented on GitHub (Jan 17, 2025): Besides from that, my playbook only supports RHEL9 at the moment..
Author
Owner

@mocallins commented on GitHub (Jan 17, 2025):

On Friday, January 17, 2025 at 03:28:36 PM CST, Martin Juhl ***@***.***> wrote:  

Besides from that, my playbook only supports RHEL9 at the moment..


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

<!-- gh-comment-id:2599338998 --> @mocallins commented on GitHub (Jan 17, 2025): On Friday, January 17, 2025 at 03:28:36 PM CST, Martin Juhl ***@***.***> wrote: Besides from that, my playbook only supports RHEL9 at the moment.. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: ***@***.***>
Author
Owner

@mocallins commented on GitHub (Jan 17, 2025):

Hmmm,  i'm not sure i understand ?

On Friday, January 17, 2025 at 03:27:49 PM CST, Martin Juhl ***@***.***> wrote:  

Wait.. you are not using my playbook.. you are using the netbootxyz playbook.. that doesn't include the gui..

you should do a pull of my playbook:

https://github.com/MrMEEE/netbootxyz-webapp-ansible

and use that


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

<!-- gh-comment-id:2599340173 --> @mocallins commented on GitHub (Jan 17, 2025): Hmmm,  i'm not sure i understand ? On Friday, January 17, 2025 at 03:27:49 PM CST, Martin Juhl ***@***.***> wrote: Wait.. you are not using my playbook.. you are using the netbootxyz playbook.. that doesn't include the gui.. you should do a pull of my playbook: https://github.com/MrMEEE/netbootxyz-webapp-ansible and use that — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: ***@***.***>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webapp#24
No description provided.