ArmanTheParman / Parmanode

An easy AF Bitcoin Node automated installation for desktop computers
MIT License
91 stars 15 forks source link

Are there instruction on how to upgrade from a version that can't be auto-updated? #42

Closed nostitos closed 8 months ago

nostitos commented 8 months ago

I'd prefer not to risk losing the blockchain sync and fulcrum db.

ArmanTheParman commented 8 months ago

Specifically what do you want to upgrade? Bitcoin core? You certainly wont lose the sync/blockchain. Just uninstall it with Parmanode , then install. Youll be givven options on the version then... Also, I think I have added an upgrade tool in bitcoin menu, you can use that instead.

You shouldn't lose Fulcrum either. I cant recall, but I'll test it later and let you know. I don't think I've included any new version of Fulcrum. Might do that soon.

nostitos commented 8 months ago

When I try to update from the script I keep getting "you are probably using a version v3.2.0 or earlier." " If you are using any version starting with 1 or 2 (3.x.x is ok),"

Isn't 3.2.0 also 3.x.x therefore OK?

Running Version: v3.10.1

nostitos commented 8 months ago

I also keep getting : "Oh dear, you've downloaded the Parmanode software directly to your home directory."

"The directory /home/node/parman_programs will be moved to /home/node/Desktop"

I've done that many time, I launch it from /Desktop/parman_programs and it keeps complaining.

I chose uninstall expecting I could uninstall only the script and keep the data files for bitcoind and fulcrum.

Turns out it pretend to have deleted it,

I'm confused because parmanode script now want to install everything from scratch but is having a hard time,

The bitcoind and fulcrum are still running well, So I guess I'll just leave it as that.

nostitos commented 8 months ago

Rebooted to see if they'd start on their own, they don't

image

I guess I'll format the drive and really start from reinstalling ubuntu.

Doesn't look like the script is able to make use of existing installs and data folders.

nostitos commented 8 months ago

image

I think there should be a more thorough check than just typing Enter on this.

That page doesn't say everything that was installed will also be "unsintalled".

ArmanTheParman commented 8 months ago

It won't uninstall everything.

Here's what to do to manually fix it...

Manually delete the script directory, wherever you put it.

Create a directory called

~/parman_programs

Then

cd && cd parman_programs

Then

git clone https://github.com/armantheparman/parmanode.git

then

cd parmanode

then install parmashell from the add-other menu

Everything will then work

Pls let me know. Also send system report from tools menu page 2 for help.

On Tue, 20 Feb 2024, 4:01 pm nostitos, @.***> wrote:

image.png (view on web) https://github.com/ArmanTheParman/Parmanode/assets/48504624/4a17e61e-4e6e-43da-b848-62951994b339

I think there should be a more thorough check than just typing Enter on this.

That page doesn't say everything that was installed will also be "unsintalled".

— Reply to this email directly, view it on GitHub https://github.com/ArmanTheParman/Parmanode/issues/42#issuecomment-1953491286, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASQCCX6ZKBPBGFXHH2Z5UGLYUQUZVAVCNFSM6AAAAABDP4OIRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTGQ4TCMRYGY . You are receiving this because you commented.Message ID: @.***>

nostitos commented 8 months ago

Thank,

I couldn't create a folder because I had filled the drive,

I deleted the new .bitcoin folder and renamed the .bitcoin_backup

Updated the RPC accesses and fulcrum is back,,, But I can't connect to it.

I don't recall all of what I did but I remember having to do a lot of fiddling with the SSL certs to make it work.

Electrum doesn't say anything but Sparrow gave me that "Failed to parse server certificates"

nostitos commented 8 months ago

https://github.com/ArmanTheParman/Parmanode/issues/19 https://github.com/ArmanTheParman/Parmanode/issues/13

nostitos commented 8 months ago

I had to do this:

260 openssl genrsa -out myprivatekey.key 2048 261 ls 262 openssl req -new -key myprivatekey.key -out myCSR.csr 263 ls 264 openssl x509 -req -days 3605 -in myCSR.csr -signkey myprivatekey.key -out mycertificate.pem

AND

Renamed the files in "FC"

cert = /home/node/parmanode/fulcrum/mycertificate.pem key = /home/node/parmanode/fulcrum/myprivatekey.key

I don't understand how people manage to connect to Fulcrum without these steps.

ArmanTheParman commented 8 months ago

You're doing a lot of manual tweaking that will confuse Parmanode - it has already created certificates.

ArmanTheParman commented 8 months ago

I made a few changes to fulcrum install, I think they're redundant, but the connection might work better now for you. Fulcrum needs to be fully synced for connection to work I believe.