Released version 3.0.1 which removes the squashed migrations. Give it a try.

On Thursday, March 22, 2018 at 4:01:47 AM UTC-4, Michael Price wrote:
>
> Are upgrading via the Docker image?
>
> To migrate a specific app the command is:
>
> mayan-edms.py migrate events
>
> To migrate a specific migration of an app the command is:
>
> mayan-edms.py migrate events 0004
>
> On Thursday, March 22, 2018 at 3:56:13 AM UTC-4, Michael Price wrote:
>>
>> Hi! Thanks for reporting this. I've started working on fixing this issue. 
>> I'm removing all the squashed migrations, they were causing too many 
>> problems. This feature of Django is not ready for production. 
>>
>> On Wednesday, March 21, 2018 at 8:26:31 PM UTC-4, Victor Zele wrote:
>>>
>>> Hi,
>>>
>>> I was able to track down the migration files causing this error but 
>>> don't seem to be able to correct the dependances in them.
>>>
>>>
>>> /usr/share/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/document_states/migrations/0005_auto_20170803_0638.py
>>> -- contains ---
>>> class Migration(migrations.Migration):
>>>
>>>     dependencies = [
>>>         ('events', '0006_objecteventsubscription'),
>>>         ('document_states', '0004_workflow_internal_name'),
>>>     ]
>>>
>>> and
>>>
>>>
>>> /usr/share/mayan-edms/local/lib/python2.7/site-packages/mayan/apps/events/migrations/0006_objecteventsubscription.py
>>>
>>> not sure how to get the event migration files to load first???
>>>
>>> thanks!
>>>
>>> On Wednesday, March 21, 2018 at 9:04:13 AM UTC-7, Victor Zele wrote:
>>>>
>>>> I get the below error trying to update my database from 2.7.3 to 3.0.
>>>>
>>>> Any ideas what to check?
>>>>
>>>>
>>>> (mayan-edms) root@sjc1-mayan01:/usr/share/mayan-edms# mayan-edms.py 
>>>> performupgrade
>>>> No handlers could be found for logger "pyocr.libtesseract"
>>>> CommandError: Error during pre_upgrade signal: Migration 
>>>> document_states.0005_auto_20170803_0638 is applied before its dependency 
>>>> events.0006_objecteventsubscription on database 'default'.
>>>>
>>>>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mayan-edms+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to