Nextcloud client for raspberry pi

Hello,

I am new to the Nextcloud community and recently configured a Raspberry Pi 4/B (with Raspbian Buster) to act as a Nextcloud Server, with the intent of replacing our family’s use of Dropbox to share files. It works quite well across our Windows PCs and iOS devices.

Now I am hoping to configure a second Raspberry Pi 4/B as a Nextcloud client. This thread is eye-opening, but I have trouble following it to clearly understand what will work and what won’t.

Has anyone successfully built and installed a Nextcloud Client on a RPi 4/B and would you kindly share the steps you took to do this? Please note I am a relative novice in Linux.

Thank you,
Kwc

I was rebuild qt-library and upload it to github.
I use rpi3, buster.

1 Like

Hi kwc,

I got it kind of running on RPI4B-4G with a lot of help from 11137.

Please follow his link(s) above and install Qt5 webengine for buster like explained (sudo dpkg --install qtwebengine-wnote.deb).

Next we need to have his nextcloud-dekstop-client version. The instruction mentioned above (on 20 aug) and copied below are not working for me. I got it running by using version 2.5.3 which i got from 11137 and i used before on RPI3 (i think it was replacing 2.5.2 in the link by 2.5.3). I also needed to install an extra qt5 package (something called widgets). Please share what you encounter. Thanks.

Thanks to jacremer and 11137 for the recommendations. I guess no matter how you approach it, this isn’t a straightforward process.

I will give it a try at some point when I find the time–thanks again.

I tried it on Pi 4 with Raspbian 9/2019:
but get this error message:
./bin/nextcloud: error while loading shared libraries: libocsync.so.0: cannot open shared object file: No such file or directory

Someone any idea how to fix it?

Hi Franz2,
I didn’t encoutered this one as far as i remember. When i do apt search for libocsync i find stable 0.91 version and none of them are installed at my RPI4 (with owncloud desktop running very smoothly). i wonder which owncloud version you want to install (mine 2.5.3). To solve your problem i suggest to run sudo apt install libocsync0. Good luck.

PS. in nextcloud-desktop-client/lib/arm-linux-gnueabihf/nextcloud I just found de libocsync files 
 all pointing at libocsync.so.2.5.3

Hello.

I’m on a RPI 3, with Raspbian updated.

I followed the scripts
 Installed qt5-qtwebengine-arm-bin
 downloaded the client on istandthon7 client github


When I launch ./init.sh, I got a reply saying the stable versions of libqt5keychain1/stable libminizip1/stable can’t be found.

When I launch ./nextcloud.sh: ./bin/nextcloud: error while loading shared libraries: libqt5keychain.so.1: cannot open shared object file: No such file or directory

What can I do ???

anyone ?

did someone manage to make the client to work on raspbian ?

Since the nextcloud https://github.com/nextcloud/client_theming.git is an old thing (version 2.3.3) and trying to build the new https://github.com/nextcloud/desktop.git would end up in a Qt version error (needing version >/=5.12, which is not on the actual raspiban repos) and building Qt 5.12 LTS on a raspy is quite a job
 I have been searching for another solution, but I haven’t found anything.

So I decided to post it here, in case someone is having this problem in mid 2020
 (sorry if nobody finds this useful and I’m bringing back this thread after 7 months
)

My “solution” was manually installing nextcloud client version 2.5.1-3 (latest debian packages available) using dpkg with the help of apt --fix-broken install to bring the rest of the dependencies. This was done in Raspbian 10 buster armv7l Linux 4.19.118-v7l+ 32 bit system.

