Error creating funkwhale database on 127.0.0.1: The chosen LC_CTYPE setting requires encoding \"LATIN1\".\n"}
While running the setup script on my Raspberry Pi 4b, I encountered this error:
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: DETAIL: The chosen LC_CTYPE setting requires encoding "LATIN1". fatal: [127.0.0.1 -> 127.0.0.1]: FAILED! => {"changed": false, "msg": "Database query failed: encoding \"UTF8\" does not match locale \"en_US\"\nDETAIL: The chosen LC_CTYPE setting requires encoding \"LATIN1\".\n"}
I can't find anything online, even unrelated to funkwhale, save for a stackexchange post that said to try running export LANG=en_US.UTF-8
I ran this; nothing changed.