-
Notifications
You must be signed in to change notification settings - Fork 667
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
ownCloud client icon not shown in Ubuntu 18.04 #6518
Comments
@samiux Thank you for reporting the issue. Which exact version of the ownCloud client are you using? Did you install from the ownCloud repos or from the Ubuntu repos? |
The ownCloud client is from both ownCloud's Ubuntu repos and Ubuntu's official repos. After several experiments, I confirmed that it cannot work with Gnome Shell Extension only. Without Gnome Shell Extension, it is working flawless. |
@samiux It seems like top-icons-plus isn't in development anymore and might not work with 18.04, see https://extensions.gnome.org/extension/1031/topicons/ https://github.com/phocean/TopIcons-plus - it's quite likely that this is not a ownCloud client issue. That extension's website's comments suggest https://extensions.gnome.org/extension/495/topicons/ - does that work? |
I have tested ownCloud client without "top icons plus" but with other Gnome Shell Extensions. When Gnome Shell Extensions are enabled, ownCloud client will not be displayed. I need to disable Gnome Shell Extension feature in "Gnome Tweaks". Any idea? |
@samiux This really sounds like an issue with the software managing the icons. Are there other programs with not gnome-native tray icons that don't have this problem? |
I use RadioTray-NG (https://github.com/ebruck/radiotray-ng) which works flawlessly with and without Gnome Shell Extension. Sometimes, indicator-cpufreq works properly with Gnome Shell Extension. |
Okay, hmm. RadioTray-NG uses gtk and appindicator. I don't know what that "Gnome Shell Extension" option does. This looks like it's supposed to integrate the Unity AppIndicators and the KDE StatusNotifierItems into the shell, does that work for you? https://extensions.gnome.org/extension/615/appindicator-support/ Tray icons on linux are a complicated mess unfortunately. We do want to support ubuntu 18.04 though and it seems like we'll need to check it out directly to figure out what workarounds are necessary this time. |
Ubuntu 18.04 installed "gnome-shell-exension-appindicator" and it is enabled by default. The following are the list of available extensions that come with Ubuntu 18.04. gnome-shell-extension-appindicator - App indicators for GNOME Shell |
@samiux I've tried reproducing the behavior you describe, but haven't been successful yet. I installed 18.04 and Do I need to restart the shell for this to take effect? How do I reproduce? Also, does this problem appear in the ubuntu default configuration or only when changes are made? |
Ubuntu 18.04 does not use unity-desktop any more. It use ubuntu-desktop which is installed by default. After the install, you need to logout and re-login or reboot. The ownCloud client icon will disappear when Gnome Shell Extension is enabled in Gnome Tweaks. |
@samiux I still cannot reproduce the problem. I have ubuntu-desktop installed, as well as gnome tweaks. I've tried various permutations of having the global on/off button on the "Extension" pane toggled, as well as the plugins individually (particularly appindicator), logging out/in after each change. But the owncloud icon always appears in the top-right area for me. Does this happen with the "Ubuntu", "Ubuntu on Wayland" or "Gnome Classic" desktop env? For me, there were not tray icons on "Gnome Classic" no matter what setting I used for "Extensions". Note: this is based on installing ubuntu-desktop on a kubuntu, I might be missing some packages to make this problem appear. |
@samiux Oh, maybe this is related to the tray-startup issue? Does the icon appear if you kill the owncloud client and then restart it manually? I always started it manually in my tests. |
I install official Ubuntu Desktop 18.04 LTS and selected "Ubuntu" when login. I did not try other variants. Gnome Tweaks is installed. Gnome Shell Extension is enabled with some extensions such as gnome-shell-extension-appindicator, gnome-shell-extension-hard-disk-led, gnome-shell-extension-system-monitor, gnome-shell-extension-better-volume and radiotray-ng and indicator-cpufreq installed as well as enabled. I reboot or re-login to test the ownCloud client icon. |
I stop it by "sudo pkill owncloud" and restart it with "sudo owncloud &" but in vain. By the way, what is the owncloud client icon look like? "/usr/bin/owncloud"? |
I've tried again in a VM using the ubuntu live cd, but the icon always appears for me. Even when the top-icons-plus extension is installed. Currently I have to assume it's something on your end. If you can give me steps for reproducing the issue starting from a clean install of 18.04 and double check them yourself beforehand I'm up for trying again though. Note that even if I can reproduce the problem it might end up being an upstream issue. |
I finally find the issue. Before that I installed the following gnome-shell-extensions with owncloud-client, they are all installed from Ubuntu 18.04 respo, they are : gnome-shell-extension-appindicator However, owncloud-client is workable with the following gnome-shell-extensions only : gnome-shell-extension-appindicator When "gnome-shell-extension-top-icons-plus" is disabled, owncloud-client does not work with "gnome-shell-extension-hard-disk-led" alone. In addition, owncloud-client works with gnome-shell-extension-appindicator. By the way, the following indicators also work with owncloud-client even gnome-shell-extensions are enabled. Others gnome-shell-extensions are not tested : indicator-cpufreq For your information, please. |
If I enable extensions and switch on only "hard-disk-led" (so appindicator and top-icons-plus are disabled), the owncloud icon is still visible for me when I log out and back in. In any case, it sounds like appindicator/top-icons-plus should be necessary to show the owncloud indicator (which is not gnome-native), so I'm more surprised about it continuing to work for me than about it disappearing for you. |
I confirmed that "gnome-shell-extension-hard-disk-led" works with owncloud-client no matter "gnome-shell-extension-top-icons-plus" and/or "gnome-shell-extension-appindicator" is enabled or disabled or not. |
@samiux When speaking about this with @ogoffart he pointed towards your Regarding your other messages: I'm confused now. Previously I understood you as saying the tray icon would not show if both top-icons-plus and appindicator were disabled. Are you now saying it works no matter whether they are enabled or not? Which is the exact configuration to make the tray icon not show up? |
The autostarter is running "owncloud" without "sudo". "gnome-shell-extension-hard-disk-led" is compatible with owncloud-client but the other gnome-shell-extensions are not. |
Here is what I get when it fails to setup the tray (with grep -i tray): And with the delay workaround (again with grep -i tray): When enabling permanent logging OwnCloud mostly freezes when opening the logging window... I suspect it is due to the fact that this also enables debug logging and creates quite a large volume of logs. |
I tried again, but logging out from all accounts before enabling logging, because with OwnCloud mostly frozen I suspect I got confused with which log was which attempt in my previous response. Now it is better ordered, and it makes more sense. The first attempt (20:29) was with the delay workaround, and the second one (20:30) without it. gpothier@tadzim4:~$ ls -lt /tmp/ownCloud-logdir/ gpothier@tadzim4:~$ cat /tmp/ownCloud-logdir/20190312_2029_owncloud.log.0 |grep -i tray gpothier@tadzim4:~$ zcat /tmp/ownCloud-logdir/20190312_2030_owncloud.log.0.gz |grep -i tray |
@gpothier Thanks for the data! That means the client does try after 10s, but it has no effect. :/ I'll see about adding that autostart delay workaround. |
It seems that sometimes the tray implementation isn't ready on system startup. Retrying later seems to not help. Delaying the start of the client is the workaround that people have reported as effective.
It seems that sometimes the tray implementation isn't ready on system startup. Retrying later seems to not help. Delaying the start of the client is the workaround that people have reported as effective.
It seems that sometimes the tray implementation isn't ready on system startup. Retrying later seems to not help. Delaying the start of the client is the workaround that people have reported as effective.
It seems that sometimes the tray implementation isn't ready on system startup. Retrying later seems to not help. Delaying the start of the client is the workaround that people have reported as effective.
From >=2.5.5 the client will automatically add the 10s delay to the desktop file it generates. |
It seems that sometimes the tray implementation isn't ready on system startup. Retrying later seems to not help. Delaying the start of the client is the workaround that people have reported as effective.
tested on ubunut18.04starting with 2.5.3 (to reproduce the problem) install owncloud-client-2.5.3 Also when disabling all these extensions or some combination of them the owncloud tray icon always appear. -> CANNOT TEST properly install owncloud-client-2.5.4rc1 |
I've had similar trouble reproducing the issue in vms, but it seems to be fairly common in the wild :/ |
I just realized I never mentioned that I use the "vanilla" Gnome Shell, not the Ubuntu-customized one... I don't know about the original reporter. And then select "Gnome on Xorg" when logging in. |
Hello I am not seeing the owncloud icon in Xubuntu 19.04. Not sure if it is related to the above. When I kill the owncloud process, and then start it again from the command line the icon appears. I have owncloud version 2.5.1. There is no package gnome-shell-extension-top-icons-plus available to install or remove. Let me know what I can do to help debug. |
Hi all
The client is clearly not syncing. It has been like that for a while apparently. Did not work with 2.5.4 and now it doesn't with 2.6.0. Manual sync with owncloudcmd works. The issue might be related to some notification library as I removed most of those that do not work well with MATE. however there are no dependencies for those in the packaging so I assumed they were not critical. |
@floridop Can you try to launch the owncloud-client for a second time? That should bring you to the settings screen, so that you can see, what is going on. Connected or not, waiting for user confirmations, etc... Glad you mention that you removed packages from your system. Having notififications is not a hard requirement. But there may be other things like tray-icon compatibility libraries, that may be critical to seeing the icon or not. With or without the tray-icon visible. It should still happily sync. Seems we have two separate issues here. |
@jnweiger the process seems to be stuck, and producing no useful logs. > owncloud --logwindow --logfile /tmp/owncloud.log --logdir /tmp/ownsyncs --logdebug
^Z
[1] + 3621 suspended owncloud --logwindow --logfile /tmp/owncloud.log --logdir /tmp/ownsyncs
pflorido@tjatte:pts/9->/nfs/users/floridop (148)
> bg
[1] + 3621 continued owncloud --logwindow --logfile /tmp/owncloud.log --logdir /tmp/ownsyncs
pflorido@tjatte:pts/9->/nfs/users/floridop (0)
> owncloud
gui.application: Already running, exiting...
pflorido@tjatte:pts/9->/nfs/users/floridop (255)
> ps aux | grep owncloud
pflorido 3621 0.2 0.2 398204 25948 pts/9 Sl 14:20 0:00 owncloud --logwindow --logfile /tmp/owncloud.log --logdir /tmp/ownsyncs --logdebug
pflorido 3654 0.0 0.0 24296 1016 pts/9 S+ 14:21 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn owncloud As said I recently removed some default notification package that was basically killing all my other applications, I hope I can find it in the history. The issue may be related to some other component like dbus. The fact that the icon does not show might not be related with any of the tray applets, that could explain why you have hard time reproducing. > cat /tmp/ownsyncs/20191112_1420_owncloud.log.0
11-12 14:20:58:026 [ info gui.application ]: "################## ownCloud locale:[en_US] ui_lang:[] version:[2.6.0 (build 1714)] os:[Ubuntu 18.04.3 LTS]"
11-12 14:20:58:026 [ info gui.application ]: Using "en_US" translation
the sad thing is that I actually had more information with 2.5.4. The above is all I get from the 2.6.0. there is no other logfile in the no log window shows up anywhere. |
Found some removed packages |
Forget about my comments. I had a stale |
good analysis. Yep, that explains it nicely. Thanks for clearing that up, :-) @ckamm enhancement suggestion: have a line in the log and on stdout, when there is a lock. |
Expected behaviour
ownCloud client icon show on Ubuntu 18.04 panel when gnome-shell-extension-top-icons-plus is installed and enabled.
Actual behaviour
ownCloud client is install from ownCloud official site via respo. After enabled start when startup, the icon could not be shown on the panel in Ubuntu 18.04 even gnome-shell-extension-top-icons-plus is installed and enabled.
Steps to reproduce
The text was updated successfully, but these errors were encountered: