Webtop 5 calendar sync problem

Your content of /etc/adjtime is the same of another installation of NS7 with same issue.
Where this file contains offset data and “UTC”, sync works fine.
Looks like php is affected by this.
Thanks for reporting, we’re investigating.

1 Like

Hi @happnatious1,
Waiting for a better insight, where I’ve found the problem, I’ve always solved this:
(Replace your TimeZone instead of XXXXX)

config setprop php DateTimezone XXXXX
signal-event nethserver-php-update
signal-event nethserver-httpd-update
signal-event nethserver-webtop5-update

Can you try that and let me know if you can solve it too?

2 Likes

Ran the following, all completed without error. Did not fix the issue.

config setprop php DateTimezone America/New_York
signal-event nethserver-php-update
signal-event nethserver-httpd-update
signal-event nethserver-webtop5-update

I bet your adjtime file remained the same.
Can you backup your /etc/adjtime and make it like this:

[root@wt5dev etc]# cat adjtime 0.000000 1498136400 0.000000 1498136400 UTC [root@wt5dev etc]#

reboot and see what happens?
Just to verify if this actually does something on your system too.

Gabriele

Actually I think the second number (same as the second line) should be your delta from UTC.

I made a mistake
I typed DateTimeZone instead of DateTimezone. It works now.

I have an extra property now in my configuration. How do I remove it? something like config remprop?

I think I found my own answer here: https://wiki.contribs.org/Db_command_tutorial

1 Like

Use this command to delete the prop inserted by mistake:

config delprop php DateTimeZone

Do you confirm that you have solved the sequence of commands I had proposed to you?

config setprop php DateTimezone America/New_York
signal-event nethserver-php-update
signal-event nethserver-httpd-update
signal-event nethserver-webtop5-update
1 Like

Yes, I confirmed that the previous commands solved the 4 hour difference problem.

Thank you!

1 Like

@happnatious1, thanks to the excellent support of @lucag and @gabriele_bulfon, I hope you will reconsider using WebTop as your main groupware solution! :wink:

2 Likes

I look forward to the time when WebTop is able to sync a calendar with Thunderbird. I know it’s on the road map.

1 Like

Yes, sharing a caldav url on WebTop so you can put it on Lightning. It’s on the roadmap if I’m not mistaken @lucag

Hi there, I’ll resurrect this thread as I have the same problem and running

config setprop php DateTimezone Europe/Oslo
signal-event nethserver-php-update
signal-event nethserver-httpd-update
signal-event nethserver-webtop5-update

did nothing for my adjtime, it’s still

0.0 0 0.0
0
LOCAL

Does anyone know what the delta adjtime should have is for mye timezone or any other tips?

Thanx

The adjtime should not be changed, since commands act only on PHP config.

Try this command:

php -r 'echo date_default_timezone_get()."\n";'

You should see:

Europe/Oslo
1 Like

And I see “Europe/Oslo”, but everything added to the calendar on the phone appears two hours early in the webtop calendar.

Could you also try to change the time zone from the web interface?

It’s just a blind shot

The web interface shows the correct time zone and syncs with pool.ntp.org
Do you want me to change anything?

Hmmm, when setting the date and time manually, not by ntp -> time zone it seems to work.

Setting the time and date manually in the web interface and having a cron job running

ntpdate -s pool.ntp.org

every five minutes seems to fix the problem.

Could you have a look at the timezone at calendar software of your smartphone please. I’ve a Samsung and I had problems with a google calendar too till I’ve found that the calendar software has had an other timezone than the smartphone itself.