CivilWarTalk
Active member
So I was running through an upgrade from 1.5 to 2.0 and got this warning somewhere I presume near the end of the upgrade process:
ErrorException: [E_WARNING] fopen(/home/admin/domains/civilwartalk.com/public_html/data/avatars/l/0/7.jpg): failed to open stream: Permission denied in src/vendor/league/flysystem/src/Adapter/Local.php at line 151
What steps should I take next?
ErrorException: [E_WARNING] fopen(/home/admin/domains/civilwartalk.com/public_html/data/avatars/l/0/7.jpg): failed to open stream: Permission denied in src/vendor/league/flysystem/src/Adapter/Local.php at line 151
- XF::handlePhpError()
- fopen() in src/vendor/league/flysystem/src/Adapter/Local.php at line 151
- League\Flysystem\Adapter\Local->writeStream() in src/vendor/league/flysystem/src/Adapter/Local.php at line 186
- League\Flysystem\Adapter\Local->updateStream() in src/vendor/league/flysystem/src/Filesystem.php at line 118
- League\Flysystem\Filesystem->putStream()
- call_user_func_array() in src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php at line 431
- League\Flysystem\EventableFilesystem\EventableFilesystem->callFilesystemMethod() in src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php at line 395
- League\Flysystem\EventableFilesystem\EventableFilesystem->delegateMethodCall() in src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php at line 71
- League\Flysystem\EventableFilesystem\EventableFilesystem->putStream()
- call_user_func_array() in src/vendor/league/flysystem/src/MountManager.php at line 269
- League\Flysystem\MountManager->invokePluginOnFilesystem() in src/vendor/league/flysystem/src/MountManager.php at line 179
- League\Flysystem\MountManager->__call() in src/XF/Util/File.php at line 101
- League\Flysystem\MountManager->putStream() in src/XF/Util/File.php at line 101
- XF\Util\File::copyFileToAbstractedPath() in src/XF/Service/User/Avatar.php at line 397
- XF\Service\User\Avatar->createOSizeAvatarFromL() in src/XF/Job/Upgrade/UserAvatar200.php at line 65
- XF\Job\Upgrade\UserAvatar200->run() in src/XF/Job/Atomic.php at line 38
- XF\Job\Atomic->run() in src/XF/Job/Manager.php at line 241
- XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 187
- XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 138
- XF\Job\Manager->runUnique() in src/XF/Install/Controller/AbstractController.php at line 25
- XF\Install\Controller\AbstractController->manualJobRunner() in src/XF/Install/Controller/Upgrade.php at line 251
- XF\Install\Controller\Upgrade->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 249
- XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 89
- XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
- XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1934
- XF\App->run() in src/XF.php at line 333
- XF::runApp() in install/index.php at line 14
What steps should I take next?