Thank you for your donation!


Instruction Guide LCD/OLED display using pydPiper
(04-27-2022, 07:05 AM)Pranjal Wrote:
(11-06-2021, 07:55 PM)uli_s Wrote: Hi,
is there someone running pydpiper on moode 7.4.1?
After the installation of pydpiper the test works fine, but after the final installation of the pydpiper.service the docker installation will not start properly.
It dies after a few seconds or the systemctl status pydpiper returns
● pydpiper.service - pydPiper
  Loaded: loaded (/etc/systemd/system/pydpiper.service; enabled; vendor preset: enabled)
  Active: active (running) since Sat 2021-11-06 20:46:44 CET; 2s ago
Main PID: 8436 (docker)
   Tasks: 9 (limit: 2059)
  CGroup: /system.slice/pydpiper.service
          └─8436 /usr/bin/docker run --network=host --privileged -v /var/log:/var/log:rw -v /home/volumio/pydPiper:/app:rw dhrone/pydpiper:v0.

Nov 06 20:46:44 moode systemd[1]: Started pydPiper.
Nov 06 20:46:46 moode docker[8436]: python: can't open file '/app/pydPiper.py': [Errno 2] No such file or directory

I tried a clean installation of moode, then I added "deb https://archive.raspberrypi.org/debian/ bullseye main" to sources.list and did an update and at last, I used "sudo apt-get update --allow-releaseinfo-change" and repeated the install_docker.sh script.

Nothing worked for me.

Any idea?

Regards,
Uli

Rpi3, 16GB SD-Card, Pimoroni Phat-dac, HD44780-i2c

Hi dont think it will work in version higher than 7.1 tried in the latest moode 8 displays error "git" command not found

I just updated my system to MoOde 8.02.
You need to install git first - not included in the MoOde Bullseye distro

sudo apt install git

then clone the pydPiper repository as usual:

cd /home/pi
git clone https://github.com/dhrone/pydPiper
cd pydPiper

Then for the docker I used the following:

sudo curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh


Then configure PydPiper

sudo python configure.py

Edit your pages file

Test the install:

sudo /usr/bin/docker run --network=host --privileged -ti -v /var/log:/var/log:rw -v /home/pi/pydPiper:/app:rw dhrone/pydpiper:v0.31-alpha /bin/bash
python pydPiper.py

To finish set it to start automatically

sudo cp pydpiper.service /etc/systemd/system
sudo systemctl enable pydpiper
sudo systemctl start pydpiper


Enjoy!
Good Luck
Reply
(05-24-2022, 01:44 AM)Britracer Wrote:
(04-27-2022, 07:05 AM)Pranjal Wrote:
(11-06-2021, 07:55 PM)uli_s Wrote: Hi,
is there someone running pydpiper on moode 7.4.1?
After the installation of pydpiper the test works fine, but after the final installation of the pydpiper.service the docker installation will not start properly.
It dies after a few seconds or the systemctl status pydpiper returns
● pydpiper.service - pydPiper
  Loaded: loaded (/etc/systemd/system/pydpiper.service; enabled; vendor preset: enabled)
  Active: active (running) since Sat 2021-11-06 20:46:44 CET; 2s ago
Main PID: 8436 (docker)
   Tasks: 9 (limit: 2059)
  CGroup: /system.slice/pydpiper.service
          └─8436 /usr/bin/docker run --network=host --privileged -v /var/log:/var/log:rw -v /home/volumio/pydPiper:/app:rw dhrone/pydpiper:v0.

Nov 06 20:46:44 moode systemd[1]: Started pydPiper.
Nov 06 20:46:46 moode docker[8436]: python: can't open file '/app/pydPiper.py': [Errno 2] No such file or directory

I tried a clean installation of moode, then I added "deb https://archive.raspberrypi.org/debian/ bullseye main" to sources.list and did an update and at last, I used "sudo apt-get update --allow-releaseinfo-change" and repeated the install_docker.sh script.

Nothing worked for me.

Any idea?

Regards,
Uli

Rpi3, 16GB SD-Card, Pimoroni Phat-dac, HD44780-i2c

Hi dont think it will work in version higher than 7.1 tried in the latest moode 8 displays error "git" command not found

I just updated my system to MoOde 8.02.
You need to install git first - not included in the MoOde Bullseye distro

sudo apt install git

then clone the pydPiper repository as usual:

cd /home/pi
git clone https://github.com/dhrone/pydPiper
cd pydPiper

Then for the docker I used the following:

sudo curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh


Then configure PydPiper

sudo python configure.py

Edit your pages file

Test the install:

sudo /usr/bin/docker run --network=host --privileged -ti -v /var/log:/var/log:rw -v /home/pi/pydPiper:/app:rw dhrone/pydpiper:v0.31-alpha /bin/bash
python pydPiper.py

To finish set it to start automatically

sudo cp pydpiper.service /etc/systemd/system
sudo systemctl enable pydpiper
sudo systemctl start pydpiper


Enjoy!
Good Luck

Okay, that explains. Will try this weekend ad revert.
Reply


Forum Jump: