Closed ttenroK closed 1 year ago
The server log is needed, since it is an 500 error.
BTW: The warnings can get excluded from the console log.
The server log is needed, since it is an 500 error.
BTW: The warnings can get excluded from the console log.
Hmm... I don't have any logs. If I navigate to https://<mydomain>/settings/admin/logging
there are no server logs. Even when I activate all levels of logging.
That's bad. Without it, I can only guess what the error can be.
Just a try: call occ polls:db:rebuild
to check or fix the db structure.
Same problem for me in nextcloud 25.0.6 + Polls 5.0.5 and occ polls:db:rebuild
works for me :smiley:
But why this isn't automatic ?
thanks
because there is a bug.
i've got the same issue,... but occ polls:db:rebuild generates errors but polls app works afterwards
[index] Error: OC\DB\Exceptions\DbalException: An exception occurred while executing a query: SQLSTATE[42703]: Undefined column: 7 ERROR: column "poll_option_hash" of relation "oc_polls_options" does not exist
LINE 1: ...options" ("poll_id", "order", "poll_option_text", "poll_opti...
^ at <
Caused by:
Doctrine\DBAL\Exception\InvalidFieldNameException: An exception occurred while executing a query: SQLSTATE[42703]: Undefined column: 7 ERROR: column "poll_option_hash" of relation "oc_polls_options" does not exist
LINE 1: ...options" ("poll_id", "order", "poll_option_text", "poll_opti...
^ at <
Caused by:
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[42703]: Undefined column: 7 ERROR: column "poll_option_hash" of relation "oc_polls_options" does not exist
LINE 1: ...options" ("poll_id", "order", "poll_option_text", "poll_opti...
^ at <
Caused by:
PDOException: SQLSTATE[42703]: Undefined column: 7 ERROR: column "poll_option_hash" of relation "oc_polls_options" does not exist
LINE 1: ...options" ("poll_id", "order", "poll_option_text", "poll_opti...
^ at <
POST /apps/polls/option from 84.82.27.46 by jan_rhebergen at 2023-06-09T23:08:41+00:00
upgraded 23->24->25 and couldn't add poll options, users couldn't vote in polls. occ polls:db:rebuild
appears to have fixed it for me too.
That's bad. Without it, I can only guess what the error can be.
Just a try: call
occ polls:db:rebuild
to check or fix the db structure.
Unfortunately, I can't enter my own occ-commands on the managed nextcloud. I only can use predefined occ-commands. I'll contact the support of my managed nextcloud so that they will enter the command.
This issue is marked as stale, because it had no activity in the last 30 days. It will be closed in 5 days.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
⚠️ This issue respects the following points: ⚠️
What went wrong, what did you observe?
After the upgrade to NC26 it isn't possible to add new date options to a poll. After trying to add a date, an error appears at the right top, e.g. "Fehler beim Hinzufügen von 5. Juni 2023"/"Error when adding 5 June 2023".
What did you expect, how polls should behave instead?
Instead, the date option should be added to the 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.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
Nextcloud is hosted on Hetzner-servers
NC version
Nextcloud 26 (Nextcloud Hub 4)
Other Nextcloud version
No response
PHP engine version
Other/Don't know
Other PHP version
8.2
Database engine
MySQL
Database Engine version or other Database
10.5
Which user-backends are you using?
Add your nextcloud server log here
Additional environment informations
No response
Configuration report
No response
List of activated Apps
Nextcloud Signing status
Additional Information
No response