"404 not found"-error message after migration vom 2.4 to 3.1

Hi all,

we successfully migrated five journals from 2.4 to 3.1. Unfortunately our last journal causes major troubles: after successful migration (via command line) we get a “404 Not Found”, instead of the index page of our journal.

The Apache configuration seems to be ok, at least there is no difference to the other journals.
In the apache log files some error messages are shown:

[Thu Feb 22 10:00:23.075043 2018] [:error] [pid 16228] [client 10.153.124.104:50593] ojs2: DB Error: Unknown column ‘context_id’ in ‘on clause’, referer: https://gthj-ojs3test.ub.uni-muenchen.de/issue/view/301
[Thu Feb 22 10:01:08.940468 2018] [:error] [pid 16311] [client 10.153.124.104:50599] PHP Warning: Declaration of InstallHandler::validate($request) should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in /opt/ojs-gthj/lib/pkp/pages/install/InstallHandler.inc.php on line 0, referer: https://gthj-ojs3test.ub.uni-muenchen.de/issue/view/301
[Thu Feb 22 10:01:08.945815 2018] [:error] [pid 16311] [client 10.153.124.104:50599] ojs2: DB Error: Table ‘ojs_gthj.navigation_menus’ doesn’t exist, referer: https://gthj-ojs3test.ub.uni-muenchen.de/issue/view/301
[Thu Feb 22 10:03:02.827451 2018] [:error] [pid 16102] [client 10.153.124.104:50611] PHP Warning: Declaration of InstallHandler::validate($request) should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in /opt/ojs-gthj/lib/pkp/pages/install/InstallHandler.inc.php on line 0, referer: https://gthj-ojs3test.ub.uni-muenchen.de/issue/view/301
[Thu Feb 22 10:03:30.696621 2018] [:error] [pid 16232] [client 10.153.124.104:50623] ojs2: 404 Not Found, referer: https://gthj-ojs3test.ub.uni-muenchen.de/issue/view/301

Does anybody have an idea, what is the problem?

Thanks,
Anna

Hi @akku

All journals have its own installation?
The warnings are not so important, but it seems like something is wrong with the database – as it was not totally successfully upgraded. Did you see any warnings during the upgrade process? How did you do the DB upgrade, via a command line on using the UI?

Best,
Bozana

HI Bozana,

thank you for your reply. Each journal has its own installation.
We also think, that something with the database is not okay, but we can’t locate the error. I did the upgrade first via the command line and next time via the GUI, then I got this error message ojs_upgrade_db_error

What is also strange: after some trials I received access to a “general” ojs installation and gthj was the only journal which was implemented. Unfortunatly my colleagues still only received error messages.

liebe Grüße,
Anna

Hi Bozana,
I just tried a next upgrade via command line and got the following php warnings:

PHP Warning: Declaration of SubmissionFileDAO::fromRow($row) should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /opt/ojs-gthj/classes/article/SubmissionFileDAO.inc.php on line 23

Warning: Declaration of SubmissionFileDAO::fromRow($row) should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /opt/ojs-gthj/classes/article/SubmissionFileDAO.inc.php on line 23

