Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
V

vividly8450

@vividly8450
About
Posts
12
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Per-application access rules
    V vividly8450

    I'm looking at rolling several projects into a single Cloudron instance, and so far it looks like a good option. One thing I'm interested in doing is filtering access to specific applications by IP. For example:

    • PeerTube can be accessed by the entire internet
    • Immich can only be accessed from my home IP
    • Emby can only be accessed from my home IP and these five ProtonVPN endpoint IPs
    • NextCloud can only be accessed from my home IP, office IP range, and these five ProtonVPN endpoints

    ... and so on. I don't see any immediately obvious way to do this. I can purchase additional IPv4 addresses from my hosting providers to facilitate this if needed, but it would be ideal if this isn't necessary.

    Is there any way to accomplish this through the web UI? If not, are there any config files I can use?

    Feature Requests networking firewall waf

  • Poor network throughput, limited to PeerTube
    V vividly8450

    I found the issue with some help from their Git. I'm posting it here because it's not well-documented and doesn't seem to be mentioned anywhere else. (EDIT: Hats off to the dev, who upon seeing my Git post went and updated the documentation to specifically recommend reviewing this directive!)

    Peertube DOES throttle network speed! A fresh install is limited to 5 MB/s. This is fine for 1080P but barely adequate for typical 30 FPS 4K footage, and unworkable for high-quality 4K or 4K at 60 FPS. For perspective, YouTube recommends nearly 9 MB/s for 60FPS 4K video.

    You can adjust this hard limit by modifying peertube.conf and adjusting the values listed below:

    • proxy_limit_rate
    • $peertube_limit_rate

    You should take your network performance, desired video quality, and download functionality into consideration before modifying these. For most people, 10M should give you ample 4K quality without excessive buffering. If you want to allow downloads, consider setting them to 25M or higher.

    I'm glad this wasn't a Cloudron issue, but I appreciate the effort of anyone who took the time to stop and think about this one. I suspect this value was different in previous versions and carries over with upgrades; this may only affect new installations.

    PeerTube

  • Can uninstall or install apps. Can't upload files
    V vividly8450

    I didn't uncover the cause, but I believe it was related to the VM running out of disk space. I wound up reinstalling.

    I let a large upload job run unattended and wound up completely filling the drive on the VM running Cloudron. I then cleared about 100 GB, rebooted for good measure, resized the partition using parted, expanded the filesystem, rebooted again, and let it run normally for a few days. That's when I noticed I couldn't install any new apps. I suspect that either the partition / filesystem resize or the disk being full broke something internally.

    In hindsight I wish I had taken the time to dig into the logs a little more and see what was happening. But this is likely a direct result of my unusual environment fault.

    Support cloudflare troubleshooting

  • Poor network throughput, limited to PeerTube
    V vividly8450

    I'm not sure if this is a Cloudron issue or a PeerTube issue, but I thought I'd ask here: Does Cloudron's installation of Peertube have a hard network speed limit?

    Long story short, I am unable to stream videos above roughly 35 Mb/s bitrate. The video will constantly stop and rebuffer. When I download a video from my Cloudron Peertube instance, it maxes out at around 32 Mb/s. My home ISP is 300/300 fiber and my remote server has a gigabit uplink. I'm able to upload / download files using Jirafeau on Cloudron at the full 300 Mb/s, and speedtests from the server confirm consistent network throughput over 900 Mb/s.

    This may very well be a Peertube problem, but since it doesn't seem to be common, I thought I'd ask here. I looked in local-production.json and production.yaml but didn't see anything referencing speed limits. Maybe a Docker thing?

    EDIT: It's also possible that there's some disk I/O throttling happening? Peertube is the only app running on the server, an E3-1250 v5 with an NVMe.

    PeerTube

  • Poor network throughput, limited to PeerTube
    V vividly8450

    @matix131997 It's probably not a host limit.

    First host was a Contabo VPS. The second host is a Fiberstate dedicated server. On Contabo, I was clearing 200 Mb/s easy. They have their network problems but 200 is more than enough elbow room to stream a 35 Mb/s video. On Fiberstate, I have a gigabit port and I'm clearing 900+ bidirectional to multiple speedtest nodes around the country. I'm also clearing nearly 300 in both directions to my home.

    I'd also like to point out that other apps are fine. When I installed Jirafeau on the Fiberstate server, I was easily pushing nearly 300 both up and down.

    Only Peertube is affected, and there appears to be a hard limit of 4 MB/s (approximately 32 Mb/s).

    TL/DR: Two different hosts, two different datacenters, two different network routes, two different servers, and everything works except Peertube.

    PeerTube
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search