2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-20 11:21:14 +00:00

Add note about migrating from older releases

This commit is contained in:
asonix 2024-02-01 21:45:25 -06:00
parent 5805eb0aed
commit bb625a926c

View file

@ -648,6 +648,11 @@ If you can't stop pict-rs, but would like to back up the database, there is an i
database for easy backups.
### 0.4 to 0.5 Migration Guide
#### Note
If you're running an older release of pict-rs, you'll first need to update to 0.4 before continuing
on to 0.5. See the
[0.3 to 0.4 migration guide](https://git.asonix.dog/asonix/pict-rs/src/branch/v0.4.x#user-content-0-3-to-0-4-migration-guide).
#### Overview
pict-rs will automatically migrate from the 0.4 db format to the 0.5 db format on the first launch
of 0.5. This process might take a while, especially if you've been running pict-rs since before 0.3.
@ -655,8 +660,6 @@ The reason for this is pict-rs now requires original files to have associated de
in the database, and while generating these records happened by default for 0.3 and 0.4, images
uploaded before this was standard may not have ever had their details records generated.
_This upgrade must be performed while pict-rs is offline._
#### Upgrade Configuration
Because upgrades may take so long, there is a new configuration option introduced to attempt to
improve its speed.