haiwen / seafile-docker

A Docker image for Seafile server
Other
544 stars 184 forks source link

Wrong timezone ( TIME_ZONE ENV ) #170

Closed lukasmrtvy closed 5 years ago

lukasmrtvy commented 5 years ago

I am trying to run seafile-mc image with -e TIME_ZONE=Europe/Prague -> complains about invalid time zone. Ty

JeanLouPtflbx commented 5 years ago

same thing here with TIME_ZONE=Europe/Paris , trying to update Dockerized install from seafile to seafile-mc :

seafile | Running /etc/my_init.d/01_create_data_links.sh... seafile | invalid time zone seafile | /etc/my_init.d/01_create_data_links.sh failed with status 1 seafile | seafile | *** Killing all processes... seafile exited with code 1

MJPA commented 5 years ago

You can't specify one, the script that checks the timezone is broken.

It checks for the timezone in /usr/share/zoneinfo/ but that directory does not exist.

renfeipeng commented 5 years ago

This was a bug before, but we have fixed it recently.