oui j'ai reload nginx mais rien à faire x)

    xavier

    ls -al /etc/nginx/ratxabox.d
    total 20
    drwxr-xr-x 2 root root 4096 Oct 21 18:59 .
    drwxr-xr-x 7 root root 4096 Oct 4 01:18 ..
    -rw-r--r-- 1 root root 201 Oct 4 01:53 esm.conf
    -rw-r--r-- 1 root root 1744 Oct 21 18:49 medusa.back
    -rw-r--r-- 1 root root 823 Oct 21 18:59 medusa.conf

      Kyuu972
      ben non ça vient pas de la, car si tu crée un fichier back.medusa.conf il sera pris en compte par nginx

        xavier je viens de le créer pour conserver l'original, je ne comprends pas pourquoi ça fonctionne que sur smartphone... 😅

        @Kyuu972 questions subsidiaires :
        quand tu accedes via ton smartphone, tu utilise la meme connexion que ton mac ?
        et c'est un serveur dédié chez un hebergeur ou une machine locale ?

        Oui c'est la même connexion, que ça soit sur MAC ou PC rien à faire... C'est un serveur dédié.

        et dans /var/log/nginx/rutorrent-error.log ?

          MattProd

          2019/10/21 13:11:25 [error] 658#658: *18159 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 59.46.190.24, server: _, request: "GET /TP/public/index.p$
          2019/10/21 13:11:26 [error] 658#658: *18161 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 59.46.190.24, server: _, request: "GET /TP/index.php HTTP$
          2019/10/21 13:11:27 [error] 658#658: *18163 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 59.46.190.24, server: _, request: "GET /thinkphp/html/pub$
          2019/10/21 13:11:27 [error] 658#658: *18165 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 59.46.190.24, server: _, request: "GET /html/public/index$
          2019/10/21 13:11:27 [error] 658#658: *18167 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 59.46.190.24, server: _, request: "GET /public/index.php $
          2019/10/21 13:11:28 [error] 658#658: *18169 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 59.46.190.24, server: _, request: "GET /TP/html/public/in$
          2019/10/21 13:11:29 [error] 658#658: *18171 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 59.46.190.24, server: _, request: "GET /elrekt.php HTTP/1$
          2019/10/21 13:11:29 [error] 658#658: *18173 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 59.46.190.24, server: _, request: "GET /index.php HTTP/1.$
          2019/10/21 16:01:06 [error] 658#658: *18289 open() "/var/www/base/remote/login" failed (2: No such file or directory), client: 128.14.134.134, server: _, request: "GET /remote/login HTTP/1.1", host: "62.$
          2019/10/21 19:13:58 [error] 27451#27451: *19513 open() "/var/www/base/editBlackAndWhiteList" failed (2: No such file or directory), client: 62.150.191.141, server: _, request: "POST /editBlackAndWhiteLis$

          déja y' un truc qui charge dans le vide ... j'installe une ratxabox pour voir un truc, j'ai un mac sous la main au boutot

          et un systemctl status nginx.service ?

          je rencontre en effet le meme probleme que toi.

          Ok j'ai résolu mon problème, essayons de voir si on peut résoudre le tient.
          dans le fichier /etc/nginx/nginx.conf à la ligne :
          use epoll; # bla bla bla
          tu dégage ce qu'il y'a derriere le # y compris le #, ca t'evitera une mauvaise surprise si un jour tu fout un certificat avec certbot ou letsencrypt.

          Maintenant direction : /etc/nginx/ratxabox.d/medusa.conf :
          on va modifier les deux lignes :
          proxy_set_header X-Forwarded-Host $host:443;
          en
          proxy_set_header X-Forwarded-Host $host:80;

          et

          proxy_set_header X-Forwarded-Port 443;
          en
          proxy_set_header X-Forwarded-Port 80;

          un petit systemctl restart nginx
          et recharge ta page

          ca viens du https, je lui colle un nom de domaine et un certificat valide je me retrouve au meme endroit qu'avant.
          on va continuer de chercher et d'elucider

          donc : si pas de certificat ssl : il faut modifier les ports en 80 dans le reverse, si tu as un certificat tu remet 443

            9 jours plus tard

            Hello!
            J'ai formaté mon serveur et j'ai réinstallé le script.
            Pour l'occasion, j'ai voulu installer emby à la place de Plex, mais je rencontre un pb:
            `
            Do you want to continue (y/n): y

            Select an option

            **Bonobox**
            1 : Add user
            2 : Suspend user
            3 : Restore user
            4 : Change password
            5 : Remove user
            6 : Debug
            7 : Quit

            **RatXaBox**
            50 : Install Plex
            51 : Install Emby
            52 : Install OpenVpn/Managed Users
            53 : Install filebot
            54 : Install SyncThing
            55 : Install Sickrage
            56 : Install Couchpotato
            57 : Install Medusa
            58 : Install eZ Server Monitor
            59 : Installer Jackett
            Number: 51
            --2019-10-31 14:04:04-- http://download.opensuse.org/repositories/home:emby/Debian_9.0/Release.key
            Resolving download.opensuse.org (download.opensuse.org)... 2620:113:80c0:8::13, 195.135.221.134
            Connecting to download.opensuse.org (download.opensuse.org)|2620:113:80c0:8::13|:80... connected.
            HTTP request sent, awaiting response... 301 Moved Permanently
            Location: http://download.opensuse.org/repositories/home:/emby/Debian_9.0/Release.key [following]
            --2019-10-31 14:04:04-- http://download.opensuse.org/repositories/home:/emby/Debian_9.0/Release.key
            Reusing existing connection to [download.opensuse.org]:80.
            HTTP request sent, awaiting response... 200 OK
            Length: 1088 (1.1K)
            Saving to: ‘Release.key’

            Release.key 100%[===================>] 1.06K --.-KB/s in 0s

            2019-10-31 14:04:04 (137 MB/s) - ‘Release.key’ saved [1088/1088]

            OK
            Ign http://ftp.fr.debian.org/debian stretch InRelease
            Hit http://security.debian.org/debian-security stretch/updates InRelease
            Hit http://www.deb-multimedia.org stretch InRelease
            Hit http://ftp.fr.debian.org/debian stretch-updates InRelease

            Hit http://ftp.fr.debian.org/debian stretch Release
            Hit http://nginx.org/packages/debian stretch InRelease
            Ign http://mediaarea.net/repo/deb/debian stretch InRelease

            Ign http://ftp2.fr.debian.org/debian stretch InRelease

            Hit http://ftp2.fr.debian.org/debian stretch Release
            Hit http://mediaarea.net/repo/deb/debian stretch Release
            Ign http://download.opensuse.org/repositories/home:/emby/Debian_9.0 InRelease
            Hit https://packages.sury.org/php stretch InRelease
            Get: 1 http://download.opensuse.org/repositories/home:/emby/Debian_9.0 Release [992 B]
            Get: 2 http://download.opensuse.org/repositories/home:/emby/Debian_9.0 Release.gpg [481 B]
            Ign http://download.opensuse.org/repositories/home:/emby/Debian_9.0 Release.gpg
            Fetched 1,473 B in 1s (1,069 B/s)
            W: GPG error: http://download.opensuse.org/repositories/home:/emby/Debian_9.0 Release: The following signatures were invalid: EXPKEYSIG 0A506F712A7D8A28 home:emby OBS Project <home:emby@build.opensuse.org>
            E: The repository 'http://download.opensuse.org/repositories/home:/emby/Debian_9.0 Release' is not signed.
            E: Failed to download some files


            Couldn't find any package whose name or description matched "emby-server"
            Unable to apply some actions, aborting
            Cloning into '/var/www/rutorrent/plugins/linkemby'...
            remote: Enumerating objects: 36, done.
            remote: Total 36 (delta 0), reused 0 (delta 0), pack-reused 36
            Unpacking objects: 100% (36/36), done.
            Reading package lists... Done
            Building dependency tree

            Reading state information... Done
            net-tools is already the newest version (1.60+git20161116.90da8a0-1).
            0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

            `
            Script lancé sur une install fraiche de Debian 9.
            Merci!

              Kkwete
              Salut
              Supprime /etc/apt/sources.list.d/emby-server.list
              puis

              wget https://github.com/MediaBrowser/Emby.Releases/releases/download/4.2.1.0/emby-server-deb_4.2.1.0_amd64.deb
              dpkg -i emby-server-deb_4.2.1.0_amd64.deb

              Voila

              ok merci!
              emby se mettra à jour automatiquement par la suite?