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.
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.
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
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
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
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):
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!
@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:
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.
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.
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.
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):
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?