Closed ishaulov closed 6 months ago
Hi @ishaulov,
This is likely due to #4999. If you create a webserver-writable storage/framework/cache/data
directory in your BookStack install folder, or set CACHE_DRIVER=database
, you may find these things start working again.
Otherwise we'll be reverting the relevant change for the next patch release.
Hi @ssddanbrown!
Indeed, I assigned the www-data
user as the owner (chown -R www-data:www-data storage/framework/cache/data
) of the storage/framework/cache/data
directory and the avatars reappeared.
Thank you very much for your help! ☺️
Attempted Debugging
Searched GitHub Issues
Describe the Scenario
Hi! After upgrading from BookStack v24.02.2 to BookStack v24.05, all users have missing avatars. The avatar files in public/uploads/images/user remained, file and directory permissions remained the same. URL and .env don't change. When I check the url of the avatar file, I see the default file name — user_avatar.png: https://my_bookstak_domain_name.com/user_avatar.png
The upgrade was performed using standard commands:
Please, help to solve the problem.
Exact BookStack Version
v24.05
Log Content
No response
Hosting Environment
Ubuntu 22.04 PHP 8.1.2-1ubuntu2.17 (cli) (built: May 1, 2024 10:10:07) (NTS) Composer version 2.6.6 2023-12-08 18:32:26 Default manual installation