matrix-media-repo icon indicating copy to clipboard operation
matrix-media-repo copied to clipboard

Tests: Homeserver Import

Open turt2live opened this issue 2 years ago • 4 comments

  • [ ] Live synapse+dendrite import
  • [ ] Offline synapse+dendrite export-then-import

turt2live avatar Aug 15 '23 22:08 turt2live

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 avatar Feb 04 '24 17:02 mpldr

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.

mpldr avatar Feb 06 '24 22:02 mpldr

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

turt2live avatar Feb 06 '24 23:02 turt2live

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

mpldr avatar Feb 06 '24 23:02 mpldr