anandslab / AtoMiC-ToolKit

AtoMiC Toolkit simplifies HTPC / Home Server setup and management on Ubuntu and Debian variants including Raspbian. It currently supports: Couchpotato, Deluged, Emby, FFmpeg, Headphones, Htpcmanager, Jackett, Kodi, Lazylibrarian, Madsonic, Mono, Mylar, Nzbget, Nzbhydra, NzbToMedia, Ombi, Plex, Plexpy, Pyload, qBittorrent, Radarr, Sabnzbd+, Sickgear, Sickrage, Sonarr, Subsonic, Transmission, Unrar, Watcher, and Webmin.
https://www.smarthomebeginner.com
MIT License
841 stars 115 forks source link

Nginx fails to start on rutorrent installation. #298

Open ghost opened 5 years ago

ghost commented 5 years ago

New features

Please visit http://feathub.com/htpcBeginner/AtoMiC-ToolKit

The problem

I get this error when i try to install rutorrent. I tried also installing nginx only but didn't work either.

--->Starting Nginx...
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
nginx.service is now: failed

My Linux distribution and version is:

Ubuntu 16.04 LTS

I'm seeing this behaviour on:

Link to install logs

https://gist.github.com/iwantedsupernovabutitwastaken/347e335b55fc482daaeceef5541064af

I'm not a dummy, so I've checked these!

ghost commented 5 years ago

Could be that the installation/compilation doesn't create the unit file:

$ sudo systemctl restart nginx.service
Failed to restart nginx.service: Unit nginx.service not found.

Have found this but I don't know where the paths should point to. Help with paths?

McFlyPartages commented 5 years ago

nano /etc/nginx/nginx.conf

comment two ligne SSL exemple ` ##

SSL Settings

    ##

    #ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
    #ssl_prefer_server_ciphers on;`

And nano /etc/nginx/sites-enabled/server.atomic.conf

comment ` listen 80;

listen [::]:80;

listen 443 ssl http2;

listen [::]:443 ssl http2;`

nemchik commented 5 years ago

All of the devs that used to maintain this project have moved on to docker.

Please check out https://dockstarter.com/ it's very much like ATK for Docker.

McFlyPartages commented 5 years ago

If all dev have moved into Docker else delete the unbuntu branch but dont follower the developpement of other branch.

Sorry for my bad english

nemchik commented 5 years ago

I think maybe you have misunderstood.

Nobody has moved on from Ubuntu. Docker runs on Ubuntu (and other OS as well). The devs of this project have started using docker on their Ubuntu systems.

The link I sent to DockSTARTer is not a new branch of ATK, it's an entirely new project.

There is still plenty of historical value in the ATK repo and no need to delete anything here. The readme and issue template have both been updated to point people in the direction of DockSTARTer.

McFlyPartages commented 5 years ago

Sorry and thanks for this explication