I've just pushed a fix:
https://github.com/openwisp/openwisp-controller/commit/d173c248e21dceadf69cb314ac7ca2887a350f9d

Try the following procedure:

   1. restore a backup/snapshot
   2. set the variable *openwisp2_controller_dev* and
   *openwisp2_django_netjsonconfig_dev* to true in your ansible playbook,
   see Role variables <https://github.com/openwisp/ansible-openwisp2> for
   an example
   3. repeat the upgrade

In the very unfortunate case in which you don't have a backup, perform only
step 2 and 3 and cross your fingers...

Federico

On Wed, May 3, 2017 at 7:54 PM Alvaro Mendez <[email protected]>
wrote:

> thank you very much!!!
>
> 2017-05-03 14:53 GMT-03:00 Federico Capoano <[email protected]>:
>
>> I've been able to reproduce the issue.
>>
>> I will update you shortly.
>>
>
>> On Wed, May 3, 2017 at 7:48 PM Federico Capoano <
>> [email protected]> wrote:
>>
>>> I think this is not a problem related strictly to the multi-tenancy
>>> migration.
>>>
>>> It seems this migration is failing:
>>>
>>> https://github.com/openwisp/openwisp-controller/blob/master/openwisp_controller/config/migrations/0002_config_settings_uuid.py#L16-L20
>>>
>>> Did you back up before upgrading as I suggested when released that
>>> feature?
>>>
>>> Federico
>>>
>>> On Wed, May 3, 2017 at 7:42 PM Federico Capoano <
>>> [email protected]> wrote:
>>>
>>>> On Wed, May 3, 2017 at 7:38 PM Alvaro Mendez <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi Federico is a test instalation waiting for production hahaha.
>>>>>
>>>>
>>>> Did you insert a lot of routers in?
>>>>
>>>> Very complicated for fix?
>>>>>
>>>>
>>>> I would need to spend some hours on it but I'm very busy on other
>>>> issues.
>>>>
>>>> Federico
>>>>
>>> --
>>
> You received this message because you are subscribed to a topic in the
>> Google Groups "OpenWISP" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/openwisp/B2rdQJ8TSM4/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
>         Alvaro Mendez
> [email protected]
>           8-9047532
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenWISP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to