What are the steps you are following to replicate this issue?

Federico

On Fri, 6 Oct 2023 at 07:04, Manukumar NM <manuku...@relysys.co.in> wrote:

> Greetings...
>                      Dear team,
>                                         I am getting error in
> openwisp2.log like I have attached below. Why this error coming and How can
> I solve this?
>
> [ERROR 2023-10-06 04:57:53,702] module: log, process: 28977, thread:
> 139915739678208
> Internal Server Error:
> /controller/checksum/ce9c1f7abadf4841b09461202586a61f/
> Traceback (most recent call last):
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/django/core/handlers/exception.py",
> line 47, in inner
>     response = get_response(request)
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/django/core/handlers/base.py",
> line 181, in _get_response
>     response = wrapped_callback(request, *callback_args, **callback_kwargs)
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/django/views/generic/base.py",
> line 70, in view
>     return self.dispatch(request, *args, **kwargs)
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/django/views/generic/base.py",
> line 98, in dispatch
>     return handler(request, *args, **kwargs)
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/openwisp_controller/config/controller/views.py",
> line 135, in get
>     updated = self.update_last_ip(device, request)
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/openwisp_controller/config/controller/views.py",
> line 74, in update_last_ip
>     result = update_last_ip(device, request)
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/openwisp_controller/config/utils.py",
> line 79, in update_last_ip
>     device.save(update_fields=update_fields)
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/openwisp_controller/config/base/device.py",
> line 190, in save
>     super().save(*args, **kwargs)
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/django/db/models/base.py",
> line 754, in save
>     force_update=force_update, update_fields=update_fields)
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/django/db/models/base.py",
> line 792, in save_base
>     force_update, using, update_fields,
>   File
> "/opt/openwisp2/env/lib/python3.6/site-packages/django/db/models/base.py",
> line 877, in _save_table
>     raise DatabaseError("Save with update_fields did not affect any rows.")
> django.db.utils.DatabaseError: Save with update_fields did not affect any
> rows.
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/openwisp/2ffbd427-a4d1-4539-9afd-57840bff7e2bn%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/2ffbd427-a4d1-4539-9afd-57840bff7e2bn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/CAAGgX6%2Bkb7xnuzj1Qz20sDfN7nQgEXp4%2BDvVEnuhs4f6-JpnDQ%40mail.gmail.com.

Reply via email to