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

[8.0.0-alpha8] All polls gone after updating to Nextcloud 30.0.2 #3776

Open
5 of 12 tasks
g-work opened this issue Nov 12, 2024 · 1 comment
Open
5 of 12 tasks

[8.0.0-alpha8] All polls gone after updating to Nextcloud 30.0.2 #3776

g-work opened this issue Nov 12, 2024 · 1 comment
Labels

Comments

@g-work
Copy link

g-work commented Nov 12, 2024

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • I agree to follow Nextcloud's Code of Conduct.

What went wrong, what did you observe?

After updating my Nextcloud AIO (9.8.0) instance to Nextcloud 30.0.2, all my polls were gone. At least they aren't displayed anymore.

What did you expect, how polls should behave instead?

The polls should still be there.

What steps does it need to replay this bug?

  1. Update Nextcloud AIO to 30.0.2

Installation method

Installed/updated from the appstore (Apps section of your site)

Installation type

First time installation

Affected polls version

8.0.0-alpha8

Which browser did you use, when experiencing the bug?

  • Firefox
  • Chrome
  • Chromium/Chromium based (i.e. Edge)
  • Safari
  • Other/Don't know

Other browser

No response

Add your browser log here

Uncaught (in promise) 
Object { stack: "Qe@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:6:36009\nrA@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:8:1033\nN@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:8:6064\nEventHandlerNonNull*A7</<@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:8:6133\nA7<@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:8:5463\nx_@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:10:512\n_request@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:11:1216\nrequest@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:10:1879\nGC/<@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:6:2651\ngetSession@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:11:21573\nload@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:1010:364332\nre@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:82966\nvv@https://[cloud.domain.tld]/custom_apps/polls/js/polls-main.mjs?v=ec4d24af-10:15:36016\n@https://[cloud.domain.tld]/custom_apps/polls/js/polls-main.mjs?v=ec4d24af-10:4029:216477\nua/</</u<@https://[cloud.domain.tld]/custom_apps/polls/js/polls-main.mjs?v=ec4d24af-10:15:15977\na@https://[cloud.domain.tld]/custom_apps/polls/js/polls-main.mjs?v=ec4d24af-10:15:15713\nua/</<@https://[cloud.domain.tld]/custom_apps/polls/js/polls-main.mjs?v=ec4d24af-10:15:15970\nua/<@https://[cloud.domain.tld]/custom_apps/polls/js/polls-main.mjs?v=ec4d24af-10:15:15785\nrunWithContext@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:39316\nH@https://[cloud.domain.tld]/custom_apps/polls/js/polls-main.mjs?v=ec4d24af-10:15:21905\nwS/ze/</<@https://[cloud.domain.tld]/custom_apps/polls/js/polls-main.mjs?v=ec4d24af-10:15:25057\npromise callback*wS/ze/<@https://[cloud.domain.tld]/custom_apps/polls/js/polls-main.mjs?v=ec4d24af-10:15:25047\nze@https://[cloud.domain.tld]/custom_apps/polls/js/polls-main.mjs?v=ec4d24af-10:15:25031\nwS/Z/<@https://[cloud.domain.tld]/custom_apps/polls/js/polls-main.mjs?v=ec4d24af-10:15:22214\npromise callback*Z@https://[cloud.domain.tld]/custom_apps/polls/js/polls-main.mjs?v=ec4d24af-10:15:22136\nR@https://[cloud.domain.tld]/custom_apps/polls/js/polls-main.mjs?v=ec4d24af-10:15:21493\nC@https://[cloud.domain.tld]/custom_apps/polls/js/polls-main.mjs?v=ec4d24af-10:15:20832\ninstall@https://[cloud.domain.tld]/custom_apps/polls/js/polls-main.mjs?v=ec4d24af-10:15:24701\nuse@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:38706\n@https://[cloud.domain.tld]/custom_apps/polls/js/polls-main.mjs?v=ec4d24af-10:4081:10248\n", message: "Request failed with status code 500", name: "AxiosError", code: "ERR_BAD_RESPONSE", config: {…}, request: XMLHttpRequest, response: {…}, status: 500 }

