Преглед изворни кода

fix for importing sqllite database

the current version fails the import, because the volume for the media is missing. It still fails if you have the optional shared secret password provider is enabled, so that might need another mount. Commenting out the password provider in the hoimeserver.yaml during the run works as well.
pull/522/head
Ugurtan пре 5 година
committed by GitHub
родитељ
комит
5ace3f4a1c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са 1 додато и 0 уклоњено
  1. +1
    -0
      roles/matrix-postgres/tasks/import_sqlite_db.yml

+ 1
- 0
roles/matrix-postgres/tasks/import_sqlite_db.yml Прегледај датотеку

@@ -79,6 +79,7 @@
--network={{ matrix_docker_network }}
--entrypoint=python
-v {{ matrix_synapse_config_dir_path }}:/data
-v {{ matrix_synapse_config_dir_path }}:/matrix-media-store-parent/media-store
-v {{ server_path_homeserver_db }}:/{{ server_path_homeserver_db|basename }}:ro
{{ matrix_synapse_docker_image }}
/usr/local/bin/synapse_port_db --sqlite-database /{{ server_path_homeserver_db|basename }} --postgres-config /data/homeserver.yaml

Loading…
Откажи
Сачувај