NEWS
[gelöst] iobroker fix meldet Warnung (directory permissions)
-
@thomas-braun sagte in iobroker fix meldet Warnung (directory permissions):
dürfte auf das verwendete Dateisystem zurück zu führen sein. Was hast du denn da am Start? Das Apple-eigene?
Ich denke ext4
Gerät Anfang Ende Sektoren Größe Typ /dev/sdb1 2048 1050623 1048576 512M EFI-System /dev/sdb2 1050624 943398911 942348288 449,4G Linux-Dateisystem /dev/sdb3 943398912 976771071 33372160 15,9G Linux Swap
hat ja nichts mit einer Mac-Installation zu tun, nur weil die Hardware ein Äpflechen drauf hat ;o) Ist ein i5 mit Debian und ext4
-
-
admin@macmini-iobroker:/$ blkid -bash: blkid: Kommando nicht gefunden.
das hat mich auch schon gewundert!
Edit: SORRY
admin@macmini-iobroker:/$ sudo blkid /dev/sda1: LABEL_FATBOOT="EFI" LABEL="EFI" UUID="67E3-17ED" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="10f5d7aa-ff0d-4b91-a0a8-ca941445a5c1" /dev/sda2: UUID="1dcbe2c2-a8bc-338d-9d75-f443d874fa4a" LABEL="ServerHD" TYPE="hfsplus" PARTLABEL="ServerHD" PARTUUID="b79e60a1-4b31-4b98-89f4-044679ed9297" /dev/sda3: UUID="8554b033-2e07-3dab-9380-3256b231f207" LABEL="Recovery HD" TYPE="hfsplus" PARTLABEL="Recovery HD" PARTUUID="21c8f851-6bef-463e-9a9c-0d53ca83d5d8" /dev/sdb1: UUID="177A-F454" TYPE="vfat" PARTUUID="79fc6578-9929-4ffe-a79e-8b8c46b464a6" /dev/sdb2: UUID="342813eb-115e-4b58-b23f-dc9c320abc23" TYPE="ext4" PARTUUID="4c92c261-6a7c-4b51-8f35-5c208d33c486" /dev/sdb3: UUID="dc3fb7fc-0478-4129-88f2-a676f4e35ee5" TYPE="swap" PARTUUID="a42f0299-2785-47c0-988e-61bfc17c36ab"
iob läuft auf sdb
-
Wie sieht die /etc/fstab aus?
-
admin@macmini-iobroker:/$ cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sdb2 during installation UUID=342813eb-115e-4b58-b23f-dc9c320abc23 / ext4 errors=remount-ro 0 1 # /boot/efi was on /dev/sdb1 during installation UUID=177A-F454 /boot/efi vfat umask=0077 0 1 # swap was on /dev/sdb3 during installation UUID=dc3fb7fc-0478-4129-88f2-a676f4e35ee5 none swap sw 0 0
-
Da fehlen die defaults für die Partition auf sdb2
Bei mir sieht das so aus:
proc /proc proc defaults 0 0 PARTUUID=34b785c5-01 /boot vfat defaults,flush 0 2 PARTUUID=34b785c5-02 / ext4 defaults,noatime 0 1 # a swapfile is not a swap partition, no line here # use dphys-swapfile swap[on|off] for that echad@chet:~ $
Also
defaults,noatime
nachtragen und rebooten.errors=remount-ro kann ersetzt werden, die Option ist in defaults eh schon drin, soweit ich weiß.
-
@thomas-braun sagte in iobroker fix meldet Warnung (directory permissions):
defaults,noatime
also so?
# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sdb2 during installation UUID=342813eb-115e-4b58-b23f-dc9c320abc23 / ext4 defaults,noatime 0 1 # /boot/efi was on /dev/sdb1 during installation UUID=177A-F454 /boot/efi vfat umask=0077 0 1 # swap was on /dev/sdb3 during installation UUID=dc3fb7fc-0478-4129-88f2-a676f4e35ee5 none swap sw 0 0
-
Ja
-
Du Fuchs :
admin@macmini-iobroker:~$ iob stop admin@macmini-iobroker:~$ iob fix library: loaded Library version=2022-06-15 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2022-06-03 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== [sudo] Passwort für admin: Holen:1 http://security.debian.org/debian-security buster/updates InRelease [34,8 kB] OK:2 http://deb.debian.org/debian buster InRelease Holen:3 http://deb.debian.org/debian buster-updates InRelease [56,6 kB] OK:4 https://repos.influxdata.com/debian buster InRelease OK:5 https://packages.grafana.com/enterprise/deb stable InRelease OK:6 https://deb.nodesource.com/node_14.x buster InRelease OK:7 https://deb.nodesource.com/node_16.x buster InRelease Es wurden 91,5 kB in 1 s geholt (68,7 kB/s). Paketlisten werden gelesen... Fertig Installed gcc-c++ ========================================================================== Checking ioBroker user and directory permissions (2/3) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Checking autostart (3/3) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ==========================================================================
Aber: Gerade versucht Adapter zu installieren:
$ iobroker add feiertage --host macmini-iobroker Installing iobroker.feiertage@1.1.0... (System call) host.macmini-iobroker Cannot install iobroker.feiertage@1.1.0: 217 ERROR: Process exited with code 25
Scheint noch was nicht i.O.
-
@reutli sagte in iobroker fix meldet Warnung (directory permissions):
iobroker add feiertage --host macmini-iobroker
Versuchs mit --debug
iobroker add feiertage --host macmini-iobroker --debug
Könnte aber das sein:
https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8 -
admin@macmini-iobroker:~$ iob add feiertage --debug NPM version: 8.15.0 Installing iobroker.feiertage@1.1.0... (System call) npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/argparse npm ERR! dest /opt/iobroker/node_modules/.argparse-S5zfMSQi npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/argparse' -> '/opt/iobroker/node_modules/.argparse-S5zfMSQi' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-10-02T15_02_01_391Z-debug-0.log host.macmini-iobroker Cannot install iobroker.feiertage@1.1.0: 217
kennen wir doch schon... wie war deine Schleife für's löschen nochmal?
-
for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
-
done, danke!
admin@macmini-iobroker:~$ iob add feiertage --debug NPM version: 8.15.0 Installing iobroker.feiertage@1.1.0... (System call) npm WARN deprecated multer@1.4.4: Multer 1.x is affected by CVE-2022-24434. This is fixed in v1.4.4-lts.1 which drops support for versions of Node.js before 6. Please upgrade to at least Node.js 6 and version 1.4.4-lts.1 of Multer. If you need support for older versions of Node.js, we are open to accepting patches that would fix the CVE on the main 1.x release line, whilst maintaining compatibility with Node.js 0.10. npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) npm WARN deprecated axios@0.27.0: Formdata complete broken, incorrect build size added 143 packages, removed 24 packages, and changed 93 packages in 8s 129 packages are looking for funding run `npm fund` for details host.macmini-iobroker install adapter feiertage upload [4] feiertage.admin /opt/iobroker/node_modules/iobroker.feiertage/admin/feiertage.png feiertage.png image/png upload [3] feiertage.admin /opt/iobroker/node_modules/iobroker.feiertage/admin/holidays.js holidays.js application/javascript upload [2] feiertage.admin /opt/iobroker/node_modules/iobroker.feiertage/admin/index.html index.html text/html upload [1] feiertage.admin /opt/iobroker/node_modules/iobroker.feiertage/admin/index_m.html index_m.html text/html upload [0] feiertage.admin /opt/iobroker/node_modules/iobroker.feiertage/admin/words.js words.js application/javascript host.macmini-iobroker object system.adapter.feiertage created/updated host.macmini-iobroker create instance feiertage host.macmini-iobroker object system.adapter.feiertage.0.alive created host.macmini-iobroker object system.adapter.feiertage.0.connected created host.macmini-iobroker object system.adapter.feiertage.0.compactMode created host.macmini-iobroker object system.adapter.feiertage.0.cpu created host.macmini-iobroker object system.adapter.feiertage.0.cputime created host.macmini-iobroker object system.adapter.feiertage.0.memHeapUsed created host.macmini-iobroker object system.adapter.feiertage.0.memHeapTotal created host.macmini-iobroker object system.adapter.feiertage.0.memRss created host.macmini-iobroker object system.adapter.feiertage.0.uptime created host.macmini-iobroker object system.adapter.feiertage.0.inputCount created host.macmini-iobroker object system.adapter.feiertage.0.outputCount created host.macmini-iobroker object system.adapter.feiertage.0.eventLoopLag created host.macmini-iobroker object system.adapter.feiertage.0.sigKill created host.macmini-iobroker object system.adapter.feiertage.0.logLevel created host.macmini-iobroker object feiertage.0.heute created host.macmini-iobroker object feiertage.0.heute.Name created host.macmini-iobroker object feiertage.0.heute.boolean created host.macmini-iobroker object feiertage.0.morgen created host.macmini-iobroker object feiertage.0.morgen.Name created host.macmini-iobroker object feiertage.0.morgen.boolean created host.macmini-iobroker object feiertage.0.uebermorgen created host.macmini-iobroker object feiertage.0.uebermorgen.Name created host.macmini-iobroker object feiertage.0.uebermorgen.boolean created host.macmini-iobroker object feiertage.0.naechster created host.macmini-iobroker object feiertage.0.naechster.Name created host.macmini-iobroker object feiertage.0.naechster.Datum created host.macmini-iobroker object feiertage.0.naechster.Dauer created host.macmini-iobroker object feiertage.0.today created host.macmini-iobroker object feiertage.0.today.name created host.macmini-iobroker object feiertage.0.today.boolean created host.macmini-iobroker object feiertage.0.tomorrow created host.macmini-iobroker object feiertage.0.tomorrow.name created host.macmini-iobroker object feiertage.0.tomorrow.boolean created host.macmini-iobroker object feiertage.0.aftertomorrow created host.macmini-iobroker object feiertage.0.aftertomorrow.name created host.macmini-iobroker object feiertage.0.aftertomorrow.boolean created host.macmini-iobroker object feiertage.0.next created host.macmini-iobroker object feiertage.0.next.name created host.macmini-iobroker object feiertage.0.next.date created host.macmini-iobroker object feiertage.0.next.duration created host.macmini-iobroker object system.adapter.feiertage.0 created
die npm warings kann ich ignorieren, oder?
-
@reutli sagte in iobroker fix meldet Warnung (directory permissions):
die npm warings kann ich ignorieren, oder?
Ja, da muss der jeweilige Maintainer des Adapters mal schauen.
-
-
@reutli sagte in [gelöst] iobroker fix meldet Warnung (directory permissions):
Du Fuchs :
Zwar nicht so schlau, aber riecht wie einer?
-