[ERROR] polls: Error loading polls 
Object { app: "polls", uid: "gk108", level: 2, error: {…} }
Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:6:434
    log https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:6
    error https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:6
    load https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:1010
    re https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3
    setup https://[cloud.domain.tld]/custom_apps/polls/js/polls-main.mjs?v=ec4d24af-10:4029
    vs https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3
    u4 https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3
    rr https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3
    __weh https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3
    by https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3
    By https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3
Uncaught (in promise) 
Object { stack: "Qe@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:6:36009\nrA@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:8:1033\nN@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:8:6064\nEventHandlerNonNull*A7</<@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:8:6133\nA7<@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:8:5463\nx_@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:10:512\n_request@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:11:1216\nrequest@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:10:1879\nGC/<@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:6:2651\ngetPolls@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:11:11291\nload@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:1010:361835\nre@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:82966\nsetup/<@https://[cloud.domain.tld]/custom_apps/polls/js/polls-main.mjs?v=ec4d24af-10:4029:175829\nvs/</<@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:30981\nu4@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:20829\nrr@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:20902\na3/u.__weh@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:30862\nby@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:22447\nBy@https://[cloud.domain.tld]/custom_apps/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:22767\n", message: "Request failed with status code 500", name: "AxiosError", code: "ERR_BAD_RESPONSE", config: {…}, request: XMLHttpRequest, response: {…}, status: 500 }

Additional client environment information

No response

NC version

Nextcloud 30

Other Nextcloud version

30.0.2

PHP engine version

PHP 8.2

Other PHP version

No response

Database engine

MariaDB

Database Engine version or other Database

No response

Which user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other/Don't know

Add your nextcloud server log here

{"reqId":"EGp3w6J2wrGreD8w5Jfm","level":3,"time":"2024-11-12T17:56:53+00:00","remoteAddr":"87.181.xxx.xx","user":"gk108","app":"index","method":"GET","url":"/apps/polls/polls?time=1731434203348","message":"unknown config key","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0","version":"30.0.2.2","exception":{"Exception":"OCP\\Exceptions\\AppConfigUnknownKeyException","Message":"unknown config key","Code":0,"Trace":[{"file":"/var/www/html/custom_apps/polls/lib/Model/Settings/AppSettings.php","line":57,"function":"getValueType","class":"OC\\AppConfig","type":"->","args":["polls","allowPollCreation"]},{"file":"/var/www/html/custom_apps/polls/lib/Model/Settings/AppSettings.php","line":63,"function":"checkSettingType","class":"OCA\\Polls\\Model\\Settings\\AppSettings","type":"->","args":["allowPollCreation",32]},{"file":"/var/www/html/custom_apps/polls/lib/Model/Settings/AppSettings.php","line":89,"function":"getBooleanSetting","class":"OCA\\Polls\\Model\\Settings\\AppSettings","type":"->","args":["allowPollCreation"]},{"file":"/var/www/html/custom_apps/polls/lib/Controller/PollController.php","line":56,"function":"getPollCreationAllowed","class":"OCA\\Polls\\Model\\Settings\\AppSettings","type":"->","args":[]},{"file":"/var/www/html/custom_apps/polls/lib/Controller/BaseController.php","line":39,"function":"OCA\\Polls\\Controller\\{closure}","class":"OCA\\Polls\\Controller\\PollController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/custom_apps/polls/lib/Controller/PollController.php","line":51,"function":"response","class":"OCA\\Polls\\Controller\\BaseController","type":"->","args":[{"__class__":"Closure"}]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":208,"function":"list","class":"OCA\\Polls\\Controller\\PollController","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Polls\\Controller\\PollController"},"list"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Polls\\Controller\\PollController"},"list"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Polls\\Controller\\PollController","list",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"polls.poll.list"}]},{"file":"/var/www/html/lib/base.php","line":1001,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/polls/polls"]},{"file":"/var/www/html/index.php","line":24,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/AppConfig.php","Line":493,"message":"unknown config key","exception":[],"CustomMessage":"unknown config key"},"id":"673398045974a"}

Additional environment informations

No response

Configuration report

List of activated Apps

Nextcloud Signing status

Additional Information

No response

@g-work g-work added the bug label Nov 12, 2024
@g-work
Copy link
Author

g-work commented Nov 14, 2024

My polls are back, don't know exactly how and why. polls:db:rebuild didn't help, I then followed this (completely unrelated) hint and turned off and on some settings. Now they are back.

I will leave this issue opened and close it in a week or so, if no one else experiences this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant