rdio-scanner/docs/update-from-v5.md
2022-01-05 15:46:35 -05:00

1.5 KiB

Updating from version 5

Rdio Scanner has its server component completely rewritten in GO. Therefore, it is no longer possible to upgrade to version 6 as with previous versions.

You need to download the latest Rdio Scanner release from the releases tab on the main page.

REMEMBER TO ALWAYS BACKUP YOUR DATABASE BEFORE ATTEMPTING AN UPDATE.

Update steps for the standard sqlite database

  • Stop your version 5 instance.
  • Copy your old version 5 database.sqlite to a new folder where version 6 will be installed.
  • Rename the database copy to rdio-scanner.db, the new default name.
  • Run the new version 6 executable to update the database.
  • Keep reading the PDF document that comes with the version 6 to make your instance as a service.

Update steps for mysql/mariadb database

  • Stop your version 5 instance.
  • Make a backup of your MySQL/MariaDB database.
  • Start the new version 6 executable with the proper -db_* arguments, see the -h output for more details.
  • Keep reading the PDF document that comes with the version 6 to make your instance as a service.

What if it is too late

Revert back to the latest version 5.2.9 with the following commands:

  • cd .../rdio-scanner
  • git checkout 3f2b184
  • cd client
  • npm ci
  • npm run build
  • cd ../server
  • npm ci
  • restart your Rdio Scanner instance as usual