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
  1. Cloudron Forum
  2. Matrix (Synapse/Element)
  3. Disabling Uploads

Disabling Uploads

Scheduled Pinned Locked Moved Solved Matrix (Synapse/Element)
3 Posts 2 Posters 783 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    questionaire
    wrote on last edited by
    #1

    Hello, I am new, and did not see this question answered really anywhere or an answer on the web.

    How would you disable file upload on your server.
    I know where the path is in the yaml

    I am asking this question as I only have so much space, and would not like to rely on the users to delete there uploads.

    I hope that my question was clear.

    Thank you!

    1 Reply Last reply
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      You can customize the settings in /app/data/configs/homeserver.yaml https://docs.cloudron.io/apps/synapse/#customizations . For this you can open the File Browser (in the console section) and edit the file (config/homeserver.yaml).

      Looks like there is a field named max_upload_size as per https://github.com/matrix-org/synapse/blob/master/docs/sample_config.yaml#L847. Maybe try setting to 0 and restart the server?

      1 Reply Last reply
      1
      • Q Offline
        Q Offline
        questionaire
        wrote on last edited by
        #3

        @girish
        So i did actually set it to zero before and commented out the nginx file path.
        So that killed it. IN THE PAST

        But setting the upload to 0MB in the config and restarted.

        It actually worked. Wow!

        Thanks for having a functioning forum and the speedy response!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

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