MODX Setup cannot continue

I’ve had to setup an entirely new server, but it’s not going without its struggles.
Now I’m at the point that I’ve got things in place — PHP 8.4 installed, MariaDB setup, domains and SSL working, etc. — I wanted to install MODX 3.0.5 for a first test run (as it’s going to be a dev server).

I’ve uploaded the advanced version and in the core/ folder made sure the cache, config, export and packages folders were all writeable.

But as I go to the setup/ URL, I immediately get the fatal error:
FATAL ERROR: MODX Setup cannot continue.
Make sure your [cache folder] directory exists and is writable by the PHP process.

On the old server I’ve used, it’s always worked this way. So I don’t see why it wouldn’t now.

I’m leaning towards a rights issue somewhere, but even with 777 rights, “the wrong user/group” shouldn’t be a factor, right?

I’m trying to get MODX 3.0.5-advanced installed on an AlmaLinux 9.4 server with Apache 2.4.57 running. Let me know, if you need any additional information.

Maybe try the Traditional Installation Package?

Unfortunately, that doesn’t change anything. It has the same folders that seemingly don’t want to play along. Although it still seems weird that there’s no apparent reason as to why that’s happening. Like I said, the folder should have the rights to do everything. So why it won’t recognize it as such is the mystery to me.

Found the issue: the server had SELinux running and it was blocking the whole thing. After disabling it temporarily, the installation went smoothly.

Still some issues with folders not being created, but that’s a rights thing that is easily fixed.

It might be worth looking into the LOADS of deprecated warnings, though. Nothing on 2.8.7 (I chose to do that install first, because of it and then upgrade), but in 3.0.5, it was full of them.

1 Like

Another issue I had, though, was that the console stayed empty, while installing extras. That way, it never seemed to finish the installations. In the list of packages, it wouldn’t show as installed until I refreshed the page either.

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.