Upgrading PCDENotes to Django 4.2
I wanted to upgrade PCDENotes to this new version. In my development environment (using the builtin server), everything was fine.
But after installing the new version on the production server, the application crashed with HTTP error 500. After turning debug mode on, I noticed that Django 4.2 required MariaDB 10.4, but on the production server, there was only MariaDB 10.3. After upgrading to MariaDB 10.4, the application came up.
Additionally, I noticed that the admin interface was broken. After a ./manage.py collectstatic
, it worked properly again (I did this once while installing it on the production server - but never again).
Published on 2023-04-07, 13:34 +0000