motioneye-project / motioneye

A web frontend for the motion daemon.
GNU General Public License v3.0
3.99k stars 655 forks source link

Can't start service: meyectl.py: unsupported locale setting (locale.LC_ALL, ''), commandline works #2952

Open n0valis opened 7 months ago

n0valis commented 7 months ago

As root: I have checked locale and LC_ALL was empty, so I added export LC_ALL="de_DE.UTF-8" to .bashrc and from there on locale shows that LC_ALL is set to de_DE.UTF-8 (without quotes).

Nevertheless the error messages stays the same: meyectl[1467681]: locale.setlocale(locale.LC_ALL, '') meyectl[1467681]: File "/usr/lib/python3.9/locale.py", line 610, in setlocale meyectl[1467681]: return _setlocale(category, locale) meyectl[1467681]: locale.Error: unsupported locale setting

I also tried dietpi-config Language Options But I keep getting this error.

I can start motioneye with the cmdline though: meyectl startserver -c /etc/motioneye/motioneye.conf

Any Idea?

I am on DietPi v8.17.2 on a Raspi4