regression on bionic

Bug #1806510 reported by Anthony Godshall
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
guacamole-client (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

An install via apt in ubuntu 16.04 xenial works
fine, but an install on 18.04 bionic (specifically,
ubuntu-mate) fails to produce a working system.

Logs report missing guacamole.war file.

Downloading the packages from xenial and installing
them produces a working system, to wit:

dpkg -i \
  libpng12-0_1.2.54-1ubuntu1.1_amd64.deb\
  libguac5_0.8.3-2_amd64.deb \
  libguac-client-ssh0_0.8.3-2_amd64.deb\
  libguac-client-vnc0_0.8.3-2_amd64.deb\
  guacamole_0.8.3-1.2_all.deb \
  guacd_0.8.3-2_amd64.deb \
  guacamole-tomcat_0.8.3-1.2_all.deb

Tags: bionic
Revision history for this message
Anthony Godshall (agodshall) wrote :

OK, this bug report is about gaucamole, guacd, and guacamole-tomcat.

I don't understand why it still says guacamole-client above-
I saw that previously and carefully navigated to guacamole-tomcat,
which routed me to guacamole, and I accepted that.

Clearly there is something I'm not groking about launchpad and
ubuntu bug reporting : - (

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for taking your time to report this issue and help making Ubuntu better.

>I don't understand why it still says guacamole-client above

There's two parts to this answer. The first is that multiple binary packages (which we install) might be built from the same source package. Launchpad tracks source packages, so any bug reported towards a binary package will be filed under the source package it came from. In this case, the source package is named guacamole-client, and one (they only) binary built from it is guacamole (https://launchpad.net/ubuntu/+source/guacamole-client/0.9.9+dfsg-1).

The second part is that a while back the guacamole and guacamole-tomact packages were merged together, seee https://launchpad.net/ubuntu/+source/guacamole-client/+changelog

I'm somewhat curious why your listing seems to still include the guacamole-tomcat package and being version 0.8.3-1.2, when the bionic repositories offer 0.9.9+dfsg-1. Looks like you might have some of the older package versions which might be causing issues.

Could you please run the following command (only once) in a terminal to gather additional debug information:
apport-collect 1806510

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. This will automatically version numbers and which Ubuntu release you are running, among other things. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in guacamole-client (Ubuntu):
status: New → Incomplete
tags: added: bionic
Revision history for this message
Anthony Godshall (agodshall) wrote : Re: [Bug 1806510] Re: regression on bionic

> I'm somewhat curious why your listing seems to still include the
> guacamole-tomcat package and being version 0.8.3-1.2, when the bionic
> repositories offer 0.9.9+dfsg-1. Looks like you might have some of the
> older package versions which might be causing issues.

Apparently I wasn't clear.

installing 0.9.9 (the version in ubuntu-mate 18.04 bionic repos)
failed as described.

installing 0.8.3 is the workaround from 16.04 repos is the workaround.

> When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. This will automatically version numbers and which Ubuntu release you are running, among other things. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

OK, will try to do that. I didn't think to report the bug till I had
found the workaround, and now that I have rolled back the packages to
functional, I'm loath to break it again.

Tony

Revision history for this message
Anthony Godshall (agodshall) wrote :

correction below

On Wed, Dec 5, 2018 at 4:31 PM A Godshall <email address hidden> wrote:
>
> > I'm somewhat curious why your listing seems to still include the
> > guacamole-tomcat package and being version 0.8.3-1.2, when the bionic
> > repositories offer 0.9.9+dfsg-1. Looks like you might have some of the
> > older package versions which might be causing issues.
>
> Apparently I wasn't clear.
>
> installing 0.9.9 (the version in ubuntu-mate 18.04 bionic repos)
> failed as described.
>
> installing 0.8.3 is the workaround from 16.04 repos is the workaround.

what I meant to say is:

installing 0.8.3 from the 16.04 repos is the workaround.

> > When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. This will automatically version numbers and which Ubuntu release you are running, among other things. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.
>
> OK, will try to do that. I didn't think to report the bug till I had
> found the workaround, and now that I have rolled back the packages to
> functional, I'm loath to break it again.
>
> Tony

--
Best Regards.
This is unedited.
P-)

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Could you add some more details on where you found the log message on missing guacamole.war?

I tried installing guacamole on my 18.04 system to check if I got the same error message, but didn't find a binary file so I'm a bit stumped on how to reproduce this issue.

Revision history for this message
Andrey de Oliveira (crazy2010) wrote :

Hello,

I had the same problem here installing guacamole package on a clean install of Ubuntu 18.04 LTS via apt install guacamole.

Apparently the problem occurs because two required packages are not as dependencies and the post-run scripts are not creating some essential symbolic links

Correction:
Install libactivation-java and libstax-java packages that in my understanding should be as dependency:

apt install guacamole libactivation-java libstax-java

Create the symbolic links below:

ln -s ../../../../java/javax.activation-1.2.0.jar /usr/share/guacamole/guacamole/WEB-INF/lib/javax.activation-1.2.0.jar
ln -s ../../../../java/jaxb-core.jar /usr/share/guacamole/guacamole/WEB-INF/lib/jaxb-core.jar
ln -s ../../../../java/jaxb-api.jar /usr/share/guacamole/guacamole/WEB-INF/lib/jaxb-api.jar

Restart tomcat8
systemctl restart tomcat8

That's all, folks.

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Marking as confirmed since others experience the same issue.

Changed in guacamole-client (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Andrey de Oliveira (crazy2010) wrote :

A correction to my previous post:

Instead of creating this link:

ln -s ../../../../java/javax.activation-1.2.0.jar /usr/share/guacamole/guacamole/WEB-INF/lib/javax.activation-1.2.0.jar

Create the link this way:

ln -s ../../../../java/javax.activation.jar /usr/share/guacamole/guacamole/WEB-INF/lib/javax.activation.jar

Revision history for this message
Anthony Godshall (agodshall) wrote :

Hi Hans.

I'm going to guess it was /var/log/syslog, but I don't have my notes.

That appears to be where it logs by default, and I don't recall having
changed that.

Tony

On Tue, Dec 18, 2018 at 9:05 AM Hans Joachim Desserud
<email address hidden> wrote:
>
> Could you add some more details on where you found the log message on
> missing guacamole.war?
>
> I tried installing guacamole on my 18.04 system to check if I got the
> same error message, but didn't find a binary file so I'm a bit stumped
> on how to reproduce this issue.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1806510
>
> Title:
> regression on bionic
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/guacamole-client/+bug/1806510/+subscriptions

--
Best Regards.
This is unedited.
P-)

Revision history for this message
Anthony Godshall (agodshall) wrote :

Hi again Hans.

Also look in /var/log/tomcat8/catalina.out maybe

Tony

On Fri, Jan 25, 2019 at 3:35 PM A Godshall <email address hidden> wrote:
>
> Hi Hans.
>
> I'm going to guess it was /var/log/syslog, but I don't have my notes.
>
> That appears to be where it logs by default, and I don't recall having
> changed that.
>
> Tony
>
> On Tue, Dec 18, 2018 at 9:05 AM Hans Joachim Desserud
> <email address hidden> wrote:
> >
> > Could you add some more details on where you found the log message on
> > missing guacamole.war?
> >
> > I tried installing guacamole on my 18.04 system to check if I got the
> > same error message, but didn't find a binary file so I'm a bit stumped
> > on how to reproduce this issue.
> >
> > --
> > You received this bug notification because you are subscribed to the bug
> > report.
> > https://bugs.launchpad.net/bugs/1806510
> >
> > Title:
> > regression on bionic
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/ubuntu/+source/guacamole-client/+bug/1806510/+subscriptions
>
>
>
> --
> Best Regards.
> This is unedited.
> P-)

