Zum Inhalt springen

How to update Castopod?

After installing Castopod, you may want to update your instance to the latest version in order to enjoy the latest features ✨, bug fixes 🐛 and performance improvements ⚡.

Update instructions

  1. ⚠️ Before any update, we highly recommend you backup your Castopod files and database.

  2. Go to the releases page and see if your instance is up to date with the latest Castopod version

  3. Download the latest release package named Castopod Package, you may choose between the zip or tar.gz archives

    • ⚠️ Uverite se da ste preuzeli Castopod paket a NE izvorni kod
    • Note that you can also download the latest package from castopod.org
  4. Na vašem serveru:

    • Remove all files except .env and public/media

    • Copy the new files from the downloaded package into your server

  5. Update your database schema from your Castopod Admin > About page or by running:

    Terminal-Fenster
    php spark castopod:database-update
  6. Očistite keš iz Castopod Admin > Settings > general > Housekeeping

  7. ✨ Enjoy your fresh instance, you’re all done!

Fully Automated updates

Stiže uskoro… 👀

Frequently asked questions (FAQ)

Gde mogu da pronađem svoju verziju Castopod-a?

Idite na administratorski panel vašeg Castopod-a, verziju možete pronaći u donjem levom uglu.

Alternativno, verziju možete pronaći u app > Config > Constants.php datoteci.

I haven’t updated my instance in a long time… What should I do?

Nema problema! Samo preuzmite poslednju verziju na način opisan iznad. Samo, kada idete kroz uputstva izdanja (4), izvodite ih jedno za drugim, od najstarijih do najnovijih.

You may want to backup your instance depending on how long you haven’t updated Castopod.

For example, if you’re on v1.0.0-alpha.42 and would like to upgrade to v1.0.0-beta.1:

  1. (highly recommended) Make a backup of your files and database.

  2. Download the latest release, overwrite your files whilst keeping .env and public/media.

  3. Prođite kroz uputstva za ažuriranje svakog izdanja po redu (od najstarijeg do najnovijeg) počevši sa v1.0.0-alpha.43, v1.0.0-alpha.44, v1.0.0-alpha.45, …, v1.0.0-beta.1.

  4. ✨ Enjoy your fresh instance, you’re all done!

Should I make a backup before updating?

We advise you do, so you don’t lose everything if anything goes wrong!

More generally, we advise you make regular backups of your Castopod files and database to prevent you from losing it all…