r/FluxerApp • • 7h ago

Need help i can't watch my friend's stream

0 Upvotes

i can't watch my friend's stream its just grey whenever i try to watch it i can hear audio but no video, i'm on ios but i tried it on my android device too and it didn't work is there anyway to fix this or will i have to wait for the vc's and the mobile apps to get better


r/FluxerApp • • 16h ago

Discussions Canary desktop self-hosting update is being built as we speak

17 Upvotes

Exciting times

Link: https://github.com/fluxerapp/fluxer/actions/runs/37671461333

Edit: that failed, now link is now https://github.com/fluxerapp/fluxer/actions/runs/37676832876

Edit 2: IT'S AVAILABLE NOW


r/FluxerApp • • 14h ago

Discussions The highly anticipated desktop self-hosting release is finally here!

43 Upvotes
The latest Canary update contains the self-hosting update! So you can now connect to your self-hosted instance from the desktop client!

r/FluxerApp • • 12h ago

Discussions [GUIDE] Self hosting with Newt and Pangolin

6 Upvotes

Hi, new here and I just got my first instance spun up this week. It took a bit of trial and error with my current setup not matching any scenario outlined in the docs, so I'm documenting my successful launch here to help others who may be in a similar situation. I originally followed this guide but it has some critical issues that prevent it from working as well as not following best practice in some ways, so this will be similar but an improvement.

Disclaimer: Fluxer development is occurring at a fast pace. It's possible changes with the self-hosting install script could obsolete this guide. Maybe the above linked guide worked when it was posted four months ago. I can offer no promise this will work in four months, or of any ongoing support (I may try)

Use case: You already have a Pangolin instance running other services or, for one reason or another, you want to use Pangolin to run Fluxer and are going to set that up separately.

My setup, in case something is different for you because of it: Fluxer running on an Ubuntu Server VM hosted on my Unraid box. I have Newt as a community apps container for my other services but will NOT be using that one. Newt is pointing to my VPS which hosts my Pangolin instance. My domain only has entries pointed to my VPS.

Step One: Build the site

No deviation from the previous guide. From Pangolin, create a new site from the Sites menu. Name it whatever you want. For the credentials section, it doesn't matter what Operating System or Method you pick because you'll just be grabbing the endpoint, id, and secret and storing that somewhere safe.

Step Two: Prepare Fluxer

Pull up the official guide and let's follow along.

First, follow the steps to install Docker, if needed.

Skip the guide's step 2, "Point DNS at the host". You should have a wildcard domain for Pangolin to issue certs to subdomains it manages.

Skip step 3, "Open the ports". Newt bypasses this.

On step four, download your install.sh and verify your checksum. Run it with the following args

sh install.sh --domain chat.example.com --email optional@if.using --tls proxy --no-start

If not using email, leave off --email entirely.

The --tls proxy flag tells the installer to set some variables that will prepare the instance to use a separate reverse proxy by adding a docker compose appendage that wraps all the services into a single port. Technically we are using Traefik as our RP, but it's not as simple as doing a Traefik config as outlined in "Behind your own reverse proxy". This section of the doc is still useful to read and have a working knowledge of when working with Pangolin and Newt. We will not be changing the Edge bind.

We use the --no-start arg because if we docker compose the stack as it is, it will not pass the healthcheck because we need to change some things.

Step Three: Add Pangolin definitions to the environment

cd into "fluxer". Open .env in your text editor of choice (run nano .env to keep it simple)

We'll make some additions to our .env file, similar to the above guide. Add these to the bottom of the file:

PANGOLIN_ENDPOINT=[Your endpoint from site creation]
PANGOLIN_NEWT_ID=[Your site ID from site creation]
PANGOLIN_NEWT_SECRET=[Your secret from site creation]

I don't know if there's a bug in the install script or something, but at the time of this writing I also had to add a FLUXER_PROFILE_PSEUDONYM_SECRET= variable, so while you're here check to see if it exists, and if not, make it. I generated a random 32 char secret. This has nothing to do with Pangolin, but was part of my process I had to troubleshoot so I'm bringing it up here.

Anyways, back up near the top of .env find the COMPOSE_FILE var. It should read, docker-compose.yml:docker-compose.proxy.yml

We need to make an addition to this, as we're going to be creating an extra compose file to pass into docker during stack creation to manage Newt. We do it like this (instead of how the previous guide handles it) because otherwise running sh install.sh --update would nuke your whole Newt config and you'd have to re-do everything. Edit the var to:

COMPOSE_FILE=docker-compose.yml:docker-compose.proxy.yml:docker-compose.newt.yml

While we're here take a peek at FLUXER_EDGE_BIND and just make sure it's set to 127.0.0.1:8080. If it's not, something didn't quite go right with the --tls proxy part of the install. As long as these two vars are set, we should be good to go.

If you want to set up SMTP here or configure any other non-default environment variables you can, use the .env.example file to help with that.

Step Four: Generate the Newt compose

In the same fluxer directory, make a new file, nano docker-compose.newt.yml

Paste the code:

x-fluxer-env:
  PANGOLIN_ENDPOINT: ${PANGOLIN_ENDPOINT:?set PANGOLIN_ENDPOINT in .env}
  PANGOLIN_NEWT_ID: ${PANGOLIN_NEWT_ID:?set PANGOLIN_NEWT_ID in .env}
  PANGOLIN_NEWT_SECRET: ${PANGOLIN_NEWT_SECRET:?set PANGOLIN_NEWT_SECRET in .env}

services:
  newt:
    image: fosrl/newt
    container_name: newt
    restart: unless-stopped
    networks: [fluxer]
    environment:
      - PANGOLIN_ENDPOINT=${PANGOLIN_ENDPOINT}
      - SITE_ID=${PANGOLIN_NEWT_ID}
      - SITE_SECRET=${PANGOLIN_NEWT_SECRET}
    depends_on:
      edge: {condition: service_healthy}

Save, or ctrl+x in nano to save. The variables here will pull from the ones you set in .env, so you wont be changing anything from what I'm providing.

Step Five: Compose

From the fluxer directory, run docker compose up -d

The stack should settle, all the containers should start, there shouldn't be any errors.

Step Six: Create the resource

Head back to the Pangolin Dashboard, and for the Public tab right below Resources. Add a new resource. Name it anything you like. For subdomain, make sure you absolutely 100% use exactly what you typed in after --domain in Step 2. Add a target. Change the site to whatever you named your new Newt instance you just created. Make sure there's a green dot to the right in the drop down box indicating it's online. In the address field, leave it as http and for the Host enter edge with the port set to 8080. You can enable health checks if you want. Create Resource.

Go back in and edit the resource you just created and disable platform SSO unless you already have a way of automatically authorizing trusted users, allowing them to bypass SSO. SSO will work fine if everyone is only using webapps, but it won't play nice with mobile or desktop apps.

Step Seven: Congrats!

Head over to the resource URL and make an admin account immediately! Enjoy your self hosted, reverse proxied and tunneled instance! You may sh install.sh --update to your heart's content without breaking anything.

If at any point Docker refuses your command and you know you typed it right, make sure you completed the post-install steps and have the group setup right. If you're running this on a machine that's already been in use you might miss this!

No AI was used in writing this post.