KloxoNGCommunity / kloxo

Kloxo 8 - A rebuild of KloxoNG for EL 8, 9 and beyond
https://kloxo.org
GNU Affero General Public License v3.0
3 stars 0 forks source link

nginx cannot be installed from webui #20

Closed djsakisd closed 14 hours ago

djsakisd commented 3 days ago

@kloxoNG Hi

On fresh install nginx cannot be installed from webui -> {Switch Program} . I installed it with yum and it seems to work fine.

Another issue i found is when running /script/restart-web wont restart nginx but will stop httpd.

sh /script/sysinfo -y
A. Control Panel:
   - Kloxo: 8.0.0-24
   - Web: hiawatha-11.6.0-1.kng.el8.x86_64
   - PHP: php74s - 7.4.33-18.el8.remi (fpm mode)
B. Plateform:
   - OS: Rocky Linux release 8.10 (Green Obsidian) x86_64
   - Hostname: server3.xxxxxx.com
C. Services:
   1. MySQL: MariaDB-server-10.6.19-1.el8.x86_64
   2. PHP:
      - Installed:
        - Branch: php-cli-7.2.24-1.module+el8.4.0+413+c9202dda.x86_64
        - Multiple:
          * php56m - 5.6.40-43.el8.remi
          * php74m - 7.4.33-18.el8.remi
          * php80m - 8.0.30-9.el8.remi
          * php81m - 8.1.30-1.el8.remi
          * php82m - 8.2.25-1.el8.remi
          * php83m - 8.3.13-1.el8.remi
          * php84m - 8.4.0~rc3-1.el8.remi
      - Used: --PHP Branch--
      - Multiple: enable
   3. **Web Used: nginx**
     - Hiawatha: hiawatha-11.6.0-1.kng.el8.x86_64
     - Lighttpd: lighttpd-1.4.67-1.el8.x86_64
     - Nginx: nginx-1.14.1-9.module+el8.4.0+542+81547229.x86_64
     - Apache: httpd-2.4.37-65.module+el8.10.0+1842+4a9649e8.2.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: off
   4. WebCache: **none**
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: varnish-6.0.13-1.module+el8.9.0+1777+0acf9965.x86_64
   5. Dns: pdns
     - Bind: bind-9.11.36-16.el8_10.2.x86_64
     - DJBDns: djbdns-1.05-17.4.kng.el8.x86_64
     - NSD: nsd-4.3.8-1.el8.x86_64
     - PowerDNS: pdns-4.8.4-2.kng.el8.x86_64
     - Yadifa: yadifa-2.5.4-1.el8.x86_64
   6. Mail: qmail-toaster-1.03-1.6.7.kng.el8.x86_64
      - pop3/imap4: dovecot-toaster-2.3.16-4.kng.el8.x86_64
      - smtp: qmail-toaster-1.03-1.6.7.kng.el8.x86_64
      - spam: --uninstalled--
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.49-4.kng.el8.x86_64
   8. Stats: awstats
      - awstats: kloxo-stats-awstats-7.9-1.kng.el8.noarch

When calling restart-web script it tries to restart varnish and not nginx , but varnish is not installed:

sh /script/restart-web

Redirecting to /bin/systemctl restart php-fpm.service
-------------------------------------------------------------------

Redirecting to /bin/systemctl restart php56m-fpm.service
-------------------------------------------------------------------

Redirecting to /bin/systemctl restart php74m-fpm.service
-------------------------------------------------------------------

Redirecting to /bin/systemctl restart php80m-fpm.service
-------------------------------------------------------------------

Redirecting to /bin/systemctl restart php81m-fpm.service
-------------------------------------------------------------------

Redirecting to /bin/systemctl restart php82m-fpm.service
-------------------------------------------------------------------

Redirecting to /bin/systemctl restart php83m-fpm.service
-------------------------------------------------------------------

Redirecting to /bin/systemctl restart php84m-fpm.service
-------------------------------------------------------------------

Redirecting to /bin/systemctl restart varnish.service
-------------------------------------------------------------------

- For help, type '/script/restart-web [--help|-h]

Also if nginx is installed through yum it wont restart after reboot.

Why don't you skip page-speed mod for now and just install plain nginx since ulyaoth repo is obsolete and archived ?

kloxoNG commented 3 days ago

Package Modularity was preventing packages from nginx repo from loading as it conflicted with the appstream version of nginx. This was overridden by setting Module hot fix flags in the kloxo.repo file.

kloxoNG commented 2 days ago

An updated package has been built. Run yum update kloxo then refresh installation with sh /script/upcp

djsakisd commented 14 hours ago

Works fine in Rocky 9 , i cannot test it under rocky 8 as i migrated to a newer OS.