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

  • peertube.conf overwritten on restart
    V vividly8450

    @jdaviescoates Unfortunately those are the PeerTube configuration options, which you'd normally set through the web interface. Rate limiting (specifically, the limit_rate and proxy_limit_rate directives) are set through the nginx configuration file at /etc/nginx/sites-enabled/peertube.conf, and there doesn't appear to be any way to access that through the file manager.

    Interestingly enough I was previously able to modify this file to solve this issue (see here), but it appears something has changed since then.

    PeerTube

  • peertube.conf overwritten on restart
    V vividly8450

    In order to reliably stream 4K, I have to adjust three rate limiter settings settings in /etc/nginx/sites-enabled/peertube.conf. As shipped PeerTube limits the speed to 5 Mb/s, and recommends site admins review this setting in their post-install guide.

    A 4K 60 FPS video with moderate compression can easily have a bitrate of around 50 - 75 Mb/s, so I typically set this value to around 150M to allow ample elbow room. But when I restart the service, all my changes are overwritten. The site becomes unusable because any 4K video begins to stutter badly.

    I don't have this issue with my previous freestanding installation nor my YunoHost installation, so I assume Cloudron is pulling a default config file from somewhere. Is there any way to make my changes to this file persistent? On the host systems I do see multiple copies of peertube.conf and nginx.conf located at many different folders with paths like /var/lib/docker/overlay2/long_alphanumeric_string/, but as Docker isn't my forte, I'm not sure what I should and should not be modifying to do things "correctly".

    Thanks!

    UPDATE: I just noticed that the nginx.conf file is not writeable, even as root. But there has to be some way to modify the file. What's the correct way to do so?

    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

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

    I'm having a similar issue on a week-old install. Like OP I was using Cloudflare, but never used the tunnel and have since disabled DNS proxying for the Cloudron subdomain. I was previously able to install / uninstall apps. However, starting within the last day or two, launching the app store just spins.

    I have logged out, rebooted, launched a new private browser window, no dice.

    Support cloudflare troubleshooting

  • Make it possible to enter RAM value instead of using slider
    V vividly8450

    Great to hear. I was just on my way to the forum to make this exact same request.

    I understand that this is not an exact setting; setting the memory limit to 4 GB does not guarantee that the app will never use more than 4096 megabytes of RAM. However, this also means that there's also no benefit to allowing values like "3.86 GB". Having all those extra steps in between each value is only a mild annoyance at worst, but I'd still prefer the ability to type in a value or have it stop every .25 GB or even .5 GB.

    I also guarantee that whatever interval you set, you'll also get feature requests asking for more granularity. 🙂

    Feature Requests

  • 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

  • Poor network throughput, limited to PeerTube
    V vividly8450

    @matix131997 You're not wrong on your assessment of ports on shared hosts. However, as I've stated several times, I am fully saturating my home network connection (300/300) on this server using other apps. On the Contabo server, I was able to achieve 200+ consistently. Speeds on Peertube (and ONLY Peertube) are consistently hard capped at 4 MB/s. Bandwidth is definitely not the problem.

    Peertube presents the option to download the file directly, and this is capped as well.

    This is not an upstream network issue.

    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

  • Poor network throughput, limited to PeerTube
    V vividly8450

    @matix131997 Agree, and Contabo was my first thought. I switched to another provider and am now using a dedicated server (Xeon E3-1250v5, 32GB DDR3, 1 TB NVMe, no other apps running) on a gigabit uplink. Actual speeds are full 300 in both directions tested from home, and near gigabit using speedtest.

    It's weird: streaming and downloads are capped at exactly 4 MB/s, which roughly corresponds with the bitrate where videos start choking. For any other app I install, network throughput is fine.

    PeerTube

  • 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

  • Per-application access rules
    V vividly8450

    @girish Great, thanks!

    Feature Requests networking firewall waf

  • 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
  • Login

  • Don't have an account? Register

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