Hi,
strange thing, after I updated to 4.6.0-0 and the I got into stable repo I rebooted and then after all my shares will appear as “Not Mounted” in red… I could mount some of them manually from shell, but not sure what is going on… I saw in the logs this, but not sure if it is related:
[02/Jun/2023 15:01:59] ERROR [system.osi:244] non-zero code(1) returned by command: ['/usr/bin/gzip', '/opt/rockstor/static/config-backups/backup-2022-07-14-211044.json.gz']. output: [''] error: ['gzip: /opt/rockstor/static/config-backups/backup-2022-07-14-211044.json.gz: No such file or directory', '']
[02/Jun/2023 15:01:59] ERROR [storageadmin.middleware:33] Exception occurred while processing a request. Path: /api/config-backup method: GET
[02/Jun/2023 15:01:59] ERROR [storageadmin.middleware:34] ConfigBackup object can't be deleted because its id attribute is set to None.
Traceback (most recent call last):
File "/opt/rockstor/.venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/rockstor/.venv/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "/opt/rockstor/.venv/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
File "/opt/rockstor/.venv/lib/python2.7/site-packages/rest_framework/views.py", line 495, in dispatch
response = self.handle_exception(exc)
File "/opt/rockstor/.venv/lib/python2.7/site-packages/rest_framework/views.py", line 455, in handle_exception
self.raise_uncaught_exception(exc)
File "/opt/rockstor/.venv/lib/python2.7/site-packages/rest_framework/views.py", line 466, in raise_uncaught_exception
raise exc
AssertionError: ConfigBackup object can't be deleted because its id attribute is set to None.
[02/Jun/2023 15:03:31] 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 = ['']
[02/Jun/2023 15:03:31] 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 192, in service_status
return superctl(service_name, "status")
File "/opt/rockstor/src/rockstor/system/services.py", line 142, in superctl
out, err, rc = run_command([SUPERCTL_BIN, switch, service])
File "/opt/rockstor/src/rockstor/system/osi.py", line 246, 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 = ['']
[02/Jun/2023 15:03:43] 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 = ['']
[02/Jun/2023 15:03:43] 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 192, in service_status
return superctl(service_name, "status")
File "/opt/rockstor/src/rockstor/system/services.py", line 142, in superctl
out, err, rc = run_command([SUPERCTL_BIN, switch, service])
File "/opt/rockstor/src/rockstor/system/osi.py", line 246, 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 = ['']
Did anybody have this problem before???
thanks