Laravel备份到Dropbox备份失败,因为无法在位置编写文件

发布于 2025-01-23 16:08:46 字数 5987 浏览 2 评论 0原文

你好 我正在尝试备份Laravel到Dropbox。我一直遇到这个错误: 异常消息:rmdir(c:\ xampp \ htdocs \ careermove \ careermove \ storage \ app/backup-temp \ temp \ temp):目录不为空

异常跟踪:#0 c:\ xampp \ htdocs \ careermove \ careermove \ vendor \ vendor \ laravel \ laravel \ fravew \ sravel \ src \ src \ src \ src \ src \ src \ src \ src \ src \ src \ src \ src \ src \ src \ src \ src \ Illuminate \ Foundation \ Bootstrap \ Handle Exceptions.php(231):照明\ Foundation \ Foundation \ bootstrap \ thanhexceptions- thanderror(2,'rmdir(c:\ xampp ...','c:\ xampp ...','c:\ xampp \ xampp \ htdocs ...''' ,173)#1 [内部函数]:照明\ Foundation \ bootstrap \ handle exceptions-> Illuminate \ Foundation \ Foundation \ bootstrap {cloture}(2,'rmdir(c:\ xampp ...','c:\ xampp \ xampp \ xampp \ htdocs ...',173)#2 c:\ xampp \ htdocs \ careermove \ vendor \ spatie \ spatie \ exture-directory \ src \ src \ eleasaryDirectory.php(173):rmdir(rmdir)('c:\ xampp \ xampp \ htdocs ...') 3 c:\ xampp \ htdocs \ careermove \ vendor \ spatie \ exture-directory \ src \ src \ exturearyDirectory.php(99):spatie \ exturearyDirectory \ extemaryDirectory \ extomaryDirectory-directory-directory-> deleteTedEctectory( 4 c:\ xampp \ htdocs \ careermove \ vendor \ spatie \ laravel-backup \ src \ src \ tasks \ backup \ backup \ backupjob.php(174):spatie \ exturearyDirectory \ emortaryDirectory \ exturearydirctory- premaryDirectory-&Gt&&gt&gt> delete(delete(delete) \ careermove \ vendor \ spatie \ laravel-backup \ src \ commands \ backupcommand.php(58):spatie \ backup \ backup \ taskup \ taskup \ backup \ backupjob- backupjob-> run()#6 c:\ xampp \ htdocs \ xampp \ htdocs \ careermove \ careermove \ careermove \ vendorermove laravel \ framework \ src \ iLluminate \ container \ boundmethod.php(36):spatie \ backup \ backup \ commands \ backupcommand- andhath()#7 c:\ xampp \ xampp \ xampp \ xampp \ htdocs \ htdocs \ careermove \ careermove \ careermove \ vendor \ vendor \ laravel \ fravel \ frife \ frine \ illiant \Container\Util.php(41): Illuminate\Container\BoundMethod::Illuminate\Container{closure}() #8 C:\xampp\htdocs\careermove\vendor\laravel\framework\src\Illuminate\Container\BoundMethod. php(93):Illuminate \ contain \ util :: Unwrapifuser(object(object(closure))#9 c:\ xampp \ htdocs \ htdocs \ careermove \ vendor \ vendor \ laravel \ laravel \ framework \ src \ src \ src \ iLluminate \ inlumines \容器\ boundMethod :: callboundmethod(object \ fistract \ application),array,object(clocture))#10 c:\ xampp \ htdocs \ careermove \ careermove \ vendor \ laravel \ laravel \ framework \ framework \ src \ src \ src \ contuner \ inluminate \ contuner \ contuner \ contuner \ contuner.phpp (653):照明\容器\ boundmethod :: call(object(impluminate \ fistract \ application),阵列,阵列,null)#11 c:\ xampp \ htdocs \ htdocs \ careermove \ vendor \ laravel \ laravel \ laravel \ framework \ framework \ src \ src \ illuminate \ illuminate \ illuminate \ imluminate \ console \ command.php(171):照明\ container \ container-> call(array)#12 c:\ xampp \ htdocs \ careermove \ careermove \ vendor \ symfony \ symfony \ console \ commole \ command \ command.php(291) command-> execute(object(symfony \ component \ console \ console \ input \ argvinput),object(Illuminate \ console \ console \ outputStyle))#13 C:\ xampp \ xampp \ htdocs \ careermove \ careermove \ careermove \ vendor \ vendor \ laravel \ laravel \ laravel \ frifewwork \ src \ src \ src \ srcination \ srincinate \ illumination \ console \ command.php(156):Symfony \ Component \ console \ Command \ command-> run(object(symfony \ component \ console \ console \ input \ input \ argvinput),object(Illuminate \ console \ console \ console \ outputStyle))#14 c:\ xampp:\ xampp \ htdocs \ careermove \ vendor \ spatie \ laravel-backup \ src \ commands \ basecommand.php(28):Illuminate \ console \ Console \ command-> run(object(symfony \ compents \ component \ component \ console \ console \ console \ cons \ gut \ argvinput \ argvInputput),symfony \ component \ console \ output \ consoleoutput))#15 c:\ xampp \ htdocs \ careermove \ vendor \ vendor \ symfony \ symfony \ console \ consepl.php(989):spatie \ backup \ backings \ back commands \ basecommand-> Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 C:\xampp\htdocs\careermove\vendor\symfony\console\Application.php(299): Symfony\Component\ console \ application-> dorunco​​mmand(object(spatie \ backup \ commands \ backupcommand),object(symfony \ component \ console \ console \ console \ input \ input \ argvinput),object(symfony \ component \ component \ console \ console \ console \ console \ utput \ consoleout \ consoleout \ utput \ consoleoutput)#17 c:\ \ \ xampp\htdocs\careermove\vendor\symfony\console\Application.php(171): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\ console \ output \ consoleoutput))#18 c:\ xampp \ htdocs \ careermove \ vendor \ vendor \ laravel \ framework \ src \ src \ iLluminate \ console \ console \ application.php(102):Symfony \ compond \ component \ component \ console \ console \ console \ consele \> run(对象(对象) (Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 C:\xampp\htdocs\careermove\vendor\laravel\framework\src\Illuminate\Foundation\Console\ kernel.php(129):照明\ console \ application-> run(object(symfony \ component \ console \ console \ input \ input \ argvinput),object(symfony \ component \ component \ console \ console \ console \ console \ consoleout \ consoleoutput) htdocs \ careermove \ artisan(37):照明\ fistion \ console \ console \ kernel-> handing(object(symfony \ component \ console \ console \ console \ input \ arg vinput),symfony \ compents \ component \ consoles \ console \ console \ console \ console \ console \ console \ console \ console \ console \ console \ console \ console \ console \ consolet

##强>我该如何解决?请帮助

Hello
I am trying to backup laravel to dropbox. I keep getting this error:

Exception message: rmdir(C:\xampp\htdocs\careermove\storage\app/backup-temp\temp): Directory not empty

Exception trace: #0 C:\xampp\htdocs\careermove\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(231): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'rmdir(C:\xampp...', 'C:\xampp\htdocs...', 173) #1 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap{closure}(2, 'rmdir(C:\xampp...', 'C:\xampp\htdocs...', 173) #2 C:\xampp\htdocs\careermove\vendor\spatie\temporary-directory\src\TemporaryDirectory.php(173): rmdir('C:\xampp\htdocs...') #3 C:\xampp\htdocs\careermove\vendor\spatie\temporary-directory\src\TemporaryDirectory.php(99): Spatie\TemporaryDirectory\TemporaryDirectory->deleteDirectory('C:\xampp\htdocs...') #4 C:\xampp\htdocs\careermove\vendor\spatie\laravel-backup\src\Tasks\Backup\BackupJob.php(174): Spatie\TemporaryDirectory\TemporaryDirectory->delete() #5 C:\xampp\htdocs\careermove\vendor\spatie\laravel-backup\src\Commands\BackupCommand.php(58): Spatie\Backup\Tasks\Backup\BackupJob->run() #6 C:\xampp\htdocs\careermove\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php(36): Spatie\Backup\Commands\BackupCommand->handle() #7 C:\xampp\htdocs\careermove\vendor\laravel\framework\src\Illuminate\Container\Util.php(41): Illuminate\Container\BoundMethod::Illuminate\Container{closure}() #8 C:\xampp\htdocs\careermove\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure(Object(Closure)) #9 C:\xampp\htdocs\careermove\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure)) #10 C:\xampp\htdocs\careermove\vendor\laravel\framework\src\Illuminate\Container\Container.php(653): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL) #11 C:\xampp\htdocs\careermove\vendor\laravel\framework\src\Illuminate\Console\Command.php(171): Illuminate\Container\Container->call(Array) #12 C:\xampp\htdocs\careermove\vendor\symfony\console\Command\Command.php(291): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle)) #13 C:\xampp\htdocs\careermove\vendor\laravel\framework\src\Illuminate\Console\Command.php(156): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle)) #14 C:\xampp\htdocs\careermove\vendor\spatie\laravel-backup\src\Commands\BaseCommand.php(28): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 C:\xampp\htdocs\careermove\vendor\symfony\console\Application.php(989): Spatie\Backup\Commands\BaseCommand->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 C:\xampp\htdocs\careermove\vendor\symfony\console\Application.php(299): Symfony\Component\Console\Application->doRunCommand(Object(Spatie\Backup\Commands\BackupCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 C:\xampp\htdocs\careermove\vendor\symfony\console\Application.php(171): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 C:\xampp\htdocs\careermove\vendor\laravel\framework\src\Illuminate\Console\Application.php(102): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 C:\xampp\htdocs\careermove\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(129): Illuminate\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #20 C:\xampp\htdocs\careermove\artisan(37): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #21

How can I solve this? Please help

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文