Problem with octoeverywhere plugin on Octoprint

Hi,

I am running four rasperry pi’s with dietpi on them (details below).

I would like some help in getting the octoeverywhere plugin working on octoprint again as I think some of the recent updates might have led to an incompatibility issue. I am not too tech savvy so don’t know what’s recenty changed.

All my raspberry pi’s Octoprint installed on them. Server 3 and Server 4 have recently had the latest version of Dietpi installed on them with octoprint but I noticed that the Octoeverywhere plugin is now not installing on them. Everything else is identical.

When I SSH into servers 1 & 2 they display the version as: DietPi V7.9.3 ‘New live patches available’ in red writing but are working fine.

When I SSH into server 3 it shows v7.9.3 (but no error writing/red writing)

When I SSH into server 4 it shows V7.9.3 (and a green Christmas tree).

I’ve used the same image to to flash the pi’s this week but on different days.

Server 1:
Raspberry Pi 4 Model B Rev 1.4
env.python.pip: 21.3.1
env.python.version: 3.9.2
DietPi V7.9.3
(working as intended)

Server 2:
Raspberry Pi 3 Model B Plus Rev 1.3
env.python.pip: 21.3.1
env.python.version: 3.9.2
DietPi V7.9.3
(working as intended)

Server 3:
Raspberry Pi 3 Model B Plus Rev 1.3
env.python.pip: 21.3.1
env.python.version: 3.9.2

Server 4:
Raspberry Pi 4 Model B Rev 1.4
env.python.pip: 21.3.1
env.python.version: 3.9.2

Any help would be greatly appreciated.

Btw, before sharing my problem on here I reached out to the developer of the plugin and he recommended the below steps:

1. SSH in to the device
2. Run 'source ~/oprint/bin/activate'
3. Run 'pip install Pillow --upgrade'
4. Restart OctoPrint

Step 2 throws up an error for me. Does anyone know what the correct command should be?

root@server4:~# source ~/oprint/bin/activate
-bash: /root/oprint/bin/activate: No such file or directory

hi,

Octiprint is installed as user octoprint. Hence the files you are looking fore are not located inside root user directory. The home directory for octoprint is /mnt/dietpi_userdata/octoprint. Have a look to this folder if you are able to locate the files you are looking for. As well you might need to executed the whole stuff as user octoprint, like:

sudo -u octoprint source ~/octoprint/bin/activate
sudo -u octoprint  pip3 install Pillow --upgrade

Hi Joulinar

Thank you for your response.

So I’ve managed to navigate to: root@server3:/mnt/dietpi_userdata/octoprint#

after which it stops showing me any files/directories with the LS command.

sudo -u octoprint pip3 install Pillow --upgrade
returns:
Defaulting to user installation because normal site-packages is not writeable. Looking in indexes: https://pypi.org/simple,
https://www.piwheels.org/simple/ Requirement already satisfied: Pillow in ./.local/lib/python3.9/site-packages (8.4.0)

Which I guess is okay.

But when I do: sudo -u octoprint source ~/octoprint/bin/activate it says:

sudo: source: command not found

Is there a different command I am supposed to use?

Thanks again.

probably it would need to be executed as user root

I never have installed octoeverywhere. Therefore I’m not 100% sure where the script is located the developer told you to execute. Can you share content of octoprint home directory.

ls -la /mnt/dietpi_userdata/octoprint