Problem
...
After upgrading from Stretch to Buster, the application no longer works.
Reason
PiCtory is no longer installed in the directory "/var/www" since the Buster image 04/2021. PiCtory has moved to the directory "/var/www/revpi".
...
Upload the script to your RevolutionPi device i.e. like so: RevolutionPi Copy Files
Execute the script after upgrading from Stretch to Buster:
...