Package Details: caddy 0.11.1-1

Git Clone URL: https://aur.archlinux.org/caddy.git (read-only)
Package Base: caddy
Description: HTTP/2 Web Server with Automatic HTTPS
Upstream URL: https://caddyserver.com
Licenses: Apache
Submitter: crvv
Maintainer: crvv
Last Packager: crvv
Votes: 32
Popularity: 2.577012
First Submitted: 2016-09-22 04:09
Last Updated: 2018-11-13 04:39

Latest Comments

1 2 3 Next › Last »

skynewz commented on 2018-12-02 14:25

Hi!

I have an issue when starting with systemd. I use git plugin in my Caddyfile. I have : ● caddy.service - Caddy HTTP/2 web server Loaded: loaded (/usr/lib/systemd/system/caddy.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Sun 2018-12-02 15:02:06 CET; 9min ago Docs: https://caddyserver.com/docs Process: 6326 ExecStart=/usr/bin/caddy -log stdout -agree -conf /etc/caddy/caddy.conf -root /tmp (code=exited, status=1/FAILURE) Main PID: 6326 (code=exited, status=1/FAILURE)

Dec 02 15:02:06 aloesia caddy[6326]: error: cannot open .git/FETCH_HEAD: Read-only file system Dec 02 15:02:06 aloesia caddy[6326]: 2018/12/02 15:02:06 exit status 1 Dec 02 15:02:06 aloesia caddy[6326]: touch: cannot touch '/srv/http/.ssh/known_hosts': Read-only file system Dec 02 15:02:06 aloesia caddy[6326]: /tmp/caddy491536462: line 5: /srv/http/.ssh/tmp_hosts: Read-only file system Dec 02 15:02:06 aloesia caddy[6326]: cat: /srv/http/.ssh/tmp_hosts: No such file or directory Dec 02 15:02:06 aloesia caddy[6326]: error: cannot open .git/FETCH_HEAD: Read-only file system Dec 02 15:02:06 aloesia caddy[6326]: 2018/12/02 15:02:06 exit status 1 Dec 02 15:02:06 aloesia caddy[6326]: 2018/12/02 15:02:06 exit status 1 Dec 02 15:02:06 aloesia systemd[1]: caddy.service: Main process exited, code=exited, status=1/FAILURE Dec 02 15:02:06 aloesia systemd[1]: caddy.service: Failed with result 'exit-code'.

And the caddy.service is not modified. Someone have an idea ?

hendry commented on 2018-09-08 13:26

UPDATE: Sorry for the noise, a reboot sorted it out.

On my rpi, my caddy has stopped working. I see:

Sep 08 21:22:46 study systemd[4122]: caddy.service: Failed to determine user credentials: No such process Sep 08 21:22:46 study systemd[4122]: caddy.service: Failed at step USER spawning /usr/bin/caddy: No such process

In the logs. Ummm, /usr/bin/caddy is there so I am very confused.

Main process exited, code=exited, status=217/USER

axionl commented on 2018-05-25 00:59

@crvv Yep. So, I hope you can give this default environment variable on PKGBUILD. Because I wanna add this package to archlinuxcn repository and when you building the package on the container (extra-x86_64-build from devtools) , the namcap checking will return an error and the package cannot be published.

crvv commented on 2018-05-24 05:47

@axionl Do you try to run makepkg on a machine without libc? I think this is impossible because pacman depends on glibc. If you want a binary which doesn't depend on libc, you can add export CGO_ENABLED=0 in PKGBUILD. And this is the default when you do cross compiling. glibc donsn't appear in dependencies of other packages (like https://www.archlinux.org/packages/extra/x86_64/go/)

axionl commented on 2018-05-23 14:15

missing a 'glibc' as depend?

ReDemoNBR commented on 2018-04-25 03:25

Builds and works nicely in my Raspberry Pi Zero W, which is arch armv6h.

I think it is safe to add it to the list of archs :)

crvv commented on 2018-03-05 14:16

@carlwgeorge Done.

carlwgeorge commented on 2018-03-05 13:43

@crvv Can you remove me as a co-maintainer?

crvv commented on 2017-11-24 07:14

@Svenstaro
"/var/log/caddy" was added in ReadWritePaths.

Svenstaro commented on 2017-11-22 10:56

I think /var/log/http or /var/log/caddy should be the expected location for logs as a similar system is also used by apache and nginx. I don't think there's a bad security implication waiting there.