What's new ⬇ Download Reportworq
⬇ Guide PDF

Upgrade from version 5#

The setup wizard's Import a Reportworq v5 repository option copies a v5 repository into a new v6 repository. That import does not apply any v5 repository upgrades on the way in. It expects the repository it is given to already be at the current v5 layout, and it does not check the version, so importing an older repository completes without error but leaves data behind, silently.

This page gets a v5 repository current before you import it. Do it first, then follow Import a Reportworq v5 repository in First-run setup.

Before you begin#

Why this matters#

A v5 repository is upgraded in place the first time a newer v5 build starts against it, the same way any product applies its own schema upgrades on startup. Three of those upgrades changed the repository layout enough that a v6 import misses data if they have not already run:

A repository that was already started on v5 5.0.0.91, 5.0.0.92, or 5.0.0.93 has all three upgrades applied and can be imported directly. Installing a newer v5 build is not enough by itself. The repository has to have been started (or upgraded with the command in Method B below) on one of those versions.

Bring the repository to 5.0.0.91 or later before you import. 5.0.0.93, the latest v5 release, is recommended.

Back up the v5 repository first. Both methods below change it in place.

Method A: update and start the original v5 instance#

Use this when the v5 instance can still be run on its own server. It is the simplest path.

  1. Update the v5 instance to the latest v5 release (5.0.0.93) using the normal v5 update process.
  2. Start it, and let it finish starting: sign in, and confirm your jobs are listed.
  3. Import the now-current repository into v6, see Import a Reportworq v5 repository in First-run setup.

Method B: upgrade a repository copy, without running the original instance#

Use this when the v5 instance cannot be run on its original server and you only have a copy of the repository, for example one copied from another server. This installs a temporary Reportworq v5 5.0.0.93 and uses it to apply the same upgrade steps v5 applies at startup, without ever starting the web server against your data.

  1. Install Reportworq v5 5.0.0.93 on a Windows server. It does not need to be configured or pointed at your repository, and it does not need a license applied for this purpose.

  2. Stop the Reportworq v5 Windows service and set its startup type to Disabled, so it cannot start on its own and touch anything while you work.

  3. Back up the repository copy, for example:

    robocopy C:\data\repo C:\data\repo-backup /E
    
  4. Open an elevated command prompt in the v5 install folder (the folder containing ReportWORQ.WebApp.exe) and run:

    ReportWORQ.WebApp.exe --upgrade-repo "C:\data\repo"
    

    The path must point at the repository root, the folder that directly contains Segments, Authentication, Settings, and Distributors. This command changes only the folder you pass. It does not start the web server and does not touch the installed instance's own settings or repository.

  5. Check the result. An exit code of 0 means success and 1 means failure; check it immediately with echo %ERRORLEVEL%. Progress is written to the console and to Logs\rw_app_log-*.txt under the install folder. The command is safe to run again if you need to.

  6. Optional sanity check: the repository should now have Authentication\<provider>\Groups and Authentication\<provider>\Entitlements folders, where <provider> is the sign-in provider you use, for example Native or ActiveDirectory.

  7. Uninstall Reportworq v5 from the temporary server if you no longer need it there.

  8. Import the upgraded repository into v6, see Import a Reportworq v5 repository in First-run setup. Import requires a Windows or Linux install; a Docker or Azure App Service deployment cannot import a v5 repository, see Install Reportworq.

After the import: the scheduler and Cloud API start off#

An imported repository is not yet verified, so the import deliberately leaves two things switched off so that a side-by-side migration cannot fire your production jobs or register a second connection to the cloud service while v5 is still live:

Known limit#

Very old jobs, authored in the v4 era, that still use a legacy parameter-value format are not repaired by either method and will not load in v6. After importing, check the v6 log for any jobs that failed to load.

Troubleshooting#

Feedback on this page

Comments, questions, requests, or something missing or unclear? Email us - the page you are on is filled in for you.

Email feedback on this page

Or write to support@reportworq.com directly.