Calendar: unknown timezone (America/Argentina/Buenos_Aires) back to UTC

Created on 4 Mar 2017  Â·  17Comments  Â·  Source: nextcloud/calendar

Steps to reproduce

  1. Open the calendar with this adress .../index.php/apps/calendar/ or .../index.php/apps/calendar

Expected behaviour

It should load the calendar app

Actual behaviour

Isn't loading the calendar app and message say:
"You are in an unknown timezone (America/Argentina/Buenos_Aires), falling back to UTC"

Server configuration

Operating system: Debian 8.6

Web server: nginx/1.6.2

Database: mysql Ver 15.1 Distrib 10.0.27-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

PHP version: PHP 7.0.12-1~dotdeb+8.1 (cli) ( NTS )

Server version: Nextcloud 11.0.2

Calendar version: Calendar 1.5.1

Updated from an older installed version or fresh install: Updated

Signing status (ownCloud/Nextcloud 9.0 and above):

No errors have been found.

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your instance's installation folder

The content of config/config.php:

<?php
$CONFIG = array (
  'instanceid' => 'oc2329pm0f1v',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' => 
  array (
    0 => 'nextcloud.melflix.net',
  ),
  'datadirectory' => '/emli2/Nextcloud',
  'overwrite.cli.url' => 'https://nextcloud.melflix.net:8443',
  'dbtype' => 'mysql',
  'version' => '11.0.2.7',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nextclouduser',
  'dbpassword' => ,
  'logtimezone' => 'UTC',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'appstore.experimental.enabled' => true,
  'updater.release.channel' => 'stable',
  'loglevel' => 3,
  'maintenance' => false,
  'theme' => '',
  'updater.secret' => 
);

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

Client configuration

Browser: Firefox 51.0.1

Operating system: Windows 10 x64

CalDAV-clients:

Logs

Web server error log

Insert your webserver log here

Log file (data/owncloud.log)

Insert your ownCloud.log file here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...
3 - to review bug priority

All 17 comments

  1. Please provide logs
  2. What do you mean with "isn't loading". Can you attach a screenshot please?

The calendar APP load but my calendars stay in loading state:

image

I've cleaned all logs, put loglevel = 0 and restart nextcloud the I reproduce the error and the nextcloud.log only has two lines:

{"reqId":"gKg288Fv6E7IgebSYR7i","remoteAddr":"190.55.176.116","app":"no app in context","message":"Invalidating session tokens older than 2017-03-03T16:57:53+00:00","level":0,"time":"2017-03-04T16:57:53+00:00","method":"GET","url":"\/cron.php","user":"--","version":"11.0.2.7"}

{"reqId":"gKg288Fv6E7IgebSYR7i","remoteAddr":"190.55.176.116","app":"no app in context","message":"Invalidating remembered session tokens older than 2017-02-17T16:57:53+00:00","level":0,"time":"2017-03-04T16:57:53+00:00","method":"GET","url":"\/cron.php","user":"--","version":"11.0.2.7"}

Please provide JavaScript browser logs :)

DevTools failed to parse SourceMap: https://nextcloud.melflix.net:8443/apps/calendar/css/public/vendor.min.css.map
DevTools failed to parse SourceMap: https://nextcloud.melflix.net:8443/apps/calendar/css/public/app.min.css.map
DevTools failed to parse SourceMap: https://nextcloud.melflix.net:8443/core/vendor/jquery/dist/jquery.min.map
DevTools failed to parse SourceMap: https://nextcloud.melflix.net:8443/apps/calendar/js/public/vendor.min.js.map
DevTools failed to parse SourceMap: https://nextcloud.melflix.net:8443/apps/calendar/js/public/app.min.js.map
vendor.min.js?v=53fe443…:2 GET https://nextcloud.melflix.net:8443/apps/calendar/v1/timezones/AMERICA/ARGENTINA/BUENOS_AIRES.ics 404 (Not Found)
(anonymous) @ vendor.min.js?v=53fe443…:2
T @ vendor.min.js?v=53fe443…:2
c @ vendor.min.js?v=53fe443…:2
l @ vendor.min.js?v=53fe443…:3
(anonymous) @ vendor.min.js?v=53fe443…:3
$eval @ vendor.min.js?v=53fe443…:3
$digest @ vendor.min.js?v=53fe443…:3
$apply @ vendor.min.js?v=53fe443…:3
(anonymous) @ vendor.min.js?v=53fe443…:1
o @ vendor.min.js?v=53fe443…:1
o @ vendor.min.js?v=53fe443…:1
oe @ vendor.min.js?v=53fe443…:1
ae @ vendor.min.js?v=53fe443…:1
(anonymous) @ vendor.min.js?v=53fe443…:6
j @ jquery.min.js?v=53fe443…:2
fireWith @ jquery.min.js?v=53fe443…:2
ready @ jquery.min.js?v=53fe443…:2
I @ jquery.min.js?v=53fe443…:2
vendor.min.js?v=53fe443…:2 TypeError: Cannot read property 'calendar' of undefined
at https://nextcloud.melflix.net:8443/apps/calendar/js/public/app.min.js?v=53fe443177092e88e80c69bd94701b91:1:5501
at l (https://nextcloud.melflix.net:8443/apps/calendar/js/public/vendor.min.js?v=53fe443177092e88e80c69bd94701b91:3:5795)
at https://nextcloud.melflix.net:8443/apps/calendar/js/public/vendor.min.js?v=53fe443177092e88e80c69bd94701b91:3:6217
at m.$eval (https://nextcloud.melflix.net:8443/apps/calendar/js/public/vendor.min.js?v=53fe443177092e88e80c69bd94701b91:3:13393)
at m.$digest (https://nextcloud.melflix.net:8443/apps/calendar/js/public/vendor.min.js?v=53fe443177092e88e80c69bd94701b91:3:11845)
at m.$apply (https://nextcloud.melflix.net:8443/apps/calendar/js/public/vendor.min.js?v=53fe443177092e88e80c69bd94701b91:3:13676)
at l (https://nextcloud.melflix.net:8443/apps/calendar/js/public/vendor.min.js?v=53fe443177092e88e80c69bd94701b91:2:21117)
at _ (https://nextcloud.melflix.net:8443/apps/calendar/js/public/vendor.min.js?v=53fe443177092e88e80c69bd94701b91:2:23526)
at XMLHttpRequest.T.onload (https://nextcloud.melflix.net:8443/apps/calendar/js/public/vendor.min.js?v=53fe443177092e88e80c69bd94701b91:2:23932) Possibly unhandled rejection: {}
(anonymous) @ vendor.min.js?v=53fe443…:2
(anonymous) @ vendor.min.js?v=53fe443…:2
c @ vendor.min.js?v=53fe443…:3
$eval @ vendor.min.js?v=53fe443…:3
$digest @ vendor.min.js?v=53fe443…:3
$apply @ vendor.min.js?v=53fe443…:3
l @ vendor.min.js?v=53fe443…:2
_ @ vendor.min.js?v=53fe443…:2
T.onload @ vendor.min.js?v=53fe443…:2
vendor.min.js?v=53fe443…:2 GET https://nextcloud.melflix.net:8443/apps/calendar/v1/timezones/AMERICA/ARGENTINA/BUENOS_AIRES.ics 404 (Not Found)
(anonymous) @ vendor.min.js?v=53fe443…:2
T @ vendor.min.js?v=53fe443…:2
c @ vendor.min.js?v=53fe443…:2
l @ vendor.min.js?v=53fe443…:3
(anonymous) @ vendor.min.js?v=53fe443…:3
$eval @ vendor.min.js?v=53fe443…:3
$digest @ vendor.min.js?v=53fe443…:3
$apply @ vendor.min.js?v=53fe443…:3
(anonymous) @ app.min.js?v=53fe443…:1
vendor.min.js?v=53fe443…:2 GET https://nextcloud.melflix.net:8443/apps/calendar/v1/timezones/AMERICA/ARGENTINA/BUENOS_AIRES.ics 404 (Not Found)
(anonymous) @ vendor.min.js?v=53fe443…:2
T @ vendor.min.js?v=53fe443…:2
c @ vendor.min.js?v=53fe443…:2
l @ vendor.min.js?v=53fe443…:3
(anonymous) @ vendor.min.js?v=53fe443…:3
$eval @ vendor.min.js?v=53fe443…:3
$digest @ vendor.min.js?v=53fe443…:3
$apply @ vendor.min.js?v=53fe443…:3
(anonymous) @ app.min.js?v=53fe443…:1
vendor.min.js?v=53fe443…:2 GET https://nextcloud.melflix.net:8443/apps/calendar/v1/timezones/AMERICA/ARGENTINA/BUENOS_AIRES.ics 404 (Not Found)
(anonymous) @ vendor.min.js?v=53fe443…:2
T @ vendor.min.js?v=53fe443…:2
c @ vendor.min.js?v=53fe443…:2
l @ vendor.min.js?v=53fe443…:3
(anonymous) @ vendor.min.js?v=53fe443…:3
$eval @ vendor.min.js?v=53fe443…:3
$digest @ vendor.min.js?v=53fe443…:3
$apply @ vendor.min.js?v=53fe443…:3
(anonymous) @ app.min.js?v=53fe443…:1

I have exactly the same issue, with the same timezone

Exactly the same problem here!

EDIT: Additionally I have the problem, that the app-icon is not shown in the menu:

missing-icon

I checked the path and found a difference, as marked on the screenshot, but don't know if this is really the problem or just a different behavior?

@verahert @asoliverez @bastoGrande Was this issue introduced with 1.5.1 or didn't you use any earlier versions.

I experience it since 1.5.1,but unfortunately I don't know if it already did exist before.

I know, not a big help..

It's new. I've used 1.5.0 and previous versions and it was working fine

The problem appear after I upgrade Nextcloud to version 11.0.2

This was introduced with 1.5.1
Fixing it ...

Would be great to see this merged.

So it seems that my second problem will not be fixed with this issue (or is maybe already fixed?).

Should I create a new issue or how do you guys handle this?

Should I create a new issue or how do you guys handle this?

one issue per bug. Please create a new issue ;)

Edit: although i doubt its a bug in the calendar

@waeltken There is another bug I want to fix. Events should load even if it falls back to UTC. That's not the case at the moment.

@georgehrke meaning you won't merge this until there is a fix for the fallback to UTC bug?

@georgehrke meaning you won't merge this until there is a fix for the fallback to UTC bug?

Correct, but I'm looking forward to fixing this later today or later this week. I don't intend to keep this PR open for weeks

Was this page helpful?
0 / 5 - 0 ratings