Before You Upgrade
Before every upgrade, back up your database and your 202-config.php file first, every time. An upgrade changes the database in place and there is no downgrade. To roll back, restore the database backup taken before the upgrade. Replacing the files alone will not work: from 1.9.76, older code cannot record conversions in an upgraded database.
After restoring a database, restart memcached (or flush it) before taking traffic. Tracking links cache database row IDs for 30 days. After a restore, a cached ID may refer to a missing row or to a different value in the restored database.
Take a full mysqldump of the Prosper202 database (or your host’s database snapshot) after the site stops taking traffic and before you start. The upgrade page shows this warning above its button.
Configuration file: Version 1.8.x and later use a different 202-config.php format. Follow the configuration steps below exactly.
Upgrading to 1.9.79
1.9.79 includes security fixes, so update every install as soon as you can. After upgrading, disabling or removing a user signs them out everywhere. Changing a password ends all other sessions and “Keep me signed in” cookies. Change any password that someone else may know. The full list of changes is in changelogs.txt.
Back up the database first: there is no downgrade, and the backup taken before the upgrade is the only way back. Then download the 1.9.79 release zip from your account, replace the files and open 202-config/upgrade.php, as in the upgrade instructions below. Requirements are unchanged from 1.9.78: PHP 8.3 or newer, and MySQL 8.0 or newer or MariaDB 10.6 or newer.
- Customer LTV needs a role permission. Viewing Customer LTV needs Access to campaign data; changing customers, companies and products needs Access to the Setup section; LTV Settings needs Access to API integrations. Assign these permissions under My Account > User Management to users who need LTV access.
- Match conversions by IP address is now a setting for each account, under My Account > Personal Settings > Advanced. Accounts that existed before the upgrade keep it on; new accounts start with it off. See the FAQ.
- Daily email report. Tracking202 has discontinued this service, and its setting has been removed from Personal Settings.
- Docker. Rebuild the image after you update. On Coolify, redeploy. With Docker Compose, run
docker compose build --pull, thendocker compose up -d. - Redirector re-clicks. Repeat visits through a redirector link now count once, under the latest visit. After the upgrade, the cron job combines existing re-clicks. Keep the minutely cron running;
p202 system dataengineshows its progress. - Review new settings. Click filtering (Personal Settings > Click filtering), Offline Conversions for Google Ads and Microsoft Advertising (Setup > Offline Conversions) and the GeoIP database panel (My Account > Settings, see MaxMind integrations). Accounts created from 1.9.79 on start with privacy set to “Enabled for European Traffic”; existing accounts keep their setting.
- Licence check. If your server cannot reach my.tracking202.com, the install keeps working for 30 days after the last successful validation. See License key invalid.
- Custom deployments. Building the
p202CLI from source needs Go 1.27.3; the release zip ships it ready-built.
Upgrading to 1.9.78
1.9.78 includes security fixes, so update every install as soon as you can. Its upgrade can migrate databases from 1.9.77, 1.9.76, or 1.9.55 and earlier directly to 1.9.78. The full list of changes is in changelogs.txt.
1.9.78 is not offered through the update notice or 1-Click Upgrade. Download the 1.9.78 release zip from your account, replace the files and open 202-config/upgrade.php, as in the upgrade instructions below.
- After the upgrade. Sign in and open My Account > User Management. If you see a user you don’t recognise, remove it: updating does not remove an account that already exists.
- Docker. If you run Prosper202 in Docker, rebuild the image after you update. The 1.9.78 image is built on PHP 8.3.36, the PHP release of October 21, 2026 that fixes two critical PHP security vulnerabilities (CVE-2026-109618, CVE-2026-109619). On Coolify, redeploy. With Docker Compose, run
docker compose build --pull, thendocker compose up -d. Confirm thatphp -vin the web container reports 8.3.36. Without--pull, a rebuild can reuse the older PHP image. - Database and PHP versions. 1.9.78 needs MySQL 8.0 or newer, or MariaDB 10.6 or newer, and PHP 8.3 or newer. Check your database version before you upgrade by running
SELECT VERSION();. The upgrade page rejects older database servers before changing the database. Check the version before replacing your application files. - Large installs. The page responds after the upgrade finishes. Upgrading a database with a million conversions from 1.9.55 or earlier can take one to two minutes and may exceed your proxy or host's timeout. The server continues the upgrade after a timeout. Wait a few minutes and reload. If it is still running, the page says “An upgrade is already running” without starting another upgrade. When complete, it sends you to sign in.
- Cron. The attribution worker runs from the minutely cron (
202-cronjobs/index.php), or on its own as202-cronjobs/attribution-worker.php. After an upgrade from 1.9.55 or older, it imports existing conversions into multi-touch attribution and builds report rollups, using about 20 minutes of worker time per million conversions. Reports calculate results in full during this process and show its progress. Check that the minutely cron runs (the attribution queue should not keep growing:p202 attribution queue, orGET /api/v3/attribution/queuethrough the REST API), as described in the multi-touch attribution runbook. A cron job run against a database that still needs the upgrade exits with “the database needs an upgrade”. - Cron and monitoring. A cron run that fails writes the error to
cronjob.logand ends with exit code 1 on the command line, or HTTP 500 when it is called over HTTP. An hourly or daily job that fails part way is tried again at the next run. The database error page andhealth.phpreturn HTTP 500 when they cannot read the database, allowing uptime monitors to detect the failure. - Memcached. Cache keys include the installation identity, so installations sharing a memcached server read separate entries. After the upgrade, each cached value is checked against the database again.
- Upgrading from 1.9.76 or older: click-data deletion. If Delete click data older than is set under My Account > Settings, it deletes those clicks from the first cron run after the upgrade; 1.9.76 and earlier deleted almost none of them. To keep older clicks, set it to 0 (keeps every click) or a larger number before you upgrade, signed in as the account that installed Prosper202.
- Upgrading from 1.9.76 or older: chat. The upgrade drops the old chat’s local tables,
202_messaging_conversationsand202_messaging_messages. Conversations and announcements are stored by the chat service and appear in the chat box. Restoring your backup is the only way to recover the old local tables. - Permissions. An upgrade from 1.9.55 or older adds
view_attribution_reportsandmanage_attribution_models; review role assignments under My Account > User Management. The Mobile Apps pages use the same two permissions. - AI assistants and API key labels. 1.9.78 lets claude.ai and other AI apps that use MCP work with your install, with the access you approve. In 1.9.78 and 1.9.79 it needs Prosper202 ClickServer Pro, as the CLI does; from 1.9.80, an active free ClickServer licence is enough for both. See Connect an AI assistant. API keys can now carry a label, shown under My Account > Personal Settings > API keys: the key an AI connection creates is labelled with its app.
- Mobile202. The separate 202-Mobile pages are retired; their addresses redirect to the responsive pages.
- Custom deployments. If you install from source rather than the release zip, run
composer install --no-devafter replacing the files. It stops if PHP’s mbstring extension is missing, which Prosper202 already needed. Building thep202CLI from source needs Go 1.25 or newer; the release zip ships it ready-built.
Upgrade Instructions
- Download the latest version from your account at my.tracking202.com.
- Back up the database: a full
mysqldumpor your host’s snapshot, taken after the site stops taking traffic. This is the only way back if anything goes wrong. - Back up the 202-config.php file.
- Delete all the previous files on the domain. This step is extremely important: old files left in place may have known vulnerabilities.
- Upload all of the new files to the now empty directory.
- Copy the database settings from your old 202-config.php into the 202-config-sample.php file.
- Rename the 202-config-sample.php file to 202-config.php.
- Navigate to your Prosper202 URL, which takes you to
202-config/upgrade.php, and follow the prompts.
These manual steps work even when a release is not available through the 1-Click Upgrade notice.
How-to Upgrade Video
Video: Upgrading Your Prosper202 Installation To Version 1.8.3 (an older version; the steps above are current).