Siddhi Jagtap Posted October 4, 2021 Share Posted October 4, 2021 Hello All, I am trying to migrate my website smoothly from dev to prod. I followed this process: Old Server: Download the database export. Download the site folder. New Server: Install Processwire from scratch. Was able to get through. Delete the site folder and Empty the database. Upload the site folder from the old host. Import the database from the old host. Empty site/assets/cache folder and also dropped the caches table from database. Update the config.php where necessary (database credentials, etc.). Now when I open my admin panel or website, it gives a whole page of these errors: Warning: fopen(/var/www/html/GF_website/processwire-dev/site/assets/logs/exceptions.txt): failed to open stream: Permission denied in /var/www/html/GF_website/processwire-dev/wire/core/FileLog.php on line 164 Fatal error: Exception: Unable to create directory /var/www/html/GF_website/processwire-dev/site/assets/cache/FileCompiler/site/modules/ (in /var/www/html/GF_website/processwire-dev/wire/core/FileCompiler.php line 239) #0 /var/www/html/GF_website/processwire-dev/wire/core/FileCompiler.php(1068): ProcessWire\FileCompiler->initTargetPath() #1 /var/www/html/GF_website/processwire-dev/wire/core/ProcessWire.php(808): ProcessWire\FileCompiler->maintenance() #2 /var/www/html/GF_website/processwire-dev/wire/core/Wire.php(417): ProcessWire\ProcessWire->___finished(Array) #3 /var/www/html/GF_website/processwire-dev/wire/core/WireHooks.php(951): ProcessWire\Wire->_callMethod('___finished', Array) #4 /var/www/html/GF_website/processwire-dev/wire/core/Wire.php(485): ProcessWire\WireHooks->runHooks(Object(ProcessWire\ProcessWire), 'finished', Array) #5 /var/www/html/GF_website/processwire-dev/wire/core/ProcessWire.php(885): ProcessWire\Wire->__call('finished', Array) #6 /var/www/html/GF_website/processwire-dev/wire/core/ProcessWire.ph in /var/www/html/GF_website/processwire-dev/index.php on line 64 Hey now… Error: Exception: Unable to create directory /site/modules/ (in wire/core/FileCompiler.php line 239) Not sure what I did wrong. Any help is appreciated. Thank you. Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now