Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 18.04 installation of Zammad via apt fails #1994

Closed
TeraNovaLP opened this issue May 6, 2018 · 31 comments
Closed

Ubuntu 18.04 installation of Zammad via apt fails #1994

TeraNovaLP opened this issue May 6, 2018 · 31 comments
Assignees

Comments

@TeraNovaLP
Copy link

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

@schmanat
Copy link

schmanat commented May 6, 2018

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.

@monotek
Copy link
Member

monotek commented May 6, 2018

should be fixed with: d596389

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: crohr/pkgr#144

@TeraNovaLP
Copy link
Author

@monotek Thanks for the fast investigation.

@monotek monotek self-assigned this May 6, 2018
@uli-heller
Copy link
Contributor

Source Installation works on 1804

@crohr
Copy link

crohr commented May 16, 2018

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

@monotek
Copy link
Member

monotek commented May 16, 2018

@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

@monotek
Copy link
Member

monotek commented May 17, 2018

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

@TeraNovaLP
Copy link
Author

@monotek I will test it tomorrow

@TeraNovaLP
Copy link
Author

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

@monotek
Copy link
Member

monotek commented May 19, 2018

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

@TeraNovaLP
Copy link
Author

I tested it in a real installation

@monotek
Copy link
Member

monotek commented May 19, 2018

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

@monotek
Copy link
Member

monotek commented May 24, 2018

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

@monotek
Copy link
Member

monotek commented May 25, 2018

It works now :-)
Closed.

@monotek monotek closed this as completed May 25, 2018
@saschajullmann
Copy link

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.

@monotek
Copy link
Member

monotek commented Jun 6, 2018

Do you use stable or develop repo?

@saschajullmann
Copy link

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.

@monotek
Copy link
Member

monotek commented Jun 9, 2018

Confirmed.

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

@monotek monotek reopened this Jun 9, 2018
@monotek monotek changed the title Ubuntu installation of Zammad via apt fails Ubuntu 18.04 installation of Zammad via apt fails Jun 12, 2018
@crohr
Copy link

crohr commented Jun 13, 2018

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

@monotek
Copy link
Member

monotek commented Jun 13, 2018

Thanks again! 😘

@monotek
Copy link
Member

monotek commented Jun 13, 2018

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

@TeraNovaLP
Copy link
Author

It works now!

Thanks

@monotek
Copy link
Member

monotek commented Jun 13, 2018

Thanks for feedback 😀

@saschajullmann
Copy link

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

Thanks for the effort!

@anilmsaini
Copy link

It's work now for me
Thank You !!

@Helmi
Copy link

Helmi commented Nov 13, 2018

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

@thorsteneckel
Copy link
Contributor

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

@Helmi
Copy link

Helmi commented Nov 14, 2018

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

@h0jeZvgoxFepBQ2C
Copy link

h0jeZvgoxFepBQ2C commented Jul 16, 2020

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..

@MrGeneration
Copy link
Member

MrGeneration commented Jul 16, 2020

@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.

@zammad zammad locked and limited conversation to collaborators Jul 16, 2020
@monotek
Copy link
Member

monotek commented Jul 16, 2020

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

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests