Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide LCD/OLED display using pydPiper
Hi Folks:

I have had a Mode system running fine for several months.  For various reasons, I decided to do a fresh install when I encountered a problem installing Docker.  Does anyone have any suggestions as to what the issue may be?  I have attached the error message below:

+ sh -c apt-get update -qq >/dev/null
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
Enabling docker

Failed to enable unit: Unit file docker.service does not exist.
Failed to start docker.service: Unit docker.service not found.
sudo: docker: command not found
Reply
Raspberry Pi O/S is being prepared for the move from Buster to Bullseye...
https://www.raspberrypi.org/forums/viewt...6&t=318302

Similar question asked and answered here...
https://moodeaudio.org/forum/showthread....3#pid36693

Try a  sudo apt update  (not upgrade !)  and note these lines

Code:
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] Y
----------
bob
Reply
(09-22-2021, 10:41 PM)DRONE7 Wrote: Raspberry Pi O/S is being prepared for the move from Buster to Bullseye...
https://www.raspberrypi.org/forums/viewt...6&t=318302

Similar question asked and answered here...
https://moodeaudio.org/forum/showthread....3#pid36693

Try a  sudo apt update  (not upgrade !)  and note these lines

Code:
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] Y

Thanks so much.  That solved the issue.
Reply
Is there a way to restart pydPiper when after editing the pages config file?  I have been shutting down and restarting Moode.  I'm sure there is a better way.
Reply
(09-23-2021, 02:57 PM)Wallyboy Wrote: Is there a way to restart pydPiper when after editing the pages config file?  I have been shutting down and restarting Moode.  I'm sure there is a better way.

You could try

Code:
sudo systemctl start pydpiper
----------
bob
Reply
(09-23-2021, 07:26 PM)DRONE7 Wrote:
(09-23-2021, 02:57 PM)Wallyboy Wrote: Is there a way to restart pydPiper when after editing the pages config file?  I have been shutting down and restarting Moode.  I'm sure there is a better way.

You could try

Code:
sudo systemctl start pydpiper

Thanks:  works fine
Reply
Hello there, I'm new to this and trying to get Moode up and running on Raspberry Pi4B 4Gb.
Its working ok (version 7.4.1) and now I'm in for getting my 20x4 display to work using the software\/commands provided here:

cd /home/pi

git clone https://github.com/dhrone/pydPiper
cd pydPiper
sudo ./install_docker.sh

After the last command I get:

Installing Docker from the convenience script

# Executing docker install script, commit: 93d2499759296ac1f9c510605fef85052a2c32be

+ sh -c apt-get update -qq >/dev/null

E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'

Enabling docker

Failed to enable unit: Unit file docker.service does not exist.

Failed to start docker.service: Unit docker.service not found.

sudo: docker: command not found

Testing docker

[i]sudo: docker: command not found[/i]



So where does this go wrong? And how to fix this?

Thanks for the help!
Reply
@Battum

What went wrong is that we're in a weird interregnum period where the Debian folks have changed over to bullseye from buster (thus bullseye is now the "stable" distro and buster is the "oldstable" distro) but the current Raspbian is still based on Buster.

Try this

Code:
sudo apt-get update --allow-releaseinfo-change

then repeat the install_docker.sh script.

Note: I'm uncertain what state your player is in now that the install failed. If you see a message like "Warning: the "docker" command appears to already exist on this system" when you rerun the script then I'd suggest you let it proceed anyway but it's remotely possible it will cause trouble.


I've tested the update step on a fresh moOde player and it allowed the pydPiper/docker installation to proceed without error.

Regards,
Kent
Reply
(11-03-2021, 09:32 PM)TheOldPresbyope Wrote: @Battum

What went wrong is that we're in a weird interregnum period where the Debian folks have changed over to bullseye from buster (thus bullseye is now the "stable" distro and buster is the "oldstable" distro) but the current Raspbian is still based on Buster.

Try this

Code:
sudo apt-get update --allow-releaseinfo-change

then repeat the install_docker.sh script.

Note: I'm uncertain what state your player is in now that the install failed. If you see a message like "Warning: the "docker" command appears to already exist on this system" when you rerun the script then I'd suggest you let it proceed anyway but it's remotely possible it will cause trouble.


I've tested the update step on a fresh moOde player and it allowed the pydPiper/docker installation to proceed without error.

Regards,
Kent

Works like a charm! Thanks.
Reply
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
Reply


Forum Jump: