Error 500 after (OJS on updating galley

I´m facing a trouble while attemping to create a new galley: system returns Status Code: 500 Internal Server Error.
This behaivor starts after updating from OJS to

PHP Version: 7.4.22
Error Log:
[negotiation:error] [pid 8476] [client :50788] AH00690: no acceptable variant: /home/webmaster/public_html/index, referer:*****/index.php/index/user/profile

Any idea to solve this?

Best regards,

Hi Victor,

This error is not related to OJS code, but to Apache — specifically to mod_negotiation module. Unfortunately, I can’t point you to the right direction, but I’d like to explore some ideas.

Do you have a .htaccess in your domain root? What are its contents, if you do?


Hi, here i found this line in PHP log:

[27-Aug-2021 15:40:48 UTC] PHP Fatal error: Uncaught PDOException: SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint “publication_galleys_pkey”
DETALLE: Key (galley_id)=(91) already exists. in ***/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:115

It is fired after the same action, upload galley.