v2.5.4 Release Notes

This update can be installed automatically, however one file will need to be added manually before performing the update. Copy and replace the following file

  • controlpanel/tasks.py (put it in /home/donationstore/env/controlpanel/tasks.py)

And restart Donation Store and Donation Store Celery:

service donationstore restart

service donationstore-celery restart

Before continuing with the Automatic Updater, please watch this video on how to use it, as you need to change permissions

Also, please read this document regarding the Automatic Updater

Discord Update:

Replace the following files:

  • "api/urls.py",
  • "api/views.py"

And restart Donation Store:

service donationstore restart

For Discord Bot
source /home/donationstore-discord/env/bin/activate
pip uninstall discord.py
pip install discord.py==1.4.1
rm /home/donationstore-discord/env/bot.py
wget http://donationstore.net/static/download-files/discord/bot.py

Backup everything in the /home/donationstore directory

To install v2.5, simply copy and paste the contents of the following files (and overwrite)

  • DonationStoreV2/middleware (DO NOT REPLACE CONTENTS OF DonationStoreV2 just middleware)
  • api
  • controlpanel
  • install
  • ipn
  • languages
  • other_modules
  • static/assets
  • static/default-new
  • static/default
  • static/control-panel
  • store
  • templates

Then continue to install some dependencies that are new and apply migrations

source /home/donationstore/env/bin/activate
pip3 install reportlab==3.5.42
pip3 install python-dateutil==2.8.1
cd /home/donationstore/env
python manage.py migrate

Now restart Donation Store and Nginx

service donationstore restart
service donationstore-app restart
service donationstore-celery restart
service nginx restart

If you are running Cloudflare, make sure to clear cache because this update includes updates to static files that will have been cached.

There have been changes to the default template. To see the changes, you can now visit the Donation Store templates GitHub repository and see the changes made to the template: https://github.com/DonationStore/templates/compare/8187c44..37336d6