Client: ownCloud sync client not showing up in tray but syncing Ubuntu 14.04

Created on 7 Jan 2017  Â·  25Comments  Â·  Source: owncloud/client

Expected behaviour

ownCloud sync client icon should appear in tray (top bar) on bootup and/or starting the ownCloud sync client

Actual behaviour

ownCloud sync client is indeed running and apparently syncing but no sync icon appears

Steps to reproduce

  1. reboot computer
  2. wait for ~5 to 20min for ownCloud sync client icon (which fails to appear)
  3. run "top" from terminal to see ownCloud sync client resource use (it is running)

Server configuration

Operating system:
Ubuntu 14.04
3.13.0-106-generic #153-Ubuntu SMP Tue Dec 6 15:44:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Web server: apache2 -v
Server version: Apache/2.4.7 (Ubuntu)
Server built: Jul 15 2016 15:34:04

Database:
mysql Ver 14.14 Distrib 5.5.53, for debian-linux-gnu (x86_64) using readline 6.3

PHP version: PHP 5.5.9-1ubuntu4.20 (cli) (built: Oct 3 2016 13:00:37)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies

ownCloud version: 9.1.3

Storage backend (external storage):

Client configuration

Client version: 2.2.4 Git version eaeed0 on Jan 4 2017, 20:56:25 using Qt 5.2.1, OpenSSL 1.0.1f 6 Jan 2014

Operating system:
Ubuntu 14.04
3.13.0-106-generic #153-Ubuntu SMP Tue Dec 6 15:44:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

OS language: English

Installation path of client: /usr/share/doc/owncloud-client ?? not sure

Logs

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

