Giter VIP home page Giter VIP logo

bofied's Issues

Service quits as soon as I log out of SSH

Running it on my Ubuntu 20.04 server which is running headless (its actually running on an old PC that's inside a cupboard in my spare room with nothing but power and Ethernet) meaning I HAVE to use SSH to control it, which is usually fine.

Installed this yesterday (full self hosted if that makes a difference) and everything is working great however as soon as I close my SSH session the service stops meaning I have to log back in and run it again then leave SSH open while I use.

I have tried enabling the service using --now to symlink it to systemd so it starts at boot up, doesn't work. I have also tried running it with &, while I get a PID for the service from this the exact same behavior happens.

This software is awesome, I was using a clunky windows based PXE and TFTP server before hand, this replaces both and assuming I can get it running all the time works better.

Is there any reason why I cannot run the service as a system service instead of a user one?

Expose more configurability

An example is using DNSMasq which allows tagging based on DHCP options and the workflow of booting iPXE then running a http based ipxe script if the DHCP ipxe vendor class is set.

If this is possible now let me know.

Unable to use frontend

Hello,

It should be obvious but i've tried many combinations without being able to use the frontend.
The default values + what is on the screenshot + what is described in the documentation are not in line, so it doesn't help...

I'm running the backend in a docker container on a headless server (with IP 192.168.8.139)

The backend is running with defaults, i have in the log :

2021/11/07 16:58:08 bofied backend listening on :67 (DHCP), :4011 (proxyDHCP), :69 (TFTP), :15256 (WebDAV on /private, HTTP on /public and gRPC-Web on /grpc) and :15257 (gRPC), advertising IP 192.168.8.139 to DHCP clients

So what should i put :

  • as backend URL ? Documentation speaks about "http://" but default value at https://pojntfx.github.io/bofied/ is about ws:// + which IP / which port ?
  • redirect URL ? Documentation speaks about the redirect URL previously configured ... but there is no previously configured redirect URL anywhere ... (or i missed it) ... also screenshot is about :15255

I tryed a lot of IP like :

So i'm quite confused :

  • is this supposed to work with another IP than localhost (instead of having everything deployed on the same local computer) ?
  • what are the exact ports and protocols to be used ? (this is not obvious, per the documentation)

I'm running the container with :

docker run \
    --name bofied-backend \
    -d \
    --restart always \
    --net host \
    --cap-add NET_BIND_SERVICE \
    -v /home/datas/docker-datas/bofied/:/root/.local/share/bofied:z \
    -e BOFIED_BACKEND_OIDCISSUER=https://pojntfx.eu.auth0.com/ \
    -e BOFIED_BACKEND_OIDCCLIENTID=myclientidinlowercasewithoutspecialcharacters \
    -e BOFIED_BACKEND_ADVERTISEDIP=192.168.8.139 \
    pojntfx/bofied-backend

Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.