Bitcoin Node Not Starting, files problem?

Hello, my bitcoin node is stuck at starting. I am unsure why.

bitcoin

Attaching to bitcoin_server_1, bitcoin_i2pd_daemon_1, bitcoin_tor_1, bitcoin_app_proxy_1, bitcoin_bitcoind_1
bitcoind_1     | Error: Settings file could not be written:
bitcoind_1     | - Error: Unable to open settings file /data/.bitcoin/settings.json.tmp for writing
bitcoind_1     | Error: Settings file could not be written:
bitcoind_1     | - Error: Unable to open settings file /data/.bitcoin/settings.json.tmp for writing
bitcoind_1     | Error: Settings file could not be written:
bitcoind_1     | - Error: Unable to open settings file /data/.bitcoin/settings.json.tmp for writing
bitcoind_1     | Error: Settings file could not be written:
bitcoind_1     | - Error: Unable to open settings file /data/.bitcoin/settings.json.tmp for writing
bitcoind_1     | Error: Settings file could not be written:
bitcoind_1     | - Error: Unable to open settings file /data/.bitcoin/settings.json.tmp for writing
app_proxy_1    | Validating token: bdaf587c825d ...
app_proxy_1    | Validating token: bdaf587c825d ...
app_proxy_1    | Validating token: bdaf587c825d ...
app_proxy_1    | Validating token: bdaf587c825d ...
app_proxy_1    | Validating token: bdaf587c825d ...
app_proxy_1    | Validating token: bdaf587c825d ...
app_proxy_1    | Validating token: bdaf587c825d ...
app_proxy_1    | Validating token: bdaf587c825d ...
app_proxy_1    | Validating token: bdaf587c825d ...
app_proxy_1    | Validating token: bdaf587c825d ...
i2pd_daemon_1  | 22:29:14@925/error - SSU2: RelayIntro unknown router to introduce
i2pd_daemon_1  | 22:29:16@925/error - SSU2: RelayIntro unknown router to introduce
i2pd_daemon_1  | 22:29:16@925/error - SSU2: RelayIntro unknown router to introduce
i2pd_daemon_1  | 22:29:24@925/error - SSU2: RelayIntro unknown router to introduce
i2pd_daemon_1  | 22:29:30@925/error - SSU2: RelayIntro unknown router to introduce
i2pd_daemon_1  | 22:39:30@78/error - NetDb: ~gG3hVuYX2sQ0FV2dr7fQKd5eBeqxzxysZQRJmEGenA= destination requested, but no tunnels found
i2pd_daemon_1  | 22:39:31@78/error - NetDb: ~gG3hVuYX2sQ0FV2dr7fQKd5eBeqxzxysZQRJmEGenA= destination requested, but no tunnels found
i2pd_daemon_1  | 22:45:12@820/error - Garlic: Can't handle ECIES-X25519-AEAD-Ratchet message
i2pd_daemon_1  | 22:45:59@925/error - SSU2: RelayIntro unknown router to introduce
i2pd_daemon_1  | 22:57:10@116/error - Tunnel: Tunnel with id 2112003669 already exists
tor_1          | Aug 30 22:55:48.940 [warn] Failed to parse/validate config: Failed to configure rendezvous options. See logs for details.
tor_1          | Aug 30 22:55:48.940 [err] Reading config failed--see warnings above.
tor_1          | Aug 30 22:56:49.377 [notice] Tor 0.4.7.8 running on Linux with Libevent 2.1.12-stable, OpenSSL 1.1.1n, Zlib 1.2.11, Liblzma N/A, Libzstd N/A and Glibc 2.31 as libc.
tor_1          | Aug 30 22:56:49.377 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://support.torproject.org/faq/staying-anonymous/
tor_1          | Aug 30 22:56:49.377 [notice] Read configuration file "/etc/tor/torrc".
tor_1          | Aug 30 22:56:49.379 [warn] You have a ControlPort set to accept connections from a non-local address.  This means that programs not running on your computer can reconfigure your Tor.  That's pretty bad, since the controller protocol isn't encrypted!  Maybe you should just listen on 127.0.0.1 and use a tool like stunnel or ssh to encrypt remote connections to your control port.
tor_1          | Aug 30 22:56:49.379 [warn] CookieAuthFileGroupReadable is set, but will have no effect: you must specify an explicit CookieAuthFile to have it group-readable.
tor_1          | Aug 30 22:56:49.379 [warn] Permissions on directory /data/app-bitcoin-p2p are too permissive.
tor_1          | Aug 30 22:56:49.379 [warn] Failed to parse/validate config: Failed to configure rendezvous options. See logs for details.
tor_1          | Aug 30 22:56:49.379 [err] Reading config failed--see warnings above.
server_1       | umbrel-middleware
server_1       | ::ffff:10.21.0.16 - - [Wed, 30 Aug 2023 22:56:50 GMT] "GET /v1/bitcoind/info/status HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0"
server_1       | 
server_1       | umbrel-middleware
server_1       | ::ffff:10.21.0.16 - - [Wed, 30 Aug 2023 22:56:53 GMT] "GET /v1/bitcoind/info/status HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0"
server_1       | 
server_1       | umbrel-middleware
server_1       | ::ffff:10.21.0.16 - - [Wed, 30 Aug 2023 22:56:55 GMT] "GET /v1/bitcoind/info/status HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0"
server_1       | 
server_1       | umbrel-middleware

Hi @silasv

You don’t happen to be using an extra external drive do you?
I can see a user that was able to resolve an issue similar to yours here

No external hard drive.
I tried to rename the folder i launch umbrel from from …/Downloads/umbrel-v0.5.4/ to …/Downloads/umbrel/
And it did not like that. after i did that it showed the like create umbrel user thing with no apps and nothing

Edit. I did start it once from the new folder …/umbrel/scripts/start and that did not work.
After that it had made a new umbrel-v0.5.4 directory. so i tried to rename my umbrel directory back to umbrel-v0.5.4 and that is where i am at now. It knows my passwords and accounts and the apps are there. ipfs podcasting was broken though and the bitcoin node isnt synching, lightning node isnt even showing up when i click on it.

alternatively: Is it possible to pull like bitcoin/lightning wallet files from umbrel and I reinstall the bitcoin and lightning node completely? I did have some liquidity and open channels already. But i was still in the phase of evaluating if i even wanted to keep umbrel or not. So i did not look for backup phrases or anything yet. and i dont seem to find them in the bitcoin node, and the lightning node isnt opening.

Yes that sounds like a good approach.
Have you got your seed phrase written down? We can check for automatic back-ups too.

First lets do this- you can post the logs in this thread with https://pastebin.com/

I don’t think i have the seed phrase written down. Unless it makes you download or write something down. But if i was supposed to get it from some menu somewhere, i didnt. That is why i asked is there like wallet.dat or something somewhere?

For the seed phrase you can use the following

sudo nano ~/umbrel/app-data/lightning/data/lightning/state.json

let’s see if we can find the most recent back-up with

cat ~/umbrel/logs/karen.log | grep ‘backup ID’ | tail -n 1

Well that cat command didnt do anything. or can i not run it as root? i was still in su.

But with the seed phrase, i should be safe to uninstall and reinstall bitcoin node and lightning node, yes?

root@natron:/home/silas#cat ~/umbrel/logs/karen.log | grep ‘backup ID’ | tail -n 1
cat: /root/umbrel/logs/karen.log: No such file or directory
grep: ID’: No such file or directory
root@natron:/home/silas# 

as regular user that got the same result… but i have karen.log under ~/Downloads/umbrel-v0.5.4/logs/karen.log
but there too grep says ID no such file or directory. I think that command is it misspelled? Because i do get a result with (successfully uploaded and then a bunch of numbers)

cat  ~/Downloads/umbrel-v0.5.4/logs/karen.log  |  grep 'backup ID'  | tail -n 1

instead of

cat  ~/Downloads/umbrel-v0.5.4/logs/karen.log  | grep ‘backup ID’ | tail -n 1

Perfect. Yes you’re safe to uninstall/reinstall.

Please make a note of the karen.log output you mention (the bunch of numbers)- you can share it here too. In the case that the channel back-up is not added automatically after a fresh install, we can get the team to send you the encrypted file with that ID.

I have the channel backup file because i locally copied the entire folder after i had a basic first setup.

I now completely got rid of everything and tried to completely install Umbrel again. Because I had different other issues. Mostly because it would randomly shut off.
But now it wont even launch. ./start does this.

root@natron:/home/Umbrel# sudo ./scripts/start
Skipping status update when not on Umbrel OS

======================================
============ CONFIGURING =============
========= UMBREL (mainnet) ===========
======================================

Generating hidden services...

Creating tor ... done
Dashboard's hidden service file wasn't created...

Stopping tor ... done
Removing tor ... done
Removing network umbrel_main_network
ERROR: error while removing network: network umbrel_main_network id 0dcd48114c717180ccfe1202890b1814b59c21ceb4c5c4f16caacdcd4b35bbd5 has active endpoints
root@natron:/home/Umbrel# 

How recently did you copy these files. Back-up files are not static, so your most recent ones are very different from when you initially set up Umbrel.

Can you please let me know what device this is that you’re trying to set the new instance up on?

I had copied it literally just like 2 hours before i got trouble and then made this post. and I did see all of my channels loaded into anothor node/wallet thing (blixt)

I am now trying to set it up on the same machine it ran on before. Its a Debian 12 box with an 8core 64bit amd cpu and 32gigs of ram and 2tb ssd. basically just an old pc i still have. I uninstalled all the docker things, got rid of all umbrel files i was aware of and reinstalled everything. (i would have preferred Leap but Umbrel doesnt run on suse i believe)