404 Error After upgrade

Hello all,

I am seeking to upgrade a 2.4.8.1 OJS install to 3.1.1.2, currently off-site on a XAMPP server running PHP 5.6 (same as my web hosting).

I’m able to upgrade the database without fault, but I receive a 404 error when I try to access the site from my browser. I’ve seen a handful of such errors posted here, and even when using fresh DB, fresh files_dir, fresh install as recommended in those threads, I still get the error.

The PHP error log is clean besides the 404, but I notice it’s logged as ojs2 could it be the reason for the error? if so, what am I missing?

[Mon Aug 06 20:41:56.766835 2018] [:error] [pid 7952:tid 1576] [client ::1:1385] ojs2: 404 Not Found

Hi @toma

Given you are running locally I would suggest you initially to check your local webserver path (if a folder , i.e.: http://localhost/foldername). And double check that you are attempting to load correct one.

Best,
Israel

Hi @israel.cefrin,

Yes, of course, I am using the correct path.
Pointing to the directory redirects to /index.php/journal name as it should.

Everything else is certainly in its place, I like them tidy!

Hi @toma

Is this only error on your log? Which script is right before it?

Best,
Israel

@israel.cefrin correct, not a peep on the error log, this is what’s immediately above:

[Mon Aug 06 19:14:39.595967 2018] [mpm_winnt:notice] [pid 7952:tid 140] AH00354: Child: Starting 150 worker threads.

Hi @toma

In that case, given it is a local install I would suggest re-doing install/migration in a different folder and database to check if same error occurs. It would get a easier debugging (comparing)

Best,
Israel

@israel.cefrin, I am definitely willing to try that; I did try to upload the database to my webhost, and I had the same error - unfortunately I cannot access the error logs over there (which is why I am running the conversion locally) so it did not provide me any new clues.

Hello again @israel.cefrin,

I figured I would use the php front in order to complete the migration this time, and unfortunately I received the same error.

[Fri Aug 10 14:43:03.134874 2018] [:error] [pid 7952:tid 1608] [client ::1:8977] ojs2: 404 Not Found, referer: http://localhost/v3/index.php/index/install/installUpgrade

Hi @toma

have you attempt perform an upgrade on CLI terminal mode with php tools/upgrade.php upgrade?

Best,
Israel