Hello. Anyone running Kirby on NearlyFreeSpeech.net hosting? I’ve tried installing the starterkit with no success. The server is running PHP 8.1, the site is in the root “public” folder, and all folders are set with 755 permissions and files with 664. There is nothing else on the server except for the starterkit. This is also a fresh install of the starterkit with no additions. In the .htaccess file I’ve tried turning on RewriteBase / with no change. When I visit the site I get the Kirby CMS Debugger with the following message:
Kirby \ Exception \ PermissionException (error.permission)
The accounts directory could not be created
If I add index.php to the URL, Josefine Neumann, singer/songwriter from Long Beach, CA, I get the starterkit with the menu and footer, but with an Error message. “Error This page cannot be found ” in the body area. Clicking a link, like Photography, gives me the following error:
Kirby \ Exception \ PermissionException (error.permission)
The accounts directory could not be created.
Permissions is one thing, the other thing is file ownership. For the permissions to be sufficient, the files need to be owned by the webserver user (usually www-data).
It doesn’t look like nearlyfreespeech.net allows that (NearlyFreeSpeech.NET Member Login) nor do I know what it would need to be switched to. (I’ve installed a lot of CMSs in the past and have never needed to use any chown commands—don’t know if there’s something at nearlyfreespeech.net that’s the issue.)
Well, the problem is definitely that Kirby cannot create a new folder accounts inside the /site folder, because the parent folder is not writable. In the same way, if you visit /panel, you get the error message that the media folder cannot be created.
In cases like that, you have two options:
Set the permissions to 777/666, so anybody can do anything. This is, however, not at all recommended.
Ssh into the webspace and change file ownership.
Never used their service, and they only seem to offer support on special paid plans. Everything else is left to you as user.
Thanks! And file ownership should be www-data? (Server is Apache 2.4) When I check ownership with Transmit, both the owner and group are currently listed as josefine. From what I understand, changing file ownership isn’t allowed, though I’ve seen in forums here and at nearlyfreespeech.net that people are running Kirby there—so there has to be a solution out there that someone’s found. Thanks for your help.
I use Kirby with NFSN hosting, it’s extremely finicky.
I needed to SSH into my account and CHMOD everything to 777. I know it’s not recommended but every other setting does not work.
Also my domain is with Cloudflare, and the Kirby panel breaks completely if I try to access it via my own domain name. It’s fine if I access it via {my_domain}.nfshost.com
Nobody could tell me what’s wrong, but I live with those annoyances because Nearlyfreespeech is cheap as balls for a low traffic personal site.