QuickBox / QB

QuickBox is much more than a ‘seedbox installer script’, it is a simplistic approach to achieving easy seedbox and services management from a beautifully designed dashboard. Allowing users the ability to interact with their seedbox and server on a professional grade level.
https://quickbox.io
GNU General Public License v3.0
737 stars 171 forks source link

Box Not Start APACHE - SSL? #56

Closed kanenses closed 7 years ago

kanenses commented 7 years ago

error from - systemctl status apache2.service Aug 18 03:02:01 domain.info apache2[1262]: Output of config test was: Aug 18 03:02:01 domain.info apache2[1262]: [Fri Aug 18 03:02:01.362645 2017] [so:warn] [pid 1272] AH01574: module proxy_modul Aug 18 03:02:01 domain.info apache2[1262]: AH00526: Syntax error on line 40 of /etc/apache2/sites-enabled/default-ssl.conf: Aug 18 03:02:01 domain.info apache2[1262]: SSLCertificateFile: file '/etc/ssl/certs/ssl-cert-snakeoil.pem' does not exist or Aug 18 03:02:01 domain.info apache2[1262]: Action 'configtest' failed. Aug 18 03:02:01 domain.info apache2[1262]: The Apache error log may have more information. Aug 18 03:02:01 domain.info systemd[1]: apache2.service: Control process exited, code=exited status=1 Aug 18 03:02:01 domain.info systemd[1]: Failed to start LSB: Apache2 web server. Aug 18 03:02:01 domain.info systemd[1]: apache2.service: Unit entered failed state. Aug 18 03:02:01 domain.info systemd[1]: apache2.service: Failed with result 'exit-code'. add journalctl -xe Aug 18 03:02:01 domain.info systemd[1]: apache2.service: Unit entered failed state. Aug 18 03:02:01 domain.info systemd[1]: apache2.service: Failed with result 'exit-code'. Aug 18 03:02:01 domain.info sudo[1259]: pam_unix(sudo:session): session closed for user root Aug 18 03:02:01 domain.info CRON[1277]: pam_unix(cron:session): session opened for user root by (uid=0) Aug 18 03:02:01 domain.info CRON[1278]: (root) CMD (bash /usr/local/bin/quickbox/system/set_interface) Aug 18 03:02:01 domain.info CRON[1277]: pam_unix(cron:session): session closed for user root Aug 18 03:03:01 domain.info CRON[1288]: pam_unix(cron:session): session opened for user root by (uid=0) Aug 18 03:03:01 domain.info CRON[1289]: (root) CMD (bash /usr/local/bin/quickbox/system/set_interface) Aug 18 03:03:01 domain.info CRON[1288]: pam_unix(cron:session): session closed for user root Aug 18 03:04:01 domain.info CRON[1296]: pam_unix(cron:session): session opened for user root by (uid=0) Aug 18 03:04:01 domain.info CRON[1297]: (root) CMD (bash /usr/local/bin/quickbox/system/set_interface) Aug 18 03:04:01 domain.info CRON[1296]: pam_unix(cron:session): session closed for user root

anyhelp please :-)

kanenses commented 7 years ago

I try install lets encrypt, and get missing sal cert, as with self signed

I try comment server host certs até vhost, apache start but nothing, get not connect on browser Windows.

OS: UBUNTU 16.04.3 LTS x64 Host provide: servdiscount

Thank you

_Sent from my Asus ASUSX00AD using FastHub

ghost commented 7 years ago

You need to setup letsencrypt first before cloudflare. remove the site from cloudflare and wait a bit.

box remove letsencrypt reboot box install letsencrypt

then it should be ok?

kanenses commented 7 years ago

Hello,

I not use cloudflare, I not have letsencrypt installed on the end of qb installed, and box not open. It as allways with apache...

ghost commented 7 years ago

Regardless....

Box remove letsencrypt

Reboot

Box install letencrypt

Follow instructions.

ghost commented 7 years ago

Also sounds like you need to edit your ssl conf, check the github for the config and replace the snake oil line.

kanenses commented 7 years ago

@danjames92 for some reason after run box install letsencrypt, the remove command respond: package not found. :-(

kanenses commented 7 years ago

@danjames92 In fact, my sal conf not contain as default file as here: SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem

SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key

My as Little different, looks as: /etc/apache2/ssl-cert-snakeoil.key

Can be this reason!?

But after run box letsencrypt, still not working :-(

ghost commented 7 years ago

You want to edit your file back to this...

https://github.com/QuickBox/QB/blob/master/setup/templates/default-ssl.conf.template

kanenses commented 7 years ago

@danjames92 Will give a try... Do you think will correct issue with letsencrypt too!?

kanenses commented 7 years ago

I have reinstall from scratch and follow the default-ssl.conf, its not working :-( any idea please?

Thank you

kanenses commented 7 years ago

I have try alot of things nothing to be working :-( I have noted now that .config folder under my user not exist, it seems to me, is a issue with quickbox and distro os by servdiscount :-(