Skip to content
Calvin Montgomery edited this page Feb 10, 2019 · 7 revisions

FAQ

This wiki page provides answers to common questions I get from people about hosting their own servers.

TODO

Dumping some questions I plan to add more detailed answers for

  • Can I host CyTube behind a reverse proxy? (yes, with some caveats)
  • Can I host CyTube on shared hosting? (no)
  • Can I host it on Heroku? (I dunno)
  • Troubleshooting (should perhaps be a separate page)
    • CSRF session errors caused by bad config
    • localhost errors (consider modifying config to remove these defaults)
    • common causes of npm errors
    • missing www/js/player.js due to npm installation failure, maybe add a sanity check on startup
    • EADDRINUSE
    • Can't access page (could be caused by process not running, port not bound, firewall etc.)
  • Current state of HTTPS mess

Can I set up a server with a single channel / disable channel registration?

This not configurable, and would require changes to the code. It is possible to prevent users from registering channels by setting max-channels-per-user to 0 in config.yaml, but website administrators will still be able to bypass this limit, and channels will still be linked by /r/channelname (with an index page at /).

Can I disable user registration?

As above, this is not a configurable option. However, it is possible to prevent users from registering accounts by setting max-accounts-per-ip to 0 in config.yaml.

Can I change the channel path from /r/ to something else?

Yes; set channel-path in config.yaml.