3.4 KiB
title | sidebarDepth |
---|---|
Actualitzar | 3 |
Com actualitzar Castopod?
Després d'instal·lar Castopod, és possible que vulgueu actualitzar la vostra instància a la darrera versió per gaudir de les últimes funcions ✨, correccions d'errors 🐛 i millores de rendiment ⚡.
Update instructions
-
⚠️ Before any update, we highly recommend you backup your Castopod files and database.
-
Go to the releases page and see if your instance is up to date with the latest Castopod version
-
Download the latest release package named
Castopod Package
, you may choose between thezip
ortar.gz
archives- ⚠️ Make sure you download the Castopod Package and NOT the Source Code
- Note that you can also download the latest package from castopod.org
-
On your server:
-
Remove all files except
.env
andpublic/media
-
Copy the new files from the downloaded package into your server
::: info Note
You may need to reset files permissions as during the install process. Check Security Concerns.
:::
-
-
Update your database schema from your
Castopod Admin
>About
page or by running:php spark castopod:database-update
-
Clear your cache from your
Castopod Admin
>Settings
>general
>Housekeeping
-
✨ Enjoy your fresh instance, you're all done!
::: info Note
Releases may come with additional update instructions (see releases page).
:::
Fully Automated updates
Aviat... 👀
Preguntes més freqüents (FAQ)
On puc trobar la meva versió de Castopod?
Go to your Castopod admin panel, the version is displayed on the bottom left corner.
Alternatively, you can find the version in the app > Config > Constants.php
file.
Fa temps que no actualitzo la meva instància... Què hauria de fer?
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.
És possible que vulgueu fer una còpia de seguretat de la vostra instància en funció del temps que no heu actualitzat Castopod.
For example, if you're on v1.0.0-alpha.42
and would like to upgrade to
v1.0.0-beta.1
:
-
(molt recomanable) Feu una còpia de seguretat dels vostres fitxers i base de dades.
-
Baixeu la darrera versió, sobreescriu els vostres fitxers mantenint
.env
ipublic/media
. -
Seguiu les instruccions d'actualització de cada versió seqüencialment (de la més antiga a la més recent) començant per
v1.0.0-alpha.43
,v1.0.0-alpha.44
,v1.0.0-alpha.45
, ...,v1.0.0-beta.1
. -
✨ Gaudiu de la vostra nova instància, tot fet i preparat!
Hauria de fer una còpia de seguretat abans d'actualitzar?
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…