Template for output < 10 lines

  1. Client logfile: Output of owncloud --logwindow or owncloud --logfile log.txt
    (On Windows using cmd.exe, you might need to first cd into the ownCloud directory)
    (See also http://doc.owncloud.org/desktop/2.2/troubleshooting.html#client-logfile )

  2. Web server error log:
    Error PHP unlink(/carbonics/owncloud/montanaembassy/cache/QsYVqhcD9EFZAjDGRcKLp83k-chunking-182809007-243): No such file or directory at /var/www/owncloud/lib/private/Files/Storage/Local.php#221 2016-12-26T04:02:21+00:00
    Error PHP unlink(/carbonics/owncloud/montanaembassy/cache/QsYVqhcD9EFZAjDGRcKLp83k-chunking-182809007-234): No such file or directory at /var/www/owncloud/lib/private/Files/Storage/Local.php#221 2016-12-26T04:02:21+00:00
    Error PHP unlink(/carbonics/owncloud/montanaembassy/cache/QsYVqhcD9EFZAjDGRcKLp83k-chunking-182809007-339): No such file or directory at /var/www/owncloud/lib/private/Files/Storage/Local.php#221 2016-12-26T04:02:21+00:00

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


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Design & UX Needs info bug sev3-medium

Most helpful comment

@Wikinaut So your log does not contain anything about "QDBusPlatformMenu"?

Can you try XDG_CURRENT_DESKTOP=unity too? Qt (at least from 5.5.0 onwards) contains a workaround relating to icon-setting via dbus that is applied only to unity as far as I'm aware.

But I'm just guessing, really. Is there a way for you to try a more recent build too? (https://build.opensuse.org/package/show/isv:ownCloud:community:nightly/owncloud-client) Maybe some of the other tray icon related fixes or workarounds also applies to this issue.

All 25 comments

On debian jessie, the last version ( 2.2.4-9.1) introduces dependances with qt5 library, the precedent version (2.2.4-8.1) used qt4 library.
This happens some time in the past and the solution was a repackaging with qt4 libraries.

Hope this help ...

Same problem here with debian 8 jessie: after update to version
Gebaut von der GIT-Revision eaeed0 auf Jan 4 2017, 20:56:21 verwendet Qt 5.3.2, OpenSSL 1.0.1k 8 Jan 2015

no tray symbol

$ dpkg -l | grep owncloud
ii  libowncloudsync0:amd64                2.2.4-9.1                            amd64        the ownCloud sync library
ii  owncloud-client:amd64                 2.2.4-9.1                            amd64        The ownCloud sync client - github.com/owncloud/client
ii  owncloud-client-l10n                  2.2.4-9.1                            all          Internationalization files for ownCloud

@montanaviking @Wikinaut just for the record, it's not appearing at all or is it misplaced like in #5432 ?

@montanaviking @SamuAlfageme not appearing at all.

OwnCloud sync icon not appearing at all on my Ubuntu 14.04 Gnome 2 desktop.
thanks,
Phil

On Tue, Jan 10, 2017 at 5:30 AM, Wikinaut notifications@github.com wrote:

@montanaviking https://github.com/montanaviking @SamuAlfageme
https://github.com/SamuAlfageme not appearing at all.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/owncloud/client/issues/5435#issuecomment-271575717,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHpr2qWTvpt6bF8KbJGNMbdiL5AtVFSxks5rQ4f4gaJpZM4Ldi4d
.

@Wikinaut @montanaviking thank you both for reporting! As @gwalarn says, It's likely to be related to debian switching to Qt5, we'll look into this since we're planning to drop support for Qt4 in some next release: https://github.com/owncloud/client/issues/2558

@SamuAlfageme This is not a pleasant situation.

In fact (at least for me), the icon is not visible but I can click where it should be placed to pop up the owncloud menu as usual. Waiting for a solution.
Under Jessie XFCE.

@montanaviking @Wikinaut

Thanks for the bug report. This unfortunate situation is probably a combination of bugs and workarounds relating to tray icons.

  • Does your log (start with --logfile mylog.txt) contain the string "Enabled QDBusPlatformMenu workaround"?
  • Can you give me the contents of the QT_QPA_PLATFORMTHEME and XDG_CURRENT_DESKTOP environment variables?
  • Does starting with XDG_CURRENT_DESKTOP=xfce produce different results?

@ckamm

XDG_CURRENT_DESKTOP=MATE
QT_QPA_PLATFORMTHEME (empty)

mylog.txt:
01-11 10:25:18:257 0x20ac360 application.cpp:363 "################## ownCloud de_DE (de_DE) 2.2.4"
01-11 10:25:18:257 0x20ac360 application.cpp:386 Running for 69011.3 sec
01-11 10:25:18:257 0x20ac360 owncloudgui.cpp:782 void OCC::ownCloudGui::slotShowSettings()
01-11 10:25:18:270 0x20ac360 abstractnetworkjob.cpp:234 !!! OCC::PropfindJob created for "https://www.example.com/owncloud" + "/" "OCC::QuotaInfo"
01-11 10:25:18:274 0x20ac360 abstractnetworkjob.cpp:234 !!! OCC::LsColJob created for "https://www.example.com/owncloud" + "/" "OCC::FolderStatusModel"

Starting with XDG_CURRENT_DESKTOP=xfce gave the same results, as far as I can see.

@Wikinaut So your log does not contain anything about "QDBusPlatformMenu"?

Can you try XDG_CURRENT_DESKTOP=unity too? Qt (at least from 5.5.0 onwards) contains a workaround relating to icon-setting via dbus that is applied only to unity as far as I'm aware.

But I'm just guessing, really. Is there a way for you to try a more recent build too? (https://build.opensuse.org/package/show/isv:ownCloud:community:nightly/owncloud-client) Maybe some of the other tray icon related fixes or workarounds also applies to this issue.

I tried with the 2.3.0 nightly on debian jessie xfce.

The icon is still missing. No error in the logfile.

$ cat log.txt
01-11 10:54:57:269 0x25e86d0 application.cpp:360 "##################
ownCloud fr_FR () 2.3.0nightly20170111 (build 2138) on Linux"
01-11 10:54:57:308 0x25e86d0 application.cpp:564 void
OCC::Application::setupTranslations() Using "fr_FR" translation
01-11 10:54:57:330 0x25e86d0 application.cpp:148 Loading global
exclude list
01-11 10:54:57:331 0x25e86d0 csync_exclude_load: Adding entry: *~
01-11 10:54:57:331 0x25e86d0 csync_exclude_load: Adding entry: ~$*
01-11 10:54:57:331 0x25e86d0 csync_exclude_load: Adding entry: .~lock.*
01-11 10:54:57:331 0x25e86d0 csync_exclude_load: Adding entry: ~*.tmp
01-11 10:54:57:331 0x25e86d0 csync_exclude_load: Adding entry: ]*.~*
*1-11 10:54:57:331 0x25e86d0 csync_exclude_load: Adding entry: ]Icon
01-11 10:54:57:331 0x25e86d0 csync_exclude_load: Adding entry:
].DS_Store
01-11 10:54:57:331 0x25e86d0 csync_exclude_load: Adding entry:
].ds_store
01-11 10:54:57:331 0x25e86d0 csync_exclude_load: Adding entry: ._*
01-11 10:54:57:331 0x25e86d0 csync_exclude_load: Adding entry:
]Thumbs.db
01-11 10:54:57:331 0x25e86d0 csync_exclude_load: Adding entry:
desktop.ini
01-11 10:54:57:332 0x25e86d0 csync_exclude_load: Adding entry: .*.sw?
01-11 10:54:57:332 0x25e86d0 csync_exclude_load: Adding entry: .*.*sw?
01-11 10:54:57:332 0x25e86d0 csync_exclude_load: Adding entry:
].TemporaryItems
01-11 10:54:57:332 0x25e86d0 csync_exclude_load: Adding entry: ].Trashes
01-11 10:54:57:332 0x25e86d0 csync_exclude_load: Adding entry:
].DocumentRevisions-V100
01-11 10:54:57:332 0x25e86d0 csync_exclude_load: Adding entry: ].Trash-*
01-11 10:54:57:332 0x25e86d0 csync_exclude_load: Adding entry: .fseventd
01-11 10:54:57:332 0x25e86d0 csync_exclude_load: Adding entry: .apdisk
01-11 10:54:57:332 0x25e86d0 csync_exclude_load: Adding entry: .htaccess
01-11 10:54:57:332 0x25e86d0 csync_exclude_load: Adding entry:
.directory
01-11 10:54:57:332 0x25e86d0 csync_exclude_load: Adding entry: *.part
01-11 10:54:57:332 0x25e86d0 csync_exclude_load: Adding entry:
*.filepart
01-11 10:54:57:333 0x25e86d0 csync_exclude_load: Adding entry:
*.crdownload
01-11 10:54:57:333 0x25e86d0 csync_exclude_load: Adding entry:
*.kate-swp
01-11 10:54:57:333 0x25e86d0 csync_exclude_load: Adding entry:
*.gnucash.tmp-*
01-11 10:54:57:333 0x25e86d0 csync_exclude_load: Adding entry:
.synkron.*
01-11 10:54:57:333 0x25e86d0 csync_exclude_load: Adding entry:
.sync.ffs_db
01-11 10:54:57:333 0x25e86d0 csync_exclude_load: Adding entry: .symform
01-11 10:54:57:333 0x25e86d0 csync_exclude_load: Adding entry:
.symform-store
01-11 10:54:57:333 0x25e86d0 csync_exclude_load: Adding entry:
.fuse_hidden*
01-11 10:54:57:333 0x25e86d0 csync_exclude_load: Adding entry: *.unison
01-11 10:54:57:333 0x25e86d0 csync_exclude_load: Adding entry: .nfs*
01-11 10:54:57:333 0x25e86d0 csync_exclude_load: Adding entry: My
Saved Places.
01-11 10:54:57:334 0x25e86d0 socketapi.cpp:118 SocketApi:  server
started, listening at  "/run/user/1000/ownCloud/socket"
01-11 10:54:57:334 0x25e86d0 folderman.cpp:58 setting remote poll
timer interval to 30000 msec
01-11 10:54:57:689 0x25e86d0 folderman.cpp:205 * Setup folders from
settings file
01-11 10:54:57:690 0x25e86d0 folder.cpp:139 Checked local path ok
01-11 10:54:57:690 0x25e86d0 folder.cpp:698 ==== adding system
ignore list to csync: "/etc/ownCloud/sync-exclude.lst"
01-11 10:54:57:690 0x25e86d0 csync_exclude_load: Adding entry: *~
01-11 10:54:57:691 0x25e86d0 csync_exclude_load: Adding entry: ~$*
01-11 10:54:57:691 0x25e86d0 csync_exclude_load: Adding entry: .~lock.*
01-11 10:54:57:691 0x25e86d0 csync_exclude_load: Adding entry: ~*.tmp
01-11 10:54:57:691 0x25e86d0 csync_exclude_load: Adding entry: ]*.~*
*1-11 10:54:57:695 0x25e86d0 csync_exclude_load: Adding entry: ]Icon
01-11 10:54:57:696 0x25e86d0 csync_exclude_load: Adding entry:
].DS_Store
01-11 10:54:57:696 0x25e86d0 csync_exclude_load: Adding entry:
].ds_store
01-11 10:54:57:696 0x25e86d0 csync_exclude_load: Adding entry: ._*
01-11 10:54:57:696 0x25e86d0 csync_exclude_load: Adding entry:
]Thumbs.db
01-11 10:54:57:696 0x25e86d0 csync_exclude_load: Adding entry:
desktop.ini
01-11 10:54:57:696 0x25e86d0 csync_exclude_load: Adding entry: .*.sw?
01-11 10:54:57:696 0x25e86d0 csync_exclude_load: Adding entry: .*.*sw?
01-11 10:54:57:696 0x25e86d0 csync_exclude_load: Adding entry:
].TemporaryItems
01-11 10:54:57:696 0x25e86d0 csync_exclude_load: Adding entry: ].Trashes
01-11 10:54:57:696 0x25e86d0 csync_exclude_load: Adding entry:
].DocumentRevisions-V100
01-11 10:54:57:696 0x25e86d0 csync_exclude_load: Adding entry: ].Trash-*
01-11 10:54:57:696 0x25e86d0 csync_exclude_load: Adding entry: .fseventd
01-11 10:54:57:696 0x25e86d0 csync_exclude_load: Adding entry: .apdisk
01-11 10:54:57:696 0x25e86d0 csync_exclude_load: Adding entry: .htaccess
01-11 10:54:57:697 0x25e86d0 csync_exclude_load: Adding entry:
.directory
01-11 10:54:57:697 0x25e86d0 csync_exclude_load: Adding entry: *.part
01-11 10:54:57:697 0x25e86d0 csync_exclude_load: Adding entry:
*.filepart
01-11 10:54:57:697 0x25e86d0 csync_exclude_load: Adding entry:
*.crdownload
01-11 10:54:57:697 0x25e86d0 csync_exclude_load: Adding entry:
*.kate-swp
01-11 10:54:57:697 0x25e86d0 csync_exclude_load: Adding entry:
*.gnucash.tmp-*
01-11 10:54:57:697 0x25e86d0 csync_exclude_load: Adding entry:
.synkron.*
01-11 10:54:57:697 0x25e86d0 csync_exclude_load: Adding entry:
.sync.ffs_db
01-11 10:54:57:697 0x25e86d0 csync_exclude_load: Adding entry: .symform
01-11 10:54:57:697 0x25e86d0 csync_exclude_load: Adding entry:
.symform-store
01-11 10:54:57:697 0x25e86d0 csync_exclude_load: Adding entry:
.fuse_hidden*
01-11 10:54:57:697 0x25e86d0 csync_exclude_load: Adding entry: *.unison
01-11 10:54:57:697 0x25e86d0 csync_exclude_load: Adding entry: .nfs*
01-11 10:54:57:697 0x25e86d0 csync_exclude_load: Adding entry: My
Saved Places.
01-11 10:54:57:698 0x25e86d0 folderman.cpp:928 Adding folder to
Folder Map  OCC::Folder(0x28e6a10) "1"

