raspiblitz: Permission issues on 1.10.0rc5
First of all, I’m running on a minipc (amd64 image). Managed to install Debian, ran build_sdcard.sh
and after some issues with the blockchain and SSD, and a new IBD, the node is up and running! (I’ll try and document this later)
I found a couple of issues, now the node is running (BTC and LND), which seem related to permissions:
- nginx:
nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok 2023/09/07 09:49:42 [emerg] 145892#145892: open() "/run/nginx.pid" failed (13: Permission denied) nginx: configuration file /etc/nginx/nginx.conf test failed
- Although i could install thunderhub, can’t access the webpage:
sudo service thunderhub status ● thunderhub.service - ThunderHub daemon Loaded: loaded (/etc/systemd/system/thunderhub.service; enabled; preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Thu 2023-09-07 09:50:49 EDT; 4s ago Process: 156363 ExecStart=/usr/bin/npm run start (code=exited, status=127) Main PID: 156363 (code=exited, status=127)
- RTL, fails on install:
# Get the RTL Source Code Cloning into '/home/rtl/RTL'... remote: Enumerating objects: 37247, done. remote: Counting objects: 100% (1607/1607), done. remote: Compressing objects: 100% (628/628), done. remote: Total 37247 (delta 1109), reused 1443 (delta 976), pack-reused 35640 Receiving objects: 100% (37247/37247), 274.56 MiB | 23.12 MiB/s, done. Resolving deltas: 100% (30716/30716), done. /home/admin/config.scripts/bonus.rtl.sh: line 146: cd: /home/rtl/RTL: Permission denied fatal: not a git repository (or any of the parent directories): .git sudo: unable to execute /home/admin/config.scripts/blitz.git-verify.sh: Permission denied
- managed to install LIT, but can’t login as it says wrong password
- webUI also says wrong password, or doesn’t open at all
About this issue
- Original URL
- State: closed
- Created 10 months ago
- Comments: 15
Commits related to this issue
- create home folders as 0755 on Debian 12 related: https://github.com/raspiblitz/raspiblitz/issues/4154 — committed to openoms/raspiblitz by openoms 10 months ago
- create home folders as 0755 on Debian 12 (#4156) related: https://github.com/raspiblitz/raspiblitz/issues/4154 — committed to raspiblitz/raspiblitz by openoms 10 months ago
yes, that should work or we need to change the
adduser
commands to (eg for a user:test
):I think changing the commands is better than modifying the default behaviour, but a on an individual system both changes result in the same.
Basically now you should succeed with the steps:
install debian on SSD
ssh into PC with pi / raspiblitz
change in
/etc/adduser.conf
to
The problem is because in the difference in:
/etc/adduser.conf
Debian 11:Debian 12:
Yes latest Debian.
Process was :
sudo build_sdcard.sh .....