Friendica issue on follow
From chat
sometimes on a friendica follow request i got an error like:
Warning: file_put_contents(/var/www/html/storage/32/74/index.html): failed to open stream: Permission denied in /var/www/html/src/Model/Storage/Filesystem.php on line 71
Warning: chmod(): Permission denied in /var/www/html/src/Model/Storage/Filesystem.php on line 73
Warning: chmod(): Operation not permitted in /var/www/html/src/Model/Storage/Filesystem.php on line 74
Warning: file_put_contents(/var/www/html/storage/32/74/cd303bde99e3f6145de942ba872a33dc9c5acff568855b5cdbc62d01afe8): failed to open stream: Permission denied in /var/www/html/src/Model/Storage/Filesystem.php on line 102
Fatal error: Uncaught Friendica\Model\Storage\StorageException: Der Dateisystemspeicher konnte die Daten nicht in "/var/www/html/storage/32/74/cd303bde99e3f6145de942ba872a33dc9c5acff568855b5cdbc62d01afe8" speichern. Überprüfe Deine Schreibberechtigungen in /var/www/html/src/Model/Storage/Filesystem.php:105 Stack trace: #0 /var/www/html/src/Model/Photo.php(287): Friendica\Model\Storage\Filesystem::put('\x89PNG\r\n\x1A\n\x00\x00\x00\rIHD...', '3274cd303bde99e...') #1 /var/www/html/src/Model/Photo.php(435): Friendica\Model\Photo::store(Object(Friendica\Object\Image), 98, 87092, '55838585275e579...', '4762dd74234cf55...', 'Contact Photos', 4) #2 /var/www/html/src/Model/Contact.php(1897): Friendica\Model\Photo::importProfilePhoto('https://chaos.s...', 98, 87092, true) #3 /var/www/html/src/Model/Contact.php(2392): Friendica\Model\Contact::updateAvatar('https://chaos.s...', 98, 87092) #4 /var/www/html/mod/follow.php(35): Friendica\Model\Contact::createFromProbe(98, 'https://chaos.s...', true) #5 /var/www/html/src/LegacyModule. in /var/www/html/src/Model/Storage/Filesystem.php on line 105
it usually works when i repeat the request.
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information