Running Cells as a service with Systemd

I am trying to get Pydio Cells to run as a service, my current configuration is using Proxmox and a lxc container running Ubuntu 20.04. I have Pydio installed all is working but when I follow the steps to make it a service here in the documentation but it fails. Below is the command and output I receive.

pydio@storm:~$ sudo systemctl start cells
sudo: setrlimit(RLIMIT_CORE): Operation not permitted
Job for cells.service failed because the control process exited with error code.
See "systemctl status cells.service" and "journalctl -xe" for details.

pydio@storm:~$ sudo systemctl status cells.service
sudo: setrlimit(RLIMIT_CORE): Operation not permitted
* cells.service - Pydio Cells
     Loaded: loaded (/etc/systemd/system/cells.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2020-06-04 16:25:20 UTC; 17s ago
       Docs: https://pydio.com
    Process: 639 ExecStartPre=/usr/bin/sudo /sbin/setcap cap_net_bind_service=+ep /home/pydio/cells (code=exited, status=200/CHDIR)

Jun 04 16:25:20 storm systemd[1]: cells.service: Scheduled restart job, restart counter is at 5.
Jun 04 16:25:20 storm systemd[1]: Stopped Pydio Cells.
Jun 04 16:25:20 storm systemd[1]: cells.service: Start request repeated too quickly.
Jun 04 16:25:20 storm systemd[1]: cells.service: Failed with result 'exit-code'.
Jun 04 16:25:20 storm systemd[1]: Failed to start Pydio Cells.
pydio@storm:~$ 
pydio@storm:~$ 

pydio@storm:~$ sudo journalctl -xe
sudo: setrlimit(RLIMIT_CORE): Operation not permitted
-- 
-- The unit cells.service has entered the 'failed' state with result 'exit-code'.
Jun 04 16:25:20 storm systemd[1]: Failed to start Pydio Cells.
-- Subject: A start job for unit cells.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- A start job for unit cells.service has finished with a failure.
-- 
-- The job identifier is 1802 and the job result is failed.
Jun 04 16:25:20 storm systemd[1]: cells.service: Scheduled restart job, restart counter is at 5.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- Automatic restarting of the unit cells.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Jun 04 16:25:20 storm systemd[1]: Stopped Pydio Cells.
-- Subject: A stop job for unit cells.service has finished
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- A stop job for unit cells.service has finished.
-- 
-- The job identifier is 1853 and the job result is done.
Jun 04 16:25:20 storm systemd[1]: cells.service: Start request repeated too quickly.
Jun 04 16:25:20 storm systemd[1]: cells.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- The unit cells.service has entered the 'failed' state with result 'exit-code'.
Jun 04 16:25:20 storm systemd[1]: Failed to start Pydio Cells.
-- Subject: A start job for unit cells.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- A start job for unit cells.service has finished with a failure.
-- 
-- The job identifier is 1853 and the job result is failed.
Jun 04 16:25:37 storm sudo[640]:    pydio : TTY=console ; PWD=/home/pydio ; USER=root ; COMMAND=/bin/systemctl status cells.service
Jun 04 16:25:37 storm sudo[640]: pam_unix(sudo:session): session opened for user root by LOGIN(uid=0)
Jun 04 16:25:37 storm sudo[640]: pam_unix(sudo:session): session closed for user root
Jun 04 16:25:58 storm sudo[644]:    pydio : TTY=console ; PWD=/home/pydio ; USER=root ; COMMAND=/bin/journalctl -xe
Jun 04 16:25:58 storm sudo[644]: pam_unix(sudo:session): session opened for user root by LOGIN(uid=0)
lines 6082-6126/6126 (END)

Any help or direction someone can point me to would be greatly appreciated.

Hi,

This error is due to some folder does not exist.

Try to check if working directory is created

WorkingDirectory=/tmp/cells

If it is does not exist just create it in tmp folder