prosody-migrator command not found

In this troubleshooting guide we learn how to fix prosody-migrator command not found error message

Introduction

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

prosody-migrator: command not found

or when using sudo you get the following error message

sudo: prosody-migrator: command not found

Solutions to prosody-migrator: command not found

How To Fix prosody-migrator: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu prosody-migrator is provided by prosody package.

prosody is:

Prosody is a modern XMPP communication server. It aims to be easy to set up and configure, and efficient with system resources. Additionally, for developers it aims to be easy to extend and give a flexible system on which to rapidly develop added functionality, or prototype new protocols.

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

sudo apt-get -y install prosody

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

You can also use apt command to install prosody.

sudo apt -y install prosody

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

sudo aptitude install prosody

Summary

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