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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Disabling Uploads

    Matrix (Synapse/Element)
    2
    3
    104
    Loading More Posts
    • 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
      questionaire last edited by

      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 Reply Quote 0
      • girish
        girish Staff last edited by

        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 Reply Quote 1
        • Q
          questionaire last edited by

          @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 Reply Quote 0
          • First post
            Last post
          Powered by NodeBB