valnet / valuenetwork

Resource Planning and Value Accounting for Value Networks
http://mikorizal.org
GNU Affero General Public License v3.0
99 stars 25 forks source link

Easy thumbnails migrations mismatch #466

Open fosterlynn opened 8 years ago

fosterlynn commented 8 years ago
in valdev, south says et migration 16 is in the database but not on disk
    migrations on disk go up to 15
    et version = easy_thumbnails-1.2
        workaround: deleted migration 16 in the database
in my vn:
    migrations on disk go up to 2
    et version = easy_thumbnails-2.0.1
in thecm:
    migrations: 2
    easy_thumbnails-2.2-py2.7.egg-info
what we need to do:
    figure out which version of easy_thumbnails we want
    figure out which versions exist in each site
    and which migrations are in the db in each site...
    and unify everything
    which might require pegging to a particular version of easy_thumbnails in requirements
bhaugen commented 8 years ago

For innocent bystanders, this is a common problem when assembling a system out of a bunch of component apps. Each app goes through its own cycle of changes, which almost never matches your cycle of changes. And then you got a bunch of installed systems that end up with different versions of a component app, and things get out of sync. The usual solution is to peg your system to selected versions of the component apps and keep them stable and all the same. Which we have not done yet in the case of this component, but now need to do. The particular problem here is that easy_thumbnails squashed all their migrations in a newer version, so the old migrations don't exist anymore. If that had not happened, we could just update the component and be done. But now the databases will be out of sync, so we need to fix them, too. No rest for the wicked...