Tutor local launch on pi5 fails with MySQLdb.OperationalError: (2013, 'Lost connection to MySQL server during query')

Thanks. FWIW, I tried (unsuccessfully) to our stack running on my 2 GB Pi 4 at one point. Our stack is pretty memory hungry at the moment. We’re working on various things that will make it slimmer, like:

  • The forums migration will remove the Ruby cs_comments_service and one of the two usages of MongoDB (this should be kicking off shortly).
  • Replacing Elasticsearch with something lighter in the default stack (even if we end up keeping support for ES as an option) will also significantly reduce memory requirements.
  • The Learning Core work will eventually get rid of the rest of MongoDB, though that’s further off. (The first usage of Learning Core is for the libraries relaunch happening for Sumac.)

So we are definitely aware that our platform is too heavy and are taking steps, but these changes will take some time to roll out in a way that offers people a smooth migration path.

1 Like