I did it by manually downloading and installing these .deb packages for debian armhf (there are also available the equivalent arm64 packages, but I am still in raspberry pi os 32 bit):

  1. Download the packages:
  1. Then you just go and manually install each one:

    sudo dpkg -i packagename.deb

  2. If encountered errors in the dpkg installation, which I did for every one of the packages but the second (because it has the same dependencies as the first one), you just let the (sudo) apt --fix-broken install grab the dependencies.

    Or, I guess you could install all of them at once using apt, so it does the job automatically, but I did it that way. (If you use apt install just remember to tell it the /path/to/the/debfiles as they are not packages it would get from the official Raspbian repos.

Then just launch the app. It has worked perfectly for me. Cheers!

4 Likes

@PolGZ’s method still works as of 11 Nov 2020, tested on a Raspberry Pi 400 desktop, with the caveat that I had to retrieve the files from the following addresses:

http://ftp.br.debian.org/debian/pool/main/q/qtwebengine-opensource-src/libqt5webenginecore5_5.11.3+dfsg-2+deb10u1_armhf.deb

http://ftp.br.debian.org/debian/pool/main/q/qtwebengine-opensource-src/libqt5webenginewidgets5_5.11.3+dfsg-2+deb10u1_armhf.deb

http://ftp.br.debian.org/debian/pool/main/n/nextcloud-desktop/libnextcloudsync0_2.5.1-3+deb10u1_armhf.deb

http://ftp.br.debian.org/debian/pool/main/n/nextcloud-desktop/nextcloud-desktop_2.5.1-3+deb10u1_armhf.deb

3 Likes

I can confirm that @PolGZ’s method works on a RPi 4 as of 11/25/2020 with @Owlbear’s updated links.

Thanks for posting your solutions!

1 Like

Just tried the above mentioned method on a RPI3 and RPI Zero and can’t get it to work.

RPI 3: Linux 5.4.51-v7+ armv7l GNU/Linux
nextcloud: error while loading shared libraries: libQt5WebEngineCore.so.5: cannot open shared object file: No such file or directory

RPI Zero: Linux 5.4.51+ armv6l GNU/Linux
When running ‘nextcloud’ in a terminal I get the error ‘Illegal instruction’. I guess this is related to the arm version (v6 instead of v7?)

I have an extra SD-card lying around, if anyone else could maybe post some system info of their RPI’s where the nextcloud client works that would be great, so I can try to use the same versions.

For the distribution repositories, there are dedicated bug tracker:
https://tracker.debian.org/pkg/nextcloud-desktop

check with the developers there, if there is a bug in the package or the main application (then forward bug report to the NC desktop client repo).

I’ve followed @PolGZ’s post and successfully installed the Nextcloud desktop but could do with some guidance.
The great benefit of Nextcloud is the ability to easily host one’s own server, however, when I try to log in I get a connection failed due to a self-signed certificate.
On my X86 based Linux Mint I get the option to accept the risk, but on Raspbian I three choices, select a different URL, retry unencrypted or configure client side certificate. The first two options are non-starters.
If I click on the last one, configure, I am asked for Certificate & Key plus certificate password. I have no idea where I would find these. As a side note, I have already connected to my server through my browser after accepting the risk and I can view my files.
This is the last hurdle after eventually coming across your excellent help on this site.

I can also confirm that @PolGZ’s method works on a RPi 4 as of 07/23/2021 with @Owlbear’s updated links.

Thanks to both.

Thank you so much for your Raspberry Pi Nextcloud client installation instructions. Your procedure worked perfectly!

Jim

Thanks for the great instructions - they worked perfectly.

I wondered if it had hung on the git submodule update --init lines but I added --progress to the command line and could see that it just took a long while!

I’ve redone the procedure, and even @Owlbear links are broken. I managed to get updated package instead, but some dependances where broken.
I used dkpg -i for some, and apt install for other, depending on the situation.

An official package would be really appreciated !

Using the recent Raspbian OS version of 2021-10-30, I managed to update my RaspberryPi 4B to the newest version. On my former install using Raspbian OS v2020-12-02, I could install a NextCloud Client (Desktop) by applying the statements posted here (further up within this thread):

https://help.nextcloud.com/t/nextcloud-client-for-raspberry-pi/27989/63

But now, with the newest Raspbian OS, I see some issues:

  • the recipe (as described above) does not work anymore
  • the “recommended software” does not contain a NextCloud cliend
  • using the “Add/Remove Software” menu item, the search item nextcloud-desktop does not show valid NextClooud Client installation files
  • all my installation attempts based on the above recipe failed so far due to dependency errors:

using

wget http://ftp.br.debian.org/debian/pool/main/...

then choosing the following (existing) packages:

  .../q/qtwebengine-opensource-src/libqt5webenginecore5_5.15.6+dfsg-2+b1_armhf.deb
  .../q/qtwebengine-opensource-src/libqt5webenginewidgets5_5.15.6+dfsg-2+b1_armhf.deb
  .../n/nextcloud-desktop/libnextcloudsync0_3.1.1-2+deb11u1_armhf.deb
  .../n/nextcloud-desktop/nextcloud-desktop_3.1.1-2+deb11u1_armhf.deb

or

  .../q/qtwebengine-opensource-src/libqt5webenginecore5_5.15.6+dfsg-2+b1_armhf.deb
  .../q/qtwebengine-opensource-src/libqt5webenginewidgets5_5.15.6+dfsg-2+b1_armhf.deb
  .../n/nextcloud-desktop/libnextcloudsync0_3.3.5-1_armhf.deb
  .../n/nextcloud-desktop/nextcloud-desktop_3.3.5-1_armhf.deb

Is there a way to reliably install a NextCloud Client on the current Raspbian OS from Debian packages? Or, alternatively, would there be a reliable way to install the NextCloud Client from sources?

Is there a way for us as RaspberryPi users become able to avoid this kind of stress, each time we update our system or our NextCloud connection?

On the latest Raspberry Pi OS Bullseye, the old instruction didn’t work anymore.
This here worked however: https://crycode.de/nextcloud-client-auf-dem-raspberry-pi

2 Likes