Missing package dependancies and packaging issues with guam
Open, 60Public

Description

Ubuntu 16.04
kolab 16.0.1-4
guam 0.9.0-1

I did a clean install following instructions from https://kolabsys.com/installation-guide/ubuntu-16.04.html.
I ran into multiple issues with guam:

1. /usr/sbin/guam is symlinked to ../lib/erlang/lib/guam-0.9.0/bin/guam
However if you run guam from console or through systemd it will report it is unable to cd to ../lib/erlang/lib/guam-0.9.0/bin/. Probably because it tries to cd from current working directory. Symlinking with absolute path /usr/sbin/guam -> /lib/erlang/lib/guam-0.9.0/bin/guam does fix the issue.

2. There are multiple dependancies missing for guam:
erlang-asn1
erlang-inets
erlang-public-key
(maybe there are more)

3. Running

guam foreground HOME=/opt/kolab_guam/

does report:

Exec: /usr/lib/erlang/erts-7.3/bin/erlexec -noshell -noinput +Bd -boot /usr/lib/erlang/lib/guam-0.9.0/releases/0.9.0/guam -mode embedded -config /usr/lib/erlang/lib/guam-0.9.0/releases/0.9.0/sys.config -boot_var ERTS_LIB_DIR /usr/lib/erlang/erts-7.3/../lib -args_file /usr/lib/erlang/lib/guam-0.9.0/releases/0.9.0/vm.args -- foreground HOME=/opt/kolab_guam/
Root: /usr/lib/erlang/lib/guam-0.9.0
{"init terminating in do_boot",{'cannot load',kolab_guam_listener,get_files}}
User defined signal 2

Im not too familiar with Erlang, however there is a file matching this description in the system:
/usr/lib/erlang/lib/guam-0.9.0/ebin/kolab_guam_listener.beam

Details

Ticket Type
Task
drBlaze created this task.Oct 9 2017, 12:36 AM

Thanks for the detailed report. I'm working on getting this fixed.