Dashboard 403 issue after installing let's encrypt


#1

Hi everybody, I’ve recently install Quickbox on my server and everything work fine.
But since I’ve installed let’s encrypt with this wiki https://quickbox.io/wiki/install-lets-encrypt-on-your-seedbox/ I’ve a 403 Fordidden error on my dashboard. Other services work like ruTorrent, Couchpotato etc…

I’ve correctly do everything, even the last command. I don’t know what to do for access to my dashboard again.

This is my apache2 error log:

[Thu Apr 27 06:25:03.123452 2017] [auth_digest:notice] [pid 17189] AH01757: generating secret for digest authentication ...
[Thu Apr 27 06:25:03.124140 2017] [:notice] [pid 24500] FastCGI: process manager initialized (pid 24500)
[Thu Apr 27 06:25:03.145420 2017] [mpm_prefork:notice] [pid 17189] AH00163: Apache/2.4.10 (Debian) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_scgi/1.13 OpenSSL/1.0.1t configured -- resuming normal operations
[Thu Apr 27 06:25:03.145446 2017] [core:notice] [pid 17189] AH00094: Command line: '/usr/sbin/apache2'
[Thu Apr 27 08:13:33.315514 2017] [auth_digest:error] [pid 24503] [client 170.0.236.103:63096] AH01790: user `wampp' in realm `rutorrent' not found: /webdav/
[Thu Apr 27 10:50:21.834243 2017] [auth_digest:error] [pid 24505] [client 192.99.144.140:43962] AH01790: user `wampp' in realm `rutorrent' not found: /webdav/
[Thu Apr 27 12:04:18.712727 2017] [authz_core:error] [pid 24502] [client 90.47.128.58:51175] AH01630: client denied by server configuration: /svr
[Thu Apr 27 12:04:19.028616 2017] [authz_core:error] [pid 24502] [client 90.47.128.58:51175] AH01630: client denied by server configuration: /svr
[Thu Apr 27 12:08:34.351500 2017] [auth_digest:error] [pid 6085] [client 173.212.219.197:56252] AH01790: user `wampp' in realm `rutorrent' not found: /webdav/
[Thu Apr 27 12:22:32.735553 2017] [mpm_prefork:notice] [pid 17189] AH00171: Graceful restart requested, doing restart
[Thu Apr 27 12:22:32.811394 2017] [so:warn] [pid 17189] AH01574: module proxy_module is already loaded, skipping
AH00112: Warning: DocumentRoot [/svr/rutorrent/home] does not exist
[Thu Apr 27 12:22:32.814508 2017] [auth_digest:notice] [pid 17189] AH01757: generating secret for digest authentication ...
[Thu Apr 27 12:22:32.815182 2017] [:notice] [pid 12152] FastCGI: process manager initialized (pid 12152)
[Thu Apr 27 12:22:32.837411 2017] [mpm_prefork:notice] [pid 17189] AH00163: Apache/2.4.10 (Debian) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_scgi/1.13 OpenSSL/1.0.1t configured -- resuming normal operations
[Thu Apr 27 12:22:32.837432 2017] [core:notice] [pid 17189] AH00094: Command line: '/usr/sbin/apache2'
[Thu Apr 27 12:22:39.756345 2017] [authz_core:error] [pid 12153] [client 90.47.128.58:52034] AH01630: client denied by server configuration: /svr, referer: https://shinracorp.fr/
[Thu Apr 27 12:22:39.983644 2017] [authz_core:error] [pid 12153] [client 90.47.128.58:52034] AH01630: client denied by server configuration: /svr
[Thu Apr 27 12:22:40.115258 2017] [authz_core:error] [pid 12153] [client 90.47.128.58:52034] AH01630: client denied by server configuration: /svr
[Thu Apr 27 12:22:41.725072 2017] [authz_core:error] [pid 12153] [client 90.47.128.58:52034] AH01630: client denied by server configuration: /svr, referer: https://shinracorp.fr/
[Thu Apr 27 12:22:42.675815 2017] [authz_core:error] [pid 12153] [client 90.47.128.58:52034] AH01630: client denied by server configuration: /svr, referer: https://shinracorp.fr/
[Thu Apr 27 12:22:43.045372 2017] [authz_core:error] [pid 12153] [client 90.47.128.58:52034] AH01630: client denied by server configuration: /svr, referer: https://shinracorp.fr/
[Thu Apr 27 12:23:00.790966 2017] [authz_core:error] [pid 12156] [client 90.47.128.58:52069] AH01630: client denied by server configuration: /home/blackball/torrents/rtorrent, referer: https://192.99.11.195/
[Thu Apr 27 12:23:01.066058 2017] [authz_core:error] [pid 12156] [client 90.47.128.58:52069] AH01630: client denied by server configuration: /svr
[Thu Apr 27 12:23:01.190274 2017] [authz_core:error] [pid 12156] [client 90.47.128.58:52069] AH01630: client denied by server configuration: /svr
[Thu Apr 27 12:23:10.755996 2017] [authz_core:error] [pid 12153] [client 90.47.128.58:52078] AH01630: client denied by server configuration: /svr
[Thu Apr 27 12:23:31.158080 2017] [authz_core:error] [pid 12459] [client 90.47.128.58:52098] AH01630: client denied by server configuration: /svr
[Thu Apr 27 12:23:42.212976 2017] [authz_core:error] [pid 12470] [client 90.47.128.58:52108] AH01630: client denied by server configuration: /svr
[Thu Apr 27 12:24:33.114356 2017] [authz_core:error] [pid 12153] [client 90.47.128.58:52131] AH01630: client denied by server configuration: /svr
[Thu Apr 27 12:24:56.131926 2017] [authz_core:error] [pid 12460] [client 90.47.128.58:52148] AH01630: client denied by server configuration: /svr
[Thu Apr 27 12:25:19.826873 2017] [:error] [pid 12187] [client 90.47.128.58:52151] PHP Warning:  Declaration of rxmlrpcfix::run() should be compatible with rXMLRPCRequest::run($trusted = true) in /srv/rutorrent/plugins/filemanage$
[Thu Apr 27 12:25:24.303677 2017] [:error] [pid 12155] [client 90.47.128.58:52177] PHP Warning:  Declaration of rxmlrpcfix::run() should be compatible with rXMLRPCRequest::run($trusted = true) in /srv/rutorrent/plugins/filemanage$
[Thu Apr 27 12:26:36.012813 2017] [:error] [pid 12187] [client 90.47.128.58:52221] PHP Warning:  Declaration of rxmlrpcfix::run() should be compatible with rXMLRPCRequest::run($trusted = true) in /srv/rutorrent/plugins/filemanage$
[Thu Apr 27 12:27:00.455449 2017] [:error] [pid 12187] [client 90.47.128.58:52221] PHP Warning:  Declaration of rxmlrpcfix::run() should be compatible with rXMLRPCRequest::run($trusted = true) in /srv/rutorrent/plugins/filemanage$
[Thu Apr 27 12:27:03.642425 2017] [:error] [pid 12187] [client 90.47.128.58:52221] PHP Warning:  Declaration of rxmlrpcfix::run() should be compatible with rXMLRPCRequest::run($trusted = true) in /srv/rutorrent/plugins/filemanage$
[Thu Apr 27 12:27:21.372246 2017] [:error] [pid 12155] [client 90.47.128.58:52246] PHP Warning:  Declaration of rxmlrpcfix::run() should be compatible with rXMLRPCRequest::run($trusted = true) in /srv/rutorrent/plugins/filemanage$

Thanks


#2

Hey there @Black8all,

What do the following output:

ls -ld /srv/rutorrent

and

systemctl status apache2

Also, installing Let’s Encrypt as per that guide should not produce these results. We additionally have a command to do this for you with ease, it’s box install letsencrypt (must be ran as root). Have you done anything else that you can think of? Perhaps deleted an .htaccess file, modified an apache config, etc.?


#3

The first command result is: drwxr-xr-x 11 www-data www-data 4.0K Apr 16 00:24 /srv/rutorrent
And the second is:

`apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2)
  Drop-In: /lib/systemd/system/apache2.service.d
           └─forking.conf
   Active: active (running) since Wed 2017-04-26 11:56:50 CEST; 1 day 11h ago
  Process: 17138 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCES                                        S)
  Process: 12134 ExecReload=/etc/init.d/apache2 reload (code=exited, status=0/SU                                        CCESS)
  Process: 17170 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCC                                        ESS)
   CGroup: /system.slice/apache2.service
           ├─ 2289 /usr/sbin/apache2 -k start
           ├─ 2290 /usr/sbin/apache2 -k start
           ├─ 2409 /usr/sbin/apache2 -k start
           ├─ 2546 /usr/sbin/apache2 -k start
           ├─12152 /usr/sbin/fcgi-pm -k start
           ├─12155 /usr/sbin/apache2 -k start
           ├─12157 /usr/sbin/apache2 -k start
           ├─12187 /usr/sbin/apache2 -k start
           ├─12460 /usr/sbin/apache2 -k start
           ├─12921 /usr/sbin/apache2 -k start
           ├─15204 /usr/sbin/apache2 -k start
           └─17189 /usr/sbin/apache2 -k start

Apr 26 11:56:49 shinracorp.fr apache2[17170]: Starting web server: apache2[W...g
Apr 26 11:56:49 shinracorp.fr apache2[17170]: AH00112: Warning: DocumentRoot...t
Apr 26 11:56:50 shinracorp.fr apache2[17170]: .
Apr 26 11:56:50 shinracorp.fr systemd[1]: Started LSB: Apache2 web server.
Apr 27 06:25:02 shinracorp.fr systemd[1]: Reloading LSB: Apache2 web server.
Apr 27 06:25:03 shinracorp.fr apache2[24480]: Reloading web server: apache2.
Apr 27 06:25:03 shinracorp.fr systemd[1]: Reloaded LSB: Apache2 web server.
Apr 27 12:22:32 shinracorp.fr systemd[1]: Reloading LSB: Apache2 web server.
Apr 27 12:22:32 shinracorp.fr apache2[12134]: Reloading web server: apache2.
Apr 27 12:22:32 shinracorp.fr systemd[1]: Reloaded LSB: Apache2 web server.
Hint: Some lines were ellipsized, use -l to show in full`

I didn’t touch anything. The only thing I did is to configure my DNS for bind my domain name.

Edit: I finded the problem by myself :yum: my DocumentRoot path was /svr/rutorrent/home instead of /srv/rutorrent/home. Editing the 000-default-le-ssl.conf, file the problem was solved.

Thans for your help.