PKP PN error, file already exists in the bag

Hi community,

I’m using OJS 3.3.0-15. We have some issues when depositing an specific issue to PKP PN.

Scheduled task logs throw [2023-10-15 18:17:23] [Notificación] Trying package deposit 1361 (Issue: 4958) (Local Status: [New], Processing Status: [Unknown], Lockss Status: [Unknown]) which corresponds to https://revistas.unal.edu.co/index.php/dyna/issue/view/4958

And php error log throws this:
[Tue Oct 17 18:18:17.970184 2023] [php:error] [pid 3868] [client 172.226.82.4:27649] PHP Fatal error: Uncaught whikloj\BagItTools\Exceptions\BagItException: File data/files/6446c51988b1c.png already exists in the bag. in /var/www/sitio33/plugins/generic/pln/vendor/whikloj/bagittools/src/Bag.php:451\nStack trace:
#0 /var/www/sitio33/plugins/generic/pln/classes/DepositPackage.inc.php(360): whikloj\BagItTools\Bag->addFile(‘/datos/ojs/jour…’, ‘data/files/6446…’)
#1 /var/www/sitio33/plugins/generic/pln/classes/DepositPackage.inc.php(540): DepositPackage->generatePackage()
#2 /var/www/sitio33/plugins/generic/pln/classes/tasks/Depositor.inc.php(225): DepositPackage->packageDeposit()
#3 /var/www/sitio33/plugins/generic/pln/classes/tasks/Depositor.inc.php(127): Depositor->_processNeedPackaging(Object(Journal))
#4 /var/www/sitio33/lib/pkp/classes/scheduledTask/ScheduledTask.inc.php(146): Depositor->executeActions()
#5 /var/www/sitio33/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php(258): ScheduledTask->execute()
#6 [internal function]: PKPAcronPlugin->shutdownFunction()
#7 {main}
thrown in /var/www/sitio33/plugins/generic/pln/vendor/whikloj/bagittools/src/Bag.php on line 451, referer: https://revistas.unal.edu.co/index.php/innovar/article/view/19157

Could you help me? thank you.

Hi @lcmartinezru,

This message looks strange, I’ve never seen this error. There’s a button on the interface to reset the deposit (it will regenerate the file and try again), can you click there and tell us what happens?

The deposit process runs once per day, so the result will be available tomorrow/after tomorrow, unless you have some technical skills to make it run faster.

I’m suspecting you might have duplicated submission files pointing to the same file, then it would explain this problem, therefore the fix would be to remove the duplicated file. But let’s try the “retry” button first.

Best,
Jonas Raoni

Hi Jonas, thank you

I tried with “reset” button but I still have the same problem

I don’t understand why the logs are showing error with another journal and not with Dyna (the current journal is being packaged)

[2023-10-24 09:49:01] [Notificación] Depositor processing for DYNA.
[2023-10-24 09:49:01] [Notificación] Getting service document.
[2023-10-24 09:49:02] [Notificación] Processing deposit status updates.
[2023-10-24 09:49:02] [Notificación] Processing updated content.
[2023-10-24 09:49:02] [Notificación] Processing new content.
[2023-10-24 09:49:02] [Notificación] Packaging content for deposit.
[2023-10-24 09:49:02] [Notificación] Trying package deposit 1361 (Issue: 4958) (Local Status: [New], Processing Status: [Unknown], Lockss Status: [Unknown])

Apache logs:

