I've updated my Nextcloud from 25.0.5 to 26.0.0, Polls was updates to 5.0.0-beta5 with the NC update. After the update I can't access any polls, the detail view of the poll is visible very shortly, but then the screen changes to "404 - Poll not found".
Browser console throws a 500 internal server error:
GET https://mydomain.de/apps/polls/preferences?time=1679948422899 500 (Internal Server Error)
(anonym) @ xhr.js:220
e.exports @ xhr.js:16
e.exports @ dispatchRequest.js:56
d.request @ Axios.js:109
(anonym) @ bind.js:9
getUserSettings @ userSettings.js:27
(anonym) @ settings.js:125
d @ settings.js:2
(anonym) @ settings.js:2
(anonym) @ settings.js:2
u @ settings.js:2
o @ settings.js:2
(anonym) @ settings.js:2
(anonym) @ settings.js:2
get @ settings.js:123
(anonym) @ vuex.esm.js:851
h.dispatch @ vuex.esm.js:516
dispatch @ vuex.esm.js:406
created @ App.vue:101
bn @ vue.runtime.esm.js:3017
hr @ vue.runtime.esm.js:4031
e._init @ vue.runtime.esm.js:5693
o @ vue.runtime.esm.js:5826
(anonym) @ vue.runtime.esm.js:4544
init @ vue.runtime.esm.js:4406
(anonym) @ vue.runtime.esm.js:6567
f @ vue.runtime.esm.js:6521
$i.nodeOps @ vue.runtime.esm.js:7109
e._update @ vue.runtime.esm.js:3765
r @ vue.runtime.esm.js:3875
e.get @ vue.runtime.esm.js:3446
e @ vue.runtime.esm.js:3436
e @ vue.runtime.esm.js:3892
ia.$mount @ vue.runtime.esm.js:8772
e._init @ vue.runtime.esm.js:5701
ia @ vue.runtime.esm.js:5762
(anonym) @ main.js:59
(anonym) @ main.js:63
(anonym) @ main.js:63
vuex.esm.js:542
Uncaught (in promise) a {message: 'Request failed with status code 500', name: 'AxiosError', code: 'ERR_BAD_RESPONSE', config: {…}, request: XMLHttpRequest, …}
(anonym) @ vuex.esm.js:542
Promise.then (asynchron)
(anonym) @ vuex.esm.js:519
h.dispatch @ vuex.esm.js:518
dispatch @ vuex.esm.js:406
created @ App.vue:101
bn @ vue.runtime.esm.js:3017
hr @ vue.runtime.esm.js:4031
e._init @ vue.runtime.esm.js:5693
o @ vue.runtime.esm.js:5826
(anonym) @ vue.runtime.esm.js:4544
init @ vue.runtime.esm.js:4406
(anonym) @ vue.runtime.esm.js:6567
f @ vue.runtime.esm.js:6521
$i.nodeOps @ vue.runtime.esm.js:7109
e._update @ vue.runtime.esm.js:3765
r @ vue.runtime.esm.js:3875
e.get @ vue.runtime.esm.js:3446
e @ vue.runtime.esm.js:3436
e @ vue.runtime.esm.js:3892
ia.$mount @ vue.runtime.esm.js:8772
e._init @ vue.runtime.esm.js:5701
ia @ vue.runtime.esm.js:5762
(anonym) @ main.js:59
(anonym) @ main.js:63
(anonym) @ main.js:63
index.es.js:2337
What did you expect, how polls should behave instead?
I should be able to view my poll.
What steps does it need to replay this bug?
Updated NC to 26.0.0
Open a poll
See the issue
Installation method
Installed/updated from the appstore (Apps section of your site)
Installation type
Updated from previous major version (i.e. 3.x.x to 4.x.x)
Affected polls version
5.0.0-beta 5
Which browser did you use, when experiencing the bug?
[ ] Firefox
[X] Chrome
[X] Chromium/Chromium based (i.e. Edge)
[X] Safari
[ ] Other/Don't know
Other browser
No response
Which System did you use, when experiencing the bug?
[X] Windows
[ ] Linux
[ ] MacOs
[X] iOS
[ ] Android
[ ] Other/Don't know
Other OS
No response
Add your browser log here
init-collections.js:42
OCA.Sharing.ShareSearch not ready
(anonym) @ init-collections.js:42
xhr.js:220
GET https://mydomain.de/apps/polls/preferences?time=1679948422899 500 (Internal Server Error)
(anonym) @ xhr.js:220
e.exports @ xhr.js:16
e.exports @ dispatchRequest.js:56
d.request @ Axios.js:109
(anonym) @ bind.js:9
getUserSettings @ userSettings.js:27
(anonym) @ settings.js:125
d @ settings.js:2
(anonym) @ settings.js:2
(anonym) @ settings.js:2
u @ settings.js:2
o @ settings.js:2
(anonym) @ settings.js:2
(anonym) @ settings.js:2
get @ settings.js:123
(anonym) @ vuex.esm.js:851
h.dispatch @ vuex.esm.js:516
dispatch @ vuex.esm.js:406
created @ App.vue:101
bn @ vue.runtime.esm.js:3017
hr @ vue.runtime.esm.js:4031
e._init @ vue.runtime.esm.js:5693
o @ vue.runtime.esm.js:5826
(anonym) @ vue.runtime.esm.js:4544
init @ vue.runtime.esm.js:4406
(anonym) @ vue.runtime.esm.js:6567
f @ vue.runtime.esm.js:6521
$i.nodeOps @ vue.runtime.esm.js:7109
e._update @ vue.runtime.esm.js:3765
r @ vue.runtime.esm.js:3875
e.get @ vue.runtime.esm.js:3446
e @ vue.runtime.esm.js:3436
e @ vue.runtime.esm.js:3892
ia.$mount @ vue.runtime.esm.js:8772
e._init @ vue.runtime.esm.js:5701
ia @ vue.runtime.esm.js:5762
(anonym) @ main.js:59
(anonym) @ main.js:63
(anonym) @ main.js:63
vuex.esm.js:542
Uncaught (in promise) a {message: 'Request failed with status code 500', name: 'AxiosError', code: 'ERR_BAD_RESPONSE', config: {…}, request: XMLHttpRequest, …}
Additional client environment information
No response
NC version
Nextcloud 26 (Nextcloud Hub 4)
Other Nextcloud version
No response
PHP engine version
PHP 8.0
Other PHP version
No response
Database engine
MariaDB
Database Engine version or other Database
10.6.12
Which user-backends are you using?
[X] Default user-backend (database)
[ ] LDAP/ Active Directory
[X] SSO - SAML
[ ] Other/Don't know
Add your nextcloud server log here
[index] Fehler: TypeError: Cannot assign null to property OCA\Polls\Db\Preferences::$preferences of type string at <<closure>>
0. /var/www/nextcloud/lib/public/AppFramework/Db/Entity.php line 167
OCP\AppFramework\Db\Entity->setter()
1. /var/www/nextcloud/lib/public/AppFramework/Db/Entity.php line 75
OCP\AppFramework\Db\Entity->__call()
2. /var/www/nextcloud/lib/public/AppFramework/Db/QBMapper.php line 321
OCP\AppFramework\Db\Entity::fromRow()
3. /var/www/nextcloud/lib/public/AppFramework/Db/QBMapper.php line 361
OCP\AppFramework\Db\QBMapper->mapRowToEntity()
4. /var/www/nextcloud/apps/polls/lib/Db/PreferencesMapper.php line 57
OCP\AppFramework\Db\QBMapper->findEntity()
5. /var/www/nextcloud/apps/polls/lib/Service/PreferencesService.php line 47
OCA\Polls\Db\PreferencesMapper->find()
6. /var/www/nextcloud/apps/polls/lib/Service/PreferencesService.php line 42
OCA\Polls\Service\PreferencesService->load()
7. <<closure>>
OCA\Polls\Service\PreferencesService->__construct()
8. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 116
ReflectionClass->newInstanceArgs()
9. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 124
OC\AppFramework\Utility\SimpleContainer->buildClass()
10. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 142
OC\AppFramework\Utility\SimpleContainer->resolve()
11. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 493
OC\AppFramework\Utility\SimpleContainer->query()
12. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 465
OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
13. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 97
OC\AppFramework\DependencyInjection\DIContainer->query()
14. <<closure>>
OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}("*** sensitive parameters replaced ***")
15. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 116
array_map()
16. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 124
OC\AppFramework\Utility\SimpleContainer->buildClass()
17. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 142
OC\AppFramework\Utility\SimpleContainer->resolve()
18. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 493
OC\AppFramework\Utility\SimpleContainer->query()
19. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 465
OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
20. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 97
OC\AppFramework\DependencyInjection\DIContainer->query()
21. <<closure>>
OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}("*** sensitive parameters replaced ***")
22. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 116
array_map()
23. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 124
OC\AppFramework\Utility\SimpleContainer->buildClass()
24. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 142
OC\AppFramework\Utility\SimpleContainer->resolve()
25. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 493
OC\AppFramework\Utility\SimpleContainer->query()
26. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 465
OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
27. /var/www/nextcloud/lib/private/AppFramework/App.php line 162
OC\AppFramework\DependencyInjection\DIContainer->query()
28. /var/www/nextcloud/lib/private/Route/Router.php line 315
OC\AppFramework\App::main()
29. /var/www/nextcloud/lib/base.php line 1055
OC\Route\Router->match()
30. /var/www/nextcloud/index.php line 36
OC::handleRequest()
GET /apps/polls/poll/13/options?time=1679948760164
from 10.0.2.2 by marco at 2023-03-27T22:26:02+02:00
Strangely my wife can access her polls. Not sure if this is related to admin role?
Even a creation of a new poll immediately ends up in the 404 once the detail view should be shown.
⚠️ This issue respects the following points: ⚠️
What went wrong, what did you observe?
I've updated my Nextcloud from 25.0.5 to 26.0.0, Polls was updates to 5.0.0-beta5 with the NC update. After the update I can't access any polls, the detail view of the poll is visible very shortly, but then the screen changes to "404 - Poll not found".
Browser console throws a 500 internal server error:
What did you expect, how polls should behave instead?
I should be able to view my poll.
What steps does it need to replay this bug?
Installation method
Installed/updated from the appstore (Apps section of your site)
Installation type
Updated from previous major version (i.e. 3.x.x to 4.x.x)
Affected polls version
5.0.0-beta 5
Which browser did you use, when experiencing the bug?
Other browser
No response
Which System did you use, when experiencing the bug?
Other OS
No response
Add your browser log here
Additional client environment information
No response
NC version
Nextcloud 26 (Nextcloud Hub 4)
Other Nextcloud version
No response
PHP engine version
PHP 8.0
Other PHP version
No response
Database engine
MariaDB
Database Engine version or other Database
10.6.12
Which user-backends are you using?
Add your nextcloud server log here
Additional environment informations
No response
Configuration report
List of activated Apps
Nextcloud Signing status
Additional Information
Strangely my wife can access her polls. Not sure if this is related to admin role? Even a creation of a new poll immediately ends up in the 404 once the detail view should be shown.