I have upgraded the server and unfortunately there are issues with lighttpd. Therefore our trac is down right now. :-(
here is error.log:
2022-02-1317:02:45:server.c.1513)serverstarted(lighttpd/1.4.59)2022-02-1317:02:45:mod_deflate.c.567)DEPRECATED:compress.filetypereplacedwithdeflate.mimetypes2022-02-1317:02:45:mod_deflate.c.580)DEPRECATED:compress.cache-dirreplacedwithdeflate.cache-dir2022-02-1317:02:45:gw_backend.c.475)unlink/var/run/tmp/trac.sock-0afterconnectfailed:Connectionrefused2022-02-1317:02:45:gw_backend.c.325)childexited:2unix:/var/run/tmp/trac.sock-02022-02-1317:02:45:gw_backend.c.601)gw-backendfailedtostart:/var/www/trac.fcgi2022-02-1317:02:45:gw_backend.c.603)Ifyou're trying to run your app as a FastCGI backend, make sure you'reusingtheFastCGI-enabledversion.IfthisisPHPonGentoo,add'fastcgi'totheUSEflags.IfthisisPHP,tryremovingthebytecodecachesfornowandtryagain.2022-02-1317:02:45:gw_backend.c.1655)[ERROR]:spawninggwfailed.2022-02-1317:02:45:server.c.1517)Configurationofpluginsfailed.Goingdown.
If anybody knows anything let me know.
Do you know how I can fix those DEPRECATED messages? The config is:
server.modules=("mod_access","mod_alias","mod_auth","mod_compress","mod_fastcgi","mod_openssl","mod_redirect")server.document-root="/var/www/html"server.upload-dirs=("/var/cache/lighttpd/uploads")accesslog.filename="/var/log/lighttpd/access.log"server.errorlog="/var/log/lighttpd/error.log"server.pid-file="/var/run/lighttpd.pid"server.username="www-data"server.groupname="www-data"server.port=80# strict parsing and normalization of URL for consistency and security# https://redmine.lighttpd.net/projects/lighttpd/wiki/Server_http-parseoptsDetails# (might need to explicitly set "url-path-2f-decode" = "disable"# if a specific application is encoding URLs inside url-path)server.http-parseopts=("header-strict"=>"enable",# default"host-strict"=>"enable",# default"host-normalize"=>"enable",# default"url-normalize-unreserved"=>"enable",# recommended highly"url-normalize-required"=>"enable",# recommended"url-ctrls-reject"=>"enable",# recommended"url-path-2f-decode"=>"enable",# recommended highly (unless breaks app)#"url-path-2f-reject" => "enable","url-path-dotseg-remove"=>"enable",# recommended highly (unless breaks app)#"url-path-dotseg-reject" => "enable",#"url-query-20-plus" => "enable",# consistency in query string)index-file.names=("index.php","index.html")url.access-deny=("~",".inc")static-file.exclude-extensions=(".php",".pl",".fcgi")compress.cache-dir="/var/cache/lighttpd/compress/"compress.filetype=("application/javascript","text/css","text/html","text/plain")# default listening port for IPv6 falls back to the IPv4 portinclude_shell"/usr/share/lighttpd/use-ipv6.pl "+server.portinclude_shell"/usr/share/lighttpd/create-mime.conf.pl"include"/etc/lighttpd/conf-enabled/*.conf"# Configure SSL$SERVER["socket"]==":443"{ssl.engine="enable"ssl.pemfile="/etc/letsencrypt/live/trac.cppcheck.net/ssl.pem"ssl.ca-file="/etc/letsencrypt/live/trac.cppcheck.net/fullchain.pem"ssl.dh-file="/etc/ssl/certs/dhparam.pem"ssl.ec-curve="secp384r1"ssl.honor-cipher-order="enable"ssl.cipher-list="EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH"ssl.use-compression="disable"setenv.add-response-header=("Strict-Transport-Security"=>"max-age=63072000; includeSubdomains; preload","X-Frame-Options"=>"DENY","X-Content-Type-Options"=>"nosniff")ssl.use-sslv2="disable"ssl.use-sslv3="enable"}# Redirect http connections to https$HTTP["scheme"]=="http"{# capture vhost name with regex conditiona -> %0 in redirect pattern# must be the most inner block to the redirect rule$HTTP["host"]=~".*"{url.redirect=(".*"=>"https://%0$0")}}# Run /var/trac-cppcheck$HTTP["host"]=="trac.cppcheck.net"{server.document-root="/var/trac-cppcheck"auth.backend.htpasswd.userfile="/var/trac-cppcheck/.htpasswd"$HTTP["url"]=~"^/"{fastcgi.server=("/"=>((# options needed to have lighty spawn trac"bin-path"=>"/var/www/trac.fcgi","min-procs"=>1,"max-procs"=>1,"bin-environment"=>("TRAC_ENV_PARENT_DIR"=>"/var/trac-cppcheck/",),# options needed in all cases"socket"=>"/tmp/trac.sock","check-local"=>"disable",# optional"disable-time"=>1,# needed if trac_prefix is empty; and you need >= 1.4.23"fix-root-scriptname"=>"enable",),),)}# end of $HTTP["url"] =~ "^/" }# end of $HTTP["host"] == "trac.cppcheck.net"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The Trac installation is not working well. Trac uses python 2.x and that was removed from debian. Well I could install python 2.x but I still get some problems..
Somehow I need to ensure that trac is found .. do you have some clever ideas?
As far as I see the trac files are saved in path /usr/local/lib/python2.7/dist-packages/trac/
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have upgraded the server and unfortunately there are issues with lighttpd. Therefore our trac is down right now. :-(
here is error.log:
If anybody knows anything let me know.
Do you know how I can fix those DEPRECATED messages? The config is:
The Trac installation is not working well. Trac uses python 2.x and that was removed from debian. Well I could install python 2.x but I still get some problems..
Somehow I need to ensure that trac is found .. do you have some clever ideas?
As far as I see the trac files are saved in path
/usr/local/lib/python2.7/dist-packages/trac/
hmm..
Trac seems to be up now again.
The error.log says:
Any help to resolve those would be appreciated!