!BNzCLICNIgvxBJqcKM:nixos.dev

nixos.dev meta discussions

51 Members
Make sure your GitHub Organisation membership is public as otherwise the login will not work.7 Servers

Load older messages


SenderMessageTime
15 Aug 2022
@andi:kack.itandi-

Finally a proper backtrace :|

Aug 15 18:08:06 matrix synapse[2186199]: synapse.rest.media.v1.thumbnail_resource: [GET-232] Failed to retrieve remote media info: 404: Not found
                                         Traceback (most recent call last):
                                           File "/nix/store/kxnc94gdrd9r8dh7cfy2dgpfcyzpr7cv-python3.9-Twisted-22.4.0/lib/python3.9/site-packages/twisted/internet/defer.py", line 1660, in _inlineCallbacks
                                             result = current_context.run(gen.send, result)
                                         StopIteration: {'media_type': 'image/jpeg', 'media_length': 30382, 'upload_name': '638836.jpg', 'created_ts': 1625419217683, 'filesystem_id': 'OhNgumzWouNcFiHqjTArWbPX', 'quarantined_by': None}
                                         
                                         During handling of the above exception, another exception occurred:
                                         
                                         Traceback (most recent call last):
                                           File "/nix/store/mp9vi8b1hqnfxi7bpdc30g22j1kdxiax-matrix-synapse-1.64.0/lib/python3.9/site-packages/synapse/rest/media/v1/thumbnail_resource.py", line 205, in _select_or_generate_remote_thumbnail
                                             media_info = await self.media_repo.get_remote_media_info(server_name, media_id)
                                           File "/nix/store/mp9vi8b1hqnfxi7bpdc30g22j1kdxiax-matrix-synapse-1.64.0/lib/python3.9/site-packages/synapse/rest/media/v1/media_repository.py", line 328, in get_remote_media_info
                                             responder, media_info = await self._get_remote_media_impl(
                                           File "/nix/store/mp9vi8b1hqnfxi7bpdc30g22j1kdxiax-matrix-synapse-1.64.0/lib/python3.9/site-packages/synapse/rest/media/v1/media_repository.py", line 403, in _get_remote_media_impl
                                             await self._generate_thumbnails(
                                           File "/nix/store/mp9vi8b1hqnfxi7bpdc30g22j1kdxiax-matrix-synapse-1.64.0/lib/python3.9/site-packages/synapse/rest/media/v1/media_repository.py", line 739, in _generate_thumbnails
                                             input_path = await self.media_storage.ensure_media_is_in_local_cache(
                                           File "/nix/store/mp9vi8b1hqnfxi7bpdc30g22j1kdxiax-matrix-synapse-1.64.0/lib/python3.9/site-packages/synapse/rest/media/v1/media_storage.py", line 262, in ensure_media_is_in_local_cache
                                             raise NotFoundError()
                                         synapse.api.errors.NotFoundError: 404: Not found

18:08:49
@andir:nixos.devAndreas RammholdThis sounds vaguely related: https://github.com/matrix-org/synapse/commit/7b67e93d499cb45f7217e9dfea046ed8b5c455fd21:11:57
@andir:nixos.devAndreas RammholdI'll investigate more tomorrow..21:12:03
16 Aug 2022
@andir:nixos.devAndreas Rammhold set a profile picture.10:49:02
@andir:nixos.devAndreas Rammhold lassulus: do you see your own avatar? 10:49:33
@lassulus:nixos.dev@lassulus:nixos.devnope10:50:03
@andir:nixos.devAndreas RammholdDo you see my new test avatar?10:50:13
@lassulus:nixos.dev@lassulus:nixos.devbut I see yours now10:50:17
@andir:nixos.devAndreas RammholdWeird.10:50:22
@andir:nixos.devAndreas RammholdI suspect something went terribly wrong due to dynamic thumbnails being off in the past and during some upgrade things got weird.10:50:44
@andir:nixos.devAndreas RammholdMight have to purge some media caches... if there is a way10:51:04
@andir:nixos.devAndreas Rammhold
[root@matrix:/persist/synapse]# ls -l1 media*
media:
total 168
drwx------  397 matrix-synapse matrix-synapse 12288 Jul 31 13:34 local_content
drwx------  185 matrix-synapse matrix-synapse  4096 Jul 31 13:34 local_thumbnails
drwx------ 2282 matrix-synapse matrix-synapse 69632 Aug  2 18:39 remote_content
drwx------ 2153 matrix-synapse matrix-synapse 69632 Aug  2 18:40 remote_thumbnail
drwx------    5 matrix-synapse matrix-synapse  4096 Aug  2 00:12 url_cache
drwx------  115 matrix-synapse matrix-synapse  4096 Aug  2 00:12 url_cache_thumbnails

media_store:
total 40
drwx------  84 matrix-synapse matrix-synapse  4096 Aug 16 10:48 local_content
drwx------  17 matrix-synapse matrix-synapse  4096 Aug 16 10:48 local_thumbnails
drwx------ 678 matrix-synapse matrix-synapse 20480 Aug 16 05:00 remote_content
drwx------ 138 matrix-synapse matrix-synapse  4096 Aug 15 19:32 remote_thumbnail
drwx------   5 matrix-synapse matrix-synapse  4096 Aug 16 00:02 url_cache
drwx------   5 matrix-synapse matrix-synapse  4096 Aug 16 00:02 url_cache_thumbnails

This is suspicious . Why was is it called media_store now?!

10:55:40
@andir:nixos.devAndreas RammholdI'll merge the two folders in a bit and restart the server. That should fix the issue...11:01:01
@lassulus:nixos.dev@lassulus:nixos.devavatars start appearing again, thanks!11:12:39
@andir:nixos.devAndreas RammholdWhats an okay-ish object storage provider from a privacy perspective? Preferably somewhere in the EU.11:17:47
@andir:nixos.devAndreas RammholdI am thinking that the 50 GiB of images that I'm caching now shouldn't be on the disk in the first place...11:18:06
@andir:nixos.devAndreas Rammhold removed their profile picture.11:19:10
@winterqt:nixos.devWinter (she/her)
In reply to @andir:nixos.dev
Whats an okay-ish object storage provider from a privacy perspective? Preferably somewhere in the EU.
Backblaze B2 maybe? Not in the EU though, so take with that what you will.
17:53:46
17 Aug 2022
@shadowrz:nixos.devYorusaka Miyabi joined the room.00:54:43
@wineee:nixos.devrewine joined the room.02:50:16
24 Aug 2022
@anthonyroussel:nixos.devAnthony Roussel joined the room.21:02:06
5 Sep 2022
@citadelcore:nixos.devVertex changed their profile picture.02:00:46
25 Sep 2022
@nixinator:nixos.devnixinator
In reply to @andir:nixos.dev
I am thinking that the 50 GiB of images that I'm caching now shouldn't be on the disk in the first place...
if these images don't break our APU , we can host em.
07:21:45
@nixinator:nixos.devnixinatorI'm just upgrading out incomming bandwidth next month, and getting a diverse path installed.07:22:21
22 Oct 2022
@4669:nixos.dev4669 joined the room.11:49:28
@4669:nixos.dev4669llohe13:15:08
@4669:nixos.dev4669'Connectivity to the server has been lost. Sent messages will be stored until your connection has returned.'13:15:19
@nixinator:nixos.devnixinatori just had to reauthenticate, please ignore the above message!13:21:36
8 Nov 2022
@evils:nixos.devevilsi've always had trouble connecting to large rooms, maybe especially across the libera chat bridge is this normal for matrix, or (in part) due to the home server? (currently trying and failing to join #ubuntu:libera.chat)19:12:34
@andi:kack.itandi-it usually takes some time..23:51:37

Show newer messages


Back to Room ListRoom Version: 6