Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0.4 - stuck at loading Calendar within Nextcloud webpage #2529

Closed
JtheBAB opened this issue Aug 31, 2020 · 8 comments
Closed

2.0.4 - stuck at loading Calendar within Nextcloud webpage #2529

JtheBAB opened this issue Aug 31, 2020 · 8 comments
Labels
0. to triage Pending approval or rejection bug

Comments

@JtheBAB
Copy link

JtheBAB commented Aug 31, 2020

Steps to reproduce

  1. Update to 2.0.4
  2. open Nextcloud
  3. Click on Calendar

Expected behaviour

Calendar appears

Actual behaviour

Loading forever

Calendar app

2.0.4

Web

Client configuration

Browser: FireFox 80 or Edge Chromium 85

Operating system: Windows 10

Server configuration

Operating system: Debian 10

Web server: Apache

Database: MariaDB

PHP version: 7.0.3

Nextcloud Version: 18.0.6

Updated from an older installed version or fresh install: updated from 2.0.3

List of activated apps:

Enabled:
  - accessibility: 1.4.0
  - activity: 2.11.0
  - bruteforcesettings: 2.0.1
  - calendar: 2.0.4
  - cloud_federation_api: 1.1.0
  - comments: 1.8.0
  - contacts: 3.3.0
  - dav: 1.14.0
  - federatedfilesharing: 1.8.0
  - federation: 1.8.0
  - files: 1.13.1
  - files_external: 1.9.0
  - files_pdfviewer: 1.7.0
  - files_rightclick: 0.15.2
  - files_sharing: 1.10.1
  - files_trashbin: 1.8.0
  - files_versions: 1.11.0
  - files_videoplayer: 1.7.0
  - forms: 2.0.3
  - impersonate: 1.5.2
  - logreader: 2.3.0
  - lookup_server_connector: 1.6.0
  - nextcloud_announcements: 1.7.0
  - notifications: 2.6.0
  - oauth2: 1.6.0
  - password_policy: 1.8.0
  - photos: 1.0.0
  - polls: 1.4.3
  - privacy: 1.2.0
  - provisioning_api: 1.8.0
  - recommendations: 0.6.0
  - serverinfo: 1.8.0
  - settings: 1.0.0
  - sharebymail: 1.8.0
  - support: 1.1.1
  - survey_client: 1.6.0
  - systemtags: 1.8.0
  - text: 2.0.0
  - theming: 1.9.0
  - twofactor_backupcodes: 1.7.0
  - updatenotification: 1.8.0
  - user_ldap: 1.8.0
  - viewer: 1.2.0
  - workflowengine: 2.0.0

Nextcloud configuration:

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.bioc.uzh.ch"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "18.0.7.1",
        "overwrite.cli.url": "https:\/\/url\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "ldapIgnoreNamingRules": false,
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "ldapUserCleanupInterval": "20",
        "skeletondirectory": "",
        "lost_password_link": "https:\/\/url\/?action=sendtoken",
        "htaccess.RewriteBase": "\/",
        "log_type": "file",
        "log_rotate_size": 10485760,
        "logtimezone": "Europe\/Berlin",
        "loglevel": 1,
        "theme": "",
        "share_folder": "\/shared_with_me",
        "updater.release.channel": "stable",
        "maintenance": false
    }
}

Logs

Web server error log (e.g. /var/log/apache)

Nothing special

Log file (data/nextcloud.log)

Nothing related

Browser log

JQMIGRATE: Migrate is installed, version 1.4.1
ProxyBus.js:65 Proxying an event bus of version 1.1.2 with 0.2.1
t @ ProxyBus.js:65
(anonymous) @ index.js:20
n @ bootstrap:19
(anonymous) @ requesttoken.js:11
n @ bootstrap:19
(anonymous) @ index.js:25
n @ bootstrap:19
(anonymous) @ client.js:12
n @ bootstrap:19
(anonymous) @ notifications.js?v=c1c14a36-6:21
n @ bootstrap:19
(anonymous) @ bootstrap:83
(anonymous) @ notifications.js?v=c1c14a36-6:1
globals.js:66 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20
ne @ globals.js:66
get @ globals.js:96
e.default @ no-conflict.js:8
(anonymous) @ handlebars.runtime.js:60
n @ bootstrap:19
(anonymous) @ runtime.js:3
n @ bootstrap:19
(anonymous) @ file.handlebars:1
n @ bootstrap:19
(anonymous) @ richObjectStringParser.js:13
n @ bootstrap:19
(anonymous) @ bootstrap:83
(anonymous) @ notifications.js?v=c1c14a36-6:1
vue.runtime.esm.js:1888 Error: Could not find initial state tasks_enabled of calendar
    at t.loadState (index.js:19)
    at Calendar.vue:322
    at l (runtime.js:63)
    at Generator._invoke (runtime.js:293)
    at Generator.next (runtime.js:118)
    at Wf (calendar.js?v=c1c14a36-6:2)
    at s (calendar.js?v=c1c14a36-6:2)
    at calendar.js?v=c1c14a36-6:2
    at new Promise (<anonymous>)
    at calendar.js?v=c1c14a36-6:2
