Starting OctoPrint in daemon mode fails silently

What is the problem?

Starting OctoPrint in daemon mode fails silently, which means no log file is created. There is only a "Starting daemon..." output in the terminal. The command I'm using is

.env/bin/octoprint daemon --basedir .data/ --host localhost --pid .env/octoprint.pid start

Running in no-daemon mode works:

.env/bin/octoprint serve --basedir .data/ --host localhost

Im using version 1.7.0rc3.

What did you already try to solve it?

--

Have you tried running in safe mode?

Yes

Did running in safe mode solve the problem?

No

Systeminfo Bundle

octoprint-systeminfo-20211004005529.zip (4.7 KB)

Remember that the log file is not from the attempt to run OctoPrint in daemon mode!

Additional information about your setup

--

Can you please open a bug report for this?

Found the issue. You cannot use relative paths, they must be absolute.

It still probably shouldn't fail silently, somehow the path issue should probably be shown. Not sure if using daemon mode like that provides a way to give feedback or not.