Reproduction steps
- Log in as a registered user
- Go to the user profile page
- Try to upload a custom profile background image
Unexpected result
- The background image upload appears to succeed (no error shown in the UI)
- The profile background is never displayed after upload
- Refreshing the page or logging out and back in does not show the uploaded background
- No user-facing error message is presented
Error log message
ErrorException in /app/src/Legacy/Classes/LocalStorage.php:114
Message [Code #2]
fileperms(): stat failed for G?P??/
Time
2026-01-08T16:55:56+00:00 [1767891356]
Incident
695fe19ccd191
Backtrace
------------------------------------------------------------
0 /app/src/Legacy/Classes/LocalStorage.php:114
{main}()
------------------------------------------------------------
1 /app/src/Legacy/Classes/LocalStorage.php:114
fileperms()
------------------------------------------------------------
2 /app/src/Legacy/Classes/Storage.php:243
Chevereto\Legacy\Classes\LocalStorage->mkdirRecursive()
------------------------------------------------------------
3 /app/src/Legacy/Classes/AssetStorage.php:65
Chevereto\Legacy\Classes\Storage::uploadFiles()
------------------------------------------------------------
4 /app/src/Legacy/Classes/User.php:472
Chevereto\Legacy\Classes\AssetStorage::uploadFiles()
------------------------------------------------------------
5 /app/legacy/routes/json.php:278
Chevereto\Legacy\Classes\User::uploadPicture()
------------------------------------------------------------
6 /app/src/Legacy/G/Handler.php:456
Chevereto\Legacy\G\Handler->{closure}()
------------------------------------------------------------
7 /app/src/Legacy/G/Handler.php:180
Chevereto\Legacy\G\Handler->processRequest()
------------------------------------------------------------
8 /app/legacy/load/web.php:903
Chevereto\Legacy\G\Handler->__construct()
------------------------------------------------------------
9 /app/legacy/entrypoints/index.php:45
require_once()
------------------------------------------------------------
10 /app/index.php:12
require_once()
------------------------------------------------------------