Chia farm migrated to Linux; Different installation files


Since Windows annoys me with its constant updates, I wanted to switch to Linux in the future. But I’m not that good at it.

But: Installation was successful.
The only problem was: I couldn’t find a program to start it.
Also no program folder where I should (theoretically) find chia.

So I thought: go to the code on github and look for a file that has CHIA in it. This should then be found using a find command:

BUT: I looked for at least 10-15 files. From different folders. But always 0 hits.

Sometimes I have CHIA running… but I still wonder what kind of files are listed on github. At least not the final files that are installed.

BEFORE, it was always the case that the files listed by GIT ended up being installed. That doesn’t seem to be the case here.
Why is that so?

after you follow INSTALL · Chia-Network/chia-blockchain Wiki · GitHub

now you have to init

chia init

now import your key

chia keys add

then past you 24 key and hit enter.

Run a full node + farmer + harvester + wallet


chia start farmer

installer files : /usr/lib/chia-blockchain/resources/app.asar.unpacked/daemon/chia
logs : ~/.chia/mainnet/logs/debug.log
DB: ~/.chia/mainnet/db

You can also use something like Ubuntu and just use the Ubuntu/Debian installation file from the chia download page.
Then you will just get an icon on your desktop that you click on and it starts the GUI.

For inexperienced Linux user I think that is the way to go

1 Like

well… I’ve sometimes managed to do it that way.

Only the other way remains blocked to me.

Current NodeJS version(v12.22.9) is less than 16. GUI app requires NodeJS>=16.
cd /home/user/chia-blockchain/build_scripts/npm_global
npm ci
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /home/user/chia-blockchain/build_scripts/npm_global/node_modules
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, mkdir '/home/user/chia-blockchain/build_scripts/npm_global/node_modules'
npm ERR!  [Error: EACCES: permission denied, mkdir '/home/user/chia-blockchain/build_scripts/npm_global/node_modules'] {
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'mkdir',
npm ERR!   path: '/home/user/chia-blockchain/build_scripts/npm_global/node_modules'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/user/.npm/_logs/2023-03-07T10_37_04_510Z-debug-0.log

If I interpret the WARN message correctly, then something is wrong with npm.

“node -v” say v12.22.9

But when I enter: “npm help” I finally get:
npm@8.5.1 /usr/share/nodejs/npm

I’m still trying to figure out which version I really have. And what version is needed.
And how I can finally change the version.
maybe does anyone have any advice here.
Thank you

So why dont you shut off automatic updates. And get the updates once a month when you want to get them. Just google how to shut them off, no biggie.