This article explains how to resolve the following error from migrating from PMX v5 to PMX v6.
ERROR: Command failed (255): 'su - pmx6 -c '/opt/pmx6/bin/pmx-env pmx-database stop'': The pmx-database program must only be run as the pmx user. Migration script has terminated with error.
PureMessage for Unix 6.0
Linux & FreeBSD
In the pmx 5 configuration directory edit the file pmx.conf and remove the line that references the following.
user = pmx
Save the file and return to the pmx6 user and re-run the pmx-v6-migrate script.
Every comment submitted here is read (by a human) but we do not reply to specific technical questions. If you need technical support please post a question to our community. Alternatively for licensed products open a support ticket.