Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Php issue on backup restore

Started by Logan 5 years ago · 0 replies · 546 views
5 years ago

Hello,

I have made several backups of a simple personal website I made a couple years ago now. I am attempting to migrate it to the official docker-grav container from a VPS using the backup feature in the admin panel or git.

But it's not working, I get the following error no matter which backup I use: Old from when I first made the site, new and fully updated, or if I use git.

This is the error message:

PHP
Fatal error: Uncaught RuntimeException: 
Creating directory failed for /var/www/html/cache/compiled/files/b296ac48b18c22fb9ad19958ded5d09f.yaml.php in /var/www/html/vendor/rockettheme/toolbox/File/src/AbstractFile.php:343 
Stack trace: 
#0 /var/www/html/vendor/rockettheme/toolbox/File/src/PhpFile.php(41): RocketTheme\Toolbox\File\AbstractFile->save(Array) 
#1 /var/www/html/system/src/Grav/Common/File/CompiledFile.php(76): RocketTheme\Toolbox\File\PhpFile->save(Array) 
#2 /var/www/html/system/src/Grav/Common/Config/Setup.php(278): Grav\Common\File\CompiledYamlFile->content() 
#3 /var/www/html/system/src/Grav/Common/Service/ConfigServiceProvider.php(39): Grav\Common\Config\Setup->init() 
#4 /var/www/html/vendor/pimple/pimple/src/Pimple/Container.php(118): Grav\Common\Service\ConfigServiceProvider->Grav\Common\Service\{closure}(Object(Grav\Common\Grav)) 
#5 /var/www/html/system/src/Grav/Common/Grav.php(203): Pimple\Container->offsetGet('setup') 
#6 /var/www/html/system/src/Grav/Common/Grav.php(244): Grav\Common\Grav->setup() 
#7 /var/ in /var/www/html/system/src/Grav/Common/File/CompiledFile.php on line 91

I'm relatively new to grav (haven't done anything except make my simple resume site), have zero experience with php and relatively little experience with docker or apache (learning every day though!).

Any assistance would be appreciated, thanks!

Edit: Spaced out the code block.

👍 1

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 53 9 hours ago
Support · by Anna, 3 days ago
2 59 12 hours ago
Support · by Justin Young, 13 hours ago
1 30 13 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 56 5 days ago