When I m trying to add device in the devices tab, I m getting Please correct the errors below.

37 views
Skip to first unread message

Kolla Honey

unread,
Jun 6, 2024, 9:16:50 AM6/6/24
to OpenWISP
In the openwisp server, I want to create a list of devices for that only registration has to be allowed, for the remaining even though it has shared secret, openwisp server should not allow it to register . For that  I m trying to add device in the devices tab with all essential details, but  I m getting  "Please correct the errors below". How can I solve this problem?
or is there any better way  to add valid radio list to the openwisp server?

Federico Capoano

unread,
Jun 6, 2024, 9:20:11 AM6/6/24
to open...@googlegroups.com
Hi Kolla,

Please read here about OPENWISP_CONTROLLER_REGISTRATION_SELF_CREATION:
https://github.com/openwisp/openwisp-controller?tab=readme-ov-file#openwisp_controller_registration_self_creation
Set it to False, then you can pre-create the devices that are allowed, any other device trying to register will be rejected.

See also How to edit Django settings: https://openwisp.io/docs/user/django-settings.html

Best regards
Federico Capoano


On Thu, 6 Jun 2024 at 09:16, Kolla Honey <kollapr...@gmail.com> wrote:
In the openwisp server, I want to create a list of devices for that only registration has to be allowed, for the remaining even though it has shared secret, openwisp server should not allow it to register . For that  I m trying to add device in the devices tab with all essential details, but  I m getting  "Please correct the errors below". How can I solve this problem?
or is there any better way  to add valid radio list to the openwisp server?

--
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/89a05df9-9f40-42b8-90a0-6c619c5d84c5n%40googlegroups.com.

Kolla Honey

unread,
Jun 7, 2024, 9:50:15 AM6/7/24
to OpenWISP
Hi,
I have set the  OPENWISP_CONTROLLER_REGISTRATION_SELF_CREATION as false in my settings.py file and  run the supervisorctl restart all and tried to add the device in the devices section, again I m getting the same error "Please correct the error below". Could you help me where I went wrong?
Reply all
Reply to author
Forward
0 new messages