Upgrade from Version to 1.0

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

    sudo playsmsd stop
    sudo 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/html/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

    sudo rm -rf /var/www/html/playsms/*


    • Prior to running above rm -rf /var/www/html/playsms/* 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

  5. Stop playSMS daemon

    sudo playsmsd stop
    sudo 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 DB upgrade SQL from GitHub repository

      wget -c https://raw.githubusercontent.com/antonraharja/playSMS/master/db/playsms-upgrade_0.9.9.2_to_1.0.sql
    • re-insert that upgrade DB file into current playSMS DB

      mysql -uroot -p playsms < ./playsms-upgrade_0.9.9.2_to_1.0.sql
  8. Start playSMS daemon

    sudo playsmsd start
    sudo playsmsd check
  9. Verify installation after upgrade

results matching ""

    No results matching ""