Everything posted by sgt_spike
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
Not sure what other ip to use. I used the tower's ip for the hostname For the looks of it I am getting a successful connection just cannot query the database I created. <?php $sql = "SELECT * FROM movies"; $result = $dbconnect->query($sql); if ($result->num_rows > 0) { echo "<table><tr><th>Movie_ID</th><th>Movie Name</th><th>Media</th></tr>"; // output data of each row while($row = $result->fetch_assoc()) { echo "<tr><td>" . $row["movie_id"]. "</td><td>" . $row["title"]. " " . $row["media"]. "</td></tr>"; } echo "</table>"; } else { echo "0 results"; } $conn->close(); ?> perhaps I have the code wrong here
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
Trying to connect mariadb database and was checking the logs. I found this error log from nginx error log folder. can someone explain this error to me and how to resolve it: thrown in /config/www/bacmedia/index.php on line 35" while reading response header from upstream, client: 192.168.1.1, server: bacnet.duckdns.org, request: "GET /bacmedia/index.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "bacnet.duckdns.org", referrer: "https://bacnet.duckdns.org/bacmedia/index.php" 2018/04/27 23:34:43 [error] 378#378: *921 FastCGI sent in stderr: "PHP message: PHP Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name does not resolve in /config/www/bacmedia/index.php on line 20 PHP message: PHP Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name does not resolve in /config/www/bacmedia/index.php on line 20 PHP message: PHP Notice: Trying to get property of non-object in /config/www/bacmedia/index.php on line 22 PHP message: PHP Fatal error: Uncaught Error: Call to a member function query() on boolean in /config/www/bacmedia/index.php:35 Stack trace:
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
Can you please be more specific?
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
connecting to mariadb I have letsencrypt docker and mariadb docker installed on unraid. I want to host a site that can query the db to some me movie titles thx
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
Could someone point me in the right direction to setup a connection to mariadb? I want to be able to connect to a db from a webpage and query it.
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
How did you find out the current cert was good until May 6?
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
Is it common to get an email from letsencrypt that my certs are about to expire? Your certificate (or certificates) for the names listed below will expire in20 days (on 13 Apr 18 00:22 +0000). Please make sure to renewyour certificate before then, or visitors to your website will encounter errors.bacnet.duckdns.org Do I need to renew my certs? I was under the impression they would renew.
-
[Support] Linuxserver.io - MariaDB
Do I need to install PDO to be able to connect using PHP?
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
Looks like we are having the same issue.
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
letsencrypt fails to start after recent update. Not sure what has changed. [cont-init.d] 20-config: exited 0.[cont-init.d] 30-keygen: executing...using keys found in /config/keys[cont-init.d] 30-keygen: exited 0.[cont-init.d] 50-config: executing...2048 bit DH parameters presentSUBDOMAINS entered, processingOnly subdomains, no URL in certSub-domains processed are: -d bacnet.bacnet.duckdns.org -d btchriss.bacnet.duckdns.orgE-mail address entered: [email protected] sub/domains entered than what was used before. Revoking and deleting existing certificate, and an updated one will be createdusage:certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...Certbot can obtain and install HTTPS/TLS/SSL certificates. By default,it will attempt to use a webserver both for obtaining and installing thecertificate.certbot: error: argument --cert-path: No such file or directoryGenerating new certificateSaving debug log to /var/log/letsencrypt/letsencrypt.logPlugins selected: Authenticator standalone, Installer NoneObtaining a new certificatePerforming the following challenges:Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.IMPORTANT NOTES:- Your account credentials have been saved in your Certbotconfiguration directory at /etc/letsencrypt. You should make asecure backup of this folder now. This configuration directory willalso contain certificates and private keys obtained by Certbot somaking regular backups of this folder is ideal./var/run/s6/etc/cont-init.d/50-config: line 134: cd: /config/keys/letsencrypt: No such file or directory[cont-init.d] 50-config: exited 1.[cont-finish.d] executing container finish scripts...[cont-finish.d] done.[s6-finish] syncing disks.[s6-finish] sending all processes the TERM signal.[s6-finish] sending all processes the KILL signal and exiting.
-
[Support] Djoss - HandBrake
That's all I need to know. thanks
-
[Support] Djoss - HandBrake
Is there a setting that sets when to burn in the /watch folder?
-
[Support] Djoss - HandBrake
I did use the CA to install. I've corrected the connection by changing the /media path. now I'm able to get into handbrake. That was weird.
-
[Support] Djoss - HandBrake
After using this docker once It has stop connecting to handbrake. I'm not sure what the problem is. I just get "error-problem connecting"
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
I figured out my problem. My ISP was giving me a different IP than the one being broadcast. Call them and they hooked me up with a public dynamic IP. The server started correctly and got the keys. I do have a question about the web pages. I have pages stored on a share and want to use that instead of the www directory. How do I configure default to point to those pages? The default has a line; root /config/www. does root = /mnt/user/appdata/letsencrypt?
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
Did as you suggest. Got the same error. I was looking around and opened to the "don'teditthisfile.conf" and noticed it never updateds when I changed the docker settings. I removed the docker and re-installed it. Do I need to supply a pw along with the email address in order to gain access to my duckdns.org account?
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
Don't do what? What's incorrect? No I got the same error message. I feel like I have something missing. I just don't know
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
Seems like I get the same errors [cont-init.d] 10-adduser: exited 0.[cont-init.d] 20-config: executing...[cont-init.d] 20-config: exited 0.[cont-init.d] 30-keygen: executing...using keys found in /config/keys[cont-init.d] 30-keygen: exited 0.[cont-init.d] 50-config: executing...2048 bit DH parameters presentNo subdomains definedE-mail address entered: [email protected] sub/domains entered than what was used before. Revoking and deleting existing certificate, and an updated one will be createdusage:certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...Certbot can obtain and install HTTPS/TLS/SSL certificates. By default,it will attempt to use a webserver both for obtaining and installing thecert.certbot: error: argument --cert-path: No such file or directoryGenerating new certificateSaving debug log to /var/log/letsencrypt/letsencrypt.logObtaining a new certificatePerforming the following challenges:tls-sni-01 challenge for bacnet.duckdns.orgWaiting for verification...Cleaning up challengesFailed authorization procedure. bacnet.duckdns.org (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: TimeoutIMPORTANT NOTES:- The following errors were reported by the server:Domain: bacnet.duckdns.orgType: connectionDetail: TimeoutTo fix these errors, please make sure that your domain name wasentered correctly and the DNS A record(s) for that domaincontain(s) the right IP address. Additionally, please check thatyour computer has a publicly routable IP address and that nofirewalls are preventing the server from communicating with theclient. If you're using the webroot plugin, you should also verifythat you are serving files from the webroot path you provided.- Your account credentials have been saved in your Certbotconfiguration directory at /etc/letsencrypt. You should make asecure backup of this folder now. This configuration directory willalso contain certificates and private keys obtained by Certbot somaking regular backups of this folder is ideal./var/run/s6/etc/cont-init.d/50-config: line 127: cd: /config/keys/letsencrypt: No such file or directory[cont-init.d] 50-config: exited 1.[cont-finish.d] executing container finish scripts...[cont-finish.d] done.[s6-finish] syncing disks.[s6-finish] sending all processes the TERM signal.[s6-finish] sending all processes the KILL signal and exiting.
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
Yes it does
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
for the settings, duckdns.org should be the domain and bacnet should be in the subdomain? to forward bacnet to unraid do I edit the duckdns docker?
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
Every time I start the docker I get the following message in the log; Brought to you by linuxserver.ioWe gratefully accept donations at:https://www.linuxserver.io/donations/-------------------------------------GID/UID-------------------------------------User uid: 99User gid: 100-------------------------------------[cont-init.d] 10-adduser: exited 0.[cont-init.d] 20-config: executing...[cont-init.d] 20-config: exited 0.[cont-init.d] 30-keygen: executing...using keys found in /config/keys[cont-init.d] 30-keygen: exited 0.[cont-init.d] 50-config: executing...2048 bit DH parameters presentSUBDOMAINS entered, processingSub-domains processed are: -d bacnet.duckdns.orgE-mail address entered: [email protected] new certificateSaving debug log to /var/log/letsencrypt/letsencrypt.logObtaining a new certificatePerforming the following challenges:tls-sni-01 challenge for duckdns.orgtls-sni-01 challenge for bacnet.duckdns.orgWaiting for verification...Cleaning up challengesIMPORTANT NOTES:Failed authorization procedure. duckdns.org (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Timeout, bacnet.duckdns.org (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Timeout- The following errors were reported by the server:Domain: duckdns.orgType: connectionDetail: TimeoutDomain: bacnet.duckdns.orgType: connectionDetail: TimeoutTo fix these errors, please make sure that your domain name wasentered correctly and the DNS A record(s) for that domaincontain(s) the right IP address. Additionally, please check thatyour computer has a publicly routable IP address and that nofirewalls are preventing the server from communicating with theclient. If you're using the webroot plugin, you should also verifythat you are serving files from the webroot path you provided./var/run/s6/etc/cont-init.d/50-config: line 127: cd: /config/keys/letsencrypt: No such file or directory[cont-init.d] 50-config: exited 1.[cont-finish.d] executing container finish scripts...[cont-finish.d] done.[s6-finish] syncing disks.[s6-finish] sending all processes the TERM signal.[s6-finish] sending all processes the KILL signal and exiting.
-
Dynamix - V6 Plugins
Is powerdown-x86_64.plg not supported anymore? If so what's the alternative?
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
I would appreciate some assistance setting this webserver up to host just a website. I don't need to access any dockers at this time. I am new to website hosting. I have setup the duckdns docker and have registered with the site. I have put my html files on a separate share in unraid. It seems was able to get a key from letenscypt. Which file do I edit, default, to get the server to publish the site