You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only change I made was the OCIS_BASE_DATA_PATH
Instead of /var/lib/ocis, I want to use /mnt/HDD/ocis (storage constraints on the system boot disk).
I created the folder and it is mounted, I followed all procedures described.
When started, I get this error: ### Can't start JetStream: storage directory is not a directory rafael@twist:/mnt/HDD$ sudo systemctl restart ocis rafael@twist:/mnt/HDD$ sudo journalctl -f -u ocis Mar 02 18:14:20 twist systemd[1]: ocis.service: Failed with result 'exit-code'. Mar 02 18:14:21 twist systemd[1]: ocis.service: Scheduled restart job, restart counter is at 4. Mar 02 18:14:21 twist systemd[1]: Started ocis.service - OCIS server. Mar 02 18:14:21 twist ocis[46624]: {"level":"fatal","service":"nats","time":"2025-03-02T18:14:21-03:00","message":"Can't start JetStream: storage directory is not a directory"} Mar 02 18:14:21 twist systemd[1]: ocis.service: Main process exited, code=exited, status=1/FAILURE Mar 02 18:14:21 twist systemd[1]: ocis.service: Failed with result 'exit-code'. Mar 02 18:14:21 twist systemd[1]: ocis.service: Scheduled restart job, restart counter is at 5. Mar 02 18:14:21 twist systemd[1]: ocis.service: Start request repeated too quickly. Mar 02 18:14:21 twist systemd[1]: ocis.service: Failed with result 'exit-code'. Mar 02 18:14:21 twist systemd[1]: Failed to start ocis.service - OCIS server.
Steps to reproduce
Follow the bare metal deployment
Expected behavior
Service started
If I use the suggested /var/lib/ocis, it does work.
Actual behavior
Service not started
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
Describe the bug
I am following the bare metal deployment with systemd (home server)
The only change I made was the OCIS_BASE_DATA_PATH
Instead of /var/lib/ocis, I want to use /mnt/HDD/ocis (storage constraints on the system boot disk).
I created the folder and it is mounted, I followed all procedures described.
When started, I get this error: ### Can't start JetStream: storage directory is not a directory
rafael@twist:/mnt/HDD$ sudo systemctl restart ocis
rafael@twist:/mnt/HDD$ sudo journalctl -f -u ocis
Mar 02 18:14:20 twist systemd[1]: ocis.service: Failed with result 'exit-code'.
Mar 02 18:14:21 twist systemd[1]: ocis.service: Scheduled restart job, restart counter is at 4.
Mar 02 18:14:21 twist systemd[1]: Started ocis.service - OCIS server.
Mar 02 18:14:21 twist ocis[46624]: {"level":"fatal","service":"nats","time":"2025-03-02T18:14:21-03:00","message":"Can't start JetStream: storage directory is not a directory"}
Mar 02 18:14:21 twist systemd[1]: ocis.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 18:14:21 twist systemd[1]: ocis.service: Failed with result 'exit-code'.
Mar 02 18:14:21 twist systemd[1]: ocis.service: Scheduled restart job, restart counter is at 5.
Mar 02 18:14:21 twist systemd[1]: ocis.service: Start request repeated too quickly.
Mar 02 18:14:21 twist systemd[1]: ocis.service: Failed with result 'exit-code'.
Mar 02 18:14:21 twist systemd[1]: Failed to start ocis.service - OCIS server.
Steps to reproduce
Follow the bare metal deployment
Expected behavior
Service started
If I use the suggested /var/lib/ocis, it does work.
Actual behavior
Service not started
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: