Re: Caldav invite utc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Kamer Yıldız wrote:
>
> i'm using centos 7 and cyrus version 3.0.16

Alright, I'm using Fedora 35, but as they're both RedHat based,
hopefully there shouldn't be any issues

> Dacoda Strack wrote:
>
> What distribution are you using? If I recall correctly, on Fedora I
> had some similar issues and had to grab the timezones database in
> order for this to work.
> 
> I will be able to take another look when back at home and perhaps
> provide more details.

Alright... Here are some shell commands I was running during the time
of
troubleshooting my issues with timezones.

To be frank, I'm not sure of exactly how much help they will be to you.

The first thing I would suggest is checking whether you have the
cyrus-timezones package installled. That might solve all of your
problems. 

I've attached the shell commands below in case they prove useful for
your investigation.

$ curl \
        -X PROPFIND \
        ${cyrusBaseUrl}/dav/calendars/user/${cyrusUser}/${calendar}/ \
        | xmllint --format /dev/stdin \
        > caldav.pretty.xml 

$ xmllint \
        --xpath "//*[local-name()='multistatus']/*[local-
name()='response']/*[local-name()='href']/text()" \
        caldav.pretty.xml \
        > paths

$ \
        while read path
        do 
                curl -X DELETE ${cyrusBaseUrl}${path}
        done < paths

$ ls -laZ /var/lib/imap/zoneinfo
$ journalctl -fxeu cyrus-imapd
$ dnf repoquery -l --installed cyrus-imapd-vzic
$ curl -LO https://data.iana.org/time-zones/releases/tzdata2021a.tar.gz
$ tar xzvf tzdata2021a.tar.gz 
$ cd tzdata/
$ vzic --pure --olson-dir . --output-dir output-zone-data
$ /usr/libexec/cyrus-imapd/vzic --pure --olson-dir . --output-dir
output-zone-data
$ make
$ make tzselect

$ /usr/libexec/cyrus-imapd/vzic --pure --olson-dir /usr/share/zoneinfo
--output-dir output-zone-data
$ /usr/libexec/cyrus-imapd/vzic --pure --olson-dir . --output-dir
output-zone-data
$ /usr/libexec/cyrus-imapd/vzic --dump --pure --olson-dir . --output-
dir output-zone-data
$ strings /usr/libexec/cyrus-imapd/vzic | grep Day
$ pkg-config --variable=zoneinfo_dir cyrus-timezones
$ pkg-config --variable=zoneinfo_dir cyrus-imapd
$ dnf search timezones
$ sudo dnf install -y cyrus-timezones
$ sudo systemctl restart cyrus-imapd

$ journalctl -fxeu cyrus-imapd
$ ctl_zoneinfo 
$ sudo ctl_zoneinfo -v -C /etc/imapd.conf -r "IANA Time Zone
Database:2020a"
$ sudo systemctl restart cyrus-imapd
$ journalctl -fxeu cyrus-imapd
$ ln -s /usr/share/cyrus-timezones/zoneinfo/ /var/lib/imap/zoneinfo
$ ctl_zoneinfo -v -C /etc/imapd.conf -r "IANA Time Zone Database:2020a"



------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T8e43097312c6d850-M69123fb097718a908a7a868d
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
$ curl \
	-X PROPFIND \
	${cyrusBaseUrl}/dav/calendars/user/${cyrusUser}/${calendar}/ \
	| xmllint --format /dev/stdin \
	> caldav.pretty.xml 

$ xmllint \
	--xpath "//*[local-name()='multistatus']/*[local-name()='response']/*[local-name()='href']/text()" \
	caldav.pretty.xml \
	> paths

$ \
	while read path
	do 
		curl -X DELETE ${cyrusBaseUrl}${path}
	done < paths

$ ls -laZ /var/lib/imap/zoneinfo
$ journalctl -fxeu cyrus-imapd
$ dnf repoquery -l --installed cyrus-imapd-vzic
$ curl -LO https://data.iana.org/time-zones/releases/tzdata2021a.tar.gz
$ tar xzvf tzdata2021a.tar.gz 
$ cd tzdata/
$ vzic --pure --olson-dir . --output-dir output-zone-data
$ /usr/libexec/cyrus-imapd/vzic --pure --olson-dir . --output-dir output-zone-data
$ make
$ make tzselect

$ /usr/libexec/cyrus-imapd/vzic --pure --olson-dir /usr/share/zoneinfo --output-dir output-zone-data
$ /usr/libexec/cyrus-imapd/vzic --pure --olson-dir . --output-dir output-zone-data
$ /usr/libexec/cyrus-imapd/vzic --dump --pure --olson-dir . --output-dir output-zone-data
$ strings /usr/libexec/cyrus-imapd/vzic | grep Day
$ pkg-config --variable=zoneinfo_dir cyrus-timezones
$ pkg-config --variable=zoneinfo_dir cyrus-imapd
$ dnf search timezones
$ sudo dnf install -y cyrus-timezones
$ sudo systemctl restart cyrus-imapd

$ journalctl -fxeu cyrus-imapd
$ ctl_zoneinfo 
$ sudo ctl_zoneinfo -v -C /etc/imapd.conf -r "IANA Time Zone Database:2020a"
$ sudo systemctl restart cyrus-imapd
$ journalctl -fxeu cyrus-imapd
$ ln -s /usr/share/cyrus-timezones/zoneinfo/ /var/lib/imap/zoneinfo
$ ctl_zoneinfo -v -C /etc/imapd.conf -r "IANA Time Zone Database:2020a"


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux