Starting with systemd: Failed at step NAMESPACE spawning /usr/local/bin/caddy: No such file or directory

Thanks for the swift response, Andreas.
Here is the output for all the commands: http://pastebin.ca/3680455

I do not have the user www-data and instead I use “http” like I did with Caddy 0.8 already, adjusting the old systemd service then as well. Thanks for the migration guide, I had not seen it before. Maybe it should be mentioned in the AUR somewhere.
The migration guide seems to be mostly about the user. Is it really necessary for me to switch to www-data? I’d just like to know before I recursively chown my web files to this different user.

Now I did sudo mkdir -p /etc/ssl/caddy && sudo chown -R http:http /etc/ssl/caddy and it seems the namespace failure was related to it, because now I get this failure:

caddy.service: Failed at step CAPABILITIES spawning /usr/local/bin/caddy: Invalid argument

1 Like