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

Installation failed #30

Open
DenioD opened this issue Dec 23, 2022 · 2 comments
Open

Installation failed #30

DenioD opened this issue Dec 23, 2022 · 2 comments

Comments

@DenioD
Copy link

DenioD commented Dec 23, 2022

Hey guys,

i got a error when installing truma_service (after test it). I get the following error while installation (truma_service --install) running as pi user:

Traceback (most recent call last):
  File "/home/pi/.local/bin/truma_service", line 8, in <module>
    sys.exit(truma_service.run())
  File "/home/pi/.local/lib/python3.9/site-packages/inetbox/truma_service.py", line 142, in run
    miqro.run(TrumaService)
  File "/home/pi/.local/lib/python3.9/site-packages/miqro/__init__.py", line 606, in run
    systemd_path.write_text(systemd_unit_file)
  File "/usr/lib/python3.9/pathlib.py", line 1274, in write_text
    with self.open(mode='w', encoding=encoding, errors=errors) as f:
  File "/usr/lib/python3.9/pathlib.py", line 1241, in open
    return io.open(self, mode, buffering, encoding, errors, newline,
  File "/usr/lib/python3.9/pathlib.py", line 1109, in _opener
    return self._accessor.open(self, flags, mode)
PermissionError: [Errno 13] Permission denied: '/etc/systemd/system/miqro_truma.service'

Is there a fix for that?

@dougle03
Copy link

dougle03 commented Jan 3, 2023

Looks like a file system permission error.
Try a clean Pi OS install then run the install again.

@ak68-hub
Copy link

davor:
sudo chmod 777 /etc/systemd/system
ausführen :) falls es nicht zu spät ist ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants