Problem with dashboard

[Please complete the below template with details of the problem reported on your Web-UI. Be as detailed as possible. Community members, including developers, shall try and help. Thanks for your time in reporting this issue! We recommend purchasing commercial support for expedited support directly from the developers.]

Brief description of the problem

Impossible to navigate with dashboard

Detailed step by step instructions to reproduce the problem

Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py”, line 41, in _handle_exception
yield
File “/opt/rockstor/src/rockstor/storageadmin/views/network.py”, line 180, in get_queryset
self._refresh_devices()
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/utils/decorators.py”, line 145, in inner
return func(*args, **kwargs)
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/transaction.py”, line 225, in exit
connection.commit()
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/backends/base/base.py”, line 173, in commit
self._commit()
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/backends/base/base.py”, line 142, in _commit
return self.connection.commit()
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/utils.py”, line 98, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/backends/base/base.py”, line 142, in _commit
return self.connection.commit()
IntegrityError: insert or update on table “storageadmin_networkdevice” violates foreign key constraint “connection_id_refs_id_1db23ec5”
DETAIL: Key (connection_id)=(13) is not present in table “storageadmin_networkconnection”.

Web-UI screenshot

Error Traceback provided on the Web-UI

[paste here]

@esasystem Welcome to the Rockstor community.

What happens if you do a browser button refresh. It may be this was a transient issue we haven’t dealt with well and has now resolved itself. Sometime an error will stick to each and every screen until a browser refresh is done.

Worth a try.

What is the network setup on this machine and has anything changed recently.

Also note that the Rockstor version you are running is now nearly 5 years old. 3.9.1-0

This was back when we were based on CentOS. In recent years we have moved over to being “Built on openSUSE” most recently Leap 15.3. And the latest version of our stable release rpm is included in our new installers available here:
https://rockstor.com/dls.html
with a howto on the installer available in our docs here:
https://rockstor.com/docs/installation/installer-howto.html

The older CentOS effort has now come to an end, we were no longer able to build on that OS towards the end of our support for it. All pools and config save files (once downloaded) are equally importable / compatible with our newer v4 offering (Current stable release version is v4.1.0). But a re-install will be necessary. So take care. Also note that if you have used any shares on the system drive they will be lost, unless you copy their data to the data pool/s. Or use a new system disk. But do not connect the old and the new system disk at the same time. This ends up confusing things.

Definitely well worth upgrading as the underlying OS has far newer btrfs. Also note that without action the btrfs parity raids of 5&6 are only supported read only in our new Leap 15.3 base. So look out for that if it is relevant.

Hope that helps.