Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails after a reboot #2

Closed
highghlow opened this issue May 13, 2024 · 32 comments
Closed

Fails after a reboot #2

highghlow opened this issue May 13, 2024 · 32 comments
Labels
bug Something isn't working

Comments

@highghlow
Copy link
Owner

          Uff, it did not survive the reboot:

image

Originally posted by @Impa10r in #1 (comment)

@highghlow
Copy link
Owner Author

highghlow commented May 13, 2024

Can you share the output of cat /etc/fstab? @Impa10r

@highghlow highghlow added the bug Something isn't working label May 13, 2024
@Impa10r
Copy link

Impa10r commented May 13, 2024

Can you share the output of cat /etc/fstab? @Impa10r

image

@highghlow
Copy link
Owner Author

Very strange. I have to go, I'll fix this in 1-2 hours

@highghlow
Copy link
Owner Author

I'm back. It seems like umbreld provision-os is messing everything up. I think another umbreld patch is due.

@highghlow
Copy link
Owner Author

The string fstab is not present in the umbrel's repo (What?)

highghlow added a commit that referenced this issue May 13, 2024
@highghlow
Copy link
Owner Author

I fixed it by backing up the fstab before running umbreld provision-os and then appending the new one at the end.

@highghlow
Copy link
Owner Author

Oooh it's in overlay-common! Wait, the issue isn't fixed!

@highghlow
Copy link
Owner Author

Okay, now it should work.

@highghlow
Copy link
Owner Author

The fix is confirmed (by me, I tested it)

highghlow added a commit that referenced this issue May 13, 2024
@Impa10r
Copy link

Impa10r commented May 13, 2024

Could you explain exactly how to do step 3?

@highghlow
Copy link
Owner Author

highghlow commented May 13, 2024

Could you explain exactly how to do step 3?

When the system boots up (if it isn't broken) you'll get a tty prompt. Username: root, Password: <the root password you selected during installation>

@Impa10r
Copy link

Impa10r commented May 13, 2024

Could you explain exactly how to do step 3?

When the system boots up (if it isn't broken) you'll get a tty prompt. Username: root, Password:

I mean "3. You should have a separate /data partition. Allocate 7.5GB to root and everything else to /data"

@Impa10r
Copy link

Impa10r commented May 13, 2024

image
Like this?

@highghlow
Copy link
Owner Author

Like this?

Yes.

@Impa10r
Copy link

Impa10r commented May 13, 2024

Install ended in this:
image

fstab:
image

survived the reboot, but debian.local can’t be reached((

@Impa10r
Copy link

Impa10r commented May 13, 2024

Ah, ok, it is at http://umbrel.local now. Don't know how it will co-exist with my mainnet Umbrel on raspi...

went to http://umbrel.local/onboarding, got this:
image

@Impa10r
Copy link

Impa10r commented May 13, 2024

All right, I changed hostname to "debian" like this:

sudo nano /etc/hostname
sudo nano /etc/hosts

and rebooted, now onboarding works on debian.local

@Impa10r
Copy link

Impa10r commented May 13, 2024

/home/umbrel was still owned by root. I changed that to umbrel

@Impa10r
Copy link

Impa10r commented May 13, 2024

is this correct that in v1.1.2 there is no /home/umbrel/umbrel/scripts folder?

@highghlow
Copy link
Owner Author

is this correct that in v1.1.2 there is no /home/umbrel/umbrel/scripts folder?

Yes. There is an issue about that in the main repo. Everything is now done through umbreld.

/home/umbrel was still owned by root. I changed that to umbrel

That's probably intended. You can get permission errors while trying to run software on the server.

@Impa10r
Copy link

Impa10r commented May 14, 2024

is this correct that in v1.1.2 there is no /home/umbrel/umbrel/scripts folder?

Yes. There is an issue about that in the main repo. Everything is now done through umbreld.

ugh. I wanted this setup to test my new app in 1.1, but now I need Multipass and can't figure it out ((

@highghlow
Copy link
Owner Author

ugh. I wanted this setup to test my new app in 1.1, but now I need Multipass and can't figure it out ((

There is a section about testing the app on a real Umbrel (the steps are the same for all platforms, including custom)

https://github.com/getumbrel/umbrel-apps?tab=readme-ov-file#32-testing-on-a-raspberry-pi-or-umbrel-home

@Impa10r
Copy link

Impa10r commented May 14, 2024

is this correct that in v1.1.2 there is no /home/umbrel/umbrel/scripts folder?

Yes. There is an issue about that in the main repo. Everything is now done through umbreld.

yeah, I see the discussion, but the main repo still has this folder.

@Impa10r
Copy link

Impa10r commented May 14, 2024

ugh. I wanted this setup to test my new app in 1.1, but now I need Multipass and can't figure it out ((

There is a section about testing the app on a real Umbrel (the steps are the same for all platforms, including custom)

https://github.com/getumbrel/umbrel-apps?tab=readme-ov-file#32-testing-on-a-raspberry-pi-or-umbrel-home

yes, thanks!

@Impa10r
Copy link

Impa10r commented May 15, 2024

@highghlow Hi, does your Umbrel run fine with this install? Mine is weird. I have a high-end PC and gave it 8 cores and 8 GB of Ram in MVware Worksattion, but if feels sluggish, always loses Tor connection and now cannot pay a simple invoice from my other node it has a channel with:

image

That other node runs in Oracle VM VirtualBox on the same PC and sees it constantly going offline:

image

Rebooting does not solve this. Before I used to run Umbrel 0.5.4 in a similar VMWare/Debian 12 setup, all was smooth for over a year...

@Impa10r
Copy link

Impa10r commented May 15, 2024

Docker shows nothing restarting:

root@debian:~# docker ps
CONTAINER ID   IMAGE                                    COMMAND                  CREATED          STATUS          PORTS                                                                                                                                 NAMES
cad8cbe35e6c   ghcr.io/tiero/elements-web:v0.0.3        "./web"                  29 minutes ago   Up 28 minutes   8080/tcp                                                                                                                              elements_web_1
c89d67b6a597   getumbrel/tor:0.4.7.8                    "tor"                    29 minutes ago   Up 28 minutes                                                                                                                                         elements_tor_1
27e5281f9ec2   getumbrel/app-proxy:1.0.0                "docker-entrypoint.s…"   29 minutes ago   Up 28 minutes   0.0.0.0:3042->3042/tcp, :::3042->3042/tcp                                                                                             elements_app_proxy_1
1442ff1b268a   ghcr.io/vulpemventures/elements:23.2.1   "elementsd -listen=0…"   29 minutes ago   Up 28 minutes   0.0.0.0:7041->7041/tcp, :::7041->7041/tcp, 0.0.0.0:18332->18332/tcp, :::18332->18332/tcp                                              elements_node_1
ad594da43404   getumbrel/tor:0.4.7.8                    "tor"                    29 minutes ago   Up 28 minutes                                                                                                                                         lightning_tor_1
bd80b07264f5   getumbrel/app-proxy:1.0.0                "docker-entrypoint.s…"   29 minutes ago   Up 28 minutes   0.0.0.0:2101->2101/tcp, :::2101->2101/tcp                                                                                             lightning_app_proxy_1
868cf2ab245f   getumbrel/umbrel-lightning:v1.2.0        "docker-entrypoint.s…"   29 minutes ago   Up 28 minutes   3006/tcp                                                                                                                              lightning_app_1
e4d244cf26ac   lightninglabs/lnd:v0.17.5-beta           "lnd --configfile=/d…"   29 minutes ago   Up 28 minutes   0.0.0.0:8080->8080/tcp, :::8080->8080/tcp, 0.0.0.0:9735->9735/tcp, :::9735->9735/tcp, 0.0.0.0:10009->10009/tcp, :::10009->10009/tcp   lightning_lnd_1
9cd6750fbe3c   getumbrel/umbrel-bitcoin:v0.7.0          "docker-entrypoint.s…"   29 minutes ago   Up 28 minutes   3006/tcp                                                                                                                              bitcoin_server_1
17e2823f8914   getumbrel/app-proxy:1.0.0                "docker-entrypoint.s…"   29 minutes ago   Up 28 minutes   0.0.0.0:2100->2100/tcp, :::2100->2100/tcp                                                                                             bitcoin_app_proxy_1
693033787fe2   lncm/bitcoind:v27.0                      "bitcoind -port=8333…"   29 minutes ago   Up 28 minutes   8080/tcp, 18332-18333/tcp, 18443-18444/tcp, 28332-28333/tcp, 0.0.0.0:8332-8333->8332-8333/tcp, :::8332-8333->8332-8333/tcp            bitcoin_bitcoind_1
b5a44ff2ddc8   purplei2p/i2pd:release-2.44.0            "/entrypoint.sh --sa…"   29 minutes ago   Up 28 minutes   2827/tcp, 4444/tcp, 4447/tcp, 7070/tcp, 7650/tcp, 7654/tcp, 7656/tcp                                                                  bitcoin_i2pd_daemon_1
40be91327a9f   getumbrel/tor:0.4.7.8                    "tor"                    29 minutes ago   Up 28 minutes                                                                                                                                         bitcoin_tor_1
b7622af10ff5   getumbrel/app-proxy:1.0.0                "docker-entrypoint.s…"   29 minutes ago   Up 28 minutes   0.0.0.0:1984->1984/tcp, :::1984->1984/tcp                                                                                             peerswap_app_proxy_1
93d10b4338f3   ghcr.io/impa10r/peerswap-web:v1.3.6      "/usr/bin/supervisord"   29 minutes ago   Up 28 minutes   1984/tcp                                                                                                                              peerswap_web_1
7f562425b55d   getumbrel/tor:0.4.7.8                    "tor"                    29 minutes ago   Up 29 minutes                                                                                                                                         tor_proxy
b613a40fe3b3   getumbrel/auth-server:1.0.5              "docker-entrypoint.s…"   29 minutes ago   Up 29 minutes   0.0.0.0:2000->2000/tcp, :::2000->2000/tcp                                                                                             auth

@Impa10r
Copy link

Impa10r commented May 15, 2024

what is strange comparing to my mainnet Umbrel 0.5.4, is tor above not showing any ports open!?

That's how it looks in my other Umbrel:

dab5539c23c0   getumbrel/tor:0.4.7.8                                "tor"                    3 weeks ago   Up 3 weeks                                                                                                                                                   elements_tor_1
...
e837a1eef2d4   getumbrel/tor:0.4.7.8                                "tor"                    3 weeks ago   Up 3 weeks             127.0.0.1:9050->9050/tcp                                                                                                              tor_proxy

@highghlow
Copy link
Owner Author

I guess Umbrel 0.5 allows external connections to tor, while Umbrel 1 doesn't

@highghlow
Copy link
Owner Author

Docker shows nothing restarting:

What do you mean? Looks fine to me

@highghlow
Copy link
Owner Author

@highghlow Hi, does your Umbrel run fine with this install?

I currently don't run this install.

@Impa10r
Copy link

Impa10r commented May 15, 2024

This looks bad:

 docker logs tor_proxy
...
May 15 13:53:31.000 [notice] Bootstrapped 100% (done): Done
May 15 13:55:16.000 [notice] New control connection opened from 10.21.21.9.
May 15 13:55:18.000 [warn] Rejecting SOCKS request for anonymous connection to private address [scrubbed].
May 15 13:56:06.000 [notice] Have tried resolving or connecting to address '[scrubbed]' at 3 different places. Giving up.
May 15 13:56:08.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $0A11C7546A1332412D1EBD13BD4C3D6A6644D7E0~luxvptorex [JzUPaKMCODDotzOrdw9nrfEO8dIirVz47kh8XtYPBzc] at 107.189.30.69. Retrying on a new circuit.
May 15 13:56:08.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $2DF03D7B158DAE2EAF76078775451F1769506451~ForPrivacyNET [l3MRtN64/TEp6w5Llx0S4HVlJ5RLEsvaisFs00WrnLo] at 185.220.101.32. Retrying on a new circuit.
May 15 13:56:29.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $EC4F16459BCDBD84C70DB245CBC3D8993296681F~NTH14R4 [dxYWhrJ73pcNM5Pnmi2+sbIngF9H8wNmJF7rSTkJzcs] at 192.42.116.211. Retrying on a new circuit.
May 15 13:56:39.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $3C89C80E2699FB6358BBB64FDC9547AFCB5C03F7~F3Netze [l1jD02S9qTqbElak0IR7Ea+Ov+bvuagFT8G53EVDbDY] at 185.220.100.240. Retrying on a new circuit.
May 15 13:56:44.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $3C89C80E2699FB6358BBB64FDC9547AFCB5C03F7~F3Netze [l1jD02S9qTqbElak0IR7Ea+Ov+bvuagFT8G53EVDbDY] at 185.220.100.240. Retrying on a new circuit.
May 15 13:56:51.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $62F4994C6F3A5B3E590AEECE522591696C8DDEE2~F3Netze [NXzwlgQRrJoDp3/PfOss1GrXD8DMVTVgIJPDN9vryAA] at 185.220.100.241. Retrying on a new circuit.
May 15 13:56:54.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $62F4994C6F3A5B3E590AEECE522591696C8DDEE2~F3Netze [NXzwlgQRrJoDp3/PfOss1GrXD8DMVTVgIJPDN9vryAA] at 185.220.100.241. Retrying on a new circuit.
May 15 13:57:01.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $00FB85B65AC2F460CD46A3B6E5639821E3F52048~NTH20R3 [PESI2xgsyg1XsGWX7ybK2PxgMt2wW+4P3js6M/utKt8] at 192.42.116.217. Retrying on a new circuit.
May 15 13:57:06.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $00FB85B65AC2F460CD46A3B6E5639821E3F52048~NTH20R3 [PESI2xgsyg1XsGWX7ybK2PxgMt2wW+4P3js6M/utKt8] at 192.42.116.217. Retrying on a new circuit.
May 15 13:57:09.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $00FB85B65AC2F460CD46A3B6E5639821E3F52048~NTH20R3 [PESI2xgsyg1XsGWX7ybK2PxgMt2wW+4P3js6M/utKt8] at 192.42.116.217. Retrying on a new circuit.
May 15 13:57:16.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $E4E020BA9997BABF11CC0E44F62BAAA86E98FB73~NTH11R1 [f2E+v39MA/jHY5haFqSR4NED4kov8E8sYy7TrmGoSt0] at 192.42.116.208. Retrying on a new circuit.
May 15 13:57:21.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $E4E020BA9997BABF11CC0E44F62BAAA86E98FB73~NTH11R1 [f2E+v39MA/jHY5haFqSR4NED4kov8E8sYy7TrmGoSt0] at 192.42.116.208. Retrying on a new circuit.
May 15 13:57:24.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $E4E020BA9997BABF11CC0E44F62BAAA86E98FB73~NTH11R1 [f2E+v39MA/jHY5haFqSR4NED4kov8E8sYy7TrmGoSt0] at 192.42.116.208. Retrying on a new circuit.
May 15 13:57:31.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $2390B303058F5EC1E1BEAAEECE3AAF2CF97B71F4~ForPrivacyNET [gOrpw70QSJUGgFICaWL8b0esaoSfynYOfHXEDnGRzdo] at 185.220.101.47. Retrying on a new circuit.
May 15 13:57:36.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $2390B303058F5EC1E1BEAAEECE3AAF2CF97B71F4~ForPrivacyNET [gOrpw70QSJUGgFICaWL8b0esaoSfynYOfHXEDnGRzdo] at 185.220.101.47. Retrying on a new circuit.
May 15 13:57:39.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $2390B303058F5EC1E1BEAAEECE3AAF2CF97B71F4~ForPrivacyNET [gOrpw70QSJUGgFICaWL8b0esaoSfynYOfHXEDnGRzdo] at 185.220.101.47. Retrying on a new circuit.
May 15 13:57:46.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $5628495D9939A8C139DD441402DE42F7012B7092~relayondiinkarazan [3giNc3Xsb2TXTWhIiP35X5C45RDwPGVvHcn/dGkZkSs] at 185.220.100.248. Retrying on a new circuit.
May 15 13:57:46.000 [notice] Tried for 133 seconds to get a connection to [scrubbed]:9738. Giving up.
May 15 13:57:51.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $5628495D9939A8C139DD441402DE42F7012B7092~relayondiinkarazan [3giNc3Xsb2TXTWhIiP35X5C45RDwPGVvHcn/dGkZkSs] at 185.220.100.248. Retrying on a new circuit.
May 15 13:57:52.000 [notice] Tried for 120 seconds to get a connection to [scrubbed]:9735. Giving up. (waiting for rendezvous desc)
May 15 13:57:54.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $5628495D9939A8C139DD441402DE42F7012B7092~relayondiinkarazan [3giNc3Xsb2TXTWhIiP35X5C45RDwPGVvHcn/dGkZkSs] at 185.220.100.248. Retrying on a new circuit.
May 15 13:57:59.000 [notice] Tried for 120 seconds to get a connection to [scrubbed]:9735. Giving up.
May 15 13:58:10.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $B9C5243087CF69B6A57A8318B312B79F19D6D594~cozybeardev [wBeR74Mv5bG5LgSCnNdbEfOSg8zLu5A/Bxuy5+pLba8] at 77.221.157.237. Retrying on a new circuit.
May 15 13:58:10.000 [notice] Tried for 120 seconds to get a connection to [scrubbed]:9734. Giving up.
May 15 13:58:48.000 [notice] Closed 1 streams for service [scrubbed].onion for reason resolve failed. Fetch status: No more HSDir available to query.
May 15 13:59:22.000 [notice] Closed 1 streams for service [scrubbed].onion for reason resolve failed. Fetch status: No more HSDir available to query.
May 15 14:00:18.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $719FD0FA327F3CCBCDA0D4EA74C15EA110338942~F3Netze [Nx05iIqVlLft1v1insRjzT1YbtgXFX+qRtxygcI7GC8] at 185.220.100.252. Retrying on a new circuit.
May 15 14:00:33.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $47CC44E9C4069D5013BB79709D5A7A4334B44EB3~NTH11R4 [//aWv/WrYvfx/ReY+B+XHG3/rR0sw1X/TxaMK3WrLpk] at 192.42.116.208. Retrying on a new circuit.
May 15 14:00:48.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $6BCB964AB74E23F8986BDA905697D3A6BE08AF28~F3Netze [a1F4rc0sg1V5geDuZS44nmmzL/O6MnRUTnI66M1VoDk] at 185.220.100.252. Retrying on a new circuit.
May 15 14:01:03.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $6ABFC90631A8CDA0C2D43D266878DBF9DC5BA485~OgresHaveLayers [jxKU1e4tgIX0lLHEY0F0bk6aqFN+BIhOSrExAI74NhE] at 104.192.3.74. Retrying on a new circuit.
May 15 14:01:18.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $0A11C7546A1332412D1EBD13BD4C3D6A6644D7E0~luxvptorex [JzUPaKMCODDotzOrdw9nrfEO8dIirVz47kh8XtYPBzc] at 107.189.30.69. Retrying on a new circuit.
May 15 14:01:33.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $CEEE6DA540F19ED9D41B483890C7021473132218~NTH27R6 [1UNZp80bh/MemQpLStGoT3z1JnMkZcxvZqEsUYT6Kzk] at 192.42.116.179. Retrying on a new circuit.
May 15 14:01:48.000 [notice] We tried for 15 seconds to connect to '[scrubbed]' using exit $F9772AC8B57100C0D2BBA8F4DA5956C3F193980E~ForPrivacyNET [qtYX89bl5S8gofd+VJrp/rY6hYNPe7GAOMB9d2yELh8] at 185.220.101.60. Retrying on a new circuit.
May 15 14:01:48.000 [notice] Tried for 130 seconds to get a connection to [scrubbed]:9735. Giving up.
May 15 14:02:36.000 [notice] Closed 1 streams for service [scrubbed].onion for reason resolve failed. Fetch status: No more HSDir available to query.

@highghlow
Copy link
Owner Author

I'm not an expert on tor, but that looks like connection/internet issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants