2022-04-14 15:11:07 +02:00
|
|
|
---
|
2022-07-04 15:27:21 +02:00
|
|
|
title: Actualización
|
2022-04-14 15:11:07 +02:00
|
|
|
sidebarDepth: 3
|
|
|
|
---
|
|
|
|
|
2022-07-04 15:27:21 +02:00
|
|
|
# ¿Cómo actualizar Castopod?
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-07-04 15:27:21 +02:00
|
|
|
Después de instalar Castopod, es posible que quieras actualizar tu instancia a
|
|
|
|
la última versión para disfrutar de las últimas características ✨, correcciones
|
|
|
|
de errores 🐛 y mejoras de rendimiento ⚡.
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-10-20 09:55:28 +02:00
|
|
|
## Update instructions
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-10-20 09:55:28 +02:00
|
|
|
0. ⚠️ Before any update, we highly recommend you backup your Castopod files and
|
|
|
|
database.
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-10-20 09:55:28 +02:00
|
|
|
- cf.
|
|
|
|
[Should I make a backup before updating?](#should-i-make-a-backup-before-updating)
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-10-20 09:55:28 +02:00
|
|
|
1. Go to the
|
|
|
|
[releases page](https://code.castopod.org/adaures/castopod/-/releases) and
|
|
|
|
see if your instance is up to date with the latest Castopod version
|
2022-04-14 15:11:07 +02:00
|
|
|
|
|
|
|
- cf.
|
2022-10-20 09:55:28 +02:00
|
|
|
[Where can I find my Castopod version?](#where-can-i-find-my-castopod-version)
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-10-20 09:55:28 +02:00
|
|
|
2. Download the latest release package named `Castopod Package`, you may choose
|
|
|
|
between the `zip` or `tar.gz` archives
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-10-20 09:55:28 +02:00
|
|
|
- ⚠️ Make sure you download the Castopod Package and **NOT** the Source Code
|
|
|
|
- Note that you can also download the latest package from
|
|
|
|
[castopod.org](https://castopod.org/)
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-10-20 09:55:28 +02:00
|
|
|
3. On your server:
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-10-20 09:55:28 +02:00
|
|
|
- Remove all files except `.env` and `public/media`
|
|
|
|
- Copy the new files from the downloaded package into your server
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-10-20 09:55:28 +02:00
|
|
|
::: info Note
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-10-20 09:55:28 +02:00
|
|
|
You may need to reset files permissions as during the install process.
|
|
|
|
Check [Security Concerns](./security.md).
|
2022-04-14 15:11:07 +02:00
|
|
|
|
|
|
|
:::
|
|
|
|
|
2022-10-20 09:55:28 +02:00
|
|
|
4. Update your database schema from your `Castopod Admin` > `About` page or by
|
|
|
|
running:
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-10-20 09:55:28 +02:00
|
|
|
```bash
|
|
|
|
php spark castopod:database-update
|
|
|
|
```
|
|
|
|
|
|
|
|
5. Clear your cache from your `Castopod Admin` > `Settings` > `general` >
|
|
|
|
`Housekeeping`
|
|
|
|
6. ✨ Enjoy your fresh instance, you're all done!
|
2022-07-04 15:27:21 +02:00
|
|
|
|
2022-10-20 09:55:28 +02:00
|
|
|
::: info Note
|
2022-07-04 15:27:21 +02:00
|
|
|
|
2022-10-20 09:55:28 +02:00
|
|
|
Releases may come with additional update instructions (see
|
|
|
|
[releases page](https://code.castopod.org/adaures/castopod/-/releases)).
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-10-20 09:55:28 +02:00
|
|
|
- cf.
|
|
|
|
[I haven't updated my instance in a long time… What should I do?](#i-havent-updated-my-instance-in-a-long-time-what-should-i-do)
|
|
|
|
|
|
|
|
:::
|
|
|
|
|
|
|
|
## Fully Automated updates
|
|
|
|
|
2022-11-04 12:03:24 +01:00
|
|
|
> Próximamente...
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-07-04 15:27:21 +02:00
|
|
|
## Preguntas Frecuentes (FAQ)
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-07-04 15:27:21 +02:00
|
|
|
### ¿Dónde puedo encontrar mi versión de Castopod?
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-10-20 09:55:28 +02:00
|
|
|
Go to your Castopod admin panel, the version is displayed on the bottom left
|
|
|
|
corner.
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-10-20 09:55:28 +02:00
|
|
|
Alternatively, you can find the version in the `app > Config > Constants.php`
|
|
|
|
file.
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-07-04 15:27:21 +02:00
|
|
|
### No he actualizado mi instancia en mucho tiempo… ¿Qué debo hacer?
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-11-04 12:03:24 +01:00
|
|
|
No problem! 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.
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-07-04 15:27:21 +02:00
|
|
|
> Puede que quieras hacer una copia de seguridad de tu instancia dependiendo del
|
|
|
|
> tiempo que no hayas actualizado Castopod.
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-10-20 09:55:28 +02:00
|
|
|
For example, if you're on `v1.0.0-alpha.42` and would like to upgrade to
|
2022-04-14 15:11:07 +02:00
|
|
|
`v1.0.0-beta.1`:
|
|
|
|
|
2022-07-04 15:27:21 +02:00
|
|
|
0. (altamente recomendado) Haga una copia de seguridad de sus archivos y base de
|
|
|
|
datos.
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-07-04 15:27:21 +02:00
|
|
|
1. Descarga la última versión, sobrescribe tus archivos manteniendo `.env` y
|
2022-04-14 15:11:07 +02:00
|
|
|
`public/media`.
|
|
|
|
|
2022-07-04 15:27:21 +02:00
|
|
|
2. Repase las instrucciones de actualización de cada versión secuencialmente (de
|
|
|
|
más antiguo a más reciente) comenzando con `v1.0.0-alpha. 3`,
|
|
|
|
`v1.0.0-alpha.44`, `v1.0.0-alpha.45`, …, `v1.0.0-beta.1`.
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-07-04 15:27:21 +02:00
|
|
|
3. ✨ ¡Disfruta de tu instancia recién instalada, todo listo!
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-07-04 15:27:21 +02:00
|
|
|
### ¿Debo hacer una copia de seguridad antes de actualizar?
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-10-20 09:55:28 +02:00
|
|
|
We advise you do, so you don't lose everything if anything goes wrong!
|
2022-04-14 15:11:07 +02:00
|
|
|
|
2022-10-20 09:55:28 +02:00
|
|
|
More generally, we advise you make regular backups of your Castopod files and
|
|
|
|
database to prevent you from losing it all…
|