500 error on home, panel working, debug mode does nothing

#1

Hi there,

I’ve uploadded a kirby 3 site (which is in development), to a server.

(the ul process is actually git pushing to a bare repo, and then a post-receive folder which checks out the site htdocs/)

Locally everything works.

On the server, the panel works, but not the site, I get a “This page is currently offline due to an unexpected error. We are very sorry for the inconvenience and will fix it as soon as possible.” error.

Debug is true as in:

return [
	'debug' => true
];

…but no debug output appears

Default .htaccess is there.

This uses apache with php 7.2 and all required modules are installed.

How can I troubleshoot further?

Thanks

0 Likes

#2

Nothing in the server php error logs?

0 Likes

#3

This server logs to a single php.log file which seems empty.

0 Likes

#4

Permissions seem fine, 644 /755.

0 Likes

#5

First, I’d deactivate Whoops in the config. Then try setting error display to true in your php.ini.

0 Likes

#6

Hm, ok so config was wrongly written.
Once fixed I AM getting debug error:

The home page does not exist

Is it refering to content? template?

0 Likes

#7

Is there a home folder? Or if not, a config setting that defines another folder as the homepage?

1 Like

#8

Now there is and everything works.
Sorry, this seems a basic mistake on my side regarding the content folder.

Thank you

0 Likes

#9

Perhaps it may be useful to someone to mention that the reason behind my mistake is that I gitignored the content folder, and after pushing, I recreated it by terminal via ssh on the remote server, but … well… forgot home, error, site…
Thanks again

0 Likes