Hi @Hooverdan ,
Here I am pasting log info in below. Could you please go through it and let me know the root cuase?
[30/Jul/2023 21:20:50] ERROR [smart_manager.views.base_service:73] Exception while querying status of service(replication): Error running a command. cmd = /opt/rockstor/.venv/bin/supervisorctl status replication. rc = 3. stdout = [‘replication STOPPED Not started’, ‘’]. stderr = [‘’]
[30/Jul/2023 21:20:50] ERROR [smart_manager.views.base_service:74] Error running a command. cmd = /opt/rockstor/.venv/bin/supervisorctl status replication. rc = 3. stdout = [‘replication STOPPED Not started’, ‘’]. stderr = [‘’]
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/smart_manager/views/base_service.py”, line 64, in _get_status
o, e, rc = service_status(service.name, config)
File “/opt/rockstor/src/rockstor/system/services.py”, line 186, in service_status
return superctl(service_name, “status”)
File “/opt/rockstor/src/rockstor/system/services.py”, line 125, in superctl
out, err, rc = run_command([SUPERCTL_BIN, switch, service])
File “/opt/rockstor/src/rockstor/system/osi.py”, line 227, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /opt/rockstor/.venv/bin/supervisorctl status replication. rc = 3. stdout = [‘replication STOPPED Not started’, ‘’]. stderr = [‘’]
[30/Jul/2023 21:25:21] INFO [scripts.initrock:278] Normalising on shellinaboxd service file
[30/Jul/2023 21:25:21] INFO [scripts.initrock:282] - shellinaboxd.service already exists
[30/Jul/2023 21:25:21] INFO [scripts.initrock:297] Establishing Rockstor nginx service override file
[30/Jul/2023 21:25:21] INFO [scripts.initrock:407] /etc/systemd/system/nginx.service.d/30-rockstor-nginx-override.conf up-to-date.
[30/Jul/2023 21:25:21] INFO [scripts.initrock:407] /usr/lib/systemd/system/rockstor-pre.service up-to-date.
[30/Jul/2023 21:25:21] INFO [scripts.initrock:407] /usr/lib/systemd/system/rockstor.service up-to-date.
[30/Jul/2023 21:25:21] INFO [scripts.initrock:407] /usr/lib/systemd/system/rockstor-bootstrap.service up-to-date.
[30/Jul/2023 21:26:18] ERROR [storageadmin.util:45] Exception: insert or update on table “storageadmin_networkdevice” violates foreign key constraint “connection_id_refs_id_1db23ec5”
DETAIL: Key (connection_id)=(11) is not present in table “storageadmin_networkconnection”.
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 236, in get_queryset
self._refresh_devices()
File “/opt/rockstor/.venv/lib/python2.7/site-packages/django/utils/decorators.py”, line 185, in inner
return func(*args, **kwargs)
File “/opt/rockstor/.venv/lib/python2.7/site-packages/django/db/transaction.py”, line 223, in exit
connection.commit()
File “/opt/rockstor/.venv/lib/python2.7/site-packages/django/db/backends/base/base.py”, line 262, in commit
self._commit()
File “/opt/rockstor/.venv/lib/python2.7/site-packages/django/db/backends/base/base.py”, line 236, in _commit
return self.connection.commit()
File “/opt/rockstor/.venv/lib/python2.7/site-packages/django/db/utils.py”, line 94, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File “/opt/rockstor/.venv/lib/python2.7/site-packages/django/db/backends/base/base.py”, line 236, 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)=(11) is not present in table “storageadmin_networkconnection”.
[30/Jul/2023 21:31:24] ERROR [smart_manager.views.base_service:73] Exception while querying status of service(replication): Error running a command. cmd = /opt/rockstor/.venv/bin/supervisorctl status replication. rc = 3. stdout = [‘replication STOPPED Not started’, ‘’]. stderr = [‘’]
[30/Jul/2023 21:31:24] ERROR [smart_manager.views.base_service:74] Error running a command. cmd = /opt/rockstor/.venv/bin/supervisorctl status replication. rc = 3. stdout = [‘replication STOPPED Not started’, ‘’]. stderr = [‘’]
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/smart_manager/views/base_service.py”, line 64, in _get_status
o, e, rc = service_status(service.name, config)
File “/opt/rockstor/src/rockstor/system/services.py”, line 186, in service_status
return superctl(service_name, “status”)
File “/opt/rockstor/src/rockstor/system/services.py”, line 125, in superctl
out, err, rc = run_command([SUPERCTL_BIN, switch, service])
File “/opt/rockstor/src/rockstor/system/osi.py”, line 227, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /opt/rockstor/.venv/bin/supervisorctl status replication. rc = 3. stdout = [‘replication STOPPED Not started’, ‘’]. stderr = [‘’]
[30/Jul/2023 21:31:55] ERROR [system.osi:225] non-zero code(7) returned by command: [‘/usr/bin/zypper’, ‘–non-interactive’, ‘-q’, ‘list-updates’]. output: [‘’] error: [‘System management is locked by the application with pid 16259 (/usr/bin/zypper).’, ‘Close this application before trying again.’, ‘’]
[30/Jul/2023 21:31:57] ERROR [system.osi:225] non-zero code(7) returned by command: [‘/usr/bin/zypper’, ‘–non-interactive’, ‘-q’, ‘list-updates’]. output: [‘’] error: [‘System management is locked by the application with pid 16259 (/usr/bin/zypper).’, ‘Close this application before trying again.’, ‘’]
[30/Jul/2023 21:31:59] ERROR [system.osi:225] non-zero code(7) returned by command: [‘/usr/bin/zypper’, ‘–non-interactive’, ‘-q’, ‘list-updates’]. output: [‘’] error: [‘System management is locked by the application with pid 16259 (/usr/bin/zypper).’, ‘Close this application before trying again.’, ‘’]
[30/Jul/2023 21:32:12] ERROR [smart_manager.views.base_service:73] Exception while querying status of service(replication): Error running a command. cmd = /opt/rockstor/.venv/bin/supervisorctl status replication. rc = 3. stdout = [‘replication STOPPED Not started’, ‘’]. stderr = [‘’]
[30/Jul/2023 21:32:12] ERROR [smart_manager.views.base_service:74] Error running a command. cmd = /opt/rockstor/.venv/bin/supervisorctl status replication. rc = 3. stdout = [‘replication STOPPED Not started’, ‘’]. stderr = [‘’]
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/smart_manager/views/base_service.py”, line 64, in _get_status
o, e, rc = service_status(service.name, config)
File “/opt/rockstor/src/rockstor/system/services.py”, line 186, in service_status
return superctl(service_name, “status”)
File “/opt/rockstor/src/rockstor/system/services.py”, line 125, in superctl
out, err, rc = run_command([SUPERCTL_BIN, switch, service])
File “/opt/rockstor/src/rockstor/system/osi.py”, line 227, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /opt/rockstor/.venv/bin/supervisorctl status replication. rc = 3. stdout = [‘replication STOPPED Not started’, ‘’]. stderr = [‘’]
[30/Jul/2023 21:33:29] INFO [scripts.initrock:278] Normalising on shellinaboxd service file
[30/Jul/2023 21:33:29] INFO [scripts.initrock:282] - shellinaboxd.service already exists
[30/Jul/2023 21:33:29] INFO [scripts.initrock:297] Establishing Rockstor nginx service override file
[30/Jul/2023 21:33:29] INFO [scripts.initrock:407] /etc/systemd/system/nginx.service.d/30-rockstor-nginx-override.conf up-to-date.
[30/Jul/2023 21:33:29] INFO [scripts.initrock:407] /usr/lib/systemd/system/rockstor-pre.service up-to-date.
[30/Jul/2023 21:33:29] INFO [scripts.initrock:407] /usr/lib/systemd/system/rockstor.service up-to-date.
[30/Jul/2023 21:33:29] INFO [scripts.initrock:407] /usr/lib/systemd/system/rockstor-bootstrap.service up-to-date.
[30/Jul/2023 21:34:16] ERROR [smart_manager.views.base_service:73] Exception while querying status of service(replication): Error running a command. cmd = /opt/rockstor/.venv/bin/supervisorctl status replication. rc = 3. stdout = [‘replication STOPPED Not started’, ‘’]. stderr = [‘’]
[30/Jul/2023 21:34:16] ERROR [smart_manager.views.base_service:74] Error running a command. cmd = /opt/rockstor/.venv/bin/supervisorctl status replication. rc = 3. stdout = [‘replication STOPPED Not started’, ‘’]. stderr = [‘’]
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/smart_manager/views/base_service.py”, line 64, in _get_status
o, e, rc = service_status(service.name, config)
File “/opt/rockstor/src/rockstor/system/services.py”, line 186, in service_status
return superctl(service_name, “status”)
File “/opt/rockstor/src/rockstor/system/services.py”, line 125, in superctl
out, err, rc = run_command([SUPERCTL_BIN, switch, service])
File “/opt/rockstor/src/rockstor/system/osi.py”, line 227, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /opt/rockstor/.venv/bin/supervisorctl status replication. rc = 3. stdout = [‘replication STOPPED Not started’, ‘’]. stderr = [‘’]
[30/Jul/2023 21:34:29] ERROR [smart_manager.views.base_service:73] Exception while querying status of service(replication): Error running a command. cmd = /opt/rockstor/.venv/bin/supervisorctl status replication. rc = 3. stdout = [‘replication STOPPED Not started’, ‘’]. stderr = [‘’]
[30/Jul/2023 21:34:29] ERROR [smart_manager.views.base_service:74] Error running a command. cmd = /opt/rockstor/.venv/bin/supervisorctl status replication. rc = 3. stdout = [‘replication STOPPED Not started’, ‘’]. stderr = [‘’]
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/smart_manager/views/base_service.py”, line 64, in _get_status
o, e, rc = service_status(service.name, config)
File “/opt/rockstor/src/rockstor/system/services.py”, line 186, in service_status
return superctl(service_name, “status”)
File “/opt/rockstor/src/rockstor/system/services.py”, line 125, in superctl
out, err, rc = run_command([SUPERCTL_BIN, switch, service])
File “/opt/rockstor/src/rockstor/system/osi.py”, line 227, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /opt/rockstor/.venv/bin/supervisorctl status replication. rc = 3. stdout = [‘replication STOPPED Not started’, ‘’]. stderr = [‘’]
[30/Jul/2023 21:34:42] ERROR [storageadmin.views.network:213] NetworkConnection matching query does not exist.
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/storageadmin/views/network.py”, line 207, in update_connection
name=dconfig[“connection”]
File “/opt/rockstor/.venv/lib/python2.7/site-packages/django/db/models/manager.py”, line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File “/opt/rockstor/.venv/lib/python2.7/site-packages/django/db/models/query.py”, line 380, in get
self.model._meta.object_name
DoesNotExist: NetworkConnection matching query does not exist.
[30/Jul/2023 21:51:42] INFO [scripts.initrock:278] Normalising on shellinaboxd service file
[30/Jul/2023 21:51:42] INFO [scripts.initrock:282] - shellinaboxd.service already exists
[30/Jul/2023 21:51:42] INFO [scripts.initrock:297] Establishing Rockstor nginx service override file
[30/Jul/2023 21:51:42] INFO [scripts.initrock:407] /etc/systemd/system/nginx.service.d/30-rockstor-nginx-override.conf up-to-date.
[30/Jul/2023 21:51:42] INFO [scripts.initrock:407] /usr/lib/systemd/system/rockstor-pre.service up-to-date.
[30/Jul/2023 21:51:42] INFO [scripts.initrock:407] /usr/lib/systemd/system/rockstor.service up-to-date.
[30/Jul/2023 21:51:42] INFO [scripts.initrock:407] /usr/lib/systemd/system/rockstor-bootstrap.service up-to-date.
[30/Jul/2023 21:51:52] ERROR [system.osi:225] non-zero code(7) returned by command: [‘/usr/bin/zypper’, ‘–non-interactive’, ‘-q’, ‘list-updates’]. output: [‘’] error: [‘System management is locked by the application with pid 13427 (/usr/bin/zypper).’, ‘Close this application before trying again.’, ‘’]
[31/Jul/2023 07:55:25] INFO [scripts.initrock:278] Normalising on shellinaboxd service file
[31/Jul/2023 07:55:25] INFO [scripts.initrock:282] - shellinaboxd.service already exists
[31/Jul/2023 07:55:25] INFO [scripts.initrock:297] Establishing Rockstor nginx service override file
[31/Jul/2023 07:55:25] INFO [scripts.initrock:407] /etc/systemd/system/nginx.service.d/30-rockstor-nginx-override.conf up-to-date.
[31/Jul/2023 07:55:25] INFO [scripts.initrock:407] /usr/lib/systemd/system/rockstor-pre.service up-to-date.
[31/Jul/2023 07:55:25] INFO [scripts.initrock:407] /usr/lib/systemd/system/rockstor.service up-to-date.
[31/Jul/2023 07:55:25] INFO [scripts.initrock:407] /usr/lib/systemd/system/rockstor-bootstrap.service up-to-date.
Thanks,
Raju