Upgrade playSMS from version to 1.0

Below content is copy-pasted from playSMS Book Project.

We have 9 steps to follow to successfully upgrade an installed unmodified playSMS version to 1.0.

Follow them correctly and in order.

  1. Stop current playSMS daemon

    playsmsd stop
    playsmsd check
  2. Backup everything related to installed playSMS

    Backup playSMS database:

    • playSMS DB as SQL file, example DB name is playsms:

      mysqldump -u root -p --add-drop-table playsms > playsms.sql

      Note that option --add-drop-table above is important, do not miss it.

    Backup playSMS files and folders:

    • playSMS daemon scripts at /usr/local/bin/
    • playSMS daemon config at /etc/playsmsd
    • playSMS files at web folder /var/www/playsms


    • Backup process is very important
    • Do not continue if you have any hesitation
    • Ask a lot if you have doubt
    • You must make sure that you know how to restore them
  3. Remove all old playSMS files at web folder

    cd /var/www/playsms
    rm -rf *


    • Prior to running above rm -rf * command you must make sure that you have the backup
    • And also make sure that you type the command correctly in the correct location
  4. Install playSMS version 1.0 in the same server with the same DB and the same web folder

    playSMS version 1.0 installation manual is available from this topic.

  5. Stop playSMS daemon

    playsmsd stop
    playsmsd check
  6. Re-insert your backup playSMS DB sql file (DB sql file dump from previous installation) to the same DB

    mysql -uroot -p playsms < playsms.sql
  7. Upgrade DB. Get upgrade SQL file from GitHub and re-insert it to DB.

    wget -c https://raw.githubusercontent.com/antonraharja/playSMS/master/db/playsms-upgrade_0.9.9.2_to_1.0.sql
    mysql -uroot -p playsms < ./playsms-upgrade_0.9.9.2_to_1.0.sql
  8. Start playSMS daemon

    playsmsd start
    playsmsd check
  9. Verify installation after upgrade