flathub / com.synology.SynologyDrive

https://flathub.org/apps/details/com.synology.SynologyDrive
7 stars 10 forks source link

Error deploying: While trying to apply extra data: apply_extra script failed, exit status 256 #44

Closed jasongullifer closed 4 months ago

jasongullifer commented 5 months ago

I'm attempting to install this flatpak on a new system running Fedora 39 (flathub is enabled). I receive the error message below:

Error: Error deploying: While trying to apply extra data: apply_extra script failed, exit status 256 error: Failed to install com.synology.SynologyDrive: Error deploying: While trying to apply extra data: apply_extra script failed, exit status 256

I tried on a couple different computers (Pop OS 22.04 and another Fedora 39) and received the same error. It happens when I run flatpak install com.synology.SynologyDrive or when trying to install through the graphical Gnome software center.

ExodoPlex commented 5 months ago

Also having this exact issue on Fedora 39 Silverblue.

Please feel free to reach to to me for any testing I can do to help.

AmrEldib commented 4 months ago

I'm also having the same issue on a fresh install of Fedora 39. Two or three weeks ago, I was able to install this package on a different machine that also had a fresh install of Fedora 39.

faeb5 commented 4 months ago

The problem seems to be this: ar: error while loading shared libraries: libbfd-2.41.so: cannot open shared object file: No such file or directory

I saw a similar error in other flatpaks. One solution was to switch from ar to bsdtar which should be included in the runtime. Could this help here, too?

jasongullifer commented 4 months ago

I was playing around flatpak-builder from inside a distrobox container (I'm also on silverblue). Changing the line calling ar inside the yaml file to bsdtar -xf synology-drive.deb does appear to give a successful build.

However, I can't confirm that the build works. I can't yet figure out how to successfully run the flatpak from inside distrobox, nor could I figure out how to install from the build-dir outside the box.

As a workaround until the flatpak is fixed, I was able to create a debian distrobox container, install some graphical and net-tool dependencies, then install synology-drive from the deb file with dpkg. I can now open drive from inside the debian container; it stays running until the next reboot.

jasongullifer commented 4 months ago

I tested the most recent build and can confirm what @feab5 said about the lack of tray icons. Also for me, on opening the application once, it appears not to run (no syncing occurs). If I open again, I am presented with the synology-drive system menu, and syncing works, but I have no icon in my gnome AppIndicator panel.

AmrEldib commented 4 months ago

Is there a fix or workaround for this issue? I tried installing the test build, but I get a 404 error I'm still unable to install the Drive package on Fedora 39 Thank you!

lil5 commented 4 months ago

This should soon be resolved with the next build, let me know!

AmrEldib commented 4 months ago

This resolved it. I can install it now on Fedora 39. Thank you very much!

lil5 commented 4 months ago

Great! @AmrEldib Thanks for the response!