Successfully installed but later changes not able to do.

81 views
Skip to first unread message

Logunath K

unread,
Mar 2, 2023, 3:47:34 AM3/2/23
to OpenWISP
Hi Federico/team,
              I am new to Openwisp2 but am able to install run openwsip2 server in public ip. I have installed development version of openwisp2 but I downloaded modules from openwisp github and I have done little changes in the openwisp_controller module and I pushed code into my GitHub repo...but now I tried installing openwisp_controller inside that server:

  (env) opt/openwisp2/ pip install https://github.com/<githubuser name>openwisp_controller/tarball/master/   - it ll install and I can see that code changes in the particualr_module. After that i tried do

./manage.py migrate  -  No migrations to apply it ll come. If i check the server in browser Server Error 500.    After installing, How that changes occur in server? What steps I have to follow.
migrate.png

Federico Capoano

unread,
Mar 2, 2023, 7:33:49 AM3/2/23
to open...@googlegroups.com
Hi,

if you get Server Error 500 it means there's an application error, look at the logs in /opt/openwisp2/log.

When you install different or more recent versions of the OpenWISP modules you have to restart the services (eg: supervisorctl restart all).

Best regards
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 openwisp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/90e2d150-8b57-42d6-b613-6dac1ffe6135n%40googlegroups.com.
Message has been deleted

Logunath K

unread,
Mar 2, 2023, 8:09:28 AM3/2/23
to OpenWISP
Thank you for your response Federico. But migrations is not happening here:
(env) root@NMS-Test1:/opt/openwisp2# ./manage.py migrate     --> No migrations to apply but I installed module with little changes those changes are not appearing in the application. Is there any method I have to  follow after installing module. To appear those changes migrate is compulsory ryt. How to check those changes in the application?
Reply all
Reply to author
Forward
0 new messages