Need to restart rockstor.service upon each reboot

Hi all - pretty new here so please be patient with me.
After an install of “Rockstor-Leap15.5-RaspberryPi4.aarch64-5.0.9-0.raw” on Raspberry pi4 8GB ram, could not access the Rockstor web-UI.
Upon running “systemctl status rockstor.service” this is what I get:
ROCKSTORY:~ # systemctl status rockstor.service
○ rockstor.service - Rockstor startup script
Loaded: loaded (/usr/lib/systemd/system/rockstor.service; enabled; vendor preset: disabled)
Active: inactive (dead)

Jan 08 12:00:19 ROCKSTORY systemd[1]: Dependency failed for Rockstor startup script.
Jan 08 12:00:19 ROCKSTORY systemd[1]: rockstor.service: Job rockstor.service/start failed with result ‘dependency’.

Then when I run: systemctl restart rockstor.service
After a minute or two the terminal prompt re-appears. The I run: systemctl status rockstor.service
I get
ROCKSTORY:~ # systemctl status rockstor.service
● rockstor.service - Rockstor startup script
Loaded: loaded (/usr/lib/systemd/system/rockstor.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2024-06-29 09:02:56 BST; 22min ago
Main PID: 24753 (supervisord)
Tasks: 11
CGroup: /system.slice/rockstor.service
├─ 24753 /opt/rockstor/.venv/bin/python /opt/rockstor/.venv/bin/supervisord -c /opt/rockstor/etc/super>
├─ 24757 /opt/rockstor/.venv/bin/python /opt/rockstor/.venv/bin/gunicorn --config ./conf/gunicorn.conf>
├─ 24758 /opt/rockstor/.venv/bin/python /opt/rockstor/.venv/bin/data-collector
├─ 24759 /opt/rockstor/.venv/bin/python /opt/rockstor/.venv/bin/django-admin run_huey --workers 2 --wo>
└─ 24760 /opt/rockstor/.venv/bin/python /opt/rockstor/.venv/bin/gunicorn --config ./conf/gunicorn.conf>

Jun 29 09:02:56 ROCKSTORY systemd[1]: Started Rockstor startup script.
Jun 29 09:02:58 ROCKSTORY poetry[24753]: 2024-06-29 09:02:58,717 INFO Set uid to user 0 succeeded
Jun 29 09:02:58 ROCKSTORY poetry[24753]: 2024-06-29 09:02:58,731 INFO RPC interface ‘supervisor’ initialized
Jun 29 09:02:58 ROCKSTORY poetry[24753]: 2024-06-29 09:02:58,732 INFO supervisord started with pid 24753
Jun 29 09:02:59 ROCKSTORY poetry[24753]: 2024-06-29 09:02:59,740 INFO spawned: ‘gunicorn’ with pid 24757
Jun 29 09:02:59 ROCKSTORY poetry[24753]: 2024-06-29 09:02:59,766 INFO spawned: ‘data-collector’ with pid 24758
Jun 29 09:02:59 ROCKSTORY poetry[24753]: 2024-06-29 09:02:59,772 INFO spawned: ‘ztask-daemon’ with pid 24759
Jun 29 09:03:01 ROCKSTORY poetry[24753]: 2024-06-29 09:03:01,777 INFO success: data-collector entered RUNNING state>
Jun 29 09:03:04 ROCKSTORY poetry[24753]: 2024-06-29 09:03:04,781 INFO success: gunicorn entered RUNNING state, proc>
Jun 29 09:03:09 ROCKSTORY poetry[24753]: 2024-06-29 09:03:09,789 INFO success: ztask-daemon entered RUNNING state, >

All seems okay and most importantly I am now able to access the web-UI.
Please has any one come across this issue. Its a bit of a pain as each time I reboot - I have to check the status of Rockstor and then run: systemctl restart rockstor.service.

Thanks all.

please note:

github.com/rockstor/rockstor-core

Pi4 installer fails on reboot

opened May 24, 2024

phillxnet phillxnet

We have, post initially successful installer boot, and initial setup - a rocksto

1 Like