You are not logged in.
Pages: 1
Hi:
I'm trying to install the Rocket.Chat desktop client (https://github.com/RocketChat/Rocket.Chat.Electron) from the AUR (https://aur.archlinux.org/packages/rock … lient-bin/). It installs fine, but when I try to run it, the window is briefly created, but then disappears. The client appears to be running still because I get notifications via libnotify (dunst), but there's no window. This happens in both i3 (my normal environment) and xfce4 (installed to test this).
Here's the output on the terminal:
(rocketchat:6482): dbind-WARNING **: 07:38:49.783: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Checking for update
Error: Error: ENOENT: no such file or directory, open '/opt/Rocket.Chat+/resources/app-update.yml'
at /opt/Rocket.Chat+/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:391:27
at Generator.next (<anonymous>)
From previous event:
at AppImageUpdater.loadUpdateConfig (/opt/Rocket.Chat+/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:555:7)
at Lazy.AppUpdater.configOnDisk (/opt/Rocket.Chat+/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:134:43)
at Lazy.get value [as value] (/opt/Rocket.Chat+/resources/app.asar/node_modules/lazy-val/src/main.ts:18:23)
at /opt/Rocket.Chat+/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:298:46
at Generator.next (<anonymous>)
at runCallback (timers.js:789:20)
at tryOnImmediate (timers.js:751:5)
at processImmediate [as _immediateCallback] (timers.js:722:5)
From previous event:
at AppImageUpdater.getUpdateInfo (/opt/Rocket.Chat+/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:460:7)
at /opt/Rocket.Chat+/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:308:35
at Generator.next (<anonymous>)
From previous event:
at AppImageUpdater.doCheckForUpdates (/opt/Rocket.Chat+/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:502:7)
at /opt/Rocket.Chat+/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:279:25
at Generator.next (<anonymous>)
at runCallback (timers.js:789:20)
at tryOnImmediate (timers.js:751:5)
at processImmediate [as _immediateCallback] (timers.js:722:5)
From previous event:
at AppImageUpdater._checkForUpdates (/opt/Rocket.Chat+/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:433:7)
at AppImageUpdater.checkForUpdates (/opt/Rocket.Chat+/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:217:35)
at checkForUpdates (/opt/Rocket.Chat+/resources/app.asar/app/background.js:389:37)
at afterMainWindow (/opt/Rocket.Chat+/resources/app.asar/app/background.js:512:5)
at App.<anonymous> (/opt/Rocket.Chat+/resources/app.asar/app/background.js:597:5)
at emitTwo (events.js:131:20)
at App.emit (events.js:214:7)
Item with id server-list-separator is not foundI don't think the update error at the beginning precludes it from running entirely and I'm not sure what to make of the rest.
Any ideas?
Offline
I was about to write "None yet, other than to say 'me too'." I have managed to get it to open now, except it's freezing in less than a minute every time I open it. Maybe it is related to the ENOENT error? This user has the update window open but sounds like it stops responding: https://github.com/RocketChat/Rocket.Ch … issues/747
You may have luck with removing ~/.config/Rocket.Chat+. I only had partial success.
My specific history:
It was working fine for me before, but after running into the glibc 2.28 electron crash and trying to work around it, I started having similar problems. I'm just using Gnome.
I tried the flatpak version. The GUI crashes instantly every time I try to launch it. (The process does not terminate.)
I reinstalled rocketchat-client-bin and used patchelf to get it to use glibc 2.27.
The rocketchat-client-bin GUI also crashed instantly with the process not terminating.
Removing ~/.config/Rocket.Chat+ solved the crash and now the rocketchat-client-bin client opens fine.
Exiting by clicking the window frame's close button did not terminate the process. After killing it, the client would not open until I removed the .config directory again.
Exiting using Ctrl-Q exits it cleanly and I could re-launch the client.
I could log in, but then the GUI would freeze and Gnome would prompt me to "force quit". (I tried multiple times.)
I've given up for now and uninstalled it.
Using patchelf (adapted from oni as found by a colleague):
$ cd /opt/Rocket.Chat+
$ mkdir glibc; cd glibc
$ tar xvf /var/cache/pacman/pkg/glibc-2.27-3-x86_64.pkg.tar.xz
$ sudo patchelf --set-interpreter "/opt/Rocket.Chat+/glibc/usr/lib/ld-linux-x86-64.so.2" ../rocketchat
$ sudo patchelf --set-rpath "/opt/Rocket.Chat+:/opt/Rocket.Chat+/glibc/usr/lib" ../rocketchatThe problem with that is having to manually remove /opt/Rocket.Chat+/glibc later.
Offline
Ok... so I don't know what happened when I used the flatpak version before, but after removing it and removing ~/.var/app/chat.rocket.RocketChat, and then reinstalling it, it opens up just fine.
As with the rocketchat-client-bin version, though, the window freezes after several seconds and Gnome prompts me to force quit it.
$ flatpak install flathub chat.rocket.RocketChat
$ flatpak run chat.rocket.RocketChatOffline
Was the need for patchelf not resolved with glibc-2.28-2 or later?
Offline
Hah... Probably it is and I missed it. This week's been busy, so I'm behind on updates and forgot to check glibc before trying patchelf, which I'd been meaning to do for several days.
Offline
Pages: 1