move_remote_media_to_new_store.py command not found

In this troubleshooting guide we learn how to fix move_remote_media_to_new_store.py command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

move_remote_media_to_new_store.py: command not found

or when using sudo you get the following error message

sudo: move_remote_media_to_new_store.py: command not found

Solutions to move_remote_media_to_new_store.py: command not found

How To Fix move_remote_media_to_new_store.py: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu move_remote_media_to_new_store.py is provided by matrix-synapse package.

matrix-synapse is:

Synapse is the reference Python/Twisted Matrix homeserver implementation.

Synapse is intended to showcase the concept of Matrix, and to let users run their own homeserver and generally help bootstrap the ecosystem.

Matrix is an open standard for interoperable, decentralised, real-time communication over IP. It can be used to power Instant Messaging, VoIP/WebRTC signalling, Internet of Things communication or anywhere where’s a need for a standard HTTP API for publishing and subscribing to data whilst tracking the conversation history.

In Matrix, every user runs one or more Matrix clients, which connect through to a Matrix homeserver. The homeserver stores all their personal chat history and user account information, much as a mail client connects through to an IMAP/SMTP server.

To fix this problem, we can install more using the command below.

sudo apt-get -y install matrix-synapse

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install matrix-synapse.

sudo apt -y install matrix-synapse

Or if you have aptitude installed you can use the following command.

sudo aptitude install matrix-synapse

Summary

In this tutorial we learn how to fix move_remote_media_to_new_store.py command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.