Internal Server Error 500

When i upgrade ojs 3.0 that error display

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@atharvapub.net to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
<<<<<<<<
Please help me

my database size 21.89 MB

Hi @PATEL_SANJAY

Check your webserver error log and check what it says. It will help to debug what is going on in upgrade attempt process.
Usually this file is located in this path:
/var/log/apache2/error.log

Regards,
Israel Cefrin
Public Knowledge Project Team

in publice_html dir i fine this path???

but i upgrade old journal that database size 12 mb this journal successfully update

[14-Oct-2017 15:54:57 UTC] PHP Warning: assert(): Assertion failed in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php on line 380
[14-Oct-2017 15:54:57 UTC] PHP Warning: copy(/home/umeshstepup123/public_html/ojs/files/journals/1//articles/395/attachment/395-1-1027-1-13-20160213.docx): failed to open stream: No such file or directory in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/file/FileManager.inc.php on line 159
[14-Oct-2017 15:54:57 UTC] PHP Warning: assert(): Assertion failed in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php on line 380
[14-Oct-2017 15:54:57 UTC] PHP Warning: copy(/home/umeshstepup123/public_html/ojs/files/journals/1//articles/395/attachment/395-1-1023-1-13-20160213.jpg): failed to open stream: No such file or directory in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/file/FileManager.inc.php on line 159
[14-Oct-2017 15:54:57 UTC] PHP Warning: assert(): Assertion failed in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php on line 380
[14-Oct-2017 15:54:57 UTC] PHP Warning: copy(/home/umeshstepup123/public_html/ojs/files/journals/1//articles/395/attachment/395-1-1024-1-13-20160213.jpg): failed to open stream: No such file or directory in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/file/FileManager.inc.php on line 159
[14-Oct-2017 15:54:57 UTC] PHP Warning: assert(): Assertion failed in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php on line 380
[14-Oct-2017 15:54:57 UTC] PHP Warning: copy(/home/umeshstepup123/public_html/ojs/files/journals/1//articles/395/attachment/395-1-1025-1-13-20160213.jpg): failed to open stream: No such file or directory in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/file/FileManager.inc.php on line 159
[14-Oct-2017 15:54:57 UTC] PHP Warning: assert(): Assertion failed in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php on line 380
[14-Oct-2017 15:54:57 UTC] PHP Warning: copy(/home/umeshstepup123/public_html/ojs/files/journals/1//articles/395/attachment/395-1-1026-1-13-20160213.jpg): failed to open stream: No such file or directory in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/file/FileManager.inc.php on line 159
[14-Oct-2017 15:54:57 UTC] PHP Warning: assert(): Assertion failed in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php on line 380
[14-Oct-2017 15:54:57 UTC] PHP Warning: copy(/home/umeshstepup123/public_html/ojs/files/journals/1//articles/395/attachment/395-1-1028-1-13-20160213.jpg): failed to open stream: No such file or directory in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/file/FileManager.inc.php on line 159

Hi @PATEL_SANJAY

Following thread is about a similar error “Assertion failed” in upgrade process:

The error log message:

copy(/home/umeshstepup123/public_html/ojs/files/journals/1//articles/395/attachment/395-1-1023-1-13-20160213.jpg): failed to open stream: No such file or directory in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/file/FileManager.inc.php on line 159

It seems not to be related to upgrade itself, but folder permission. It is a JPG file which is not allowed be read. Could you verify if it is with right reading permissions? And it’s parent folders as well?

Regards,
Israel Cefrin
Public Knowledge Project Team

i give my sever userid and password are slove this problem replay on my email id
patel.l.sanjay12188@gmail.com

this problem solved when i change in xml file

i implement this query in mysqli SELECT a.article_id FROM articles a INNER JOIN sections s ON (a.section_id = s.section_id) WHERE s.section_id IS NULL but no result display

There are no readable files in this directory tree. Are safe mode or open_basedir active?
now display this type error

[15-Oct-2017 11:57:27 UTC] PHP Warning: assert(): Assertion failed in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php on line 380
[15-Oct-2017 11:57:27 UTC] PHP Warning: copy(/home/umeshstepup123/public_html/ojs/files/journals/2//articles/375/attachment/375-1-955-1-13-20160121.jpg): failed to open stream: No such file or directory in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/file/FileManager.inc.php on line 159
[15-Oct-2017 11:57:27 UTC] PHP Warning: assert(): Assertion failed in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php on line 380
[15-Oct-2017 11:57:27 UTC] PHP Warning: copy(/home/umeshstepup123/public_html/ojs/files/journals/2//articles/512/attachment/512-1-1370-1-13-20160614.docx): failed to open stream: No such file or directory in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/file/FileManager.inc.php on line 159
[15-Oct-2017 11:57:27 UTC] PHP Warning: assert(): Assertion failed in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php on line 380
[15-Oct-2017 11:57:27 UTC] PHP Warning: copy(/home/umeshstepup123/public_html/ojs/files/journals/2//articles/504/attachment/504-1-1361-1-13-20160614.docx): failed to open stream: No such file or directory in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/file/FileManager.inc.php on line 159
[15-Oct-2017 11:57:27 UTC] PHP Warning: assert(): Assertion failed in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php on line 380
[15-Oct-2017 11:57:27 UTC] PHP Warning: copy(/home/umeshstepup123/public_html/ojs/files/journals/2//articles/495/attachment/495-1-1337-1-13-20160601.docx): failed to open stream: No such file or directory in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/file/FileManager.inc.php on line 159
[15-Oct-2017 11:57:27 UTC] PHP Warning: assert(): Assertion failed in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php on line 380
[15-Oct-2017 11:57:27 UTC] PHP Warning: copy(/home/umeshstepup123/public_html/ojs/files/journals/2//articles/502/attachment/502-1-1357-1-13-20160607.docx): failed to open stream: No such file or directory in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/file/FileManager.inc.php on line 159
[15-Oct-2017 11:57:27 UTC] PHP Warning: assert(): Assertion failed in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php on line 380
[15-Oct-2017 11:57:27 UTC] PHP Warning: copy(/home/umeshstepup123/public_html/ojs/files/journals/2//articles/409/attachment/409-1-1086-1-13-20160308.docx): failed to open stream: No such file or directory in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/file/FileManager.inc.php on line 159
[15-Oct-2017 11:57:27 UTC] PHP Warning: assert(): Assertion failed in /home/umeshstepup123/public_html/ojs3/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php on line 380
[15-Oct-2017 11:57:27 UTC] ojs2: There are no readable files in this directory tree. Are safe mode or open_basedir active?

Hi @PATEL_SANJAY

Your situation is pretty similiar to this thread:

Please take a look in solution provided and test if it works for you too.

Regards,
Israel Cefrin
Public Knowledge Project Team

Hi. We use the OJS version 3.1.1.4. Recently we cannot download our files in the OJS. When we want to download MS Word files in the journal dashboard we face this error " 500 Internal Server Error". Also, when we want to download the published articles from the journal website we face another error “PDF.js v1.8.188 (build: ad1023ff), Message: stream must have data”. I take a snapshot of this issue in the following picture. Can you help me to solve this problem?

Untitled

Hi @Amirreza_Talaiekhoza,

See: 500 Internal Server Error in OJS

It’s best to just post your questions once, to avoid cluttering the forum.

Thanks,
Alec Smecher
Public Knowledge Project Team