Skip to content
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

Login Webview crash on Linux #307

Open
herve-er opened this issue Sep 19, 2024 · 7 comments
Open

Login Webview crash on Linux #307

herve-er opened this issue Sep 19, 2024 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@herve-er
Copy link
Contributor

herve-er commented Sep 19, 2024

Dear Infomaniak team,

after starting the 3.5.8 AppImage I get the following Popup:

Everytime I close it it pops up again immediately and blocks the
initialization of the login process.

Same happens with version 3.6.1 AppImage

and version 3.6.4 (Linux Mint 21.3 Cinnamon).

Can you please check this issue.

Thanks in advance.
Harald

@herve-er
Copy link
Contributor Author

@herve-er herve-er changed the title Dear Infomaniak team, Login Webview crash on Linux Sep 19, 2024
@herve-er
Copy link
Contributor Author

Hi @harryburli,

It appears that the issue arises from the opening of the login webview.
This often occurs due to the following reasons:

  1. The operating system (OS) is not up to date. Can you try to execute the following commands:
    1.1 sudo apt-get update
    1.2 sudo apt-get upgrade
  2. Also ensure that your graphics card driver is up to date, preferably by downloading it directly from your graphics card manufacturer's website (e.g., Nvidia: https://www.nvidia.com/en-us/drivers/).

This should resolve the issue. If not, could you also provide us with the client log (yyyymmdd_hhmm_kDrive-client.log)?

@harryburli
Copy link

20240912_1605_kDrive.log
20240925_1501_kDrive_client.log.

The System is up to date also the newest Nvidia Driver is installed but it does still not work.

@herve-er
Copy link
Contributor Author

Hello @harryburli,
It appears that we are encountering an issue where certain AppArmor restriction increases are preventing us from displaying the login window on some Linux distributions. This could explain why you the pop still pops up.

Could you try the following workaround found in another issue: #237 (comment)

Edit the file /etc/apparmor.d/kdrive with the the following content:

# This profile allows everything and only exists to give the
# application a name instead of having the label "unconfined"

abi <abi/4.0>,
include <tunables/global>

profile kdrive <path_to_kDrive_appimage> flags=(unconfined) {
  userns,
  
  # Site-specific additions and overrides. See local/README for details.
  include if exists <local/kdrive>
}

Restarted apparmor with sudo service apparmor restart

@herve-er herve-er self-assigned this Sep 30, 2024
@herve-er herve-er added the bug Something isn't working label Sep 30, 2024
@harryburli
Copy link

Hi, my computer is currently being repaired because it is defective. I can only test it once it is back. :-(

@harryburli
Copy link

Hi, tested it but it did not work.
Still the exact same issue.

@herve-er
Copy link
Contributor Author

herve-er commented Nov 5, 2024

Hi @harryburli,

First, I apologize for the delay in response.

From your log, it seems that you're still on version 3.6.4 of kDrive. Could you please update to the latest version, as it includes some changes in login behavior (#280)?

Once updated, if the issue persists, could you open kDrive, wait for the popup to appear, close it, let it appear again, and then send us the kDrive and kDrive_client logs?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants