My YunoHost server
Hardware: VPS bought online
YunoHost version: 11.0.9.12
I have access to my server : Through SSH and through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
All app installs and upgrades fail with error similar to
./upgrade: line 23: ynh_app_setting_get: command not found
example: https://paste.yunohost.org/raw/towesofide
Same occurs via webGUI and via CLI
OS upgrades work fine
Just before I noticed this issue, I was doing this:
In an attempt to get syncthing using the same folders as nextcloud I was following the last post in this thread Syncthing / permissions — Create a share with existing folder - #10 by mateMatt. edited the /etc/grp
file to add syncthing to the multimedia group and then changed ownership on the share folder.
At this point I’m not bothered about the syncthing part, I just want to be able to upgrade and install apps
I was in the YNH support room and was advised to run
namei -l /usr/share/yunohost/helpers.d
output:
f: /usr/share/yunohost/helpers.d
drwxr-xr-x root root /
drwxr-xr-x root root usr
drwxr-xr-x root root share
drwxr-xr-x root root yunohost
drwxr-xr-x root root helpers.d
and
ls -l /usr/share/yunohost/helpers.d
output:
-rw-r--r-- 1 root root 3596 Aug 28 15:50 apps
-rw-r--r-- 1 root root 22431 Aug 28 15:50 apt
-rw-r--r-- 1 root root 20293 Aug 28 15:50 backup
-rw-r--r-- 1 root root 12162 Aug 28 15:50 config
-rw-r--r-- 1 root root 4923 Aug 28 15:50 fail2ban
-rw-r--r-- 1 root root 12198 Aug 28 15:50 getopts
-rw-r--r-- 1 root root 3674 Aug 28 15:50 hardware
-rw-r--r-- 1 root root 11826 Aug 28 15:50 logging
-rw-r--r-- 1 root root 4375 Aug 28 15:50 logrotate
-rw-r--r-- 1 root root 4347 Aug 28 15:50 multimedia
-rw-r--r-- 1 root root 7137 Aug 28 15:50 mysql
-rw-r--r-- 1 root root 3733 Aug 28 15:50 network
-rw-r--r-- 1 root root 1472 Aug 28 15:50 nginx
-rw-r--r-- 1 root root 9393 Aug 28 15:50 nodejs
-rw-r--r-- 1 root root 15951 Aug 28 15:50 permission
-rw-r--r-- 1 root root 22313 Aug 28 15:50 php
-rw-r--r-- 1 root root 9529 Aug 28 15:50 postgresql
-rw-r--r-- 1 root root 4880 Aug 28 15:50 setting
-rw-r--r-- 1 root root 5618 Aug 28 15:50 string
-rw-r--r-- 1 root root 6712 Aug 28 15:50 systemd
-rw-r--r-- 1 root root 6043 Aug 28 15:50 user
-rw-r--r-- 1 root root 35007 Aug 28 15:50 utils
Looking at my terminal history, I can’t see how I could have caused an issue with the yunohost helpers. I guess I may have mis-edited the /etc/grp/
file to stop access to the /usr/share/yunohost/helpers
Any thoughts on what might have happened would be appreciated.