ExecOnMcode
-
Raspi 4 with bullseye
-
@CrazyCreator I think it's an issue with AppArmor. Do you use the DuetPi image for the SBC ?
-
@Falcounet
No ... i make all clean today
Raspi bullseye from raspi -
@CrazyCreator Then try installing apparmor and try again
-
@Falcounet
I don't just have to install it. This AppArmor still needs to be configured.Do you know what I have to do exactly? I'm not the Linux expert
-
@CrazyCreator DSF configure it for you. Config files are stored into
/etc/apparmor.d/
.
You should get/etc/apparmor.d/dsf.ExecOnMcode
after the plugin installation.Make sure you also have installed
duetpluginservice
-
I don't have this file.
But the install from the plugin is not complete, so i think the file is not created.
-
in screen you see the pluginservice is running
apparmor freshly installed -
@CrazyCreator I don't think this is an AppArmor issue, it's more likely that the permissions in your DWC directory are off for some reason. Try reinstalling duetwebcontrol and if that doesn't help, run
sudo chown -R dsf.dsf /opt/dsf
to fix the ownerships again. If that doesn't help, try to delete the file as root (sudo rm /opt/dsf/sd/www/js/...
) and install the plugin once more. -
@chrishamm
How can i reinstall or install DuetWebControl?
I don't find any tutorial/Update
I upload this Zip-File: https://github.com/Duet3D/DuetWebControl/releases
and hope this is what you mean, with reinstall DuetWebControl?
i deleted all files with ExecOnMcode in name and try to reinstall the plugin... But ... The same error
-
Why not start with a DuetPi image?
-
@Phaedrux actual duetpi image missing python3.9, but TAMV need this.
-
@CrazyCreator said in ExecOnMcode v0.1:
missing python3.9
-
@Phaedrux
Maybe i try this, when @Falcounet & @chrishamm out of ideas -
@CrazyCreator Did you try the
chown
command I posted above? If that doesn't resolve it, try to runsudo rm /opt/dsf/**/ExecOnMcode*
and then reinstall the plugin. It's odd you're getting that "access denied" error.PS: The stock DuetPi image comes with the
python
3 package, runsudo apt install python
if you're missing it. -
@CrazyCreator Can you give me a link to the system image you installed ?
I might give it a try on my pi. -
@CrazyCreator TAMV is like 3 years old. I don't think python 3.9 was out at this time.
-
Jumping in here with a (possibly) relevant comment. If anyone intends to use Pi cameras: Consider using Debian Bullseye as the min base OS. There is a new library (from Pi) in Bullseye - so adopting this release will provide some future-proofing. It does not directly affect USB cameras but likely not a bad idea.
-
@chrishamm said in ExecOnMcode v0.1:
@CrazyCreator Did you try the
chown
command I posted above? If that doesn't resolve it, try to runsudo rm /opt/dsf/**/ExecOnMcode*
and then reinstall the plugin. It's odd you're getting that "access denied" error.PS: The stock DuetPi image comes with the
python
3 package, runsudo apt install python
if you're missing it.Yes ... try all your code-snippets ... now delete the directory and install the plugin again. but is the same error.
@Falcounet said in ExecOnMcode v0.1:
@CrazyCreator Can you give me a link to the system image you installed ?
I might give it a try on my pi.is the official image which come with the raspianimagebuilder
@stuartofmt said in ExecOnMcode v0.1:
Jumping in here with a (possibly) relevant comment. If anyone intends to use Pi cameras: Consider using Debian Bullseye as the min base OS. There is a new library (from Pi) in Bullseye - so adopting this release will provide some future-proofing. It does not directly affect USB cameras but likely not a bad idea.
TAMV has a new version
Now i test the DuetPi Image with update to bullseye
-
@CrazyCreator So, I downloaded the image and following the steps I describe below, I could install the plugin without any issue.
- Configure Wi-Fi and enable SSH in the advanced options of RaspberryPi Imager (Can be done by creating wpa_supplicant.conf and ssh files in boot partition)
- Run
sudo raspi-config
and go to "Interface options", "SPI" to enable the SPI interface - Add Duet APT sources + GPG key :
sudo wget -q https://pkg.duet3d.com/duet3d.gpg -O /etc/apt/trusted.gpg.d/duet3d.gpg && sudo wget -q https://pkg.duet3d.com/duet3d.list -O /etc/apt/sources.list.d/duet3d.list && sudo apt update
- Install Duet packages + Apparmor:
sudo apt install apparmor duetsoftwareframework duetpluginservice duetpimanagementplugin
- Enable services :
sudo systemctl enable duetcontrolserver duetwebserver duetpluginservice duetpluginservice-root
- Reboot :
sudo reboot
- Install ExecOnMcode from DWC external plugins tab