From what I can tell, inside the Docker image, there is no Python virtual environment, so the script generates an error when it tries to activate one. Unfortunately there are several scripts that try to activate a virtual environment inside Docker, so there are a ton of these e-mails being generated. I guess it would be necessary to patch the line out of each script somehow, but how would one do that without access to a text editor?
PieFed help
It's seems right that we should have a local community to help us all with PieFed
Rules
Be kind! We're all learning
Yeah...I can see why this is annoying if you have things set up to send an email every time the scripts run. Failing to activate the venv in docker is actually expected since there isn't a venv, it just runs baremetal from the container's POV. That line is necessary only for baremetal installs. The rest of the script still executes just fine even with that error.
We can take a look at trying to prevent this erroneous error from being thrown in a docker environment. In the meantime, the files you would need to comment out that line would be:
daily.shremove_orphan_files.shemail_notifs.shsend_queue.sh
Thanks very much for the list of files that need to be modified, that makes it much more simple at least. It's possible to write out a text file with cat, in the event that an editor is not available, but it's not the most convenient thing. It works though!
If it would be possible for the developers to edit the scripts so that manually applying the fix is no longer possible in the future, that would be wonderful, but for now the error is gone at least!
Yep that error is harmless. Do whatever is suitable for your system to disable the error reports. Maybe add > /dev/null on the end of each line in the cron file?