Seahub and timezone Europe/Moscow

We have Seafile server 6.0.7:
-CentOS Linux (release 7.3.1611 x86_64)
-Python 2.7.5
-seahub_settings.py: TIME_ZONE = ‘UTC’

If we change timezone to ‘Europe/Moscow’ then we got errors:
web access: Sorry, but the requested page is unavailable due to a server hiccup.
seahub_django_request.log: UnknownTimeZoneError: ‘Europe/Moscow’

With timezone UTC server works ok.

Попробуй обновить версию python, у меня Seafile server 6.0.7 на windows 7 и с TIME_ZONE = ‘Europe/Moscow’ все работает нормально.

1 Like

Благодарю! Обновление до 2.7.11 решило проблему.

Пакеты брал тут:
https://copr-be.cloud.fedoraproject.org/results/vrusinov/sundry/epel-7-x86_64/00163184-python/