t2bot / matrix-media-repo

Highly configurable multi-domain media repository for Matrix.
https://docs.t2bot.io/matrix-media-repo
MIT License
210 stars 79 forks source link

Tests: Homeserver Import #436

Open turt2live opened 1 year ago

turt2live commented 1 year ago
mpldr commented 9 months ago

I'd love to assist with testing the synapse import, but have not yet managed to get it to start:

INFO[0000] Migrations path doesn't exist - attempting to unpack from compiled data 
INFO[0000] Cleaning up temporary migrations directory: /tmp/media-repo-migrations2495625040 
panic: expected custom machine ID for import process (unsafe to import as Machine 0)

goroutine 1 [running]:
main.main()
    /opt/cmd/import_synapse/main.go:55 +0xe89
mpldr commented 9 months ago

Quick intermediate report from a hot-migration: the non-existant error handling is a real pain. It's panicking every 300-500 entries, making this a really painful ordeal.

2024-02-06-23-56-16

Suggestion: give me a report at the end instead.

turt2live commented 9 months ago

Testing in this case is automated testing, not manual testing. Manual testing already shows it works.

If you're having issues with the import, please use the community support room instead: #media-repo:t2bot.io

mpldr commented 9 months ago

Thanks, that is good to know. Though, error handling would really go a long way in making this more streamlined.