XF 2.1 Permission denied in src/vendor/league/flysystem/src/Adapter/Local.php at line 158

drastic

Well-known member
Any help with this?

ErrorException: [E_WARNING] fopen(/my path here/data/avatars/l/0/1.jpg): failed to open stream: Permission denied in src/vendor/league/flysystem/src/Adapter/Local.php at line 158

  1. XF::handlePhpError()
  2. fopen() in src/vendor/league/flysystem/src/Adapter/Local.php at line 158
  3. League\Flysystem\Adapter\Local->writeStream() in src/vendor/league/flysystem/src/Adapter/Local.php at line 191
  4. League\Flysystem\Adapter\Local->updateStream() in src/vendor/league/flysystem/src/Filesystem.php at line 119
  5. League\Flysystem\Filesystem->putStream()
  6. call_user_func_array() in src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php at line 431
  7. League\Flysystem\EventableFilesystem\EventableFilesystem->callFilesystemMethod() in src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php at line 395
  8. League\Flysystem\EventableFilesystem\EventableFilesystem->delegateMethodCall() in src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php at line 71
  9. League\Flysystem\EventableFilesystem\EventableFilesystem->putStream() in src/vendor/league/flysystem/src/MountManager.php at line 613
  10. League\Flysystem\MountManager->putStream() in src/XF/Util/File.php at line 185
  11. XF\Util\File::copyFileToAbstractedPath() in src/XF/Service/User/Avatar.php at line 397
  12. XF\Service\User\Avatar->createOSizeAvatarFromL() in src/XF/Job/Upgrade/UserAvatar200.php at line 65
  13. XF\Job\Upgrade\UserAvatar200->run() in src/XF/Job/Atomic.php at line 38
  14. XF\Job\Atomic->run() in src/XF/Job/Manager.php at line 253
  15. XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 195
  16. XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 146
  17. XF\Job\Manager->runUnique() in src/XF/Install/Controller/AbstractController.php at line 25
  18. XF\Install\Controller\AbstractController->manualJobRunner() in src/XF/Install/Controller/Upgrade.php at line 257
  19. XF\Install\Controller\Upgrade->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 321
  20. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 249
  21. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
  22. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
  23. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2178
  24. XF\App->run() in src/XF.php at line 390
  25. XF::runApp() in install/index.php at line 14
 
rats. did the 777, but got this after running /install/ to perform the upgrade.

looks like the 777 didn't go through on the avatars folder...
 
Last edited:
Back
Top Bottom