Owncloud client fails to launch after QT Ubuntu 17.10 update today


#1

Expected behaviour

Owncloud client should launch

Actual behaviour

When launched from the command line the error thrown is : owncloud: relocation error: /opt/ownCloud/qt-5.6.2/lib/x86_64-linux-gnu/libQt5OpenGL.so.5: symbol ZTV26QOpenGLSharedResourceGuard, version Qt5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time reference

Steps to reproduce

  1. Launch owncloud from the command line in the latest kubuntu build of 17.10
  2. Error is generated and the application doesn't launch

Server configuration

Operating system: ubuntu 16.04

Web server: Apache

Database: MySql

PHP version: php 7

ownCloud version: 10.0.2.1

Storage backend (external storage): None

Client configuration

Client version: 2.3.3

Operating system: kubuntu linux 17.10

OS language: English

Qt version used by client package (Linux only, see also Settings dialog): 5.6.2 (I think) OS uses 5.9.1

Client package (From ownCloud or distro) (Linux only): Owncloud

Installation path of client:

Logs

Please use Gist (https://gist.github.com/) or a similar code paster for longer
logs.

Template for output < 10 lines

  1. Client logfile:
    owncloud: relocation error: /opt/ownCloud/qt-5.6.2/lib/x86_64-linux-gnu/libQt5OpenGL.so.5: symbol ZTV26QOpenGLSharedResourceGuard, version Qt5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time reference

  2. Web server error log: N/A

  3. Server logfile: ownCloud log (data/owncloud.log): N/A


#2

I had a problem that could be related to this today by installing owncloud-client on my Linux Mint 18.2 system. You can find more detail here. I also had problem with QT, i was not able to install the client because of unmet dependencies with ocqt562-libqt5opengl5.


#3

It seems there are similar issues at the bottom of this post on github: https://github.com/owncloud/client/issues/5470

Glad to know it's not just me...


#4

Temporarily switching to the alternative repository mirror fixed it for me (mentioned here https://github.com/owncloud/client/issues/5470). https://download.owncloud.com/repositories/desktop/Ubuntu_17.04

The following packages will be upgraded:

libowncloudsync0 ocqt562-libqt5core5a ocqt562-libqt5dbus5 ocqt562-libqt5gui5 ocqt562-libqt5keychain1 ocqt562-libqt5network5 ocqt562-libqt5opengl5 ocqt562-libqt5printsupport5 ocqt562-libqt5sql5 ocqt562-libqt5sql5-sqlite ocqt562-libqt5widgets5 ocqt562-libqt5xml5 owncloud-client owncloud-client-l10n

14 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Update in xenial fails
Client Install RedHat Repository Download Fails
#6

Now working for me. LInux MInt Ubuntu 16.04 compatibility:

apt-get purge owncloud-client
apt-get autoremove
apt-get autoclean
sh -c "echo 'deb http://download.owncloud.com/repositories/desktop/Ubuntu_16.04/ /' > /etc/apt/sources.list.d/owncloud.list"
apt-get update
apt-get install owncloud-client

$ owncloud
owncloud: relocation error: /opt/ownCloud/qt-5.6.2/lib/x86_64-linux-gnu/libQt5Widgets.so.5: symbol ZTI25QOpenGLPaintDevicePrivate, version Qt5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time reference

Waiting for solution :frowning:


Update in xenial fails
#7

On my Ubuntu 16.04 I have:
nm -D /opt/ownCloud/qt-5.6.2/lib/x86_64-linux-gnu/libQt5Gui.so.5.6.2 | grep ZTI25QOpenGLPaintDevicePrivate
00000000005c15c0 V _ZTI25QOpenGLPaintDevicePrivate

I just did a fresh install on a fresh system -- that works.
Mabye you are stuck in a half - installed state. Then apt-get install -f might help.

Otherwise, a more forcefull way to remove everything and install from scratch is with

apt-get purge $(dpkg -l | grep ocqt562 | awk '{print $2}')
then retry the procedure above...


#8

5 minutes ago new ocqt562-libqt5widgets5 arrived to repo - owncloud works :slight_smile:


#9

5min ago? Oh that was a really slow mirror then - sorry for that.
Do you know which mirror that was (which part of the world)?


#10

Not a problem :). Maybe it was erlier, but update manager noticed new package later.

cat /etc/apt/sources.list.d/owncloud.list

deb http://download.owncloud.com/repositories/desktop/Ubuntu_16.04/ /