He @ vue.runtime.esm.js:1888
Qe @ vue.runtime.esm.js:1879
ze @ vue.runtime.esm.js:1839
(anonymous) @ vue.runtime.esm.js:1856
Promise.catch (async)
Ze @ vue.runtime.esm.js:1856
en @ vue.runtime.esm.js:4219
e @ vue.runtime.esm.js:4043
wn.$mount @ vue.runtime.esm.js:8415
init @ vue.runtime.esm.js:3118
n @ vue.runtime.esm.js:3301
(anonymous) @ vue.runtime.esm.js:5978
d @ vue.runtime.esm.js:5925
(anonymous) @ vue.runtime.esm.js:6477
e._update @ vue.runtime.esm.js:3945
r @ vue.runtime.esm.js:4066
mn.get @ vue.runtime.esm.js:4479
mn @ vue.runtime.esm.js:4468
e @ vue.runtime.esm.js:4073
wn.$mount @ vue.runtime.esm.js:8415
init @ vue.runtime.esm.js:3118
(anonymous) @ vue.runtime.esm.js:5978
d @ vue.runtime.esm.js:5925
(anonymous) @ vue.runtime.esm.js:6516
e._update @ vue.runtime.esm.js:3945
r @ vue.runtime.esm.js:4066
mn.get @ vue.runtime.esm.js:4479
mn @ vue.runtime.esm.js:4468
e @ vue.runtime.esm.js:4073
wn.$mount @ vue.runtime.esm.js:8415
e._init @ vue.runtime.esm.js:5018
wn @ vue.runtime.esm.js:5085
(anonymous) @ main.js:68
o @ bootstrap:63
(anonymous) @ bootstrap:198
(anonymous) @ calendar.js?v=c1c14a36-6:2
ConsoleLogger.js:46 [INFO] calendar: Updated moment locale: en {app: "calendar", uid: "admin"}app: "calendar"uid: "admin"__proto__: constructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()get __proto__: ƒ __proto__()set __proto__: ƒ __proto__()
@JtheBAB JtheBAB added 0. to triage Pending approval or rejection bug labels Aug 31, 2020
@georgehrke
Copy link
Member

@JtheBAB Can you please delete the apps/calendar folder and install again?

It seems something was not properly replaced during update.

@JtheBAB
Copy link
Author

JtheBAB commented Aug 31, 2020

Less errors but:

JQMIGRATE: Migrate is installed, version 1.4.1 ProxyBus.js:65 Proxying an event bus of version 1.1.2 with 0.2.1 t @ ProxyBus.js:65 globals.js:66 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20 ne @ globals.js:66 vue.runtime.esm.js:1888 Error: Could not find initial state tasks_enabled of calendar at t.loadState (index.js:19) at Calendar.vue:322 at l (runtime.js:63) at Generator._invoke (runtime.js:293) at Generator.next (runtime.js:118) at Wf (calendar.js?v=c1c14a36-6:2) at s (calendar.js?v=c1c14a36-6:2) at calendar.js?v=c1c14a36-6:2 at new Promise (<anonymous>) at calendar.js?v=c1c14a36-6:2 He @ vue.runtime.esm.js:1888 ConsoleLogger.js:46 [INFO] calendar: Updated moment locale: en Object

@JtheBAB
Copy link
Author

JtheBAB commented Aug 31, 2020

Could i go back to 2.0.3? @georgehrke

@georgehrke
Copy link
Member

Sure, you can just download the calendar.tar.gz here: https://github.com/nextcloud/calendar/releases/tag/v2.0.3

@georgehrke
Copy link
Member

(clearing OPCache could solve the problem on 2.0.4)

@JtheBAB
Copy link
Author

JtheBAB commented Aug 31, 2020

Yep that helped. I restared php7.3-fpm and apache2. Then it took a little bit to load but now its back. Great :)

@georgehrke
Copy link
Member

Glad it works, closing the issue in that case

@maxnatt
Copy link

maxnatt commented Sep 10, 2020

Can confirm 2.0.4 requires manual intervention. Basically Nextcloud just got stuck at maintenance mode (Update app calendar from appstore step) after upgrading to NC 19.0.2, until Calendar was disabled. Also, enabling 2.0.3 back from GUI made Nextcloud go to maintenance mode again, but after disabling it everything looks fine and Calendar is enabled.

Is it possible to have an update which does not require manual intervention? Or at least mention it somewhere on visible place?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. to triage Pending approval or rejection bug
Projects
None yet
Development

No branches or pull requests

3 participants