Open sensationunddesign opened 3 years ago
Dear @sensationunddesign , did you run your homebridge as SUDO ?? you can verify this in your homebridge UI settings.
@myluna08 - thanx for replying. What do you mean about run with sudo…ich have already some plugins running in homebridge. I did the installation with the plugin…
@sensationunddesign in you homebridge go to ui settings, look at this image
@myluna08 - don't have this option…
@sensationunddesign please report, homebridge version, nodejs version and npm version
@myluna08 HB: v1.2.5 Node.js Version | v14.15.3 NPM : v6.14.9
@sensationunddesign verify in your config.json if you have sudo: true, if not change or add this value and restart your homebrige.
"platforms": [ { "platform": "config", "name": "Config", "port": 8080, "sudo": true } ]
i have updated this, still same error…
[1/17/2021, 1:08:05 PM] [Rituals] Initializing Rituals accessory...
[1/17/2021, 1:08:05 PM] Error: EACCES: permission denied, open '/root/.homebridge/.uix-rituals-secrets_'
at Object.openSync (fs.js:476:3)
at Object.readFileSync (fs.js:377:35)
at Storage._load (/homebridge/node_modules/homebridge-rituals/node_modules/node-storage/index.js:169:26)
at new Storage (/homebridge/node_modules/homebridge-rituals/node_modules/node-storage/index.js:31:21)
at new RitualsAccessory (/homebridge/node_modules/homebridge-rituals/index.js:33:20)
at /usr/local/lib/node_modules/homebridge/src/server.ts:355:50
at Array.forEach (
@sensationunddesign delete his file .uix-rituals-secrets_ and restart your homebridge again.
ok, I can't find this file.…there is only a .uix-secrets
@sensationunddesign for some reason your homebridge wants to open .uix-rituals-secrets under the .homebrige on root folder, not on normal homebridge user folder, this thing could be because of your installation. Verify if under homebrige user there are a .homebrige folder and inside if there are .uix-rituals-secrets, if not just create file doing a touch.
`touch .uix-rituals-secrets`
admin@SERVER:/volume1/docker/homebridge$ ls -la total 956 drwxr-xr-x 9 admin users 4096 Jan 17 13:18 . drwxrwxrwx+ 5 999 999 4096 Jan 12 08:23 .. drwxr-xr-x 2 admin users 4096 Nov 26 10:44 accessories -rw-r--r-- 1 admin users 359 Nov 26 08:24 auth.json drwxr-xr-x 4 admin users 4096 Nov 27 01:15 backups -rw-r--r-- 1 admin users 3861 Jan 17 13:18 config.json -rw-r--r-- 1 admin users 81 Nov 26 08:21 .docker.env -rw-r--r-- 1 admin users 1356 Dec 28 16:01 eufy-security-credentials.json -rw-r--r-- 1 admin users 775077 Jan 17 13:28 homebridge.log drwxr-xr-x 2 admin users 4096 Nov 26 16:37 .homebridge-nukiio drwxr-xr-x 2 admin users 4096 Nov 26 08:21 logs drwxr-xr-x 8 admin users 4096 Jan 16 14:41 node_modules drwxrwxrwx 2 admin users 4096 Nov 26 16:48 nuki-cache -rw-r--r-- 1 admin users 309 Jan 16 14:41 package.json -rw-r--r-- 1 admin users 125425 Jan 16 14:41 package-lock.json drwxr-xr-x 2 admin users 4096 Nov 26 08:22 persist -rwxr-xr-x 1 admin users 573 Nov 26 08:21 startup.sh -rw-r--r-- 1 admin users 1103 Jan 17 11:58 .uix-dashboard.json -rw-r--r-- 1 admin users 81 Nov 26 08:22 .uix-secrets
is this correct or do I have to choose another folder? Tried this, but same problem…
@myluna08 - any idea?
Dear @sensationunddesign I think the problem was on your docker installation. Plugin search for /root/.homebridge/ folder, try to create manually the file in this folder. Create the file using touch, assign correct permissions as I can see in your installation assigned to admin:users using chown and to verify all users can access to the file, then execute a chmod +x to the file.
touch .uix-rituals-secrets_
chown admin:users .uix-rituals-secrets_
chmod +x .uix-rituals-secrets_
Error: EACCES: permission denied, open '/root/.homebridge/.uix-rituals-secrets_' at Object.openSync (fs.js:476:3)
@sensationunddesign what about my last comment ??
hi @myluna08 , thx für your reply. still not working. would be a remote session possible?
Sorry for the delay of answer, still have the problem?
[1/16/2021, 2:48:24 PM] Error: EACCES: permission denied, open '/root/.homebridge/.uix-rituals-secrets_' at Object.openSync (fs.js:476:3) at Object.readFileSync (fs.js:377:35) at Storage._load (/homebridge/node_modules/homebridge-rituals/node_modules/node-storage/index.js:169:26) at new Storage (/homebridge/node_modules/homebridge-rituals/node_modules/node-storage/index.js:31:21) at new RitualsAccessory (/homebridge/node_modules/homebridge-rituals/index.js:33:20) at /usr/local/lib/node_modules/homebridge/src/server.ts:355:50 at Array.forEach ()
at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/src/server.ts:328:29)
at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:154:12)
at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:80:10)
have no idea what's the problem. Tried to install but not chance - always makes a restart fo the home bridge…