openhab / openhabian

openHABian - empowering the smart home, for Raspberry Pi and Debian systems
https://community.openhab.org/t/13379
ISC License
821 stars 252 forks source link

Fix Permissions (option 14) keeps failing on fresh install of Debian. #1369

Closed juanhaywood closed 3 years ago

juanhaywood commented 3 years ago

Issue information:

Fix Permissions (option 14) keeps failing on fresh install of Debian. I've tried both the interactive and unattended installation options, and it fails with both. The main error seems to be as follows: "FAILED (openhab server mounts)"

Debug information:

Full Debug log:

[?1049l+ choice2='14 | Fix Permissions'
+ '[' 0 -eq 1 ']'
+ '[' 1 -eq 255 ']'
+ wait_for_apt_to_finish_update
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-01-02_17:57:14_SAST [openHABian] Updating Linux package information... '
2021-01-02_17:57:14_SAST [openHABian] Updating Linux package information... + [[ -z 2158 ]]
+ tail --pid=2158 -f /dev/null
+ echo OK
OK
+ case "$choice2" in
+ permissions_corrections
+ local gpioDir=/sys/devices/platform/soc
+ groups=("audio" "bluetooth" "dialout" "gpio" "tty")
+ local groups
+ openhabFolders=("/etc/openhab2" "/var/lib/openhab2" "/var/log/openhab2" "/usr/share/openhab2")
+ local openhabFolders
+ local openhabHome=/var/lib/openhab2
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-01-02_17:57:14_SAST [openHABian] Applying file permissions recommendations... '
2021-01-02_17:57:14_SAST [openHABian] Applying file permissions recommendations... + openhab_is_installed
+ openhab2_is_installed
++ cut '-d ' -f2
++ grep Status
++ dpkg -s openhab2
+ [[ '' == \i\n\s\t\a\l\l ]]
+ return 1
+ openhab3_is_installed
++ cut '-d ' -f2
++ grep Status
++ dpkg -s openhab
+ [[ install == \i\n\s\t\a\l\l ]]
+ return 0
+ return 0
+ for pGroup in "${groups[@]}"
+ grep -qs '^[[:space:]]*audio:' /etc/group
+ cond_redirect usermod --append --groups audio openhab
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ usermod --append --groups audio openhab \033[39;49;00m'

$ usermod --append --groups audio openhab 
+ usermod --append --groups audio openhab
+ return 0
+ cond_redirect usermod --append --groups audio openhabian
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ usermod --append --groups audio openhabian \033[39;49;00m'

$ usermod --append --groups audio openhabian 
+ usermod --append --groups audio openhabian
+ return 0
+ for pGroup in "${groups[@]}"
+ grep -qs '^[[:space:]]*bluetooth:' /etc/group
+ for pGroup in "${groups[@]}"
+ grep -qs '^[[:space:]]*dialout:' /etc/group
+ cond_redirect usermod --append --groups dialout openhab
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ usermod --append --groups dialout openhab \033[39;49;00m'

$ usermod --append --groups dialout openhab 
+ usermod --append --groups dialout openhab
+ return 0
+ cond_redirect usermod --append --groups dialout openhabian
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ usermod --append --groups dialout openhabian \033[39;49;00m'

$ usermod --append --groups dialout openhabian 
+ usermod --append --groups dialout openhabian
+ return 0
+ for pGroup in "${groups[@]}"
+ grep -qs '^[[:space:]]*gpio:' /etc/group
+ for pGroup in "${groups[@]}"
+ grep -qs '^[[:space:]]*tty:' /etc/group
+ cond_redirect usermod --append --groups tty openhab
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ usermod --append --groups tty openhab \033[39;49;00m'

$ usermod --append --groups tty openhab 
+ usermod --append --groups tty openhab
+ return 0
+ cond_redirect usermod --append --groups tty openhabian
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ usermod --append --groups tty openhabian \033[39;49;00m'

$ usermod --append --groups tty openhabian 
+ usermod --append --groups tty openhabian
+ return 0
+ cond_redirect usermod --append --groups openhab openhabian
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ usermod --append --groups openhab openhabian \033[39;49;00m'

$ usermod --append --groups openhab openhabian 
+ usermod --append --groups openhab openhabian
+ return 0
+ cond_redirect chown openhab:openhab /srv /srv/README.txt /opt
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ chown openhab:openhab /srv /srv/README.txt /opt \033[39;49;00m'

$ chown openhab:openhab /srv /srv/README.txt /opt 
+ chown openhab:openhab /srv /srv/README.txt /opt
chown: cannot access '/srv/README.txt': No such file or directory
+ return 1
+ echo 'FAILED (openhab server mounts)'
FAILED (openhab server mounts)
+ return 1
+ '[' 1 -ne 0 ']'
+ whiptail --msgbox 'There was an error or interruption during the execution of:\n  "10 | Apply Improvements"\n\nPlease try again. If the error persists, please read /opt/openhabian/docs/openhabian-DEBUG.md or https://github.com/openhab/openhabian/blob/master/docs/openhabian-DEBUG.md how to proceed.' 14 80

System information:

OS: Debian HW: Hyper-v VM

cat /etc/os-release output: PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"

uname -m output: i686

juanhaywood commented 3 years ago

Just tested on a clean installation of Ubuntu, and have the exact same issue. Full installation debug logs attached. OH3Ubu.log

mstormi commented 3 years ago

https://github.com/openhab/openhabian/commit/18bb3de55c8afc4e4079adc8a87a3861a174e5df should fix it pls validate and reopen if needed

juanhaywood commented 3 years ago

Tested, and the issue persists. Full log from clean Debian installation attached.

OH3Deb.log

juanhaywood commented 3 years ago

@mstormi I don't seem to be able to reopen the issue

juanhaywood commented 3 years ago

$ chown --recursive openhab:openhab /etc/openhab2 /var/lib/openhab2 /var/log/openhab2 /usr/share/openhab2

mstormi commented 3 years ago

Thing is I don't have x86 Debian to test against. I actually DID fix your issue but there's others. Can you please find out which of the directories below is not there ? Are Samba and ZRAM installed ?

$ chgrp --silent root /var/log/samba /var/log/unattended-upgrades /opt/zram/log.bind/samba
+ chgrp --silent root /var/log/samba /var/log/unattended-upgrades /opt/zram/log.bind/samba
+ return 1
+ echo 'FAILED (samba and 3rd party logdir)'

Change the code in /opt/openhabian/functions/system.bash yourself (below permissions_corrections()) the try again via menu (no reinstall, and if openhabian-config asks to update on start then yes, exit, fix system.bash again and start again)

mstormi commented 3 years ago

$ chown --recursive openhab:openhab /etc/openhab2 /var/lib/openhab2 /var/log/openhab2 /usr/share/openhab2

You have changed the branch. You start in openHAB3 branch (see line 335 of your debug log) and must not change to master or stable.

juanhaywood commented 3 years ago

I've not changed anything. From a clean Debian install, I simply pull openhabian via git, then perform the unattended installation. I'll try to manually set the branch to openhab3 before initiating the unattended installation.

WolfgangSn commented 3 years ago

Thing is I don't have x86 Debian to test against. I actually DID fix your issue but there's others. Can you please find out which of the directories below is not there ? Are Samba and ZRAM installed ?

ZRAM is not installed on x86 Debian systems as it is only allowed to be installed on is_arm systems using openhabian-config.

juanhaywood commented 3 years ago

Only commands I now ran:

1. sudo bash
2. apt-get install git
3. git clone -b openHAB3 https://github.com/openhab/openhabian.git /opt/openhabian
4. ln -s /opt/openhabian/openhabian-setup.sh /usr/local/bin/openhabian-config
5. cp /opt/openhabian/openhabian.conf.dist /etc/openhabian.conf
6. sudo nano /etc/openhabian.conf //debig=maximum
7. openhabian-config //to check the selected branch. It's on openHAB3 by default. Changed nothing and simply exited openhabian-config.
8. openhabian-config unattended

Get error on log line 6113: FAILED (samba and 3rd party logdir)

Next I run: openhabian-config //confirmed it is still on openHAB3 branch, then manually ran command 14 - Fix permissions.

Still results in "FAILED (samba and 3rd party logdir)"

Full log for everything above attached: OH3DebNew.log

mstormi commented 3 years ago

you dont need to install from scratch just use menu 14 I have not changed the code yet so you got what you got last time. List dirs as I asked you to please

juanhaywood commented 3 years ago

Sorry, missed that message. Exists: /var/log/samba /var/log/unattended-upgrades Doesn't exist: /opt/zram/log.bind/samba

mstormi commented 3 years ago

sigh why can't you guys not just simply use a RPi ...

mstormi commented 3 years ago

please try the fixPerms branch set clonebranch=fixPerms in openhabian.conf, double-check on start it didn't change the branch, then menu 14

mstormi commented 3 years ago

sorry I got interrupted and failed to upload the changes. Now they are so pls try with the fixPerms branch now.

juanhaywood commented 3 years ago

I set clonebranch=fixPerm, but the error persists :(

++ whiptail --title 'Welcome to the openHABian Configuration Tool [fixPerms]patchday-20210104-1091(ba08671)' --menu 'Apply Improvements' 13 116 6 --cancel-button Back --ok-button Execute '11 | Packages' 'Install needed and recommended system packages' '12 | Bash&Vim Settings' 'Update customized openHABian settings for bash, vim and nano' '13 | System Tweaks' 'Add /srv mounts and update settings typical for openHAB' '14 | Fix Permissions' 'Update file permissions of commonly used files and folders' '15 | FireMotD' 'Upgrade the program behind the system overview on SSH login' '16 | Samba' 'Install the Samba file sharing service and set up openHAB shares'
[?1049h[?25l(B                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    (B┌────────────┤ Welcome to the openHABian Configuration Tool [fixPerms]patchday-20210104-1091(ba08671) ├────────────┐│                                                                                                                  │ (B│             11 | Packages          Install needed and recommended system packages                                │ (B│             12 | Bash&Vim Settings Update customized openHABian settings for bash, vim and nano                  │ (B│             13 | System Tweaks     Add /srv mounts and update settings typical for openHAB                       │ (B│             14 | Fix Permissions   Update file permissions of commonly used files and folders                    │ (B│             15 | FireMotD          Upgrade the program behind the system overview on SSH login                   │ (B│             16 | Samba             Install the Samba file sharing service and set up openHAB shares              │ (B│                                                                                                                  │ (B│                                                                                                                  │ (B│                                 <Execute>                                <Back>                                  │ (B│                                                                                                                  │ (B└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘                                                                                                                     (B11 | Packages          Install needed and recommended system packages                  12 | Bash&Vim Settings Update customized openHABian settings for bash, vim and nano    12 | Bash&Vim Settings Update customized openHABian settings for bash, vim and nano    13 | System Tweaks     Add /srv mounts and update settings typical for openHAB         13 | System Tweaks     Add /srv mounts and update settings typical for openHAB         14 | Fix Permissions   Update file permissions of commonly used files and folders      14 | Fix Permissions   Update file permissions of commonly used files and folders      15 | FireMotD          Upgrade the program behind the system overview on SSH login     14 | Fix Permissions   Update file permissions of commonly used files and folders      15 | FireMotD          Upgrade the program behind the system overview on SSH login     [?12l[?25h(B

[?1049l+ choice2='14 | Fix Permissions'
+ '[' 0 -eq 1 ']'
+ '[' 1 -eq 255 ']'
+ wait_for_apt_to_finish_update
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-01-04_23:00:30_CET [openHABian] Updating Linux package information... '
2021-01-04_23:00:30_CET [openHABian] Updating Linux package information... + [[ -z 17086 ]]
+ tail --pid=17086 -f /dev/null
+ echo OK
OK
+ case "$choice2" in
+ permissions_corrections
+ local gpioDir=/sys/devices/platform/soc
+ groups=("audio" "bluetooth" "dialout" "gpio" "tty")
+ local groups
+ openhabFolders=("/etc/openhab" "/var/lib/openhab" "/var/log/openhab" "/usr/share/openhab")
+ local openhabFolders
+ local openhabHome=/var/lib/openhab
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2021-01-04_23:00:30_CET [openHABian] Applying file permissions recommendations... '
2021-01-04_23:00:30_CET [openHABian] Applying file permissions recommendations... + openhab_is_installed
+ openhab2_is_installed
++ cut '-d ' -f2
++ grep Status
++ dpkg -s openhab2
+ [[ '' == \i\n\s\t\a\l\l ]]
+ return 1
+ openhab3_is_installed
++ cut '-d ' -f2
++ grep Status
++ dpkg -s openhab
+ [[ install == \i\n\s\t\a\l\l ]]
+ return 0
+ return 0
+ for pGroup in "${groups[@]}"
+ grep -qs '^[[:space:]]*audio:' /etc/group
+ cond_redirect usermod --append --groups audio openhab
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ usermod --append --groups audio openhab \033[39;49;00m'

$ usermod --append --groups audio openhab 
+ usermod --append --groups audio openhab
+ return 0
+ cond_redirect usermod --append --groups audio openhabian
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ usermod --append --groups audio openhabian \033[39;49;00m'

$ usermod --append --groups audio openhabian 
+ usermod --append --groups audio openhabian
+ return 0
+ for pGroup in "${groups[@]}"
+ grep -qs '^[[:space:]]*bluetooth:' /etc/group
+ for pGroup in "${groups[@]}"
+ grep -qs '^[[:space:]]*dialout:' /etc/group
+ cond_redirect usermod --append --groups dialout openhab
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ usermod --append --groups dialout openhab \033[39;49;00m'

$ usermod --append --groups dialout openhab 
+ usermod --append --groups dialout openhab
+ return 0
+ cond_redirect usermod --append --groups dialout openhabian
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ usermod --append --groups dialout openhabian \033[39;49;00m'

$ usermod --append --groups dialout openhabian 
+ usermod --append --groups dialout openhabian
+ return 0
+ for pGroup in "${groups[@]}"
+ grep -qs '^[[:space:]]*gpio:' /etc/group
+ for pGroup in "${groups[@]}"
+ grep -qs '^[[:space:]]*tty:' /etc/group
+ cond_redirect usermod --append --groups tty openhab
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ usermod --append --groups tty openhab \033[39;49;00m'

$ usermod --append --groups tty openhab 
+ usermod --append --groups tty openhab
+ return 0
+ cond_redirect usermod --append --groups tty openhabian
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ usermod --append --groups tty openhabian \033[39;49;00m'

$ usermod --append --groups tty openhabian 
+ usermod --append --groups tty openhabian
+ return 0
+ cond_redirect usermod --append --groups openhab openhabian
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ usermod --append --groups openhab openhabian \033[39;49;00m'

$ usermod --append --groups openhab openhabian 
+ usermod --append --groups openhab openhabian
+ return 0
+ cond_redirect chown --silent openhab:openhab /srv /opt
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ chown --silent openhab:openhab /srv /opt \033[39;49;00m'

$ chown --silent openhab:openhab /srv /opt 
+ chown --silent openhab:openhab /srv /opt
+ return 0
+ cond_redirect chmod --silent ugo+w /srv
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ chmod --silent ugo+w /srv \033[39;49;00m'

$ chmod --silent ugo+w /srv 
+ chmod --silent ugo+w /srv
+ return 0
+ cond_redirect chown --recursive openhab:openhab /etc/openhab /var/lib/openhab /var/log/openhab /usr/share/openhab
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ chown --recursive openhab:openhab /etc/openhab /var/lib/openhab /var/log/openhab /usr/share/openhab \033[39;49;00m'

$ chown --recursive openhab:openhab /etc/openhab /var/lib/openhab /var/log/openhab /usr/share/openhab 
+ chown --recursive openhab:openhab /etc/openhab /var/lib/openhab /var/log/openhab /usr/share/openhab
+ return 0
+ cond_redirect chmod --recursive ug+wX /opt /etc/openhab /var/lib/openhab /var/log/openhab /usr/share/openhab
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ chmod --recursive ug+wX /opt /etc/openhab /var/lib/openhab /var/log/openhab /usr/share/openhab \033[39;49;00m'

$ chmod --recursive ug+wX /opt /etc/openhab /var/lib/openhab /var/log/openhab /usr/share/openhab 
+ chmod --recursive ug+wX /opt /etc/openhab /var/lib/openhab /var/log/openhab /usr/share/openhab
+ return 0
+ [[ -d /var/lib/openhab/.ssh ]]
+ cond_redirect chown --recursive openhabian:openhabian /home/openhabian
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ chown --recursive openhabian:openhabian /home/openhabian \033[39;49;00m'

$ chown --recursive openhabian:openhabian /home/openhabian 
+ chown --recursive openhabian:openhabian /home/openhabian
+ return 0
+ '[' -f /etc/mosquitto/passwd ']'
+ cond_redirect setfacl --recursive --remove-all /etc/openhab /var/lib/openhab /var/log/openhab /usr/share/openhab
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ setfacl --recursive --remove-all /etc/openhab /var/lib/openhab /var/log/openhab /usr/share/openhab \033[39;49;00m'

$ setfacl --recursive --remove-all /etc/openhab /var/lib/openhab /var/log/openhab /usr/share/openhab 
+ setfacl --recursive --remove-all /etc/openhab /var/lib/openhab /var/log/openhab /usr/share/openhab
+ return 0
+ cond_redirect chgrp --silent root /var/log/samba /var/log/unattended-upgrades /opt/zram/log.bind/samba
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ chgrp --silent root /var/log/samba /var/log/unattended-upgrades /opt/zram/log.bind/samba \033[39;49;00m'

$ chgrp --silent root /var/log/samba /var/log/unattended-upgrades /opt/zram/log.bind/samba 
+ chgrp --silent root /var/log/samba /var/log/unattended-upgrades /opt/zram/log.bind/samba
+ return 1
+ echo 'FAILED (samba and 3rd party logdir)'
FAILED (samba and 3rd party logdir)
+ return 1
+ '[' 1 -ne 0 ']'
+ whiptail --msgbox 'There was an error or interruption during the execution of:\n  "10 | Apply Improvements"\n\nPlease try again. If the error persists, please read /opt/openhabian/docs/openhabian-DEBUG.md or https://github.com/openhab/openhabian/blob/master/docs/openhabian-DEBUG.md how to proceed.' 14 80
[?1049h[?25l(B                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    (B┌──────────────────────────────────────────────────────────────────────────────┐│                                                                              │ (B│ There was an error or interruption during the execution of:                  │ (B│   "10 | Apply Improvements"                                                  │ (B│                                                                              │ (B│ Please try again. If the error persists, please read                         │ (B│ /opt/openhabian/docs/openhabian-DEBUG.md or                                  │ (B│ https://github.com/openhab/openhabian/blob/master/docs/openhabian-DEBUG.md   │ (B│ how to proceed.                                                              │ (B│                                                                              │ (B│                                                                              │ (B│                                    <Ok>                                      │ (B│                                                                              │ (B└──────────────────────────────────────────────────────────────────────────────┘                                                                                 [?12l[?25h(B(B

mstormi commented 3 years ago

It fails because it's still the old code.

Note the "s" it is clonebranch=FixPerms When it asks you on startup to upgrade and select a branch, push Cancel. or select the fixPerms branch in menu 01 before proceeding with menu 14

juanhaywood commented 3 years ago

Ok, now it runs without error, thanks!

However, after running, I'm still not able to access the shares. Is this a separate issue, or am I just doing something wrong?

OH3DebNew2.1.log

image

juanhaywood commented 3 years ago

Just to add, thank you for all your help and time thus far. I really appreciate it.

If the above is something due to my own stupidity, I really apologise :S

mstormi commented 3 years ago

That's a different issue then. Switch to openHAB3 branch now, I just merged the changes. Try reinstalling Samba and ZRAM via menu.