25-Apr-2021, 10:27 AM
(24-Apr-2021, 09:31 PM)agent_kith Wrote:Contents of netsat:(23-Apr-2021, 03:33 AM)mkysimes Wrote: Same for me. Only tried 20.04.2 LTS server as base. Did notice after install of Snakeoil and reboot there is no change in messaging on boot screen. In other words, if Snakeoil is running there is no indication on boot. Not sure if that's what's supposed to happen or not.If you see the login prompt, hit the ENTER key a few times and you should see a prompt for your IP. If that doesn't show up then it means something is wrong.
Spent about half an hour trying to add more diagnostics things into the diagnostic file generation bit.. And then realise that's not gonna work because the WebApp itself isn't working!
Can you or anybody with the forbidden problem SSH to your snakeoil machine, and run this?
Code:netstat -tulpn|grep 80
Also, copy out the contents of /etc/lighttpd/lighttpd.conf and paste it here. I still can't find any obvious reasons why it's not working, but I have tweaked the installer to unpack and install the blobs during the installation. That should at least fix some potential problems.
The installer is close to be released officially now, just need to settle one final issue, and this forbidden problem.
Once the installer is out I can work on the kernel builder and also update the WebApp to the latest angular (I'm a gun Angular developer now and have lots of new tricks/ideas for the webapp). <- That will happen in 1.2.1 or later though.
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1753/lighttpd
udp6 0 0 fe80::dea6:32ff:fe4:546 :::* 1634/systemd-networ
Contents of lighttpd.conf:
server.modules = (
"mod_indexfile",
"mod_access",
"mod_alias",
"mod_redirect",
)
server.document-root = "/var/www/"
server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
server.errorlog = "/var/log/lighttpd/error.log"
server.pid-file = "/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/li...ptsDetails
# (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 port
## Use ipv6 if available
#include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
include_shell "/usr/share/lighttpd/create-mime.conf.pl"
include "/etc/lighttpd/conf-enabled/*.conf"
#server.compat-module-load = "disable"
server.modules += (
"mod_compress",
"mod_dirlisting",
"mod_staticfile",
)
proxy.server = (
"/api" => ( (
"host" => "127.0.0.1",
"port" => 30511
) )
)
Hopefully that helps
