mediagoblin-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DB migration error


From: Lloyd Kvam
Subject: Re: DB migration error
Date: Sat, 11 Sep 2021 09:52:56 -0400
User-agent: Evolution 3.36.5-0ubuntu1

I added the video plugin to my config and reran the bin/gmg dbupdate
command. That has fixed the DB. I'm setting up a new server and was
manually fixing the mediagoblin_local.ini file to match the old file.

So user error, or unexpected user behavior. I'll run the update to
0.12.0 once it comes out.

Thanks for the quick and accurate response.


On Fri, 2021-09-10 at 22:05 +1000, Ben Sturmfels wrote:
> On Fri, 10 Sep 2021, Ben Sturmfels wrote:
> 
> > > alembic.util.exc.CommandError: Can't locate revision identified
> > > by
> > > '38feb829c545'
> > > 
> > If you haven't actually used videos, then you may be able to
> > resolve
> > this by manually manipulating the "core__migrations" database
> > table, if
> > that's something you're comfortable with. Take a backup of course.
> 
> Sorry, after a quick look at the database, it's probably the
> alembic_version table that you'd want to modify. I haven't actually
> tried it though, so no promises it will be straightforward.
> 
> Regards,
> Ben




reply via email to

[Prev in Thread] Current Thread [Next in Thread]