Skip to content
This repository has been archived by the owner on Jul 23, 2022. It is now read-only.

AppImage broken after update #184

Closed
jarthurgross opened this issue Jan 5, 2019 · 12 comments
Closed

AppImage broken after update #184

jarthurgross opened this issue Jan 5, 2019 · 12 comments
Labels

Comments

@jarthurgross
Copy link

Today Bitwarden prompted me to update, and after updating the AppImage fails to start due to a JavaScript error. Below is the output I get after running Bitwarden-1.12.0-x86_64.AppImage from the terminal:

/tmp/.mount_BitwarqQ9AIY/bitwarden: /lib/x86_64-linux-gnu/libdbus-1.so.3: no version information available (required by /tmp/.mount_BitwarqQ9AIY/bitwarden)
/tmp/.mount_BitwarqQ9AIY/bitwarden: /lib/x86_64-linux-gnu/libdbus-1.so.3: no version information available (required by /tmp/.mount_BitwarqQ9AIY/bitwarden)
A JavaScript error occurred in the main process
Uncaught Exception:
Error: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /tmp/.org.chromium.Chromium.6HPJeY)
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:740:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:180:18)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (internal/modules/cjs/loader.js:658:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/tmp/.mount_BitwarqQ9AIY/resources/app.asar/node_modules/keytar/lib/keytar.js:1:169)
    at Object.<anonymous> (/tmp/.mount_BitwarqQ9AIY/resources/app.asar/node_modules/keytar/lib/keytar.js:61:3)

It looks like a library problem, which confuses me because I thought the AppImage would take care of most of those problems, but maybe I don't have some core library that the AppImage expects me to have since I'm running an old OS.

My system is running Linux Mint 17 'Qiana', Xfce 64-bit.

@kspearrin
Copy link
Member

Looks like the errors are coming from keytar, which uses libsecret. https://github.com/atom/node-keytar

Is the libsecret package available on this OS?

@roadkills-r-us
Copy link

roadkills-r-us commented Mar 7, 2019

I am seeing the same problem on RHEL 7.5. It happens with the .AppImage and the RPM.
libsecret is installed. Both it and the BitWarden binary are x86_64.

@roadkills-r-us
Copy link

Per someone else here, "Yeah, Redhat 7 tops out at 1.3.7 for CXXABI."

@tukusejssirs
Copy link

tukusejssirs commented Jun 23, 2019

I have same problem on Centos 7 (GNOME 3 Desktop).

Steps to reproduce:

wget "https://vault.bitwarden.com/download/?app=desktop&platform=linux&variant=appimage"
chmod +x Bitwarden-x86_64.AppImage
./Bitwarden-x86_64.AppImage

Output of the last command:

A JavaScript error occurred in the main process
Uncaught Exception:
Error: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /tmp/.org.chromium.Chromium.Sj1g8J)
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:740:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:180:18)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
    at Function.Module._load (internal/modules/cjs/loader.js:551:3)
    at Module.require (internal/modules/cjs/loader.js:658:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/tmp/.mount_bitwarIKmjkS/resources/app.asar/node_modules/keytar/lib/keytar.js:1:169)
    at Object.<anonymous> (/tmp/.mount_bitwarIKmjkS/resources/app.asar/node_modules/keytar/lib/keytar.js:61:3)

Edit: I’ve found a similar issue #254 in Microsoft/napajs. These two might be connected with each other.

@kspearrin
Copy link
Member

@tukusejssirs Is libsecret installed?

@tukusejssirs
Copy link

@kspearrin, yes, I have libsecret-0.18.6-1.el7.x86_64 installed.

@saeta-eth
Copy link

I got the same error, is there any workaround?

@tukusejssirs
Copy link

@slorenzo, use other options, like a browser extension. I use one for Firefox.

Still, this issue must be solved.

@tukusejssirs
Copy link

@slorenzo, I found out that adding --no-sandbox option make the *.appimage running. However, I did not have enough time yet to search how to make the sandbox configured (the issue is that the sandbox is not configured).

@labor4
Copy link

labor4 commented Feb 24, 2021

for me:

./Bitwarden-1.24.6-x86_64.AppImage --no-sandbox %U

doesn't work anymore, and was working before the self-update, while on latest Centos 7.9

$ cat /etc/centos-release 
CentOS Linux release 7.9.2009 (Core)

and is producing a similar

$ ./Bitwarden-1.24.6-x86_64.AppImage --no-sandbox %U
A JavaScript error occurred in the main process
Uncaught Exception:
Error: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /tmp/.org.chromium.Chromium.2V5ivr)
    at process.func (electron/js2c/asar.js:138:31)
    at process.func [as dlopen] (electron/js2c/asar.js:138:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
    at Object.func (electron/js2c/asar.js:138:31)
    at Object.func [as .node] (electron/js2c/asar.js:147:18)
    at Module.load (internal/modules/cjs/loader.js:645:32)
    at Function.Module._load (internal/modules/cjs/loader.js:560:12)
    at Module.require (internal/modules/cjs/loader.js:685:19)
    at require (internal/modules/cjs/helpers.js:16:16)
    at Object.<anonymous> (/tmp/.mount_BitwarIQLIHB/resources/app.asar/node_modules/keytar/lib/keytar.js:1:14)

@labor4
Copy link

labor4 commented Feb 25, 2021

BTW
I switched to the snap version, since it's marked with a encouraging green "verified account" badge.

# (centos 7.9 with snapd installed)
sudo snap install bitwarden

and this one works.

@bitwarden-bot
Copy link

Hi @jarthurgross,
We're cleaning up our repositories in preparation for a major reorganization. Issues from last year will be marked as stale and closed after two weeks. If you still need help, comment to let us know and we'll look into it.
Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

8 participants