--
Best Regards.
This is unedited.
P-)

Revision history for this message
Anthony Godshall (agodshall) wrote :

Thanks Andrey.

DDs and UDs: would /var/lib/dpkg/info/guacamole.postinst be the right
place for those commands?

On Mon, Jan 14, 2019 at 2:00 AM Andrey de Oliveira <email address hidden> wrote:
>
> A correction to my previous post:
>
> Instead of creating this link:
>
> ln -s ../../../../java/javax.activation-1.2.0.jar
> /usr/share/guacamole/guacamole/WEB-INF/lib/javax.activation-1.2.0.jar
>
> Create the link this way:
>
> ln -s ../../../../java/javax.activation.jar
> /usr/share/guacamole/guacamole/WEB-INF/lib/javax.activation.jar
>
> ** Attachment added: "Script to Fix Guacamole install (updated)"
> https://bugs.launchpad.net/ubuntu/+source/guacamole-client/+bug/1806510/+attachment/5228977/+files/fix.sh
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1806510
>
> Title:
> regression on bionic
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/guacamole-client/+bug/1806510/+subscriptions

--
Best Regards.
This is unedited.
P-)

Revision history for this message
Andrey de Oliveira (crazy2010) wrote :

Hi Anthony Godshall,

These commands are a workaround for the currently available package.

In my opinion, for the definitive fix, the symbolic links should already be contained within the package, in the same way as the others are already.

Look in /var/lib/dpkg/info/guacamole.list for the list of files already in the package. All files is /usr/share/guacamole/guacamole/WEB-INF/lib/ are symbolic links.

In addition to these symbolic links, the package must also require the dependencies that are missing.

Revision history for this message
Anthony Godshall (agodshall) wrote :

bump

On Wed, Feb 6, 2019 at 9:50 AM A Godshall <email address hidden> wrote:
>
> Thanks Andrey.
>
> DDs and UDs: would /var/lib/dpkg/info/guacamole.postinst be the right
> place for those commands?
>
>
> On Mon, Jan 14, 2019 at 2:00 AM Andrey de Oliveira <email address hidden> wrote:
> >
> > A correction to my previous post:
> >
> > Instead of creating this link:
> >
> > ln -s ../../../../java/javax.activation-1.2.0.jar
> > /usr/share/guacamole/guacamole/WEB-INF/lib/javax.activation-1.2.0.jar
> >
> > Create the link this way:
> >
> > ln -s ../../../../java/javax.activation.jar
> > /usr/share/guacamole/guacamole/WEB-INF/lib/javax.activation.jar
> >
> > ** Attachment added: "Script to Fix Guacamole install (updated)"
> > https://bugs.launchpad.net/ubuntu/+source/guacamole-client/+bug/1806510/+attachment/5228977/+files/fix.sh
> >
> > --
> > You received this bug notification because you are subscribed to the bug
> > report.
> > https://bugs.launchpad.net/bugs/1806510
> >
> > Title:
> > regression on bionic
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/ubuntu/+source/guacamole-client/+bug/1806510/+subscriptions
>
>
>
> --
> Best Regards.
> This is unedited.
> P-)

--
Best Regards.
This is unedited.
P-)

Revision history for this message
Tim Riker (timriker) wrote :

I've installed guacamole on current 18.04.3 LTS and failed to get it working.

root@host:/usr/share/guacamole/guacamole/WEB-INF/lib# ls -l
total 0
lrwxrwxrwx 1 root root 32 Nov 29 2016 aopalliance.jar -> ../../../../java/aopalliance.jar
lrwxrwxrwx 1 root root 40 Nov 29 2016 atinject-jsr330-api.jar -> ../../../../java/atinject-jsr330-api.jar
lrwxrwxrwx 1 root root 34 Nov 29 2016 commons-codec.jar -> ../../../../java/commons-codec.jar
lrwxrwxrwx 1 root root 42 Nov 29 2016 guacamole-auth-noauth.jar -> ../../../../java/guacamole-auth-noauth.jar
lrwxrwxrwx 1 root root 37 Nov 29 2016 guacamole-common.jar -> ../../../../java/guacamole-common.jar
lrwxrwxrwx 1 root root 34 Nov 29 2016 guacamole-ext.jar -> ../../../../java/guacamole-ext.jar
lrwxrwxrwx 1 root root 26 Nov 29 2016 guava.jar -> ../../../../java/guava.jar
lrwxrwxrwx 1 root root 34 Nov 29 2016 guice-servlet.jar -> ../../../../java/guice-servlet.jar
lrwxrwxrwx 1 root root 26 Nov 29 2016 guice.jar -> ../../../../java/guice.jar
lrwxrwxrwx 1 root root 43 Nov 29 2016 istack-commons-runtime.jar -> ../../../../java/istack-commons-runtime.jar
lrwxrwxrwx 1 root root 37 Nov 29 2016 jackson-core-asl.jar -> ../../../../java/jackson-core-asl.jar
lrwxrwxrwx 1 root root 34 Nov 29 2016 jackson-jaxrs.jar -> ../../../../java/jackson-jaxrs.jar
lrwxrwxrwx 1 root root 39 Nov 29 2016 jackson-mapper-asl.jar -> ../../../../java/jackson-mapper-asl.jar
lrwxrwxrwx 1 root root 31 Nov 29 2016 jackson-xc.jar -> ../../../../java/jackson-xc.jar
lrwxrwxrwx 1 root root 37 Jan 30 14:48 javax.activation.jar -> ../../../../java/javax.activation.jar
lrwxrwxrwx 1 root root 30 Nov 29 2016 jaxb-impl.jar -> ../../../../java/jaxb-impl.jar
lrwxrwxrwx 1 root root 33 Nov 29 2016 jersey-core.jar -> ../../../../java/jersey1-core.jar
lrwxrwxrwx 1 root root 34 Nov 29 2016 jersey-guice.jar -> ../../../../java/jersey1-guice.jar
lrwxrwxrwx 1 root root 33 Nov 29 2016 jersey-json.jar -> ../../../../java/jersey1-json.jar
lrwxrwxrwx 1 root root 35 Nov 29 2016 jersey-server.jar -> ../../../../java/jersey1-server.jar
lrwxrwxrwx 1 root root 36 Nov 29 2016 jersey-servlet.jar -> ../../../../java/jersey1-servlet.jar
lrwxrwxrwx 1 root root 29 Nov 29 2016 jettison.jar -> ../../../../java/jettison.jar
lrwxrwxrwx 1 root root 31 Nov 29 2016 jsr311-api.jar -> ../../../../java/jsr311-api.jar
lrwxrwxrwx 1 root root 36 Nov 29 2016 logback-classic.jar -> ../../../../java/logback-classic.jar
lrwxrwxrwx 1 root root 33 Nov 29 2016 logback-core.jar -> ../../../../java/logback-core.jar
lrwxrwxrwx 1 root root 30 Nov 29 2016 slf4j-api.jar -> ../../../../java/slf4j-api.jar
lrwxrwxrwx 1 root root 29 Nov 29 2016 stax-api.jar -> ../../../../java/stax-api.jar
lrwxrwxrwx 1 root root 25 Nov 29 2016 txw2.jar -> ../../../../java/txw2.jar

The error from /var/log/tomcat8/localhost.2020-01-30.log is:

30-Jan-2020 15:04:02.116 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.filterStart Exception starting filter [guiceFilter]
 java.lang.NoClassDefFoundError: com/sun/xml/bind/v2/model/annotation/AnnotationReader

Looking where I can find AnnotationReader

Revision history for this message
Tim Riker (timriker) wrote :

adding this:

ln -s ../../../../java/jaxb-core.jar \
/usr/share/guacamole/guacamole/WEB-INF/lib/jaxb-core.jar

fixes this issue. Reference:

https://stackoverflow.com/questions/27046836/why-has-annotationreader-been-removed-from-jaxb-reference-implementation

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.