High Performance Back-end for Nextcloud Files
-
@eganonoa Looks great! The cron stuff should be released with the next release in the coming 2-3 days.
@girish I've updated to 7.2.2 just now and cannot seem to get the binary to run with @reboot. I have tried in the crontab:
@reboot /app/code/config/notify_push.sh
and
@reboot sleep 60 /app/code/config/notify_push.sh (just in case a delay is necessary)
and watching the logs I can't seem get the binary to run.
Any thoughts on what I'm doing wrong.
-
@girish I've updated to 7.2.2 just now and cannot seem to get the binary to run with @reboot. I have tried in the crontab:
@reboot /app/code/config/notify_push.sh
and
@reboot sleep 60 /app/code/config/notify_push.sh (just in case a delay is necessary)
and watching the logs I can't seem get the binary to run.
Any thoughts on what I'm doing wrong.
@eganonoa said in High Performance Back-end for Nextcloud Files:
/app/code/config/notify_push.sh
Is this path correct? For a start you can just put an
@service echo "Push service running"just to double check that the cron configuration is picked up. -
Is this incorporated now?
We're having issues with speed in Nextcloud Talk (just the text chat, not calls) specifically.
Wondering if this is a solution, or these threads ending in 2020 are still relevant advice: -
J jdaviescoates referenced this topic on
-
@eganonoa thanks for the notes! I will test this out once we have get 7.2 out and see how we can fix up nextcloud.
@girish Hi Girish, I wonder if nowadays there is a way to get this working? It seems like you all got quite far a long a while ago but I can't see any updates. Would be great to get it to work, especially client push!

-
@girish Hi Girish, I wonder if nowadays there is a way to get this working? It seems like you all got quite far a long a while ago but I can't see any updates. Would be great to get it to work, especially client push!

@avatar1024 Still can recommend this one https://forum.cloudron.io/post/76397
-
@avatar1024 Still can recommend this one https://forum.cloudron.io/post/76397
@andreasdueren Thanks! The script you link to is great and provide a full package with the NC Talk HPB, Collabora etc. But I wondered if we might have gone closer to an easy solution for just the Files HPB which seems to be a rather small and light component compared to all the other stuff in the script. While simple, that script still requires to set-up a whole other server just for that, which if you don't need the Talk HPB feels a bit heavy handed.
In this thread it looks like @girish and @eganonoa got very close to get the Files HPB working smoothly.
-
@girish I've updated to 7.2.2 just now and cannot seem to get the binary to run with @reboot. I have tried in the crontab:
@reboot /app/code/config/notify_push.sh
and
@reboot sleep 60 /app/code/config/notify_push.sh (just in case a delay is necessary)
and watching the logs I can't seem get the binary to run.
Any thoughts on what I'm doing wrong.
@eganonoa said in High Performance Back-end for Nextcloud Files:
@girish I've updated to 7.2.2 just now and cannot seem to get the binary to run with @reboot. I have tried in the crontab:
@reboot /app/code/config/notify_push.sh
and
@reboot sleep 60 /app/code/config/notify_push.sh (just in case a delay is necessary)
and watching the logs I can't seem get the binary to run.
Any thoughts on what I'm doing wrong.
Did you ever find a solution to that?
-
I've packaged the Nextcloud Talk HPB (nextcloud-spreed-signaling 2.1.1 plus Janus 1.4.1 VideoRoom SFU) for Cloudron and am currently testing it in production with a few Nextcloud instances.
What it does:
- Single instance signaling server plus Janus SFU, NATS built in (loopback mode)
- One install can serve multiple Nextclouds via isolated [backend:<id>] sections
- Selectable TURN modes: Cloudron TURN addon (default), local coturn, external coturn, Cloudflare Realtime TURN, or disabled
- Works with both / and the sunweaver style /standalone-signaling/ URL prefix, so migrating from a VPS setup is straightforward
- Sensible video quality defaults (4 Mbit/s camera, 8 Mbit/s screen share) with a documented knob in config.ini
The recording backend is currently intentionally not included. May add this in the future.
TURN choice: i'm personally running the Cloudflare Realtime TURN mode. Cloudron's platform TURN was a bit unreliable for us, and Cloudflare gives you an anycast TURN edge including TURN over TLS on 443 for restrictive networks. Since Talk only speaks coturn shared secrets and Cloudflare issues short lived credentials, the package ships a small credential minting Worker plus a Talk companion app that handles caching and fallback.
So far my experience with it is slightly better than the sunweaver HPB server. But time and more concurrent users will tell.
Repo: https://git.due.ren/andreas/nextcloud-hpb-cloudron
CloudronVersions.json:https://git.due.ren/andreas/nextcloud-hpb-cloudron/-/raw/main/CloudronVersions.jsonStill early. I'd be happy about any feedback, especially from people running other TURN modes or setups with multiple backends.
-
I've packaged the Nextcloud Talk HPB (nextcloud-spreed-signaling 2.1.1 plus Janus 1.4.1 VideoRoom SFU) for Cloudron and am currently testing it in production with a few Nextcloud instances.
What it does:
- Single instance signaling server plus Janus SFU, NATS built in (loopback mode)
- One install can serve multiple Nextclouds via isolated [backend:<id>] sections
- Selectable TURN modes: Cloudron TURN addon (default), local coturn, external coturn, Cloudflare Realtime TURN, or disabled
- Works with both / and the sunweaver style /standalone-signaling/ URL prefix, so migrating from a VPS setup is straightforward
- Sensible video quality defaults (4 Mbit/s camera, 8 Mbit/s screen share) with a documented knob in config.ini
The recording backend is currently intentionally not included. May add this in the future.
TURN choice: i'm personally running the Cloudflare Realtime TURN mode. Cloudron's platform TURN was a bit unreliable for us, and Cloudflare gives you an anycast TURN edge including TURN over TLS on 443 for restrictive networks. Since Talk only speaks coturn shared secrets and Cloudflare issues short lived credentials, the package ships a small credential minting Worker plus a Talk companion app that handles caching and fallback.
So far my experience with it is slightly better than the sunweaver HPB server. But time and more concurrent users will tell.
Repo: https://git.due.ren/andreas/nextcloud-hpb-cloudron
CloudronVersions.json:https://git.due.ren/andreas/nextcloud-hpb-cloudron/-/raw/main/CloudronVersions.jsonStill early. I'd be happy about any feedback, especially from people running other TURN modes or setups with multiple backends.
I've packaged the Nextcloud Talk HPB (nextcloud-spreed-signaling 2.1.1 plus Janus 1.4.1 VideoRoom SFU) for Cloudron and am currently testing it in production with a few Nextcloud instances.
Excellent, and thank you!
Is it ok to deploy the HPBE on the same server / Cloudron that is running the Nextcloud?Peertube has something like this too.
-
I've packaged the Nextcloud Talk HPB (nextcloud-spreed-signaling 2.1.1 plus Janus 1.4.1 VideoRoom SFU) for Cloudron and am currently testing it in production with a few Nextcloud instances.
Excellent, and thank you!
Is it ok to deploy the HPBE on the same server / Cloudron that is running the Nextcloud?Peertube has something like this too.
@LoudLemur It should be ok. Not what I'm doing currently but the only technical constraint would be CPU bandwidth with too many call participants.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login