I need to upgrade OJS 2.4.1 on windows box to 18.104.22.168 on redHat box
First I create a redhat box with OJS 2.4.1 PHP 5.6 import BD mouve file folder
I have a OJS 2.4.1 working on redHat
I upgrade to ojs22.214.171.124 no warning no error work perfect
update PHP 56 to 73
update OJS to 126.96.36.199 got some warning but everything work fine on a web interface.
20 of this warning
WARNING: Unable to find a match for “430-1971-1-PB.pdf” in “/var/www/files_ripme/journals/1//articles/430/”. Skipping this file.
6 of thoses
ERROR: Reviewer files with ID 2953 from review assignment 422 could not be found in the database table submission_files
If I upgrade to 188.8.131.52 most of the pdf file archived got 404 error but not all.
I downgrade to 184.108.40.206 BD, file and web folder
try to install the last version 220.127.116.11 got a lot of mess thousands of this
A submission file was expected but not found at journals/1/articles/365/submission/proof/365-1-1890-1-10–00011130.pdf.
a bunch of this
A submission file was expected but not found at journals/1/articles/1733/submission/review/1733-1-5450-1-4–00011130.pdf.
A file assigned to the file stage 1 could not be migrated.
PHP Notice: Undefined offset: 1 in /var/www/html/ojs/lib/pkp/classes/migration/upgrade/PKPv3_3_0UpgradeMigration.inc.php on line 609
but I got:
Successfully upgraded to version 18.104.22.168
most of the pdf link does not work
Anyone can help me with this upgrade please?
this is how I did the upgrade on a redhat 7
backup all after:
rm -r /var/www/html/ojs
cp -r /var/backupDB/ojs-3.3.0-8/* /var/www/html/ojs/
cp -rp /var/www/html/ojs3124/public/* /var/www/html/ojs/public/
mv /var/www/html/ojs/config.inc.php /var/www/html/ojs/config.inc.php.ori3214
cp /var/www/html/ojs3308/config.inc.php /var/www/html/ojs/
diff /var/www/html/ojs/config.inc.php /var/www/html/ojs/config.inc.php.ori3214
##droits extreme just for the upgrade
chown -R apache:apache /var/www/html/ojs
chmod -R 777 /var/www/html/ojs
chown -R apache:apache /var/www/files_ripme
chmod -R 777 /var/www/files_ripme
systemctl restart mariadb
php /var/www/html/ojs/tools/upgrade.php check
php /var/www/html/ojs/tools/upgrade.php upgrade