spujadas / lighttpd-docker

Docker image for lighttpd, a secure, fast, compliant, and flexible web server
MIT License
59 stars 65 forks source link

The latest update breaks everything #8

Closed sprnza closed 5 years ago

sprnza commented 5 years ago

Hi there! It seems like the latest PR breaks all services for me

chmod: /dev/pts/0: No such file or directory
2019-06-21 20:24:14: (server.c.748) opening errorlog '/dev/pts/0' failed: Permission denied
2019-06-21 20:24:14: (server.c.1518) Opening errorlog failed. Going down. 
spujadas commented 5 years ago

Reproduced using docker-compose: the config file was missing the tty: true option (corresponding to docker's -t option). I've updated docker-compose.yml if you want to give it another shot.

henkelmax commented 5 years ago

Same problem...

chmod: /dev/pts/0: No such file or directory
2019-06-22 01:16:20: (server.c.748) opening errorlog '/dev/pts/0' failed: Permission denied
2019-06-22 01:16:20: (server.c.1518) Opening errorlog failed. Going down.
sprnza commented 5 years ago

Thanks! The suggested has fixed the issue!

Prabhjot-Sethi commented 5 years ago

chmod: /dev/pts/0: No such file or directory 2019-06-24 19:01:42: (server.c.748) opening errorlog '/dev/pts/0' failed: Permission denied 2019-06-24 19:01:42: (server.c.1518) Opening errorlog failed. Going down. chmod: /dev/pts/0: No such file or directory 2019-06-24 19:08:30: (server.c.748) opening errorlog '/dev/pts/0' failed: Permission denied 2019-06-24 19:08:30: (server.c.1518) Opening errorlog failed. Going down.

still seeing the same issue after picking the latest code.

spujadas commented 5 years ago

@Prabhjot-Sethi How are you starting the container?

Prabhjot-Sethi commented 5 years ago

ok i see, using -t options solves the problem. Thank you

larsks commented 1 year ago

But why does lighttpd need a tty device in the first place? It's a web server, not a curses program.