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

Warning in logfile on each calendar page reload #4051

Closed
klauweg opened this issue Mar 11, 2022 · 10 comments · Fixed by #4060
Closed

Warning in logfile on each calendar page reload #4051

klauweg opened this issue Mar 11, 2022 · 10 comments · Fixed by #4060
Labels
1. to develop Accepted and waiting to be taken care of bug

Comments

@klauweg
Copy link

klauweg commented Mar 11, 2022

Steps to reproduce

Reload the calendar page in the webinterface.

Expected behavior

No warnings in nextcloud.log

Actual behaviour

On each reload the following warning appears in the logfile:

{"reqId":"QxawC4970SgKZa7jYVem","level":2,"time":"2022-03-11T23:04:14+00:00","remoteAddr":"192.168.10.10","user":"sabine","app":"no app in context","method":"GET","url":"/index.php/apps/calendar/","message":"Invalid force_event_alarm_type data provided to provideInitialState by calendar","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"23.0.2.1"}

Calendar app version

3.2.0

CalDAV-clients used

No response

Browser

No response

Client operating system

No response

Server operating system

Linux synology 3.10.105 #25556 SMP Sat Aug 28 02:13:34 CST 2021 x86_64 GNU/Linux synology_braswell_916+

Web server

Apache

Database engine version

MariaDB

PHP engine version

PHP 7.4

Nextcloud version

23.0.2

Updated from an older installed version or fresh install

No response

List of activated apps

No response

Nextcloud configuration

No response

Web server error log

No response

Log file

{"reqId":"ZF5LcAszcSJWnrfZeTQn","level":2,"time":"2022-03-11T22:35:13+00:00","remoteAddr":"192.168.10.10","user":"sabine","app":"no app in context","method":"GET","url":"/index.php/apps/calendar/","message":"Invalid force_event_alarm_type data provided to provideInitialState by calendar","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"23.0.2.1"}
{"reqId":"SGoF8g298ZncsaEBFP28","level":2,"time":"2022-03-11T22:40:25+00:00","remoteAddr":"192.168.100.10","user":"admin","app":"no app in context","method":"GET","url":"/index.php/apps/calendar/","message":"Invalid force_event_alarm_type data provided to provideInitialState by calendar","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"23.0.2.1"}
{"reqId":"X1ECLtYfLrFUz9HNIHd9","level":2,"time":"2022-03-11T22:43:27+00:00","remoteAddr":"192.168.10.10","user":"sabine","app":"no app in context","method":"GET","url":"/index.php/apps/calendar/","message":"Invalid force_event_alarm_type data provided to provideInitialState by calendar","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"23.0.2.1"}
{"reqId":"bMOJMJWkeXYDaYKkKWUa","level":2,"time":"2022-03-11T22:45:09+00:00","remoteAddr":"192.168.10.10","user":"sabine","app":"no app in context","method":"GET","url":"/index.php/apps/calendar/","message":"Invalid force_event_alarm_type data provided to provideInitialState by calendar","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"23.0.2.1"}
{"reqId":"CVqrqIGYmg3nQc5pkyFQ","level":2,"time":"2022-03-11T22:47:49+00:00","remoteAddr":"192.168.10.10","user":"sabine","app":"no app in context","method":"GET","url":"/index.php/apps/calendar/","message":"Invalid force_event_alarm_type data provided to provideInitialState by calendar","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"23.0.2.1"}
{"reqId":"EiyuTj0pvTsvlj5uXT3M","level":2,"time":"2022-03-11T22:53:23+00:00","remoteAddr":"192.168.10.10","user":"sabine","app":"no app in context","method":"GET","url":"/index.php/apps/calendar/","message":"Invalid force_event_alarm_type data provided to provideInitialState by calendar","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"23.0.2.1"}
{"reqId":"IsDLooY48sS86ddTM2U9","level":2,"time":"2022-03-11T22:53:23+00:00","remoteAddr":"192.168.10.10","user":"sabine","app":"no app in context","method":"GET","url":"/index.php/apps/calendar/","message":"Invalid force_event_alarm_type data provided to provideInitialState by calendar","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"23.0.2.1"}
{"reqId":"OIauFAfWDnWmZS1HG0h5","level":2,"time":"2022-03-11T23:02:59+00:00","remoteAddr":"192.168.10.10","user":"sabine","app":"no app in context","method":"GET","url":"/index.php/apps/calendar/","message":"Invalid force_event_alarm_type data provided to provideInitialState by calendar","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"23.0.2.1"}
{"reqId":"3MI8YlJWiu26MOJI1SOx","level":2,"time":"2022-03-11T23:02:59+00:00","remoteAddr":"192.168.10.10","user":"sabine","app":"no app in context","method":"GET","url":"/index.php/apps/calendar/","message":"Invalid force_event_alarm_type data provided to provideInitialState by calendar","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"23.0.2.1"}
{"reqId":"QxawC4970SgKZa7jYVem","level":2,"time":"2022-03-11T23:04:14+00:00","remoteAddr":"192.168.10.10","user":"sabine","app":"no app in context","method":"GET","url":"/index.php/apps/calendar/","message":"Invalid force_event_alarm_type data provided to provideInitialState by calendar","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0","version":"23.0.2.1"}

Browser log

No response

Additional info

No response

@klauweg klauweg added 0. to triage Pending approval or rejection bug labels Mar 11, 2022
@Pofilo
Copy link

Pofilo commented Mar 12, 2022

Same issue here.
With all the different versions we have, I guess this is due to the last Calendar version.

Calendar app version
3.2.0

Server operating system
Linux xxx 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux

Web server
Apache

Database engine version
Postgres 14.2

PHP engine version
PHP 8.0.16

Nextcloud version
22.2.5

@ranomier
Copy link

me to with, but only with public calendars

@klauweg
Copy link
Author

klauweg commented Mar 12, 2022

Hm, for me it seems to be quite obvious that it has something to do with pull request #3997:

Merge pull request #3997 from nextcloud/enhancement/optionally-force-event-alarm-type
Optionally enforce a event alarm type

But i am not familiar with all that code :-).

@simonspa
Copy link

Pinging @ChristophWurst as the author of the PR

@raimund-schluessler raimund-schluessler added 1. to develop Accepted and waiting to be taken care of and removed 0. to triage Pending approval or rejection labels Mar 13, 2022
@raimund-schluessler raimund-schluessler added this to the v3.2.1 milestone Mar 13, 2022
@raimund-schluessler

This comment was marked as outdated.

@miaulalala miaulalala removed this from the v3.2.1 milestone Mar 14, 2022
@miaulalala

This comment was marked as outdated.

@m-a-v
Copy link

m-a-v commented Mar 14, 2022

@miaulalala How can users downgrade the calendar app as a workaround? When doing this manually extracting the older release Nextcloud automatically upgrades it again to the newest version.

@miaulalala
Copy link
Contributor

@miaulalala How can users downgrade the calendar app as a workaround? When doing this manually extracting the older release Nextcloud automatically upgrades it again to the newest version.

Unfortunately you can't. Patch will be released as soon as possible!

@ranomier
Copy link

Nice! 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants
@klauweg @simonspa @raimund-schluessler @miaulalala @Pofilo @ranomier @m-a-v and others