Skip to content
Snippets Groups Projects
Forked from Ad Aures / Castopod
740 commits behind the upstream repository.
  • Yassine Doghri's avatar
    37c54d24
    feat: build hashed static files to renew browser cache · 37c54d24
    Yassine Doghri authored
    - replace rollup config with vitejs
    - use vite dev server during development to take advantage of
    hot module replacement (HMR)
    - add vite service using Vite library to load css and js assets
    - update package.json scripts and remove unnecessary
    dependencies
    - update scripts/bundle-prepare.sh
    
    closes #107
    37c54d24
    History
    feat: build hashed static files to renew browser cache
    Yassine Doghri authored
    - replace rollup config with vitejs
    - use vite dev server during development to take advantage of
    hot module replacement (HMR)
    - add vite service using Vite library to load css and js assets
    - update package.json scripts and remove unnecessary
    dependencies
    - update scripts/bundle-prepare.sh
    
    closes #107

How to update Castopod Host

After installing Castopod Host, you may want to update your instance to the latest version in order to enjoy the latest features :sparkles:, bug fixes :bug: and performance improvements :zap:.

Table of contents

Manual update instructions

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

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

    • :warning: Make sure you download the Castopod Host Package and NOT the Source Code
  3. On your server:

    • Remove all files except .env and public/media
    • Copy the new files from the downloaded package into your server
  4. Alpha releases may come with additional update instructions (see releases page). They are usually database migration scripts in .sql format to update your database schema.

  5. If you are using redis, clear your cache.

  6. :sparkles: Enjoy your fresh instance, you're all done!

Automatic update instructions

Coming soon... :eyes:

Frequently asked questions (FAQ)

Where can I find my Castopod Host version?

Go to your Castopod Host admin panel, the version is displayed on the bottom right corner.

Alternatively, you can find the version in the app > Config > Constants.php file.

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

No problem! Just get the latest release as described above. Only, when going through the release instructions (4), perform them sequentially, from the oldest to the newest.

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

For example, if you're on v1.0.0-alpha.42 and would like to upgrade to v1.0.0-alpha.58:

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

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

  3. Go through each release update instructions sequentially (from oldest to newest) starting with v1.0.0-alpha.43, v1.0.0-alpha.44, v1.0.0-alpha.45, …, v1.0.0-alpha.58.

  4. :sparkles: 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 Host files and database to prevent you from losing it all…