No longer able to install on Raspberry Pi

I have many Raspberry Pi 3 Model B+ systems syncing, they are running V1.14.0 (stable version)

But when I try to install on more Raspberry Pi using the Debian/Ubuntu Packages as usual from the website they fail to work.

The GUI looks fine but they never connect.

The first sign I have that its not going to work is that nothing has been added to /usr/share/applications.

I notice that the Version shown in the GUI is: v0,14.18-dfsg1, Linux (ARM)

Any help would be appreciated

(If I make a disc image of an old Raspberry Pi it works fine)

Thanks, Pete

0.14 is much much older than 1.4. Follow the install instructions from our site, rather than just blindly ā€œapt-getā€ installing it, as the version of the OS you use ships an ancient package.

Hi,

I never ā€˜blindly ā€œapt-getā€ā€™ I am following the instructions completely from your site, I have installed on numerous Raspberry Pi and it has always worked very well…but now I’m unable to make them work as I said.

Pete

This is what I’m using: https://apt.syncthing.net/

On the one that’s showing 0.14.18-dfsg1, something went wrong then, and you didn’t actually get the package from apt.syncthing.net but from debian repos. Recheck you got the apt source set up right.

Thanks Simon,

I will do it again tomorrow and if it doesn’t work I’ll send all the text from command prompt so that you can see what I’ve actually installed. I’ve done it dozens of times before but now I’ve failed on 5 different installs…very strange.

Pete

Hi All,

I have attempted to install again on a fresh Raspberry Pi which has never had Syncthing installed on it. I’m afraid that the result is the same and it doesn’t work.

No items have been added to: /usr/share/applications

I have attached a text document showing all the text from the command prompt during installation.

I think that there are a couple of lines worth looking at, at the end of the apt-get update sequence, just before apt-get install syncthing:

E: Failed to fetch https://apt.syncthing.net/dists/syncthing/stable/binary-armhf/Packages server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none E: Some index files failed to download. They have been ignored, or old ones used instead.

I have also attached a screen grab showing the version of Syncthing that has been installed. v0.14.18-dfsg1,Linux (ARM)

Thanks for your help. Pete

Actually I can’t find how to attach documents to this post, let me know if its possible, or I can paste the full text from the command prompt here if it would be useful.

Pete

your CA File is outdated and doesn’t include the Let’s Encrypt CA Cert, but only the third-party one, which has been invalid for some weeks.

So all your other raspberry pis should not be able to update syncthing either.

ok thanks

Do you know how I correct this?

Thanks, Pete

should be

sudo apt install ca-certificates

Great thanks for your help,

I’ll give it a go a little later

Pete

Hi,

I’m afraid that running ā€˜sudo apt install ca-certificates’ has not solved the problem. I ran it and then completely reinstalled Syncthing but the result is the same.

Pete

Err:8 https://apt.syncthing.net syncthing/stable armhf Packages

server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

E: Failed to fetch https://apt.syncthing.net/dists/syncthing/stable/binary-armhf/Packages server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none E: Some index files failed to download. They have been ignored, or old ones used instead.

pi@raspberrypi:~ $ sudo apt-get install syncthing Reading package lists… Done Building dependency tree
Reading state information… Done syncthing is already the newest version (0.14.18+dfsg1-2). 0 upgraded, 0 newly installed, 0 to remove and 412 not upgraded.

You may also need to use that to update certs: sudo update-ca-certificates.

Thanks Simon…I will try

Pete

No same result i’m afraid. I wasn’t sure in which order to try, update certificates before install certificates or the other way round…so I tried both.

E: Failed to fetch https://apt.syncthing.net/dists/syncthing/stable/binary-armhf/Packages server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

Pete

There are several certificates in that location but I suppose not the correct one

Pete

I get this message when trying install ca-certificates, is this the version that would be expected?

ca-certificates is already the newest version (20200601~deb9u2)

Pete

I get this message when trying apt update:

Err:4 https://apt.syncthing.net syncthing InRelease

The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY D26E6ED000654A3E

Pete

curl -s https://syncthing.net/release-key.txt | sudo apt-key add -