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

p2k16-label: the service needs a proper home, and needs to be in our ansible setup #19

Open
tingox opened this issue Oct 21, 2021 · 2 comments

Comments

@tingox
Copy link
Contributor

tingox commented Oct 21, 2021

the p2k16-label service currently lives on the server heim, in Elias' home directory. It has a systemd service (label-writer.service), but everything is manually installed. This breaks when we do upgrades. Today I fixed it by manually installing

sudo apt install python3-pil
sudo apt install python3-qrcode
sudo apt install python3-paho-mqtt
sudo pip3 install brother_ql

and restarting the label-writer.service.

Needs fixing:

  • make a proper home for it (on heim, under a dedicated user? Or somewhere else?)
  • create an ansible role for it
  • make sure that all dependencies gets installed
@tingox
Copy link
Contributor Author

tingox commented Oct 21, 2021

Also, we might need to find a replacement for brother_ql:

Oct 21 18:16:59 heim python3[305494]: deprecation warning: brother_ql.devicedependent is deprecated and will be remov
ed in a future release

@eliasbakken
Copy link
Contributor

PR available for this issue.

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

No branches or pull requests

2 participants