then owncloud is syncing ...

This is very likely the same as #4693 . It sounds like newer Qt versions have a fix and appmenu-qt5 also has a fix (do MATE and XFCE use appmenu-qt5?).

Does the workaround of starting with

--platformtheme=generic

still work? Also please try the environment variable QT_QPA_PLATFORMTHEME=appmenu-qt5 - this should trigger an existing workaround in the desktop client.

@ckamm

$ owncloud --platformtheme=generic
Unrecognized option '--platformtheme=generic'

@Wikinaut Huh, how about this?

QT_QPA_PLATFORMTHEME=generic owncloud
or
QT_QPA_PLATFORMTHEME=appmenu-qt5 owncloud

after today's debian 8 "update/upgrade" incl. qt5 updates (as far as I remember, qt5* packages were updated, too) it works!

Regression in debian.

Problem is gone. Closing this issue again.

@Wikinaut :-)

Problem came back: no tray icon on debian 8

@Wikinaut which version of the client are you using? it's pretty weird that the client displays different behavior without the dependencies changing (in 2.3.3 our Qt version is frozen). Are you updating your desktop environment on a regular basis?

@Wikinaut And please make sure you are really using 2.3.3 with owncloud Qt from https://owncloud.org/changelog/desktop/

As reported in #6008 , copied to here:

  • Debian 8
  • Owncloud 2.3.3: Gebaut von der GIT-Revision 57bc79 auf Sep 5 2017, 18:45:40 verwendet Qt 5.6.2, OpenSSL 1.0.1t 3 May 2016

I'll re-open #6008

Problem - I use NextCloud - disappeared after yesterday's upgrading to debian 10.

Was this page helpful?
0 / 5 - 0 ratings