Impossible to migrate db: nothing to migrate #4152
Lychee versionv7.0.1 Did you check the latest Lychee version?Yes, I did Which PHP version are you using?PHP 8.5 Detailed description of the problemWhen i update my docker compose to use a newer image from lycheeorg/lychee:v7.0.1 to an newer version, the database is not migrated. From container: From host: if i change version to 070102 in database (with sqlite3 on the host), the interface says configs table is missing some keys. Steps to reproduce the issue
Diagnostics [REQUIRED]Thanks in advance ! Browser & System [REQUIRED]Browser: Chrome/Firefox/Brave Please confirm (incomplete submissions will not be addressed)
|
Replies: 1 comment 2 replies
|
Ok i was suspecting my installation was at fault. And indeed i have mounted this in the compose file:
So /app/database/migrations was hidden by the mount. Maybe add a check when database version is not matching lychee version and warn if "migrations" folder is missing ? |
Ok i was suspecting my installation was at fault.
And indeed i have mounted this in the compose file:
So /app/database/migrations was hidden by the mount.
Maybe add a check when database version is not matching lychee version and warn if "migrations" folder is missing ?
Or not, you will see.