- Mar 26, 2020
-
-
Travis Ralston authored
-
Travis Ralston authored
This should help memory some more. See https://github.com/turt2live/matrix-media-repo/issues/237 Theory is that by dumping the streams we'll relieve any bytes held on by the S3 libraries.
-
- Jun 20, 2019
-
-
Andrew Morgan authored
-
- Feb 24, 2019
-
-
Travis Ralston authored
-
- Nov 12, 2018
-
-
Travis Ralston authored
**Caution**: This is a major migration that changes how files are tracked within the database. Although tested to ensure things won't go wrong, there is the possibility of something going haywire. It is recommended to run the following database commands before upgrading: CREATE TABLE media_backup AS TABLE media; CREATE TABLE thumbnails_backup AS TABLE thumbnails; In the event you need to roll back, run the following: DROP TABLE media; DROP TABLE thumbnails; CREATE TABLE media AS TABLE media_backup; CREATE TABLE thumbnails AS TABLE thumbnails_backup; DELETE FROM gomigrate WHERE migration_id = 7; This will cause any files uploaded between upgrading and rolling back to be lost. NOTE: The migration will take a while and runs on the first access of a file. If you have a lot of files, this could take a while. ----- Fixes https://github.com/turt2live/matrix-media-repo/issues/106 Step towards https://github.com/turt2live/matrix-media-repo/issues/47
-
- Nov 13, 2017
-
-
Travis Ralston authored
-
Travis Ralston authored
-
- Nov 12, 2017
-
-
Travis Ralston authored
Instead of renaming the file, we'll just outright try and store it first.
-