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

Blank page after moving to a new server, error log attached, please help

Solved by Jose View solution

Started by Jose 7 years ago · 1 replies · 815 views
7 years ago

Hello,
I moved my VPS to other server. On old server GRAV website was working, but not in the new one. Other PHP/MySQL CMS websites are working fine but the only GRAV website is not working, please help, following are the errors from log. Sorry but I am not an expert in these issues, thanks a lot.

[Mon Sep 02 07:04:55.861309 2019] [fcgid:warn] [pid 10714] [client IP:60230] mod_fcgid: stderr: PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Opening file for writing failed on error ' in /home/account/public_html/vendor/rockettheme/toolbox/File/src/File.php:198
[Mon Sep 02 07:04:55.861376 2019] [fcgid:warn] [pid 10714] [client IP:60230] mod_fcgid: stderr: Stack trace:
[Mon Sep 02 07:04:55.861385 2019] [fcgid:warn] [pid 10714] [client IP:60230] mod_fcgid: stderr: #0 /home/account/public_html/vendor/rockettheme/toolbox/File/src/File.php(319): RocketTheme\Toolbox\File\File->lock()
[Mon Sep 02 07:04:55.861392 2019] [fcgid:warn] [pid 10714] [client IP:60230] mod_fcgid: stderr: #1 /home/account/public_html/vendor/rockettheme/toolbox/File/src/PhpFile.php(31): RocketTheme\Toolbox\File\File->save(Array)
[Mon Sep 02 07:04:55.861400 2019] [fcgid:warn] [pid 10714] [client IP:60230] mod_fcgid: stderr: #2 /home/account/public_html/system/src/Grav/Common/Config/CompiledBase.php(253): RocketTheme\Toolbox\File\PhpFile->save(Array)
[Mon Sep 02 07:04:55.861408 2019] [fcgid:warn] [pid 10714] [client IP:60230] mod_fcgid: stderr: #3 /home/account/public_html/system/src/Grav/Common/Config/CompiledBase.php(116): Grav\Common\Config\CompiledBase->saveCompiledFile('/home/apartamen...')
[Mon Sep 02 07:04:55.861415 2019] [fcgid:warn] [pid 10714] [client IP:60230] mod_fcgid: stderr: #4 /home/account/public_html/system/src/Grav/Common/Service/ConfigServiceProvider.php(73): Grav\Common\Config\CompiledBase->load()
[Mon Sep 02 07:04:55.861423 2019] [fcgid:warn] [pid 10714] [client IP:60230] mod_fcgid: stderr: #5 /home/account/public_html/system/src/Grav/Common/Service/ConfigServiceProvider.ph in /home/account/public_html/vendor/rockettheme/toolbox/File/src/File.php on line 198

5 years ago Solution

Hello, it is a permission issue, it is solved as the documentation points:

TXT
[root@vps public_html]# 
chgrp -R apache .
find . -type f | xargs chmod 664
find ./bin -type f | xargs chmod 775
find . -type d | xargs chmod 775
find . -type d | xargs chmod +s
umask 0002

Regards

👍 1

Suggested topics

Topic Participants Replies Views Activity
General · by jean-louis67, 3 weeks ago
2 308 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 310 3 weeks ago
General · by Veehem, 4 weeks ago
0 263 4 weeks ago
General · by milkboy, 4 weeks ago
0 264 4 weeks ago
General · by ian russell, 1 month ago
2 335 1 month ago