NEWS
(Gelöst) Backitup Update nicht möglich - Rechteproblem?
-
Hi, ich habe iobroker auf einem proxmox Container. Umzug auf ein neues System, proxmox backup auf NAS, auf dem neuen Server proxmox installiert und das Backup (Container) eingespielt. Das lief alles sauber durch, iobroker zeigte danach ein paar Adapter -Updates an. Die habe ich alle durchgeführt bis auf Backitup. Admin sagt mir, dass ich 2.9.1 habe und auf 2.9.3 updaten kann. Update führt zu :
$ iobroker upgrade backitup@2.9.3 --debug Update backitup from @2.9.1 to @2.9.3 NPM version: 9.8.1 Installing iobroker.backitup@2.9.3... (System call) npm ERR! code EACCESnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/.axios-5PaJDuuS/node_modules/form-data/libnpm ERR! dest /opt/iobroker/node_modules/axios/node_modules/form-data/libnpm ERR! errno -13npm ERR! Error: EACCES: permission denied, rename '/opt/iobroker/node_modules/.axios-5PaJDuuS/node_modules/form-data/lib' -> '/opt/iobroker/node_modules/axios/node_modules/form-data/lib'npm ERR! [Error: EACCES: permission denied, rename '/opt/iobroker/node_modules/.axios-5PaJDuuS/node_modules/form-data/lib' -> '/opt/iobroker/node_modules/axios/node_modules/form-data/lib'] {npm ERR! errno: -13,npm ERR! code: 'EACCES',npm ERR! syscall: 'rename',npm ERR! path: '/opt/iobroker/node_modules/.axios-5PaJDuuS/node_modules/form-data/lib',npm ERR! dest: '/opt/iobroker/node_modules/axios/node_modules/form-data/lib'npm ERR! }npm ERR! npm ERR! The operation was rejected by your operating system.npm ERR! It is likely you do not have the permissions to access this file as the current usernpm ERR! npm ERR! If you believe this might be a permissions issue, please double-check thenpm ERR! permissions of the file and its containing directories, or try runningnpm ERR! the command again as root/Administrator.npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-11-14T00_07_06_975Z-debug-0.loghost.iobroker Cannot install iobroker.backitup@2.9.3: 243 ERROR: Process exited with code 25
Beta repository , node.js 18.18.2, npm 9.8.1,js-controller 5.0.16, alle Adapter up-to-date
-
Vielleicht hilft dir der Thread hier weiter
-
@tt-tom Danke für den Tipp, iob fix hats gelöst. Trotzdem hatte ich eigentlcih nicht mit root rumgepfuscht.
Auf dem alten System habe ich ausschließlich mit einem angelegten user gearbeitet, auf dem neuen System habe ich erst einen Nutzer angelegt und danach das Backup eingespielt. Naja, Learning ist in jedem Fall nach Backup immer einen iob fix durchziehen.