Hi,
after the last testing-channel updates wen’t very smoothly for me, now after updating to 5.0.0-0 Rockstor isn’t starting anymore. GUI is unresponsive, so I checked:
rockstor4:~ # systemctl status rockstor
○ rockstor.service - Rockstor startup script
Loaded: loaded (/usr/lib/systemd/system/rockstor.service; disabled; vendor preset: disabled)
Active: inactive (dead)
Jul 23 12:32:37 rockstor4 systemd[1]: Dependency failed for Rockstor startup script.
Jul 23 12:32:37 rockstor4 systemd[1]: rockstor.service: Job rockstor.service/start failed with result 'dependency'.
Jul 23 12:33:17 rockstor4 systemd[1]: Dependency failed for Rockstor startup script.
Jul 23 12:33:17 rockstor4 systemd[1]: rockstor.service: Job rockstor.service/start failed with result 'dependency'.
rockstor4:~ # systemctl status rockstor-pre.service
× rockstor-pre.service - Tasks required prior to starting Rockstor
Loaded: loaded (/usr/lib/systemd/system/rockstor-pre.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2023-07-23 12:34:19 CEST; 11min ago
Process: 13499 ExecStart=/root/.local/bin/poetry run initrock (code=exited, status=1/FAILURE)
Main PID: 13499 (code=exited, status=1/FAILURE)
Jul 23 12:34:19 rockstor4 poetry[13499]: File "/opt/rockstor/src/rockstor/storageadmin/models/__init__.py", line 34, in <module>
Jul 23 12:34:19 rockstor4 poetry[13499]: from storageadmin.models.user import User # noqa E501
Jul 23 12:34:19 rockstor4 poetry[13499]: File "/opt/rockstor/src/rockstor/storageadmin/models/user.py", line 27, in <module>
Jul 23 12:34:19 rockstor4 poetry[13499]: from system.users import ifp_get_properties_from_name_or_id
Jul 23 12:34:19 rockstor4 poetry[13499]: File "/opt/rockstor/src/rockstor/system/users.py", line 25, in <module>
Jul 23 12:34:19 rockstor4 poetry[13499]: from subprocess import run, Popen, PIPE
Jul 23 12:34:19 rockstor4 poetry[13499]: ImportError: cannot import name run
Jul 23 12:34:19 rockstor4 systemd[1]: rockstor-pre.service: Main process exited, code=exited, status=1/FAILURE
Jul 23 12:34:19 rockstor4 systemd[1]: rockstor-pre.service: Failed with result 'exit-code'.
Jul 23 12:34:19 rockstor4 systemd[1]: Failed to start Tasks required prior to starting Rockstor.
rockstor4:~ # systemctl start rockstor-pre.service
Job for rockstor-pre.service failed because the control process exited with error code.
See "systemctl status rockstor-pre.service" and "journalctl -xeu rockstor-pre.service" for details.
rockstor4:~ # journalctl -xeu rockstor-pre.service
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit rockstor-pre.service has finished with a failure.
░░
░░ The job identifier is 1015 and the job result is failed.
Jul 23 12:46:39 rockstor4 systemd[1]: Starting Tasks required prior to starting Rockstor...
░░ Subject: A start job for unit rockstor-pre.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit rockstor-pre.service has begun execution.
░░
░░ The job identifier is 1362.
Jul 23 12:46:39 rockstor4 poetry[14175]: Traceback (most recent call last):
Jul 23 12:46:39 rockstor4 poetry[14175]: File "<string>", line 1, in <module>
Jul 23 12:46:39 rockstor4 poetry[14175]: File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
Jul 23 12:46:39 rockstor4 poetry[14175]: __import__(name)
Jul 23 12:46:39 rockstor4 poetry[14175]: File "/opt/rockstor/src/rockstor/scripts/__init__.py", line 6, in <module>
Jul 23 12:46:39 rockstor4 poetry[14175]: django.setup()
Jul 23 12:46:39 rockstor4 poetry[14175]: File "/opt/rockstor/.venv/lib/python2.7/site-packages/django/__init__.py", line 27, in setup
Jul 23 12:46:39 rockstor4 poetry[14175]: apps.populate(settings.INSTALLED_APPS)
Jul 23 12:46:39 rockstor4 poetry[14175]: File "/opt/rockstor/.venv/lib/python2.7/site-packages/django/apps/registry.py", line 108, in populate
Jul 23 12:46:39 rockstor4 poetry[14175]: app_config.import_models()
Jul 23 12:46:39 rockstor4 poetry[14175]: File "/opt/rockstor/.venv/lib/python2.7/site-packages/django/apps/config.py", line 202, in import_models
Jul 23 12:46:39 rockstor4 poetry[14175]: self.models_module = import_module(models_module_name)
Jul 23 12:46:39 rockstor4 poetry[14175]: File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
Jul 23 12:46:39 rockstor4 poetry[14175]: __import__(name)
Jul 23 12:46:39 rockstor4 poetry[14175]: File "/opt/rockstor/src/rockstor/storageadmin/models/__init__.py", line 34, in <module>
Jul 23 12:46:39 rockstor4 poetry[14175]: from storageadmin.models.user import User # noqa E501
Jul 23 12:46:39 rockstor4 poetry[14175]: File "/opt/rockstor/src/rockstor/storageadmin/models/user.py", line 27, in <module>
Jul 23 12:46:39 rockstor4 poetry[14175]: from system.users import ifp_get_properties_from_name_or_id
Jul 23 12:46:39 rockstor4 poetry[14175]: File "/opt/rockstor/src/rockstor/system/users.py", line 25, in <module>
Jul 23 12:46:39 rockstor4 poetry[14175]: from subprocess import run, Popen, PIPE
Jul 23 12:46:39 rockstor4 poetry[14175]: ImportError: cannot import name run
Jul 23 12:46:39 rockstor4 systemd[1]: rockstor-pre.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ An ExecStart= process belonging to unit rockstor-pre.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Jul 23 12:46:39 rockstor4 systemd[1]: rockstor-pre.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit rockstor-pre.service has entered the 'failed' state with result 'exit-code'.
Jul 23 12:46:39 rockstor4 systemd[1]: Failed to start Tasks required prior to starting Rockstor.
░░ Subject: A start job for unit rockstor-pre.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit rockstor-pre.service has finished with a failure.
░░
░░ The job identifier is 1362 and the job result is failed.
rockstor4:~ # zypper info rockstor
Loading repository data...
Reading installed packages...
Information for package rockstor:
---------------------------------
Repository : Rockstor-Testing
Name : rockstor
Version : 5.0.0-0
Arch : x86_64
Vendor : YewTreeApps
Installed Size : 9.6 MiB
Installed : Yes
Status : up-to-date
Source package : rockstor-5.0.0-0.src
Upstream URL : https://rockstor.com/
Summary : Btrfs Network Attached Storage (NAS) Appliance.
Description :
Software raid, snapshot capable NAS solution with built-in file integrity protection.
Allows for file sharing between network attached devices.
rockstor4:~ # uname -r
6.4.4-lp154.2.g919c802-default
Reboot / manual starting of processes didn’t help.
As always: Any help is appreciated