Upgrade OJS 2.4.1 to bug summission file expected but ot found

I need to upgrade OJS 2.4.1 on windows box to 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 ojs2.4.8.5 no warning no error work perfect

update PHP 56 to 73

update OJS to 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 most of the pdf file archived got 404 error but not all.

I downgrade to BD, file and web folder

try to install the last version 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

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
mkdir /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
vi /var/www/html/ojs/config.inc.php

##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
apachectl restart

php /var/www/html/ojs/tools/upgrade.php check
php /var/www/html/ojs/tools/upgrade.php upgrade

i found that the name of the pdf is not good
A submission file was expected but not found at journals/1/articles/365/submission/proof/365-1-1890-1-10–00011130.pdf
is suppose to be
where i can change the code to get the good name of the pdf file??