Zammad: Ubuntu 18.04 installation of Zammad via apt fails

Created on 6 May 2018  ·  31Comments  ·  Source: zammad/zammad

Infos:

  • Used Zammad version: 2.4.0
  • Installation method (source, package, ..): package
  • Operating system: Ubuntu 18.04
  • Database + version: any
  • Elasticsearch version: any
  • Browser + version: any

Expected behavior:

Starting the Installation of Zammad

Actual behavior:

The Installation is not possible because dependencies like libreadline6 are missing

Steps to reproduce the behavior:

Try to install Zammad as in the documentation

third party issue

Most helpful comment

@crohr
Thanks again :-)

@TeraNovaLP
Please test!

wget -qO- https://dl.packager.io/srv/zammad/zammad/key | sudo apt-key add -
sudo wget -O /etc/apt/sources.list.d/zammad.list \
  https://dl.packager.io/srv/zammad/zammad/develop/installer/ubuntu/18.04.repo
sudo apt-get update
sudo apt-get install zammad

All 31 comments

First Line in the documentation.

Currently we support Ubuntu 16.04

But good to know that the installation is not working with newer Ubuntu OS.

should be fixed with: https://github.com/zammad/zammad/commit/d596389c15cb6e69d1f02e64817c99568441d28a

edit: unfortunately it does not work at the moment. we have to investigate: https://packager.io/gh/zammad/zammad/builds/3041/logs/ubuntu-18.04

maybe you want to follow this pull request: https://github.com/crohr/pkgr/pull/144

@monotek Thanks for the fast investigation.

Source Installation works on 1804

Hello, ubuntu 18.04 has been enabled for the Zammad repo on Packager.io. Packages should be built on the next push.

@crohr
Thanks again :-)

@TeraNovaLP
Please test!

wget -qO- https://dl.packager.io/srv/zammad/zammad/key | sudo apt-key add -
sudo wget -O /etc/apt/sources.list.d/zammad.list \
  https://dl.packager.io/srv/zammad/zammad/develop/installer/ubuntu/18.04.repo
sudo apt-get update
sudo apt-get install zammad

Can anybody verify that it works?
I'd like to close the ticket.

@monotek I will test it tomorrow

@monotek The installation works fine, but the application doesn't start because "initctl" is missing.

You tried that in a real installation or in a docker container?

I tested it in a real installation

The problem is in pkgr which thinks it has to use upstart instead of systemd.
I've created a pull request to fix it: https://github.com/crohr/pkgr/pull/148

The pr is merged and new packages are build.
Could you please try again?

It works now :-)
Closed.

Hi,

I just tried out installing zammad on Ubuntu 18.04. I just want to let you know the problem @TeraNovaLP referred to is still there. When trying to install it with "sudo apt-get install zammad" it won't start:

# Starting Zammad Job for zammad.service failed because the control process exited with error code. See "systemctl status zammad.service" and "journalctl -xe" for details.

And in the journalctl it says:

Unit zammad.service has begun starting up. Jun 06 13:06:38 XXX systemd[1]: zammad.service: Control process exited, code=exited status=127 Jun 06 13:06:38 XXX zammad[27107]: This job runs via upstart, invoking upstart now... Jun 06 13:06:38 XXX zammad[27107]: /etc/init.d/zammad: 4: exec: initctl: not found Jun 06 13:06:38 XXX systemd[1]: zammad.service: Failed with result 'exit-code'. Jun 06 13:06:38 XXX sudo[27104]: pam_unix(sudo:session): session closed for user root Jun 06 13:06:38 XXX systemd[1]: Failed to start zammad.service.

Do you use stable or develop repo?

Hi,

I used the develop repo (https://dl.packager.io/srv/zammad/zammad/develop/installer/ubuntu/18.04.repo). I basically followed your steps from above.

Confirmed.

@crohr
Any changes on https://packager.io ?

@monotek seems like I messed up the default pkgr version. This should be fixed, on the next build. Sorry!

Thanks again! 😘

I've build stable and develop packages.
Please test...

It works now!

Thanks

Thanks for feedback 😀

I just tested it as well. Works for me too!

Thanks for the effort!

It's work now for me
Thank You !!

Any reason why the documentation still doesn't drop a word about 18.04 compatibility?

Probably because we forgot to add it. I would love to see a Pull Request 😍

Actually I went with a docker installation so I can't bring any value to that part of the docs, sorry.

I just started a new digital ocean droplet with Ubuntu 18.04, and it's not working due to elastic search not found:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:    18.04
Codename:   bionic
sudo apt-get install zammad
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 zammad : Depends: elasticsearch but it is not installable
E: Unable to correct problems, you have held broken packages.

Only after adding the elastic search repo ( https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-elasticsearch-on-ubuntu-18-04-de ) it works..

@h0jeZvgoxFepBQ2C kindly don't hijack closed issues.
As this is a technical question, please do not post them on this repository, but use our community (https://community.zammad.org) instead.

If you require commercial grade support, you can find more information on that here: https://zammad.com/pricing#selfhosted
I'm locking this issue now to quieten down this repo.

Edit: Also the documentation clearly states about dependencies and on how to solve it.

It's also mentioned like this in our documentation ;-)

See: https://docs.zammad.org/en/latest/install/ubuntu.html

Was this page helpful?
0 / 5 - 0 ratings