Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install baseDirectory #5

Open
ericCJessen opened this issue Apr 4, 2022 · 7 comments
Open

Unable to install baseDirectory #5

ericCJessen opened this issue Apr 4, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@ericCJessen
Copy link

I installed SynTexMagicHome through homebridge UI. After restarting, I get this error:

[SynTexMagicHome] [ERROR] [automation-lock.json] could not be read!
[Error: ENOENT: no such file or directory, open '/var/homebridge/SynTex/automation/automation-lock.json'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/var/homebridge/SynTex/automation/automation-lock.json'

image

I tried manually creating the directory per the SOP but saw this in the terminal:
image

What am I doing wrong?

More Information

  • OS: Mac OS
  • Node Version 16.14.2
@ericCJessen
Copy link
Author

I did get a bit further...but still stuck :/

image

@SynTexDZN
Copy link
Owner

Hey @ericCJessen,
You didn't create an user when installing homebridge so you can't apply permissions to an user that doesn't exists. Try using the chmod command without "homebridge".

~ SynTex

@ericCJessen
Copy link
Author

I tried all the permutations I could think of...did I miss one?
image

@ericCJessen
Copy link
Author

also tried:
image

@SynTexDZN
Copy link
Owner

You always are using "chown" what needs to be connected to a specific user. You have to use "chmod" for an independent permission set like this:
"sudo chmod 777 -R /var/homebridge/SynTex"

@SynTexDZN
Copy link
Owner

SynTexDZN commented Apr 25, 2022

Hey @ericCJessen,
is your issue solved?

@ericCJessen
Copy link
Author

ericCJessen commented May 7, 2022 via email

@SynTexDZN SynTexDZN added the bug Something isn't working label Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants