Message show error on the page and toaster message show it was OK at the same time ?
I've try to debug with looking at 'storage/logs/laravel.log' and find this error:
production.ERROR: Unable to delete file located at: /var/www/bookstack/public/uploads/images/user/2023-08/bugmsbfzlh-avatar.png. {"userId":3,"exception":"[object] (League\Flysystem\UnableToDeleteFile(code: 0): Unable to delete file located at: /var/www/bookstack/public/uploads/images/user/2023-08/bugmsbfzlh-avatar.png. at /var/www/bookstack/vendor/league/flysystem/src/UnableToDeleteFile.php:24)
Finally i've found the directory 'images/*/' have bad right (root:root), i changed to bookstack:www-data and that's work.
Message show error on the page and toaster message show it was OK at the same time ?
I've try to debug with looking at 'storage/logs/laravel.log' and find this error:
production.ERROR: Unable to delete file located at: /var/www/bookstack/public/uploads/images/user/2023-08/bugmsbfzlh-avatar.png. {"userId":3,"exception":"[object] (League\Flysystem\UnableToDeleteFile(code: 0): Unable to delete file located at: /var/www/bookstack/public/uploads/images/user/2023-08/bugmsbfzlh-avatar.png. at /var/www/bookstack/vendor/league/flysystem/src/UnableToDeleteFile.php:24)
Finally i've found the directory 'images/*/' have bad right (root:root), i changed to bookstack:www-data and that's work.
I hope this information will help fix the bug.