⚠️ This issue respects the following points: ⚠️
What went wrong, what did you observe?
I am logged in with my user and change an option from "yes" to "maybe" and this takes roughly 1 second or two.
When someone without account, that is not logged in and uses a direct link, changes an option, it takes roughly 8 seconds, so maybe 5 times longer. Problem is 1) takes a lot longer now than before and 2) user does not know that he klicked already and thinks after a few seconds, "haven't clicked, so I click agian"...
What did you expect, how polls should behave instead?
time elapsed for both cases approx. same, so not 6-8 seconds, but maybe that same 1 second or so.
NB: overall performance has significantly decreases lately, unfortunately.
What steps does it need to replay this bug?
-
This poll is reused since beginning. New dates added and old dates deleted. I usually shows the next 4 weeks for something that is always on a Wednesday
-
poll type:root@localhost [owncloud]> select * from oc_polls_polls where id ='1';+----+----------+-------------------+---------------------------------------------------+-------+------------+--------+---------+--------+-----------+-------------+------------+--------------+--------------+--------------+---------------+----------------+-----------------+--------+------------------+------------------------+------------------+----------------+
| id | type | title | description | owner | created | expire | deleted | access | anonymous | allow_maybe | vote_limit | show_results | admin_access | option_limit | allow_comment | hide_booked_up | allow_proposals | use_no | proposals_expire | misc_settings | last_interaction | voting_variant |
+----+----------+-------------------+---------------------------------------------------+-------+------------+--------+---------+--------+-----------+-------------+------------+--------------+--------------+--------------+---------------+----------------+-----------------+--------+------------------+------------------------+------------------+----------------+
| 1 | datePoll | Mittwoch Training | Mittwochs - XXXXXXXXXXXx | localuser | 1634069437 | 0 | 0 | open | 0 | 1 | 0 | always | 0 | 0 | 0 | 1 | disallow | 1 | 0 | {"autoReminder":false} | 1752817300 | simple |
+----+----------+-------------------+---------------------------------------------------+-------+------------+--------+---------+--------+-----------+-------------+------------+--------------+--------------+--------------+---------------+----------------+-----------------+--------+------------------+------------------------+------------------+----------------+
-
how many votes in the poll? (Are old ones not deleted when old dates are removed?)
root@localhost [owncloud]> select count() from oc_polls_votes where poll_id ='1';
+----------+
| count() |
+----------+
| 979 |
+----------+
root@localhost [owncloud]> select * from oc_polls_preferences where id = '1';
+----+---------+------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| id | user_id | timestamp | preferences |
+----+---------+------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 1 | cmb | 1752820725 | {"calendarPeek":false,"checkCalendars":[],"checkCalendarsHoursBefore":0,"checkCalendarsHoursAfter":0,"defaultViewTextPoll":"table-view","defaultViewDatePoll":"table-view","pollCombo":[],"relevantOffset":30,"useNewPollDialogInNavigation":false,"useNewPollInPollist":false,"useCommentsAlternativeStyling":false,"useAlternativeStyling":false,"verbosePollsList":false,"performanceThreshold":1000} |
+----+---------+------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Link to poll send to developer directly for testing
Affected polls version
8.1.4
Installation method
Installed/updated using occ
Installation type
Updated from a much older version (more than one major version)
Can you rule out that any extension you use is involved in the issue?
Which browser did you use, when experiencing the bug?
Other browser
Opera on Macos
Add your browser log here
Additional client environment information
User that reported it, has a iphone / iOS (newest with safari).
I tested on Opera (link version) and firefox (logged in user) both on Macos
NC version
Nextcloud 30
Other Nextcloud version
No response
PHP engine version
PHP 8.2
Other PHP version
No response
Database engine
MariaDB
Database Engine version or other Database
10.6.22
Which user-backends are you using?
Add your nextcloud server log here
no error occurs (As far as I can see)
Additional environment informations
[root@beastly /usr/local/www/htdocs/nc]# sudo -u www php ./occ status
- installed: true
- version: 30.0.13.1
- versionstring: 30.0.13
- edition:
- maintenance: false
- needsDbUpgrade: false
- productname: Nextcloud
- extendedSupport: false
[root@beastly /usr/local/www/htdocs/nc]# uname -a
FreeBSD beastly.cmb.ch 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC amd64
[root@beastly /usr/local/www/htdocs/nc]# pkg ver -v | grep mari
mariadb106-client-10.6.22_1 = up-to-date with index
mariadb106-server-10.6.22_1 = up-to-date with index
Configuration report
[root@beastly /usr/local/www/htdocs/nc]# sudo -u www php ./occ config:list system
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"cmb.ch"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"overwrite.cli.url": "https:\/\/cmb.ch\/nc",
"dbtype": "mysql",
"version": "30.0.13.1",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"default_phone_region": "CH",
"mail_smtpmode": "sendmail",
"forcessl": true,
"theme": "",
"maintenance": false,
"logfile": "\/var\/log\/nextcloud\/nextcloud.log",
"logfile_audit": "\/var\/log\/nextcloud\/nextcloud.audit.log",
"loglevel": 1,
"trashbin_retention_obligation": "auto, 14",
"log.condition": {
"users": [
"cmb"
],
"apps": [
"files"
]
},
"updater.release.channel": "stable",
"filelocking.enabled": true,
"localstorage.allowsymlinks": true,
"enable_previews": true,
"preview_max_x": 384,
"preview_max_y": 512,
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 0,
"password": "***REMOVED SENSITIVE VALUE***"
},
"mysql.utf8mb4": true,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"maintenance_window_start": 1
}
}
List of activated Apps
[root@beastly /usr/local/www/htdocs/nc]# sudo -u www php ./occ app:list
Enabled:
- activity: 3.0.0
- admin_audit: 1.20.0
- app_api: 4.0.6
- bookmarks: 15.1.2
- calendar: 5.3.6
- cloud_federation_api: 1.13.0
- comments: 1.20.1
- contacts: 7.2.0
- dashboard: 7.10.0
- dav: 1.31.1
- federatedfilesharing: 1.20.0
- federation: 1.20.0
- files: 2.2.0
- files_downloadlimit: 3.0.0
- files_pdfviewer: 3.0.0
- files_reminders: 1.3.0
- files_sharing: 1.22.0
- files_trashbin: 1.20.1
- files_versions: 1.23.0
- firstrunwizard: 3.0.0
- logreader: 3.0.0
- lookup_server_connector: 1.18.0
- nextcloud_announcements: 2.0.0
- notifications: 3.0.0
- oauth2: 1.18.1
- password_policy: 2.0.0
- photos: 3.0.2
- polls: 8.1.4
- privacy: 2.0.0
- provisioning_api: 1.20.0
- recommendations: 3.0.0
- related_resources: 1.5.0
- serverinfo: 2.0.0
- settings: 1.13.0
- sharebymail: 1.20.0
- support: 2.0.0
- systemtags: 1.20.0
- text: 4.1.0
- theming: 2.6.0
- twofactor_backupcodes: 1.19.0
- updatenotification: 1.20.0
- user_pwauth: 2.8.3
- user_status: 1.10.0
- viewer: 3.0.0
- webhook_listeners: 1.1.0-dev
- workflowengine: 2.12.0
Disabled:
- bruteforcesettings: 3.0.0 (installed 2.4.0)
- circles: 30.0.0 (installed 0.14.2)
- contactsinteraction: 1.11.0 (installed 1.9.0)
- encryption: 2.18.0
- files_external: 1.22.0
- survey_client: 2.0.0 (installed 1.8.0)
- suspicious_login: 8.0.0
- twofactor_nextcloud_notification: 4.0.0
- twofactor_totp: 12.0.0-dev
- user_ldap: 1.21.0
- weather_status: 1.10.0 (installed 1.0.0)
Nextcloud Signing status
No errors have been found.
Additional Information
No response
What went wrong, what did you observe?
I am logged in with my user and change an option from "yes" to "maybe" and this takes roughly 1 second or two.
When someone without account, that is not logged in and uses a direct link, changes an option, it takes roughly 8 seconds, so maybe 5 times longer. Problem is 1) takes a lot longer now than before and 2) user does not know that he klicked already and thinks after a few seconds, "haven't clicked, so I click agian"...
What did you expect, how polls should behave instead?
time elapsed for both cases approx. same, so not 6-8 seconds, but maybe that same 1 second or so.
NB: overall performance has significantly decreases lately, unfortunately.
What steps does it need to replay this bug?
This poll is reused since beginning. New dates added and old dates deleted. I usually shows the next 4 weeks for something that is always on a Wednesday
poll type:root@localhost [owncloud]> select * from oc_polls_polls where id ='1';+----+----------+-------------------+---------------------------------------------------+-------+------------+--------+---------+--------+-----------+-------------+------------+--------------+--------------+--------------+---------------+----------------+-----------------+--------+------------------+------------------------+------------------+----------------+
| id | type | title | description | owner | created | expire | deleted | access | anonymous | allow_maybe | vote_limit | show_results | admin_access | option_limit | allow_comment | hide_booked_up | allow_proposals | use_no | proposals_expire | misc_settings | last_interaction | voting_variant |
+----+----------+-------------------+---------------------------------------------------+-------+------------+--------+---------+--------+-----------+-------------+------------+--------------+--------------+--------------+---------------+----------------+-----------------+--------+------------------+------------------------+------------------+----------------+
| 1 | datePoll | Mittwoch Training | Mittwochs - XXXXXXXXXXXx | localuser | 1634069437 | 0 | 0 | open | 0 | 1 | 0 | always | 0 | 0 | 0 | 1 | disallow | 1 | 0 | {"autoReminder":false} | 1752817300 | simple |
+----+----------+-------------------+---------------------------------------------------+-------+------------+--------+---------+--------+-----------+-------------+------------+--------------+--------------+--------------+---------------+----------------+-----------------+--------+------------------+------------------------+------------------+----------------+
how many votes in the poll? (Are old ones not deleted when old dates are removed?)
root@localhost [owncloud]> select count() from oc_polls_votes where poll_id ='1';
+----------+
| count() |
+----------+
| 979 |
+----------+
root@localhost [owncloud]> select * from oc_polls_preferences where id = '1';
+----+---------+------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| id | user_id | timestamp | preferences |
+----+---------+------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 1 | cmb | 1752820725 | {"calendarPeek":false,"checkCalendars":[],"checkCalendarsHoursBefore":0,"checkCalendarsHoursAfter":0,"defaultViewTextPoll":"table-view","defaultViewDatePoll":"table-view","pollCombo":[],"relevantOffset":30,"useNewPollDialogInNavigation":false,"useNewPollInPollist":false,"useCommentsAlternativeStyling":false,"useAlternativeStyling":false,"verbosePollsList":false,"performanceThreshold":1000} |
+----+---------+------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Link to poll send to developer directly for testing
Affected polls version
8.1.4
Installation method
Installed/updated using occ
Installation type
Updated from a much older version (more than one major version)
Can you rule out that any extension you use is involved in the issue?
Which browser did you use, when experiencing the bug?
Other browser
Opera on Macos
Add your browser log here
no errorsAdditional client environment information
User that reported it, has a iphone / iOS (newest with safari).
I tested on Opera (link version) and firefox (logged in user) both on Macos
NC version
Nextcloud 30
Other Nextcloud version
No response
PHP engine version
PHP 8.2
Other PHP version
No response
Database engine
MariaDB
Database Engine version or other Database
10.6.22
Which user-backends are you using?
Add your nextcloud server log here
no error occurs (As far as I can see)Additional environment informations
[root@beastly /usr/local/www/htdocs/nc]# sudo -u www php ./occ status
[root@beastly /usr/local/www/htdocs/nc]# uname -a
FreeBSD beastly.cmb.ch 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC amd64
[root@beastly /usr/local/www/htdocs/nc]# pkg ver -v | grep mari
mariadb106-client-10.6.22_1 = up-to-date with index
mariadb106-server-10.6.22_1 = up-to-date with index
Configuration report
List of activated Apps
[root@beastly /usr/local/www/htdocs/nc]# sudo -u www php ./occ app:list Enabled: - activity: 3.0.0 - admin_audit: 1.20.0 - app_api: 4.0.6 - bookmarks: 15.1.2 - calendar: 5.3.6 - cloud_federation_api: 1.13.0 - comments: 1.20.1 - contacts: 7.2.0 - dashboard: 7.10.0 - dav: 1.31.1 - federatedfilesharing: 1.20.0 - federation: 1.20.0 - files: 2.2.0 - files_downloadlimit: 3.0.0 - files_pdfviewer: 3.0.0 - files_reminders: 1.3.0 - files_sharing: 1.22.0 - files_trashbin: 1.20.1 - files_versions: 1.23.0 - firstrunwizard: 3.0.0 - logreader: 3.0.0 - lookup_server_connector: 1.18.0 - nextcloud_announcements: 2.0.0 - notifications: 3.0.0 - oauth2: 1.18.1 - password_policy: 2.0.0 - photos: 3.0.2 - polls: 8.1.4 - privacy: 2.0.0 - provisioning_api: 1.20.0 - recommendations: 3.0.0 - related_resources: 1.5.0 - serverinfo: 2.0.0 - settings: 1.13.0 - sharebymail: 1.20.0 - support: 2.0.0 - systemtags: 1.20.0 - text: 4.1.0 - theming: 2.6.0 - twofactor_backupcodes: 1.19.0 - updatenotification: 1.20.0 - user_pwauth: 2.8.3 - user_status: 1.10.0 - viewer: 3.0.0 - webhook_listeners: 1.1.0-dev - workflowengine: 2.12.0 Disabled: - bruteforcesettings: 3.0.0 (installed 2.4.0) - circles: 30.0.0 (installed 0.14.2) - contactsinteraction: 1.11.0 (installed 1.9.0) - encryption: 2.18.0 - files_external: 1.22.0 - survey_client: 2.0.0 (installed 1.8.0) - suspicious_login: 8.0.0 - twofactor_nextcloud_notification: 4.0.0 - twofactor_totp: 12.0.0-dev - user_ldap: 1.21.0 - weather_status: 1.10.0 (installed 1.0.0)Nextcloud Signing status
Additional Information
No response