After the update from 31.0.14 → 32.0.9 → 33.0.5 I want to add a new account.
I get the input mask filled up and pressed “Add New Account” and got the message “An error occurred during the request. Unable to proceed.
Bad request”.
The account was created but only the account name and group members was taken.
After this I could change the account with display name and email. So I have no problems with it.
I found a logging entry:
DbalExceptionAn exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘a.has_unread_threads’ in ‘SELECT’
Failed addUser attempt with exception
Is this a bug or was something wrong at the update?
By using the search function in the upper right corner of the forum screen I found the following thread which seems to provide a solution for your issue:
Hello, I used the occ commands but they didn’t help. Either can I not remove the calendar ressources, because it is in use .
I see in the detailed log that the missing column (has_unread_threads) is expected in the table oc_talk_attendees.
should the column be there and why did the occ commannd db:add-missing-columns do not work?
we can not guess this either, if you can check for error output or in the logs related to the time when you try the command.
If at some point, it complains about resources being use, try to put Nextcloud in maintenance mode (there is also a occ command for that).
I added now 3 new columns in the table oc_talk_attendees:
has_unread_threads BOOLEAN,
has_unread_thread_mentions BOOLEAN and
has_unread_thread_directs BOOLEAN.
Now the function “Add User” works and the hugh amount of error entries in the log stopped.