[code: Installer Installer::migrateFiles]
WARNING: Unable to find a match for “4986-5459-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/4986/”. Skipping this file.
WARNING: Unable to find a match for “4986-5460-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/4986/”. Skipping this file.
WARNING: Unable to find a match for “5010-6181-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5010/”. Skipping this file.
WARNING: Unable to find a match for “5010-6182-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5010/”. Skipping this file.
WARNING: Unable to find a match for “5010-6191-3-LE.docx” in “/opt/ojs-gthj-files/journals/12//articles/5010/”. Skipping this file.
WARNING: Unable to find a match for “5010-6239-2-PB.pdf” in “/opt/ojs-gthj-files/journals/12//articles/5010/”. Skipping this file.
WARNING: Unable to find a match for “5011-6183-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5011/”. Skipping this file.
WARNING: Unable to find a match for “5011-6184-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5011/”. Skipping this file.
WARNING: Unable to find a match for “5011-6198-8-LE.docx” in “/opt/ojs-gthj-files/journals/12//articles/5011/”. Skipping this file.
WARNING: Unable to find a match for “5011-6261-2-PB.pdf” in “/opt/ojs-gthj-files/journals/12//articles/5011/”. Skipping this file.
WARNING: Unable to find a match for “5011-6195-6-CE.docx” in “/opt/ojs-gthj-files/journals/12//articles/5011/”. Skipping this file.
WARNING: Unable to find a match for “5011-6195-5-CE.doc” in “/opt/ojs-gthj-files/journals/12//articles/5011/”. Skipping this file.
WARNING: Unable to find a match for “5011-6195-4-CE.doc” in “/opt/ojs-gthj-files/journals/12//articles/5011/”. Skipping this file.
WARNING: Unable to find a match for “5011-6195-3-CE.docx” in “/opt/ojs-gthj-files/journals/12//articles/5011/”. Skipping this file.
WARNING: Unable to find a match for “5011-6195-2-CE.docx” in “/opt/ojs-gthj-files/journals/12//articles/5011/”. Skipping this file.
WARNING: Unable to find a match for “5011-6195-1-CE.doc” in “/opt/ojs-gthj-files/journals/12//articles/5011/”. Skipping this file.
WARNING: Unable to find a match for “5012-6185-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5012/”. Skipping this file.
WARNING: Unable to find a match for “5012-6186-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5012/”. Skipping this file.
WARNING: Unable to find a match for “5012-6228-1-CE.docx” in “/opt/ojs-gthj-files/journals/12//articles/5012/”. Skipping this file.
WARNING: Unable to find a match for “5012-6229-3-LE.docx” in “/opt/ojs-gthj-files/journals/12//articles/5012/”. Skipping this file.
WARNING: Unable to find a match for “5012-6262-2-PB.pdf” in “/opt/ojs-gthj-files/journals/12//articles/5012/”. Skipping this file.
WARNING: Unable to find a match for “5012-6227-1-CE.docx” in “/opt/ojs-gthj-files/journals/12//articles/5012/”. Skipping this file.
WARNING: Unable to find a match for “5013-6187-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5013/”. Skipping this file.
WARNING: Unable to find a match for “5013-6188-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5013/”. Skipping this file.
WARNING: Unable to find a match for “5013-6242-2-LE.docx” in “/opt/ojs-gthj-files/journals/12//articles/5013/”. Skipping this file.
WARNING: Unable to find a match for “5013-6263-2-PB.pdf” in “/opt/ojs-gthj-files/journals/12//articles/5013/”. Skipping this file.
WARNING: Unable to find a match for “5013-6230-1-CE.docx” in “/opt/ojs-gthj-files/journals/12//articles/5013/”. Skipping this file.
WARNING: Unable to find a match for “5014-6189-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5014/”. Skipping this file.
WARNING: Unable to find a match for “5014-6190-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5014/”. Skipping this file.
WARNING: Unable to find a match for “5014-6244-2-LE.docx” in “/opt/ojs-gthj-files/journals/12//articles/5014/”. Skipping this file.
WARNING: Unable to find a match for “5014-6245-2-PB.pdf” in “/opt/ojs-gthj-files/journals/12//articles/5014/”. Skipping this file.
WARNING: Unable to find a match for “5014-6223-1-SP.docx” in “/opt/ojs-gthj-files/journals/12//articles/5014/”. Skipping this file.
WARNING: Unable to find a match for “5014-6224-1-SP.docx” in “/opt/ojs-gthj-files/journals/12//articles/5014/”. Skipping this file.
WARNING: Unable to find a match for “5014-6225-1-CE.docx” in “/opt/ojs-gthj-files/journals/12//articles/5014/”. Skipping this file.
WARNING: Unable to find a match for “5015-6192-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5015/”. Skipping this file.
WARNING: Unable to find a match for “5015-6193-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5015/”. Skipping this file.
WARNING: Unable to find a match for “5015-6231-1-CE.docx” in “/opt/ojs-gthj-files/journals/12//articles/5015/”. Skipping this file.
WARNING: Unable to find a match for “5019-6246-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5019/”. Skipping this file.
WARNING: Unable to find a match for “5019-6247-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5019/”. Skipping this file.
WARNING: Unable to find a match for “5019-6250-4-LE.docx” in “/opt/ojs-gthj-files/journals/12//articles/5019/”. Skipping this file.
WARNING: Unable to find a match for “5019-6264-2-PB.pdf” in “/opt/ojs-gthj-files/journals/12//articles/5019/”. Skipping this file.
WARNING: Unable to find a match for “5020-6248-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5020/”. Skipping this file.
WARNING: Unable to find a match for “5020-6249-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5020/”. Skipping this file.
WARNING: Unable to find a match for “5020-6252-3-PB.pdf” in “/opt/ojs-gthj-files/journals/12//articles/5020/”. Skipping this file.
WARNING: Unable to find a match for “5020-6253-2-LE.docx” in “/opt/ojs-gthj-files/journals/12//articles/5020/”. Skipping this file.
WARNING: Unable to find a match for “5021-6254-1-SM.pdf” in “/opt/ojs-gthj-files/journals/12//articles/5021/”. Skipping this file.
WARNING: Unable to find a match for “5021-6255-1-RV.pdf” in “/opt/ojs-gthj-files/journals/12//articles/5021/”. Skipping this file.
WARNING: Unable to find a match for “5021-6256-4-PB.pdf” in “/opt/ojs-gthj-files/journals/12//articles/5021/”. Skipping this file.
WARNING: Unable to find a match for “5021-6265-1-LE.docx” in “/opt/ojs-gthj-files/journals/12//articles/5021/”. Skipping this file.
WARNING: Unable to find a match for “5024-6266-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5024/”. Skipping this file.
WARNING: Unable to find a match for “5024-6267-2-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5024/”. Skipping this file.
WARNING: Unable to find a match for “5024-6267-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5024/”. Skipping this file.
WARNING: Unable to find a match for “5024-6281-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5024/”. Skipping this file.
WARNING: Unable to find a match for “5024-6304-1-PB.pdf” in “/opt/ojs-gthj-files/journals/12//articles/5024/”. Skipping this file.
WARNING: Unable to find a match for “5024-6287-1-SP.docx” in “/opt/ojs-gthj-files/journals/12//articles/5024/”. Skipping this file.
WARNING: Unable to find a match for “5024-6290-1-SP.docx” in “/opt/ojs-gthj-files/journals/12//articles/5024/”. Skipping this file.
WARNING: Unable to find a match for “5025-6268-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5025/”. Skipping this file.
WARNING: Unable to find a match for “5025-6269-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5025/”. Skipping this file.
WARNING: Unable to find a match for “5025-6274-1-SP.docx” in “/opt/ojs-gthj-files/journals/12//articles/5025/”. Skipping this file.
WARNING: Unable to find a match for “5027-6270-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5027/”. Skipping this file.
WARNING: Unable to find a match for “5028-6272-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5028/”. Skipping this file.
WARNING: Unable to find a match for “5028-6273-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5028/”. Skipping this file.
WARNING: Unable to find a match for “5028-6289-2-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5028/”. Skipping this file.
WARNING: Unable to find a match for “5028-6289-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5028/”. Skipping this file.
WARNING: Unable to find a match for “5029-6275-2-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5029/”. Skipping this file.
WARNING: Unable to find a match for “5029-6276-2-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5029/”. Skipping this file.
WARNING: Unable to find a match for “5029-6276-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5029/”. Skipping this file.
WARNING: Unable to find a match for “5029-6279-1-ED.docx” in “/opt/ojs-gthj-files/journals/12//articles/5029/”. Skipping this file.
WARNING: Unable to find a match for “5029-6305-1-PB.pdf” in “/opt/ojs-gthj-files/journals/12//articles/5029/”. Skipping this file.
WARNING: Unable to find a match for “5029-6280-1-AT.docx” in “/opt/ojs-gthj-files/journals/12//articles/5029/”. Skipping this file.
WARNING: Unable to find a match for “5030-6277-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5030/”. Skipping this file.
WARNING: Unable to find a match for “5030-6278-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5030/”. Skipping this file.
WARNING: Unable to find a match for “5033-6282-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5033/”. Skipping this file.
WARNING: Unable to find a match for “5033-6283-2-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5033/”. Skipping this file.
WARNING: Unable to find a match for “5033-6283-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5033/”. Skipping this file.
WARNING: Unable to find a match for “5033-6286-1-RV.pdf” in “/opt/ojs-gthj-files/journals/12//articles/5033/”. Skipping this file.
WARNING: Unable to find a match for “5033-6296-1-ED.docx” in “/opt/ojs-gthj-files/journals/12//articles/5033/”. Skipping this file.
WARNING: Unable to find a match for “5033-6306-1-PB.pdf” in “/opt/ojs-gthj-files/journals/12//articles/5033/”. Skipping this file.
WARNING: Unable to find a match for “5037-6284-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5037/”. Skipping this file.
WARNING: Unable to find a match for “5037-6285-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5037/”. Skipping this file.
WARNING: Unable to find a match for “5037-6307-1-PB.pdf” in “/opt/ojs-gthj-files/journals/12//articles/5037/”. Skipping this file.
WARNING: Unable to find a match for “5038-6291-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5038/”. Skipping this file.
WARNING: Unable to find a match for “5038-6292-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5038/”. Skipping this file.
WARNING: Unable to find a match for “5039-6299-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5039/”. Skipping this file.
WARNING: Unable to find a match for “5039-6300-2-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5039/”. Skipping this file.
WARNING: Unable to find a match for “5039-6300-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5039/”. Skipping this file.
WARNING: Unable to find a match for “5039-6301-2-ED.docx” in “/opt/ojs-gthj-files/journals/12//articles/5039/”. Skipping this file.
WARNING: Unable to find a match for “5039-6301-1-ED.docx” in “/opt/ojs-gthj-files/journals/12//articles/5039/”. Skipping this file.
WARNING: Unable to find a match for “5039-6303-1-PB.pdf” in “/opt/ojs-gthj-files/journals/12//articles/5039/”. Skipping this file.
WARNING: Unable to find a match for “5041-6308-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5041/”. Skipping this file.
WARNING: Unable to find a match for “5041-6309-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5041/”. Skipping this file.
WARNING: Unable to find a match for “5041-6316-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5041/”. Skipping this file.
WARNING: Unable to find a match for “5041-6321-2-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5041/”. Skipping this file.
WARNING: Unable to find a match for “5041-6321-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5041/”. Skipping this file.
WARNING: Unable to find a match for “5041-6328-1-ED.docx” in “/opt/ojs-gthj-files/journals/12//articles/5041/”. Skipping this file.
WARNING: Unable to find a match for “5044-6310-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5044/”. Skipping this file.
WARNING: Unable to find a match for “5044-6311-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5044/”. Skipping this file.
WARNING: Unable to find a match for “5044-6317-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5044/”. Skipping this file.
WARNING: Unable to find a match for “5044-6320-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5044/”. Skipping this file.
WARNING: Unable to find a match for “5047-6313-2-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5047/”. Skipping this file.
WARNING: Unable to find a match for “5047-6315-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5047/”. Skipping this file.
WARNING: Unable to find a match for “5047-6318-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5047/”. Skipping this file.
WARNING: Unable to find a match for “5047-6326-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5047/”. Skipping this file.
WARNING: Unable to find a match for “5048-6312-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5048/”. Skipping this file.
WARNING: Unable to find a match for “5048-6314-3-RV.odt” in “/opt/ojs-gthj-files/journals/12//articles/5048/”. Skipping this file.
WARNING: Unable to find a match for “5048-6314-2-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5048/”. Skipping this file.
WARNING: Unable to find a match for “5048-6314-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5048/”. Skipping this file.
WARNING: Unable to find a match for “5048-6319-1-RV.docx” in “/opt/ojs-gthj-files/journals/12//articles/5048/”. Skipping this file.
WARNING: Unable to find a match for “5048-6327-2-ED.odt” in “/opt/ojs-gthj-files/journals/12//articles/5048/”. Skipping this file.
WARNING: Unable to find a match for “5048-6327-1-ED.docx” in “/opt/ojs-gthj-files/journals/12//articles/5048/”. Skipping this file.
WARNING: Unable to find a match for “5049-6322-2-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5049/”. Skipping this file.
WARNING: Unable to find a match for “5050-6324-1-SM.docx” in “/opt/ojs-gthj-files/journals/12//articles/5050/”. Skipping this file.

