Error change profile picture after upgrade to beta 12
Can you run ls -la public/assets
?
The problem is that your flarum installation runs under the user www-data, but you have been running php flarum
commands as akmal
, as a result some files are owned by you and cannot be deleted by Flarum. Do the following:
sudo rm -rf public/assets/*.css public/assets/*.js*
ls -la public/assets
List the output again.
Yes but now we can at least see what is wrong
The issue is that the avatars, extensions, files and fonts folder is owned by you (probably due to the installation). Here's what you need to do:
sudo chown -R www-data: public/assets
Your forum should work again.
1 post was split to cannot change avatar on beta 12.
3 months later
luceos chang avatar in free hosting freefllarum error not loaded, How to fix?