404 Not Found after the initial installation (every time)

Hello,

I’m running the latest on Ubuntu 20.04/Apache. I also have a previous v4 instance running on the same server just fine every time I install either via unzip or git (per your docs) I end up with the same 404 Not found error.

Are there any tips to point me in the right direction?

Hi,

Are there any error in the web server error logs?

Thanks, forgot to add the log messages:

[Mon Aug 16 13:54:55.112845 2021] [mpm_prefork:notice] [pid 25388] AH00169: caught SIGTERM, shutting down
PHP Warning: Module ‘imap’ already loaded in Unknown on line 0
[Mon Aug 16 13:55:13.976968 2021] [mpm_prefork:notice] [pid 46367] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1j configured – resuming normal operations
[Mon Aug 16 13:55:13.977293 2021] [core:notice] [pid 46367] AH00094: Command line: ‘/usr/sbin/apache2’

BTW, that was an excerpt from the main apache error log. The actual IN apache access/error logs show 0 bytes and have no content at all even though the proper information is detailed in the sites-available conf file. The same is true for my current working v4 instance on the same server.

@david do you have any suggestions?

@CTG

have you followed any of the guides? it sounds like apache doc root isn’t configured / pointing to the right location?

Yes, it’s a simple environment and just as a test, I took my v4 instance and copied it into the new folder in the document root where I installed v5 into and it works so I know Apache seems to be OK with it. Also, I get the initial setup wizard but as soon as I click the finish or apply (can’t remember the button syntax) the screen just jumps to the 404.

I do notice that the info I enter in the setup form does get written to the .env file.

Thanks