Peercoin v0.14 Released, Upgrade by June 3rd, 2024!

I would look into the health of your SD card too. Those do not last for a super long time attached to a Raspberry Pi. It is a known issue.

Re your suggestion. I had no idea people use that guide from the peercoin.net, I’ve thought people use GitHub - peercoin/deb-repo: Peercoin apt reposititory serving Debian packages which is maintained and kept up to date.

Anyway, I think I know what was the issue. I have just completed a test on my rusty Raspberry Pi 1 B+ and it works.

Updates pushed.

sudo apt update && sudo apt upgrade

1 Like

@peerchemist It’s finally working! :partying_face:

Thank you to everyone who took the time to look into this issue :pray::pray::pray:

Will now leave it to sync

About the setup guide: I’ve always used that one on peercoin.net because it’s the main website, and also it was linked here many times on the forums. I discovered there was a guide on the repo you linked only yesterday, while I was fiddling with the “peercoin.list” file

7 Likes

I don’t want to surrender, but I’m frustrated.
I managed to:

  • install it correctly in Raspian 10 Buster
  • install it correctly in Raspian 11 Bullseye
  • install it correctly in Raspian 12 Bookworm

I even tried a new SD card.

BUT the process gets killed after a while without a reason, on peercoind it told me something on the lines of “process killed”, no errors.

In bookworm the client starts, but cannot even go to 100% pre-syncing headers. It freezes up the OS.
In both bullseye and buster it starts downloading blocks for some hours then gets killed.

And I hate that everytime I restart the client it starts from scratch from the 1st block. Nothing is saved, nothing is resumed. I’m back on Buster again on a fresh install, I left the gui open this time, for half an hour and it was perfectly downloading blocks. I come back and it’s all closed.

I never had these issues before the update from 0.12 to 0.14… (i’m using this combo since v0.6) I don’t want to surrender, but it’s becoming difficult. Do you have any other ideas?

I will now say something very idiotic, allow me: is there any other way to completely download the whole blocks folder at once and replace it on my peercoin installation?

edit: is there a flag I can use while launching from the terminal that allows me to see debug logs / errors? so at least we can try to understand what’s happening


EDIT:

last night I tried running it many times on buster, I also tried to change the cache to 4MB hoping it would maybe commit some data. It webt for a bit, but… nothing, after around 20k blocks it just suicides.
I cannot pass around the 01-01-2013 block date mark

2 Likes

It is an OOM killer.

Basically, you don’t have enough RAM to sync peercoin.

What I did to circumvent this is to copy blockchain files manually to .peercoin folder on the Rpi and then run peercoind.

2 Likes

Damn, I wonder how it managed to work until now
Ok, from where can I download the whole blockchain without using the client? if I can manually wget an archive or something directly from the raspi

Meanwhile I’ll also try if I can borrow some hdd space to swap for RAM usage https://forums.raspberrypi.com/viewtopic.php?t=327238

2 Likes

You did not sync from scratch since like forever. :slight_smile:

Sync on another computer. Like a server or a desktop? If not, I’ll make a .tar.gzip and send it over.

Yeah ZRAM could also do the trick.

Made a quick test with “More RAM”, but looks like it froze…
Could you make me a .gzip with the blockchain, as a last try?

1 Like

https://files.peercoin.net/download/bootstrap-late-may-2024.tar.xz

sha256sum:

0ce3162ed4163c2e378f34b9f9d01e086b80d0a723d806d19d26e69ae66d113d

peercoind -loadblock=bootstrap.dat
1 Like

Peercoin v0.14.4 has been released and repairs a bug found in the implementation of RFC-0028. If you are using v0.14.3, please upgrade to this newer version.

3 Likes

Great news everyone! I gifted myself a new raspberry pi with Raspberry OS 12 and managed to install, update and run Peercoin-qt v0.14.3.0!
The bootstrap helped a lot!
Thanks to everyone who had helped me :slight_smile:

As soon as I finished with the usual install, it now shows that I should update to v0.14.5ppc, do I have to wait for you to compile the new patch?

2 Likes

Peercoin v0.14.5 has been released

I’m now up to date with everything! :pray:

4 Likes

I followed these instructions, then the Debian install guide in the docs but having issues…

pi@raspberrypi:~ $ wget -O - https://peercoin.github.io/deb-repo/peercoin.apt.key | sudo apt-key add -
–2024-06-21 01:05:42-- https://peercoin.github.io/deb-repo/peercoin.apt.key
Resolving peercoin.github.io (peercoin.github.io)… 2606:50c0:8001::153, 2606:50c0:8002::153, 2606:50c0:8003::153, …
Connecting to peercoin.github.io (peercoin.github.io)|2606:50c0:8001::153|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 2464 (2.4K) [application/vnd.apple.keynote]
Saving to: ‘STDOUT’

  •                                  100%[============================================================================>]   2.41K  --.-KB/s    in 0s      
    

2024-06-21 01:05:42 (6.12 MB/s) - written to stdout [2464/2464]

OK
pi@raspberrypi:~ $ sudo sh -c “echo ‘deb APT repository | deb-repo buster main’ >> /etc/apt/sources.list.d/peercoin.list”
pi@raspberrypi:~ $ sudo apt update
Get:1 APT repository | deb-repo buster InRelease [2,222 B]
Hit:2 Index of /debian buster InRelease
Get:3 Index of /raspbian buster InRelease [15.0 kB]
Fetched 17.2 kB in 2s (10.4 kB/s)
Reading package lists… Done
Building dependency tree
Reading state information… Done
All packages are up to date.
W: Skipping acquire of configured file ‘main/binary-armhf/Packages’ as repository ‘APT repository | deb-repo buster InRelease’ doesn’t have the component ‘main’ (component misspelt in sources.list?)
W: Skipping acquire of configured file ‘main/i18n/Translation-en’ as repository ‘APT repository | deb-repo buster InRelease’ doesn’t have the component ‘main’ (component misspelt in sources.list?)
W: Skipping acquire of configured file ‘main/i18n/Translation-en_US’ as repository ‘APT repository | deb-repo buster InRelease’ doesn’t have the component ‘main’ (component misspelt in sources.list?)
W: Skipping acquire of configured file ‘main/i18n/Translation-en_US.UTF-8’ as repository ‘APT repository | deb-repo buster InRelease’ doesn’t have the component ‘main’ (component misspelt in sources.list?)
pi@raspberrypi:~ $
pi@raspberrypi:~ $ sudo apt install peercoin-qt
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package peercoin-qt
pi@raspberrypi:~ $

That does not read as a proper way to do it, where are you copying this from?

Clean that up, and please follow instructions at the deb-repo:

cleanup:

sudo rm /etc/apt/sources.list.d/peercoin.list

2 Likes

I just followed the instructions on peercoin.net docs

Have the new client installed but it keeps crashing on sync

Is this file still relevant?

What are the steps to use it?

Update:

I followed the boostrapping directions in the docs, dropping the boostrap.dat into the .peercoin dir and launching the client.

However, I’m getting the status “synchronizing from network…” not “from disk”

1 Like

You are probably encountering the same error as Fabryz had further up this thread. You have an old Raspberry Pi with 1GB or less RAM, however syncing/indexing recent Peercoin requires at least 2 GB.

Peercoin exhaust your RAM and is forcibly killed by the kernel.

2 Likes

Requirements like this should probably be added to the docs.

2 Likes

also need to update the Debian install directions

how do i use the bootstrap.dat file you posted earlier?

I put it in the .peercoin dir but still syncing from network on start

1 Like