nextcloud / polls

🗳️ Polls app for Nextcloud
https://apps.nextcloud.com/apps/polls
GNU Affero General Public License v3.0
257 stars 73 forks source link

[8.0.0-alpha] - Initial Settings are missing after fresh installation #3758

Open niclasheinz opened 4 weeks ago

niclasheinz commented 4 weeks ago

⚠️ This issue respects the following points: ⚠️

What went wrong, what did you observe?

After I've installed the polls app in a dev environment, there is no button to create a new poll (see screenshot)

Image

What did you expect, how polls should behave instead?

I think it makes sense that you can create a poll in the Polls app. Accordingly, it should have a button for this 😀 .

What steps does it need to replay this bug?

  1. open polls app
  2. click to button "Create poll" (or some other text)

Installation method

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

Installation type

First time installation

Affected polls version

Version 8.0.0-alpha8

Which browser did you use, when experiencing the bug?

Other browser

No response

Add your browser log here

jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. globals.js:36:27 $ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. globals.js:36:27 [DEBUG] core: Unified search initialized! Object { app: "core", uid: "admin", level: 0 } index.mjs:45:16 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 4 globals.js:36:27 XHRGET https://devserver.nc.xxx/index.php/apps/polls/session?time=1729797613838 [HTTP/2 500 265ms]

[DEBUG] polls: Loading polls in navigation Object { app: "polls", uid: "admin", level: 0 } Spinner.vue_vue_type_style_index_0_scoped_4bfce222lang-D-XFACB.chunk.mjs:6:230 [DEBUG] polls: Loading polls onMounted Object { app: "polls", uid: "admin", level: 0 } Spinner.vue_vue_type_style_index_0_scoped_4bfce222lang-D-XFACB.chunk.mjs:6:230 XHRGET https://devserver.nc.xxx/index.php/apps/polls/polls?time=1729797613902 [HTTP/2 500 263ms]

jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 4 globals.js:36:27 session heartbeat polling started session-heartbeat.js:83:9 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 4 globals.js:36:27 Download the Vue Devtools extension for a better development experience: https://github.com/vuejs/vue-devtools vue.runtime.esm.js:8809 You are running Vue in development mode. Make sure to turn on production mode when deploying for production. See more tips at https://vuejs.org/guide/deployment.html vue.runtime.esm.js:8818 [DEBUG] unified-search: Search providers Object { app: "unified-search", uid: "admin", level: 0, providers: (8) […] } index.mjs:45:16 [DEBUG] unified-search: Contacts Object { app: "unified-search", uid: "admin", level: 0, contacts: (11) […] } index.mjs:45:16 Uncaught (in promise) Object { stack: "Qe@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:6:36009\nrA@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:8:1033\nN@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:8:6064\nEventHandlerNonNull*A7</<@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:8:6133\nA7<@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:8:5463\nx_@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:10:512\n_request@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:11:1216\nrequest@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:10:1879\nGC/<@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:6:2651\ngetSession@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:11:21573\nload@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:1010:364332\nre@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:82966\nvv@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:15:36016\n@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:4029:216477\nua/</</u<@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:15:15977\na@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:15:15713\nua/</<@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:15:15970\nua/<@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:15:15785\nrunWithContext@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:39316\nH@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:15:21905\nwS/ze/</<@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:15:25057\npromise callbackwS/ze/<@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:15:25047\nze@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:15:25031\nwS/Z/<@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:15:22214\npromise callbackZ@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:15:22136\nR@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:15:21493\nC@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:15:20832\ninstall@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:15:24701\nuse@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:38706\n@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:4081:10248\n", message: "Request failed with status code 500", name: "AxiosError", code: "ERR_BAD_RESPONSE", config: {…}, request: XMLHttpRequest, response: {…}, status: 500 }

[DEBUG] core: this browser is officially supported ! 🚀 Object { app: "core", uid: "admin", level: 0 } index.mjs:45:16 [ERROR] polls: Error loading polls Object { app: "polls", uid: "admin", level: 0, error: {…} } Spinner.vue_vue_type_style_index_0_scoped_4bfce222lang-D-XFACB.chunk.mjs:6:434 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 4 globals.js:36:27 Uncaught (in promise) Object { stack: "Qe@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:6:36009\nrA@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:8:1033\nN@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:8:6064\nEventHandlerNonNull*A7</<@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:8:6133\nA7<@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:8:5463\nx_@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:10:512\n_request@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:11:1216\nrequest@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:10:1879\nGC/<@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:6:2651\ngetPolls@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:11:11291\nload@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:1010:361835\nre@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:82966\nsetup/<@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:4029:175829\nvs/</<@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:30981\nu4@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:20829\nrr@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:20902\na3/u.__weh@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:30862\nby@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:22447\nBy@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:22767\npromise callbackwy@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:21940\nqw@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:22054\nHb@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:58388\na4/m.scheduler@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:54696\nGw/_.scheduler<@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:20175\ntrigger@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:5499\ngg@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:5841\nnotify@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:8257\ntrigger@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:8151\nset value@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:17367\nX@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:15:23026\nwS/R/<@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:15:21692\npromise callbackR@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:15:21550\nC@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:15:20832\ninstall@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:15:24701\nuse@https://devserver.nc.xxx/apps-writable/polls/js/Spinner.vue_vue_type_style_index_0_scoped_4bfce222_lang-D-XFACB_.chunk.mjs:3:38706\n@https://devserver.nc.xxx/apps-writable/polls/js/polls-main.mjs:4081:10248\n", message: "Request failed with status code 500", name: "AxiosError", code: "ERR_BAD_RESPONSE", config: {…}, request: XMLHttpRequest, response: {…}, status: 500 }

jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please

Additional client environment information

No response

NC version

Other/Don't know

Other Nextcloud version

31.0.0.3

PHP engine version

PHP 8.2

Other PHP version

No response

Database engine

MySQL

Database Engine version or other Database

No response

Which user-backends are you using?

Add your nextcloud server log here

No response

Additional environment informations

No response

Configuration report

{ "system": { "debug": true, "profiler": true, "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/apps-extra", "url": "\/apps-extra", "writable": false }, { "path": "\/var\/www\/html\/apps-shared", "url": "\/apps-shared", "writable": false }, { "path": "\/var\/www\/html\/apps-writable", "url": "\/apps-writable", "writable": true } ], "allow_local_remote_servers": true, "mail_from_address": "REMOVED SENSITIVE VALUE", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_domain": "REMOVED SENSITIVE VALUE", "mail_smtphost": "REMOVED SENSITIVE VALUE", "mail_smtpport": "1025", "skeletondirectory": "\/skeleton", "setup_create_db_user": false, "loglevel": 2, "log_query": false, "query_log_file": "\/shared\/log\/querylog-.log", "query_log_file_requestid": "yes", "diagnostics.logging": false, "diagnostics.logging.threshold": 0, "log.condition": { "apps": [ "diagnostics", "admin_audit" ] }, "passwordsalt": "REMOVED SENSITIVE VALUE", "secret": "REMOVED SENSITIVE VALUE", "trusted_domains": [ "localhost", "nextcloud", "localhost" ], "datadirectory": "REMOVED SENSITIVE VALUE", "dbtype": "sqlite3", "version": "31.0.0.3", "overwrite.cli.url": "http:\/\/localhost", "updater.release.channel": "stable", "installed": true, "instanceid": "REMOVED SENSITIVE VALUE", "lookup_server": "", "memcache.local": "\OC\Memcache\APCu", "trusted_proxies": "REMOVED SENSITIVE VALUE", "twofactor_enforced": "false", "twofactor_enforced_groups": [], "twofactor_enforced_excluded_groups": [], "app_install_overwrite": [ "twofactor_email", "twofactor_totp", "twofactor_nextcloud_notification" ] } }

List of activated Apps

Enabled:

Nextcloud Signing status

No response

Additional Information

Discussion in Nextcloud Forum (in German): https://help.nextcloud.com/t/polls-version-8-0-0-alpha8/206973

dartcafe commented 4 weeks ago

Please check your settings at settings/admin/polls, if global poll creation is activated.

niclasheinz commented 4 weeks ago

Thanks for your reply @dartcafe

Please check your settings at settings/admin/polls, if global poll creation is activated.

I've checked the settings (see screenshots). The creation of polls is globally activated.

Image Image

dartcafe commented 4 weeks ago

I hope, you changed it to force the settings creation

niclasheinz commented 4 weeks ago

Yeah I've only unchecked and checked the setting "Enable the poll creation globally" . Now it works!

Thanks @dartcafe