Open SpeakinTelnet opened 1 month ago
I can confirm the issue. For some reason ocis
tries to create lockfile in it's current working directory (which I think is a bug in ocis).
The working directory of service run by systemd defaults /
, where the ocis
user obivously can't write anything. As a workaround please try adding:
WorkingDirectory=/var/lib/ocis/
to the [Service]
section of your unit file. Then systemctl daemon-reload
and systemctl restart ocis
cc @aduffeck
@rhafer Thank you! The workaround works
Describe the bug
When deploying OCIS with the posix storage driver using systemd and user ocis (as per the docs) the service fails to create the user space.
Steps to reproduce
Here's my full deployment procedure runable from a bash script:
Expected behavior
The user space is created and the service run as usual
Actual behavior
The user space is not created and the following errors occurs:
Additional context
chmod -R 777 /var/lib/ocis/posix-storage
Thanks!