i’m trying to install Mycodo in a virtualbox Raspbery Pi Desktop (11 bullseye) installation.
The install script exits with Error: Could not detect architecture.
I was searching for the manual installation steps for Mycodo, but I can’t find them anymore. Does anyone knows how to manual install Mycodo, or how to remedy the error?
Thanks in advance. If more information is needed, please let me know.
I’m new here myself but that error is correct. Running a pi os on virtual hardware is not the same as running it on a pi or other SBC. Thus, it has no clue what it is looking at.
There is no virtual environment listed in the prereq’s so i dont think that is a supported setup, not to mention the headache and heartbreak you’ll experience with i2c, spi, pwm, etc through virtual hardware. That stuff is hard enough to troubleshoot without the added layer of software identifying as hardware.
While pi hardware is not as cheap as free, it’s pretty dang close. A pi zero with wireless chip and pre-soldered headers is $16.00 USD straight from adafruit.
There are a lot of things i would personally love to see implemented into Mycodo, and hopefully you as well as the rest of us can contribute to that, but running it in a virtual environment is not one of those.
The Docker install is an option if you don’t want to run it on the recommended hardware or don’t have the skill to modify the install files to get it to run. However, this adds an additional layer that makes it even more difficult to interface with, but it will at least get it running. Also, keep in mind the Docker install is experimental and I don’t often provide support for issues that are encountered.
Thanks for your replies. I figured as much. I tried a straight up debian (12) environment in virtual box and ran the mycodo install script there. This worked! My intentions were to import an influx export of mycodo to experiment with the data, so I dont needed the GPIO’s etc. Thanks again.