I’m encountering an issue related to the timezone settings on my Nextcloud instance. Here are the details of the error:
DateInvalidTimeZoneException
DateTimeZone::__construct(): Unknown or bad timezone (Asia/Calcutta)
Error while running background job OCA\DAV\BackgroundJob\EventReminderJob (id: 12, arguments: null)
It seems like the timezone “Asia/Calcutta” is being flagged as unknown or incorrect. I’ve double-checked my configuration, and “Asia/Kolkata” is the correct and recognized timezone in PHP and most systems now, replacing “Asia/Calcutta.”
Could this be the source of the issue? If so, how can I update the timezone for my instance or background jobs to resolve this? Any guidance or suggestions would be appreciated.
Hello Jtr
I wanted to share an update regarding the time zone issues we were facing. By running the command tzdata-legacy, the problem has been successfully fixed.