hi, Hooverdan
Thanks for your kindly reply!
there is no /opt/rockstor/var/log/rockstor.log
systemctl status rockstor:
rockstor-pre.service: Main process exited, code=exited, status=1/FAILURE
systemctl status rockstor-pre.service
ExecStart=/usr/local/bin/poetry run initrock (code=exited, status=1/FAILURE)
run directly:
cd /opt/rockstor
localhost:/opt/rockstor # /usr/local/bin/poetry run initrock
Warning: ‘initrock’ is an entry point defined in pyproject.toml, but it’s not installed as a script. You may get improper sys.argv[0].
The support to run uninstalled scripts will be removed in a future release.
Run poetry install to resolve and get rid of this message.
Traceback (most recent call last):
File “”, line 1, in
File “/usr/lib64/python3.11/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “”, line 1204, in _gcd_import
File “”, line 1176, in _find_and_load
File “”, line 1126, in _find_and_load_unlocked
File “”, line 241, in _call_with_frames_removed
File “”, line 1204, in _gcd_import
File “”, line 1176, in _find_and_load
File “”, line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named ‘scripts’
run “poetry install” as it suggestion
Installing dependencies from lock file
Package operations: 19 installs, 0 updates, 0 removals
• Installing django (4.2.21)
• Installing dbus-python (1.3.2): Downloading… 43%
• Installing dbus-python (1.3.2): Downloading… 87%
• Installing dbus-python (1.3.2): Preparing…
• Installing distro (1.9.0)
• Installing dbus-python (1.3.2)
• Installing distro (1.9.0)
• Installing django-oauth-toolkit (2.4.0)
• Installing django-pipeline (4.0.0)
• Installing djangorestframework (3.15.2)
• Installing docutils (0.21.2)
• Installing gevent (24.2.1)
• Installing gunicorn (23.0.0)
• Installing huey (2.5.3)
• Installing psutil (5.9.4)
• Installing psycogreen (1.0)
• Installing psycopg (3.2.9)
• Installing python-socketio (5.9.0)
• Installing pyzmq (26.4.0)
• Installing six (1.16.0)
• Installing supervisor (4.2.4)
• Installing urlobject (2.1.1)
• Installing zypper-changelog-lib (0.7.9)
Installing the current project: rockstor (5.1.0)
then rockstor service could start, and browser could show something error message, browser console has lots of errors:
Failed to load resource: the server responded with a status of 404 (Not Found)bootstrap.min.css:1
…
BTW, there is no static dir in /opt/rockstor
Paul