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. Unable to increase upload size above 2GB Matrix

Unable to increase upload size above 2GB Matrix

Scheduled Pinned Locked Moved Matrix (Synapse/Element)
21 Posts 5 Posters 3.9k Views 5 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.
  • M Offline
    M Offline
    Muhanand
    wrote on last edited by Muhanand
    #21

    Found a solution in the old bug report, only issue is that it doesn't work in e2e rooms
    here is the solution https://github.com/matrix-org/synapse/issues/12023#issuecomment-1044337550

    That seemed to work because when uploading to an unencrypted room the upload does start, but when uploading in a e2e room it just failed (doesn't even start uploading) Does anyone have an idea on how we can make this work in e2e rooms as well?

    btw for anyone trying to apply it do the following
    1, go to the terminal. 2, click postgress then type psql and press enter.
    3, paste in the following to change media_length from integer to bigint

    ALTER TABLE local_media_repository
    ALTER COLUMN media_length TYPE bigint;
    

    you can use the following to check if the change was applied

    SELECT data_type
    FROM information_schema.columns
    WHERE table_name = 'local_media_repository'
    AND column_name = 'media_length';
    
    1 Reply Last reply
    1
    • nebulonN nebulon referenced this topic on
    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