Running the upgrade script I get warnings that no files are found.
The printout shows a double slash in the warning line: …/journals/1//articles/49/
However searching the directory manually without that double slash the file exists.
[code: Installer Installer::removeReviewEntries]
WARNING: Unable to find a match for “49-110-1-RV.docx” in “”/var/www/editora.sepq/files/journals/1//articles/49/". Skipping this file.
WARNING: Unable to find a match for “81-207-1-RV.doc” in “”/var/www/editora.sepq/files/journals/1//articles/81/". Skipping this file.
WARNING: Unable to find a match for “106-300-1-RV.docx” in “”/var/www/editora.sepq/files/journals/1//articles/106/". Skipping this file.
etc…
Searching with double slash no file is found:
cd /var/www/editora.sepq/files/journals/1//articles/49/
-bash: cd: /var/www/editora.sepq/files/journals/1//articles/49/: File or directory not found
Searching without double slash the file is found:
cd /var/www/editora.sepq/files/journals/1/articles/49/submission/review#
-rw-r–r-- 1 www-data www-data 212305 dez 1 2016 49-110-1-RV.docx
Interesting – the double slash has been around for a while but I haven’t fixed it because it’s always worked without issue (i.e. the double slash has been ignored). Looks like that might not be the case on your system.
I’ve filed an issue including a patch that will remove the double slash. Could you verify whether or not this resolves the problem during upgrade?
Regards,
Alec Smecher
Public Knowledge Project Team
[code: Installer Installer::removeReviewEntries]
WARNING: Unable to find a match for “49-110-1-RV.docx” in “”/var/www/editora.sepq/files/journals/1//articles/49/". Skipping this file.
WARNING: Unable to find a match for “81-207-1-RV.doc” in “”/var/www/editora.sepq/files/journals/1//articles/81/". Skipping this file.
WARNING: Unable to find a match for “106-300-1-RV.docx” in “”/var/www/editora.sepq/files/journals/1//articles/106/". Skipping this file.
WARNING: Unable to find a match for “107-307-1-RV.docx” in “”/var/www/editora.sepq/files/journals/1//articles/107/". Skipping this file.
etc …
The double quote ist there on my screen:
WARNING: Unable to find a match for “143-414-1-RV.doc” in “”/var/www/editora.sepq/files/journals/1//articles/143/". Skipping this file.
Hmm, I’ll bet that’s the problem rather than the double slash. What is the files_dir in your config.inc.php? (Please post that line of the config file using the </> code quoting tool at the top of the compose window, so I can be sure to see exactly what the line looks like.)
Regards,
Alec Smecher
Public Knowledge Project Team
I found the problem. It was the missing double quote at the end of files_dir string.
Running the script I got: Successfully upgraded to version 3.2.0.3
Thank you very much for your help.