Discover Centmin Mod today
Register Now

Zammad requires nginx

Discussion in 'Other Web Apps usage' started by GASTAN, Dec 12, 2019.

  1. GASTAN

    GASTAN Member

    72
    11
    8
    Jun 28, 2017
    Ratings:
    +16
    Local Time:
    10:01 PM
    Hi

    I just installed fresh Beta with PHP 7.3
    webserver works fine, but when I try yum install Zammad (support sw)
    it comlpains nginx is not installed:

    Code:
    Error: Package: zammad-3.2.0-1575624531.d79c85cf.centos7.x86_64 (zammad)
               Requires: nginx
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    
    any idea how to make apps think nginx is installed?
     
  2. eva2000

    eva2000 Administrator Staff Member

    42,759
    9,677
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,932
    Local Time:
    7:01 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    it seems to have dependency for YUM nginx RPM so installing zammad YUM probably isn't best way to install it on Centmin Mod. Never heard of zammad so not sure

    they have yum install at Install on CentOS via RPM — Zammad documentation which you can't use

    so you probably need source install Install from source (generic) — Zammad documentation but alot of elasticsearch, ruby gem etc dependencies you'd have to know Centmin Mod way of installing.

    If it's a ticket system you're after, probably easier trying Freescout Free self-hosted Zendesk & Help Scout alternative – FreeScout instead which only needs steps 4 and 5 outlined at freescout-helpdesk/freescout

    step 4 download via zip at https://freescout.net/download/ instead of git clone

    just instead of web root /var/www/html/public use /home/nginx/domains/domain.com/public and instead of www-data user/group chown use nginx user/group


    and step 6.1 only needs your Centmin Mod Nginx vhost web root / change for
    Code (Text):
       location / {
           try_files $uri $uri/ /index.php?$query_string;
       }
    


    I am about to head off to bed, but give me 24hrs to see if I can find my freescount install steps I did for testing ticket system. If not you'll have to try on a test VPS yourself not live production VPS server and check it out.

    edit: found my Nginx vhost for Freescout install and i tested with self-signed SSL cert but posted copy of it on gist at freescout.domain.com centminmod

    only added try_files line to existing Centmin Mod nginx vhost
    Code (Text):
       location / {
           try_files $uri $uri/ /index.php?$query_string;
       }
    

    Much easier than Zammad to install and setup but feature wise no idea compared to Zammad

    Zammad can be installed but all dependencies and stuff via source install would be up to you to do yourself
     
    Last edited: Dec 12, 2019
  3. eva2000

    eva2000 Administrator Staff Member

    42,759
    9,677
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,932
    Local Time:
    7:01 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  4. eva2000

    eva2000 Administrator Staff Member

    42,759
    9,677
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,932
    Local Time:
    7:01 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Actually remember now Freescout had some permissions issues causing problems. So maybe not ideal. Haven't looked at it since.

    Save yourself headaches and use 3rd party hosted ticket system like Zoho Desk Zoho Desk | Customer Service Software for Context-Aware Support. I am using it for my paid Centmin Mod consulting work/support clients and has mobile apps and Slack channel integration too :)

    zoho-desk-centminmod-01.png
     
    Last edited: Dec 12, 2019
  5. GASTAN

    GASTAN Member

    72
    11
    8
    Jun 28, 2017
    Ratings:
    +16
    Local Time:
    10:01 PM
    thx man, it will have to be Zammad :(

    any idea why I cannot install nginx from epel? I disabled priorities and still wont install

    Code:
    yum install epel-release
    Loaded plugins: fastestmirror, langpacks, versionlock
    Loading mirror speeds from cached hostfile
     * base: mirror.checkdomain.de
     * centos-sclo-rh: mirror.fra10.de.leaseweb.net
     * centos-sclo-sclo: mirror.ratiokontakt.de
     * epel: mirror.23media.com
     * extras: mirror.23media.com
     * rpmforge: mirror1.hs-esslingen.de
     * updates: mirror.23media.com
    Package epel-release-7-12.noarch already installed and latest version
    Nothing to do
    
    Code:
    yum install nginx
    Loaded plugins: fastestmirror, langpacks, versionlock
    Loading mirror speeds from cached hostfile
     * base: mirror.checkdomain.de
     * centos-sclo-rh: centosmirror.netcup.net
     * centos-sclo-sclo: mirror.ratiokontakt.de
     * epel: mirror.23media.com
     * extras: mirror.23media.com
     * rpmforge: mirror1.hs-esslingen.de
     * updates: mirror.23media.com
    No package nginx available.
    
     
  6. eva2000

    eva2000 Administrator Staff Member

    42,759
    9,677
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,932
    Local Time:
    7:01 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    If you install Nginx from yum on Centmin Mod, you will overwrite Centmin Mod Nginx and break stuff. If you want to install Zammad via yum, it will have to be on a non-Centmin Mod server.
     
  7. GASTAN

    GASTAN Member

    72
    11
    8
    Jun 28, 2017
    Ratings:
    +16
    Local Time:
    10:01 PM
    Yeah, I figured. it a shame
    thx anyway
     
  8. brijendrasial

    brijendrasial Member

    73
    74
    18
    Mar 21, 2018
    Ratings:
    +105
    Local Time:
    2:31 AM
    1.13.9
    10.0.22-MariaDB
    • Like Like x 1
    • Informative Informative x 1
  9. GASTAN

    GASTAN Member

    72
    11
    8
    Jun 28, 2017
    Ratings:
    +16
    Local Time:
    10:01 PM