[Tue Oct 24 09:49:08.338754 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:08.392561 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Undefined array key 7 in /var/www/sitio33/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 91, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:08.501626 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:08.558711 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Undefined array key 7 in /var/www/sitio33/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 91, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:08.685786 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:08.805256 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Undefined array key 7 in /var/www/sitio33/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 91, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:08.947322 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:09.045373 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Undefined array key 7 in /var/www/sitio33/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 91, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:09.181138 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:09.350438 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:09.522422 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:09.564933 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Undefined array key 7 in /var/www/sitio33/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 91, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:09.649052 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:09.782923 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:09.832354 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Undefined array key 7 in /var/www/sitio33/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 91, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:09.960089 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:09.998109 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Undefined array key 7 in /var/www/sitio33/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 91, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:10.111423 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:10.228088 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Undefined array key 7 in /var/www/sitio33/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 91, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:10.394381 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:10.639565 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:10.822511 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:10.955886 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:11.159081 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:11.314232 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:11.385687 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Undefined array key 7 in /var/www/sitio33/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 91, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:11.608860 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:11.708978 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Undefined array key 7 in /var/www/sitio33/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 91, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:11.950688 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:12.128367 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:12.338617 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:12.523975 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:12.601498 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Undefined array key 7 in /var/www/sitio33/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 91, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:12.765427 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:13.063094 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:13.244336 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:13.373487 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Undefined array key 7 in /var/www/sitio33/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 91, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:13.456423 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:13.680829 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:13.880762 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Undefined array key 7 in /var/www/sitio33/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 91, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:14.043753 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:14.253914 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:14.427426 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:14.655070 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:14.994848 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:15.179167 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:15.428954 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:15.618280 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:15.846577 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:16.271115 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:17.195637 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:17.461365 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:17.642639 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:17.991883 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:18.376698 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:18.843307 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:18.955055 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Undefined array key 7 in /var/www/sitio33/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 91, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:19.158035 2023] [php:notice] [pid 7526] [client 87.250.224.33:57612] ojs2: 404 Not Found
[Tue Oct 24 09:49:19.291828 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:19.520233 2023] [php:warn] [pid 6018] [client 181.234.9.29:53197] PHP Warning:  Attempt to read property "firstChild" on null in /var/www/sitio33/plugins/importexport/native/filter/NativeFilterHelper.inc.php on line 90, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615
[Tue Oct 24 09:49:22.887421 2023] [php:notice] [pid 7216] [client 66.249.66.68:49139] ojs2: 404 Not Found
[Tue Oct 24 09:49:28.743985 2023] [php:notice] [pid 7524] [client 87.250.224.225:42418] ojs2: 404 Not Found
[Tue Oct 24 09:49:31.635242 2023] [php:error] [pid 6018] [client 181.234.9.29:53197] PHP Fatal error:  Uncaught whikloj\\BagItTools\\Exceptions\\BagItException: File data/files/6446c51988b1c.png already exists in the bag. in /var/www/sitio33/plugins/generic/pln/vendor/whikloj/bagittools/src/Bag.php:451\nStack trace:\n#0 /var/www/sitio33/plugins/generic/pln/classes/DepositPackage.inc.php(360): whikloj\\BagItTools\\Bag->addFile('/datos/ojs/jour...', 'data/files/6446...')\n#1 /var/www/sitio33/plugins/generic/pln/classes/DepositPackage.inc.php(540): DepositPackage->generatePackage()\n#2 /var/www/sitio33/plugins/generic/pln/classes/tasks/Depositor.inc.php(225): DepositPackage->packageDeposit()\n#3 /var/www/sitio33/plugins/generic/pln/classes/tasks/Depositor.inc.php(127): Depositor->_processNeedPackaging(Object(Journal))\n#4 /var/www/sitio33/lib/pkp/classes/scheduledTask/ScheduledTask.inc.php(146): Depositor->executeActions()\n#5 /var/www/sitio33/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php(258): ScheduledTask->execute()\n#6 [internal function]: PKPAcronPlugin->shutdownFunction()\n#7 {main}\n  thrown in /var/www/sitio33/plugins/generic/pln/vendor/whikloj/bagittools/src/Bag.php on line 451, referer: https://revistas.unal.edu.co/index.php/revsaludpublica/article/view/105615

Hello,

I have made a search on the database for the images with same name 6446c51988b1c

MariaDB [ojs]> select * from files where path like “%6446c51988b1c%”;
±--------±---------------------------------------------±----------+
| file_id | path | mimetype |
±--------±---------------------------------------------±----------+
| 584666 | journals/21/articles/69573/6446c51988b1c.png | image/png |
| 584667 | journals/21/articles/68760/6446c51988b1c.png | image/png |
±--------±---------------------------------------------±----------+

Then I went to the folder journals/21/articles/68760/ and downloaded the image to identify it, immediately I went to the submission 68760, unpublished it and deleted and reuploaded the XML problematic image and it was automatically saved with another name 6537f5b79dd26.png.

Finally, the pkp pn scheduled task was manually re-executed and now the system status shows the issue as completed

image

Thank you

1 Like