Any plans for implementing Zammad on Nethserver


(markshaz) #1

Hey community has there been any requests to have zammad help desk on nethserver https://zammad.org.


(HF) #2

Interesting.


(Markus Neuberger) #3

Really interesting and it seems to be easy to install:

https://docs.zammad.org/en/latest/install-centos.html


(markshaz) #4

It also has some lovely tools, like importing from OTRS and Zendesk linking a company twitter and fb pages and links up with twillio so people can send txt messages to the helpdesk. very easy to install but I am trying it now with nethserver, will let you know :smile:


(HF) #5

Could this be an alternative to OSTicket?


(markshaz) #6

I hope so, I think this looks better and can do more. If you don’t want to install it yet you can create a free account at https://zammad.com/getting-started although saying that it’s easy enough to install.


(Markus Neuberger) #7

You may have to open ports:

http://docs.nethserver.org/projects/nethserver-devel/en/latest/services.html#add-a-new-network-service

Maybe you want to test the apache virtualhost reverse proxy instead of nginx:

http://docs.nethserver.org/en/v7/proxy_pass.html#path-and-virtual-host-rules

Looking forward to your results…


(markshaz) #8

Thanks for that I tried using RewriteEngine On
ProxyPass / http://helpdesk.ibrokeit.me:5000/
ProxyPassReverse / http://helpdesk.ibrokeit.me:5000/ but I have an issue at the moment with elastic search breaking the setup :smile:


(markshaz) #9

Thought this might help if you’re trying it https://github.com/zammad/zammad/blob/develop/contrib/apache2/zammad_ssl.conf


Ticket-system on NethServer?
(Markus Neuberger) #10

I tested it and it seems to work basically.

Just use the docs but only the following paragraph, you won’t need to disable selinux & firewalld, it’s done already on Nethserver.

https://docs.zammad.org/en/latest/install-centos.html#add-zammad-elasticsearch-epel-release-rpm-repos-and-install-rpm

Because zammad requires nginx I used my nginx module which sets up nginx without using port 80 by default which would conflict with apache:

yum -y install https://mrmarkuz.goip.de/mirror/mrmarkuz/7/noarch/nethserver-mrmarkuz-0.0.1-3.ns7.noarch.rpm
yum -y install nethserver-nginx

Open the port (I chose 8099, you may change it as you like):

config set fw_zammad service status enabled TCPPort 8099 access green
signal-event firewall-adjust

Edit /etc/nginx/conf.d/zammad.conf and change port 80 to 8099 at line 14.

Restart nginx to apply config:

systemctl restart nginx

Now browse to http://yournethserver:8099 and setup Zammad.

Todos:

  • apache reverse proxy configuration to use default HTTPS port instead of 8099

Ticket-system on NethServer?
(markshaz) #11

Fantastic, Bravo :smiley: well done have you had any issues with elasticsearch? I have had major issues with it.


(Markus Neuberger) #12

No, it just worked. What kind of issues did you have with elasticsearch?


(markshaz) #13

I have 128GB of memory and it keeps saying elasticsearch out of memory


(Markus Neuberger) #14

It may be too much memory used by elasticsearch, I tested on a VM with 8GB RAM. You could try to limit the memory usage:

Don’t cross the 32 GB limit — if you have servers with a lot of memory, it is generally better to run more Elasticsearch nodes than going over the 32 GB limit for maximal heap size. In short, using -Xmx32g or higher results in the JVM using larger, 64-bit pointers that need more memory. If you don’t go over -Xmx31g , the JVM will use smaller, 32-bit pointers by using compressed Ordinary Object Pointers (OOPs).

Source:


(markshaz) #15

Yes thank you I was just reading that on the elastic website. This is would be an issue then for it running with Nethserver :thinking:


(Markus Neuberger) #16

That may be an issue with elk, it’s not a specific issue of Nethserver (or centos)


(Alessio Fattorini) #17

Looks really interesting for people that are looking for an OTRS alternative.
@Artem_Voylenko @GG_jr @ironsky @jgjimenezs @pike
Amazing job and product


(markshaz) #18

The issue is fixed thank you so much just change vm.max_map_count=map_count= and reload :grinning:


(HF) #19

FYI https://www.youtube.com/channel/UCf_g5z6DXFI7HWZPzWHCxkw/videos


(HF) #20

@mrmarkuz, would this conflict with Nextcloud+Onlyoffice please?