Another way which doesn't involve opening the django shell is to check the 
python packages installed in the python virtual environment:

ls -l /opt/openwisp2/env/lib/<PYTHON-VERSION>/site-packages/ | grep openwisp

where <PYTHON-VERSION> is the python version used, which could be 
python3.4, python3.5, python3.6 or even python2.7 if running on an old 
system (in which case we highly suggest to upgrade to a newer system).

This approach has the advantage of showing the versions of several modules.

Federico


On Tuesday, January 21, 2020 at 11:40:40 AM UTC+1, Federico Capoano wrote:
>
> Hi Thomas,
>
> I suppose you're using only openwisp-controller, right?
>
> Try the following:
>
> sudo -s
> cd /opt/openwisp2
> source env/bin/activate
> ./manage.py shell_plus
>
>
> import openwisp_controller
> print(openwisp_controller.get_version())
>
>
> PS: before upgrading, make sure to backup your system.
>
> Federico
>
>
> On Monday, January 20, 2020 at 1:17:50 PM UTC+1, Tomás Paredes wrote:
>>
>> Hi Federico, I would like to know how I can know what version of openwisp 
>> I am executing right now and if it is outdated how can I update it without 
>> losing my configuration? . From already thank you very much
>>
>> El viernes, 17 de enero de 2020, 15:23:37 (UTC-3), Federico Capoano 
>> escribió:
>>>
>>> Acabo de lanzar las nuevas versiones de OpenWISP Controller y OpenWISP 
>>> Network Topology, disponibles para instalar a través de 
>>> ansible-openwisp2 <https://galaxy.ansible.com/openwisp/openwisp2> .
>>>
>>> Esta es la última versión compatible con python 2, a partir de la 
>>> próxima versión OpenWISP solo funcionará con python> = 3.6 y django> = 3.0.
>>>
>>> También estamos cerca del lanzamiento de las primeras versiones de 
>>> django-freeradius <https://github.com/openwisp/django-freeradius/> y 
>>> openwisp-radius <https://github.com/openwisp/openwisp-radius/> , estos 
>>> dos módulos han existido durante bastante tiempo y probablemente he sido 
>>> demasiado conservador al no emitir un lanzamiento, por lo que de ahora en 
>>> adelante intentaré liberar más a menudo. 
>>>
>>> Quiero aprovechar esta oportunidad para agradecer a todas las personas 
>>> que nos están asesorando en el programa Google Code-In 
>>> <https://codein.withgoogle.com/> y a los increíbles estudiantes que nos 
>>> han estado ayudando a solucionar muchos problemas, realizar tareas de 
>>> mantenimiento y agregar algunas características menores.
>>>
>>> Después de esta ronda de mantenimiento, me enfocaré personalmente en 
>>> agregar nuevas características a OpenWISP.
>>>
>>> ¡Atentamente!
>>> Federico Capoano
>>>
>>

-- 
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].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/f3bed5d8-5612-4bcf-9038-b783e42d087a%40googlegroups.com.

Reply via email to