XF 2.0 upgrade error

Bombardier

Active member
Everything was going well until I got this error

Can anybody advise

Code:
ErrorException: [E_WARNING] fopen(/usr/**/*****/public_html/community/data/avatars/l/0/4.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 1931
XF\App->run() in src/XF.php at line 329
XF::runApp() in install/index.php at line 14
 
I uninstalled all addons apart from Showcase but did turn that off
the only other thing I had left behind was a custom Css.

Just ran the upgrade again and got the same error ...... frustratedo_O
 
Your internal_data and/or data files aren't all writable by the PHP user. This is normally from some sort of server change or manual data copy.

You should recursively chmod these directories and files 0777.
 
Top Bottom