flathub / net.jami.Jami

https://flathub.org/apps/details/net.jami.Jami
GNU General Public License v3.0
7 stars 7 forks source link

I can not restore my account from a Jami backup file after upgrade to current version. #49

Closed Nokia808 closed 2 years ago

Nokia808 commented 2 years ago

Hello. I upgraded to last version of Jami available on FlatHub & I should be now with QT version .....

After upgraded, I can not opened my account. It seem that new Qt version behave as completely new application. Okay, I deleted all cache & restarted Jami & tried to restore my .gz file which is already created by old GNOME version.

1st point, I noticed that Jami opened to me on my home directly & only observed "Video" folder & never observed neither other folders like "Music, ........" nor recognized my .gz backup file which I past within my home directory !! I selected "show all file" option in navigator, but same thing !! I tried then to navigate into "Video" folder after copy/past .gz file to it, but same behavior !! Moreover it showed me a path not existing which is a "Jami" folder within "Video" folder !!

Kindly, can you help with this ? I think it is a permission(s) issue ....

Best.

FuchtelJockel commented 2 years ago

Could you give me the output of echo $XDG_CURRENT_DESKTOP? And is running Jami with with XDG_CURRENT_DESKTOP=GNOME flatpak run net.jami.Jami helping?

Nokia808 commented 2 years ago

Hello.

1) output of echo "$XDG_CURRENT_DESKTOP" is as following:

X-Cinnamon

2) yes, Jami can be run by using "XDG_CURRENT_DESKTOP=GNOME flatpak run net.jami.Jami". But, kindly, see the output of this command - it showed me errors !

QStandardPaths: wrong permissions on runtime directory /run/user/1000, 0755 instead of 0700
Gtk-Message: XXXXX:XXXXX:XXXXX.XXXXX: Failed to load module "xapp-gtk3-module"
Qt: Session management error: None of the authentication protocols specified are supported
Using Qt runtime version: 6.2.4  -  5
Failed to load vulkan: Cannot load library vulkan: (vulkan: cannot open shared object file: No such file or directory)
initInstance: No Vulkan library available
Failed to create platform Vulkan instance
qt.webenginecontext: 

GLImplementation: desktop
Surface Type: OpenGL
Surface Profile: CompatibilityProfile
Surface Version: 4.6
Using Default SG Backend: yes
Using Software Dynamic GL: no
Using Angle: no

Init Parameters:
  *  application-name Jami 
  *  browser-subprocess-path /app/bin/QtWebEngineProcess 
  *  create-default-gl-context  
  *  disable-features DnsOverHttpsUpgrade,ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture 
  *  disable-setuid-sandbox  
  *  disable-speech-api  
  *  disable-web-security  
  *  enable-features NetworkServiceInProcess,TracingServiceInProcess 
  *  enable-main-frame-before-activation  
  *  enable-threaded-compositing  
  *  gpu-preferences XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  *  in-process-gpu  
  *  lang en 
  *  num-raster-threads 2 
  *  single-process  
  *  use-gl desktop 

"Using locale: en_US"
No accounts to migrate
Screen saver dbus interface:  "org.freedesktop.ScreenSaver"
Can't update current account info data for ""
Main window loaded using OpenGLRhi
QDBusConnection: name 'cx.ring.Ring' had owner '' but we thought it was ':1.2073'
NewAccountModel::getAccountInfo, can't find dummy ; Using default avatar
NewAccountModel::getAccountInfo, can't find dummy ; Using default avatar
URI action invoked by secondary instance ""

Please notice that I hide some data by XXXXXXXXXXXXX because I do not know if it is private data or not.

FuchtelJockel commented 2 years ago

Were you able to open your backup with running XDG_CURRENT_DESKTOP=GNOME flatpak run net.jami.Jami?

You can also give the permission by running flatpak override --user --filesystem=$HOME net.jami.Jami but I would like to know if the command above works.

FuchtelJockel commented 2 years ago

Do you have xdg-desktop-portal-gtk installed?

Nokia808 commented 2 years ago

1) I can not open my backup (never seen at all ! Same condition) by run "XDG_CURRENT_DESKTOP=GNOME flatpak run net.jami.Jami"

2) yes, "xdg-desktop-portal-gtk" is already installed on my system.

FuchtelJockel commented 2 years ago

running flatpak override --user --filesystem=$HOME net.jami.Jami should make it work

Nokia808 commented 2 years ago

Kindly, update flatpak package with appropriate permission(s) changes.

FuchtelJockel commented 2 years ago

The Qt Client should use portals to handle all filesystem permissions, for some reason this doesn't work on your end. I will add permissions in the next release. For now you can use the override.

Nokia808 commented 2 years ago

I updated, today, to last version available in FlatHub. The problem is still existing ...

FuchtelJockel commented 2 years ago

I added permission for the xdg-download folder and I won't add more (It is enough for the Telegram flatpak). Flatpak portals work fine on my end and I can't reproduce any issues you have. This is an issue with you desktop setup or Cinnamon.

FuchtelJockel commented 2 years ago

reopen if needed

Nokia808 commented 2 years ago

@FuchtelJockel Hello. Issue still existing inspite all updates that I received from FlatHub after you closed this issue ! Currently, I'm on last version available on Flathub & issue still existing !

However, I will not re-opened it now, & I need - 1st - your suggestions to discover if the error is from my side. Kindly, inform me about which package(s) that could be lost from my system & thus being responsible to cause this issue. I'm using system upgrade (not fresh installation) to upgrade my Fedora OS since I started with Fedora 24 (24 to 26 to 28 to 30 to 32 to 34 to 36). I suffered from time to time from errors & discovered that they were due to loss of package(s) during system upgrade processes (& they shouldn't be removed during these processes) .........

FuchtelJockel commented 2 years ago

You can make a new account backup and try to import it. If it works, your old backup file is corrupted. When I was looking in to this issue I also had issues with corrupt files.