You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use play:sub with bookmarks enabled (for resuming titles)
Play some music
Look for error message in nextcloud logfile
Expected behaviour
There should be no errors
Actual behaviour
There are quite some Errors like this:
OCP\AppFramework\Db\DoesNotExistException: Did expect one result but found none when executing: query "SELECT * FROM `*PREFIX*music_bookmarks` WHERE `*PREFIX*music_bookmarks`.`user_id` = ? AND `type` = ? AND `entry_id` = ? "; parameters Array ( [0] => ***REMOVED USERNAME*** [1] => 1 [2] => 70229 ) ; limit ""; offset ""
Server configuration
Operating system: Linux nextcloudpi 6.1.21-v8+
Web server: Server version: Apache/2.4.56 (Debian)
Thanks for the report. This seems to happen when a Subsonic client attempts to delete a bookmark which doesn't exist. I don't know why your client does that but the Music app should handle this case more gracefully.
There was an unhandled exception when the Subsonic action
`deleteBookmark` was called for a non-existent bookmark, and this got
logged as an error. This happened because, by convention, the business
layer modules should throw BusinessLayerException in case the requested
item doesn't exist. The SubsonicMiddleware catches such exceptions and
emits the proper Subsonic error response. But BookmarkBusinessLayer was
throwing wrong kind of exception here and it leaked through.
refs #1071
Steps to reproduce
Expected behaviour
There should be no errors
Actual behaviour
There are quite some Errors like this:
Server configuration
Operating system: Linux nextcloudpi 6.1.21-v8+
Web server: Server version: Apache/2.4.56 (Debian)
Database: 10.5.19-MariaDB-0+deb11u2 Debian 11
PHP version: PHP 8.1.18
Nextcloud version: 26.0.1.1
The content of config/config.php:
https://gist.github.com/numerfolt/22bb1515250bee113e606890d16da1d6
List of activated apps:
Logs
Web server error log
https://gist.github.com/numerfolt/e0dec3f1a60b3aeab1c7ea66bc14d641
Nextcloud log
https://gist.github.com/numerfolt/5ae9352a329249d5a20b7a617476eb31
The text was updated successfully, but these errors were encountered: