Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing avatars after update to Bookstack v24.05 #5019

Closed
2 tasks done
ishaulov opened this issue May 18, 2024 · 2 comments
Closed
2 tasks done

Missing avatars after update to Bookstack v24.05 #5019

ishaulov opened this issue May 18, 2024 · 2 comments

Comments

@ishaulov
Copy link

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

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:

git pull origin release
composer install --no-dev
php artisan migrate
php artisan cache:clear
php artisan config:clear
php artisan view:clear

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

@ssddanbrown
Copy link
Member

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.

@ishaulov
Copy link
Author

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! ☺️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants