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.

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 · 685 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 Jerry Hunt, 4 days ago
2 101 16 hours ago
General · by pamtbaau, 22 hours ago
1 68 21 hours ago
General · by Andy Miller, 1 day ago
0 53 1 day ago
General · by Marcel, 12 months ago
6 361 5 days ago
General · by Duc , 6 days ago
3 49 6 days ago