[code: Installer Installer::convertSupplementaryFiles]
PHP Warning: copy(/opt/ojs-gthj-files/journals/12//articles/5014/attachment/5014-1-6223-1-13-20160321.docx): failed to open stream: No such file or directory in /opt/ojs-gthj/lib/pkp/classes/file/FileManager.inc.php on line 159

Warning: copy(/opt/ojs-gthj-files/journals/12//articles/5014/attachment/5014-1-6223-1-13-20160321.docx): failed to open stream: No such file or directory in /opt/ojs-gthj/lib/pkp/classes/file/FileManager.inc.php on line 159
PHP Warning: copy(/opt/ojs-gthj-files/journals/12//articles/5014/attachment/5014-1-6224-1-13-20160321.docx): failed to open stream: No such file or directory in /opt/ojs-gthj/lib/pkp/classes/file/FileManager.inc.php on line 159

Warning: copy(/opt/ojs-gthj-files/journals/12//articles/5014/attachment/5014-1-6224-1-13-20160321.docx): failed to open stream: No such file or directory in /opt/ojs-gthj/lib/pkp/classes/file/FileManager.inc.php on line 159
PHP Warning: copy(/opt/ojs-gthj-files/journals/12//articles/5025/attachment/5025-1-6274-1-13-20160719.docx): failed to open stream: No such file or directory in /opt/ojs-gthj/lib/pkp/classes/file/FileManager.inc.php on line 159

Warning: copy(/opt/ojs-gthj-files/journals/12//articles/5025/attachment/5025-1-6274-1-13-20160719.docx): failed to open stream: No such file or directory in /opt/ojs-gthj/lib/pkp/classes/file/FileManager.inc.php on line 159
PHP Warning: copy(/opt/ojs-gthj-files/journals/12//articles/5024/attachment/5024-1-6287-1-13-20161018.docx): failed to open stream: No such file or directory in /opt/ojs-gthj/lib/pkp/classes/file/FileManager.inc.php on line 159

Warning: copy(/opt/ojs-gthj-files/journals/12//articles/5024/attachment/5024-1-6287-1-13-20161018.docx): failed to open stream: No such file or directory in /opt/ojs-gthj/lib/pkp/classes/file/FileManager.inc.php on line 159
PHP Warning: copy(/opt/ojs-gthj-files/journals/12//articles/5024/attachment/5024-1-6290-1-13-20161028.docx): failed to open stream: No such file or directory in /opt/ojs-gthj/lib/pkp/classes/file/FileManager.inc.php on line 159

Warning: copy(/opt/ojs-gthj-files/journals/12//articles/5024/attachment/5024-1-6290-1-13-20161028.docx): failed to open stream: No such file or directory in /opt/ojs-gthj/lib/pkp/classes/file/FileManager.inc.php on line 159

But I can’t see any db error messages.
Does this help anything?
Thanks,
Anna

Hmmm… yes, strange…
Do you always clean the DB and start with the clean backup from OJS 2.4.x (DB and files folder) before starting an upgrade?

what do you mean: “clean” backup? I work with the newest dump, which I “fill into” the the newly created database on our new server

Yes, I mean: if you do an upgrade and it fails, then to start/test the upgrade again you would need to remove the DB and files from that failed upgrade and create a new, clean DB and files with the OJS 2.4.x backup and start a new upgrade on that data – you should not start the second upgrade on the DB and files from the upgrade that failed…

Yes, I always drop the old db and create a new db, which I “fill” with the db-dump from the old system.

:ok_hand:
And the files as well?

no, but the files didn’t change the last month

the upgrade reorders and renames the files in the files folder, thus, for every upgrade attempt you should use the copy of the original OJS 2.4.x files folder. maybe that’s why the file missing warnings above occured – because the upgrade script expects them to be at the original 2.4.x place but if they were already renamed and/or moved, it will not find them…

ok, I tried a new upgrad via GUI with new database and newly uploaded files-folder. This time I get the following notices and warnings:

nstallHandler::validate($request) should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in /opt/ojs-gthj/lib/pkp/pages/install/InstallHandler.inc.php on line 0

Notice: Only variables should be assigned by reference in /opt/ojs-gthj/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122

Notice: Only variables should be assigned by reference in /opt/ojs-gthj/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122

Notice: Only variables should be passed by reference in /opt/ojs-gthj/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 267

Notice: Only variables should be passed by reference in /opt/ojs-gthj/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 267

Warning: Declaration of SubmissionLanguageEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /opt/ojs-gthj/lib/pkp/classes/submission/SubmissionLanguageEntryDAO.inc.php on line 20

Warning: Declaration of SubmissionDisciplineEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /opt/ojs-gthj/lib/pkp/classes/submission/SubmissionDisciplineEntryDAO.inc.php on line 0

Warning: Declaration of SubmissionKeywordEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /opt/ojs-gthj/lib/pkp/classes/submission/SubmissionKeywordEntryDAO.inc.php on line 0

Warning: Declaration of SubmissionAgencyEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /opt/ojs-gthj/lib/pkp/classes/submission/SubmissionAgencyEntryDAO.inc.php on line 0

Warning: Declaration of SubmissionFileDAO::fromRow($row) should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /opt/ojs-gthj/classes/article/SubmissionFileDAO.inc.php on line 23

Notice: Only variables should be passed by reference in /opt/ojs-gthj/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 267

Notice: Only variables should be passed by reference in /opt/ojs-gthj/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 267

Notice: Only variables should be assigned by reference in /opt/ojs-gthj/lib/pkp/classes/filter/FilterHelper.inc.php on line 106

Notice: Only variables should be assigned by reference in /opt/ojs-gthj/lib/pkp/classes/filter/FilterHelper.inc.php on line 106

Warning: Cannot modify header information - headers already sent by (output started at /opt/ojs-gthj/lib/pkp/lib/adodb/adodb-xmlschema.inc.php:267) in /opt/ojs-gthj/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 863

Warning: Cannot modify header information - headers already sent by (output started at /opt/ojs-gthj/lib/pkp/lib/adodb/adodb-xmlschema.inc.php:267) in /opt/ojs-gthj/lib/pkp/classes/template/PKPTemplateManager.inc.php on line

Does this help anything?
thanks

At least something has changed, I don’t get a 404 error message anymore, but the journal index site looks quite strange and when logging in as admin, this is all I can see:

gthj_upgrade_error

I have no idea, where I am now?

Hi @akku

Hmm… Those notices and warnings do not mean anything important.
Would it be maybe possible for you to try that all again but from a command line? Sorry – I’ve never used the UI-Upgrade so I am not so familiar with that…
In the command line upgrade, if something goes wrong you can also see roughly where in the upgrade process it happens…

Sorry not to ask for that earlier :frowning:

Else, when you open that page and parallel look into the error log file, do you see any PHP error?

These are the new error messages in my log file:
[Thu Feb 22 14:20:28.474273 2018] [:error] [pid 19010] [client 10.153.124.104:53565] PHP Warning: Declaration of ContextSiteSettingsForm::fetch($request) should be compatible with Form::fetch($request, $template = NULL, $display = false) in /opt/ojs-gthj/lib/pkp/controllers/grid/admin/context/form/ContextSiteSettingsForm.inc.php on line 19, referer: https://gthj-ojs3test.ub.uni-muenchen.de/index.php/index/admin/contexts
[Thu Feb 22 14:25:54.169273 2018] [:error] [pid 19357] [client 10.153.124.104:53609] PHP Warning: Declaration of ContextGridHandler::loadData($request) should be compatible with GridHandler::loadData($request, $filter) in /opt/ojs-gthj/lib/pkp/controllers/grid/admin/context/ContextGridHandler.inc.php on line 0, referer: https://gthj-ojs3test.ub.uni-muenchen.de/index.php/index/admin/contexts
[Thu Feb 22 14:25:54.189554 2018] [:error] [pid 19357] [client 10.153.124.104:53609] PHP Warning: Declaration of ContextSiteSettingsForm::fetch($request) should be compatible with Form::fetch($request, $template = NULL, $display = false) in /opt/ojs-gthj/lib/pkp/controllers/grid/admin/context/form/ContextSiteSettingsForm.inc.php on line 19, referer: https://gthj-ojs3test.ub.uni-muenchen.de/index.php/index/admin/contexts
[Thu Feb 22 14:27:40.755878 2018] [:error] [pid 19368] [client 10.153.124.104:53625] PHP Warning: Declaration of ContextGridHandler::loadData($request) should be compatible with GridHandler::loadData($request, $filter) in /opt/ojs-gthj/lib/pkp/controllers/grid/admin/context/ContextGridHandler.inc.php on line 0, referer: https://gthj-ojs3test.ub.uni-muenchen.de/index.php/index/admin/contexts
[Thu Feb 22 14:27:40.756672 2018] [:error] [pid 19368] [client 10.153.124.104:53625] PHP Warning: Declaration of ContextSiteSettingsForm::fetch($request) should be compatible with Form::fetch($request, $template = NULL, $display = false) in /opt/ojs-gthj/lib/pkp/controllers/grid/admin/context/form/ContextSiteSettingsForm.inc.php on line 19, referer: https://gthj-ojs3test.ub.uni-muenchen.de/index.php/index/admin/contexts

I will try a new upgrade now via command line

Ah, those declaration warnings are just warnings about the syntax… An error message in the log file would be important…
When doing the upgrade via command line, the output on the command line is important, also if it is a warning…
THANKS!!!

via command line I got a lot of notices and warnings, but no error messages:

[pre-install]
[load: upgrade.xml]
[version: 3.1.0.1]

[code: Installer Installer::syncSeriesAssocType]
[data: dbscripts/xml/upgrade/2.4.0_preupdate_usageStatistics.xml (skipped)]
[data: dbscripts/xml/upgrade/2.4.0_preupdate_usageStatistics2.xml (skipped)]

[code: Installer Installer::removeReviewEntries]
[data: dbscripts/xml/upgrade/3.0.0_preupdate.xml]
PHP Notice: Only variables should be assigned by reference in /opt/ojs-gthj/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122

Notice: Only variables should be assigned by reference in /opt/ojs-gthj/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /opt/ojs-gthj/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122

Notice: Only variables should be assigned by reference in /opt/ojs-gthj/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
PHP Notice: Only variables should be assigned by reference in /opt/ojs-gthj/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122

Notice: Only variables should be assigned by reference in /opt/ojs-gthj/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
[data: dbscripts/xml/upgrade/3.0.0_adaptTimedViews.xml (skipped)]
[data: dbscripts/xml/upgrade/3.0.0_adaptReferrals.xml]
PHP Notice: Only variables should be assigned by reference in /opt/ojs-gthj/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122

Notice: Only variables should be assigned by reference in /opt/ojs-gthj/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
[data: dbscripts/xml/upgrade/3.0.0_adaptBooksForReview.xml]
PHP Notice: Only variables should be assigned by reference in /opt/ojs-gthj/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122

Notice: Only variables should be assigned by reference in /opt/ojs-gthj/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
[data: dbscripts/xml/upgrade/remove_timed_views_bots.xml (skipped)]
[data: dbscripts/xml/upgrade/3.0.0_preupdate_commentsToEditor.xml]

[code: Installer Installer::concatenateIntoAbout]

[code: Installer Installer::concatenateIntoMasthead]
[data: dbscripts/xml/upgrade/3.1.0_preupdate_review_assignments.xml]
[data: dbscripts/xml/upgrade/3.1.0_preupdate_notes.xml]
[data: dbscripts/xml/upgrade/3.1.0_preupdate_payments.xml]
PHP Notice: Only variables should be assigned by reference in /opt/ojs-gthj/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122

Notice: Only variables should be assigned by reference in /opt/ojs-gthj/lib/pkp/classes/db/DBDataXMLParser.inc.php on line 122
[schema: lib/pkp/xml/schema/common.xml]
PHP Notice: Only variables should be passed by reference in /opt/ojs-gthj/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 267

Notice: Only variables should be passed by reference in /opt/ojs-gthj/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 267
PHP Notice: Only variables should be passed by reference in /opt/ojs-gthj/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 267

Notice: Only variables should be passed by reference in /opt/ojs-gthj/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 267
PHP Notice: Only variables should be passed by reference in /opt/ojs-gthj/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 267

Notice: Only variables should be passed by reference in /opt/ojs-gthj/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 267
PHP Notice: Only variables should be passed by reference in /opt/ojs-gthj/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 267

Notice: Only variables should be passed by reference in /opt/ojs-gthj/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 267
[data: dbscripts/xml/indexes.xml]

[code: Installer Installer::migrateCounterPluginUsageStatistics (skipped)]

[code: Installer Installer::migrateTimedViewsUsageStatistics (skipped)]

[code: Installer Installer::migrateDefaultUsageStatistics (skipped)]
[data: dbscripts/xml/upgrade/2.4.0_postUsageStatsMigration.xml (skipped)]
[data: dbscripts/xml/upgrade/2.4.0_postUsageStatsMigration2.xml (skipped)]
[data: dbscripts/xml/upgrade/2.4.0_postCounterMigration.xml (skipped)]
[data: dbscripts/xml/upgrade/2.4.0_postTimedViewsMigration.xml (skipped)]
[data: dbscripts/xml/upgrade/3.0.0_change_assoc_type.xml]
[data: dbscripts/xml/upgrade/3.0.0_change_assoc_type_metrics.xml]
[data: dbscripts/xml/upgrade/3.0.0_settings.xml]

[code: Installer Installer::installDefaultGenres]

[code: Installer Installer::migrateArticleMetadata]
PHP Warning: Declaration of SubmissionLanguageEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /opt/ojs-gthj/lib/pkp/classes/submission/SubmissionLanguageEntryDAO.inc.php on line 20

Warning: Declaration of SubmissionLanguageEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /opt/ojs-gthj/lib/pkp/classes/submission/SubmissionLanguageEntryDAO.inc.php on line 20
PHP Warning: Declaration of SubmissionDisciplineEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /opt/ojs-gthj/lib/pkp/classes/submission/SubmissionDisciplineEntryDAO.inc.php on line 44

Warning: Declaration of SubmissionDisciplineEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /opt/ojs-gthj/lib/pkp/classes/submission/SubmissionDisciplineEntryDAO.inc.php on line 44
PHP Warning: Declaration of SubmissionKeywordEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /opt/ojs-gthj/lib/pkp/classes/submission/SubmissionKeywordEntryDAO.inc.php on line 45

Warning: Declaration of SubmissionKeywordEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /opt/ojs-gthj/lib/pkp/classes/submission/SubmissionKeywordEntryDAO.inc.php on line 45
PHP Warning: Declaration of SubmissionAgencyEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /opt/ojs-gthj/lib/pkp/classes/submission/SubmissionAgencyEntryDAO.inc.php on line 44

Warning: Declaration of SubmissionAgencyEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /opt/ojs-gthj/lib/pkp/classes/submission/SubmissionAgencyEntryDAO.inc.php on line 44
[data: dbscripts/xml/upgrade/3.0.0_update.xml]

[code: Installer Installer::clearDataCache]

[code: Installer Installer::migrateUserRoles]

[code: Installer Installer::fixReviewForms]

[code: Installer Installer::htmlifyEmailTemplates]
[note: docs/release-notes/README-BEACON]

[code: Installer Installer::installEmailTemplate]

[code: Installer Installer::installEmailTemplate]

[code: Installer Installer::installEmailTemplate]

[code: Installer Installer::installEmailTemplate]

[code: Installer Installer::installEmailTemplate]

[code: Installer Installer::installEmailTemplate]
[data: dbscripts/xml/upgrade/3.0.0_scheduledTasks.xml]

[code: Installer Installer::localizeCustomBlockSettings]

[code: Installer Installer::convertEditorDecisionNotes]

[code: Installer Installer::convertQueries]
PHP Warning: Declaration of SubmissionFileDAO::fromRow($row) should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /opt/ojs-gthj/classes/article/SubmissionFileDAO.inc.php on line 23

Warning: Declaration of SubmissionFileDAO::fromRow($row) should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /opt/ojs-gthj/classes/article/SubmissionFileDAO.inc.php on line 23

[code: Installer Installer::migrateFiles]

[code: Installer Installer::convertSupplementaryFiles]

[code: Installer Installer::setFileUploader]

[code: Installer Installer::setFileName]
[data: dbscripts/xml/upgrade/3.0.0_postupdate.xml]
[data: dbscripts/xml/upgrade/3.0.0_pubId_settings.xml]
[data: dbscripts/xml/upgrade/3.0.0_postupgrade_galley_files.xml]
[data: dbscripts/xml/upgrade/3.0.0_postupgrade_metrics.xml]
[data: dbscripts/xml/upgrade/3.0.0_issue_settings.xml]
[data: dbscripts/xml/upgrade/3.0.0_submission_settings.xml]
[data: dbscripts/xml/upgrade/3.0.0_review_method.xml]
[data: dbscripts/xml/upgrade/3.0.0_edit_decisions.xml]

[code: Installer Installer::convertCommentsToEditor]
[note: docs/release-notes/README-3.0]
[note: docs/release-notes/README-3.0.1]
[data: dbscripts/xml/upgrade/3.0.2_update.xml]
[note: docs/release-notes/README-3.0.2]

[code: Installer Installer::moveReviewerFiles]

[code: Installer Installer::fixAuthorGroup]
[data: dbscripts/xml/upgrade/3.0.0_reviewer_files.xml]

[code: Installer Installer::removeCancelledReviewAssignments]
[data: dbscripts/xml/upgrade/3.1.0_notifications.xml]
[data: dbscripts/xml/upgrade/3.1.0_notes.xml]
[data: dbscripts/xml/upgrade/3.1.0_galley_settings.xml]
[data: dbscripts/xml/upgrade/3.1.0_update.xml]

[code: Installer Installer::repairImageAssociations]

[code: Installer Installer::installEmailTemplate]

[code: Installer Installer::installEmailTemplate]

[code: Installer Installer::installDefaultNavigationMenus]
[note: docs/release-notes/README-3.1.0]

[code: Installer Installer::addPluginVersions]
[post-install]
PHP Notice: Only variables should be passed by reference in /opt/ojs-gthj/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 267

Notice: Only variables should be passed by reference in /opt/ojs-gthj/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 267
PHP Notice: Only variables should be passed by reference in /opt/ojs-gthj/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 267

Notice: Only variables should be passed by reference in /opt/ojs-gthj/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 267
PHP Notice: Only variables should be assigned by reference in /opt/ojs-gthj/lib/pkp/classes/filter/FilterHelper.inc.php on line 106

Notice: Only variables should be assigned by reference in /opt/ojs-gthj/lib/pkp/classes/filter/FilterHelper.inc.php on line 106

Hmmm…

@akku:
Are the others DB schemas (s. https://github.com/pkp/ojs/blob/ojs-3_1_0-1/dbscripts/xml/upgrade.xml#L51-L76) executed? – I see common.xml and then indexes.xml, but everything between I do not see…
Hmmm…
Do you use MySQL?
How does you journal site now looks like? With the same problem?

@asmecher, those notices shouldn’t disturb, or?

Hmmm…

we use mysql and on our new server we make use of the driver ‘mysqli’.
In my last post I didn’t send the whole install-protocol, but it seems to me that everything is included.

This is our base-url (still test system): Journal of Global Theatre History
But if I call only: https://gthj-ojs3test.ub.uni-muenchen.de/index.php/ it looks a bit different: gthj_upgrade_error4

Trying to log in I get this error message:
gthj_upgrade_error3