Error restoring a backup

The error below is appearing when running php upgrade.php upgrade, when trying to restore a backup in version 18.04 ubuntu:

[version: 2.4.8.3]
[schema: lib/pkp/xml/schema/signoff.xml]
[schema: lib/pkp/xml/schema/common.xml]
[schema: lib/pkp/xml/schema/groups.xml]
[schema: lib/pkp/xml/schema/log.xml]
[schema: lib/pkp/xml/schema/announcements.xml]
[schema: lib/pkp/xml/schema/scheduledTasks.xml]
[schema: lib/pkp/xml/schema/temporaryFiles.xml]
[schema: lib/pkp/xml/schema/metadata.xml]
[schema: lib/pkp/xml/schema/reviews.xml]
[schema: lib/pkp/xml/schema/reviewForms.xml]
[schema: lib/pkp/xml/schema/controlledVocab.xml]
[schema: lib/pkp/xml/schema/submissions.xml]
[schema: lib/pkp/xml/schema/comments.xml]
[schema: lib/pkp/xml/schema/notes.xml]
[schema: lib/pkp/xml/schema/gifts.xml]
[schema: lib/pkp/xml/schema/mutex.xml]
[schema: lib/pkp/xml/schema/tombstone.xml]
[schema: lib/pkp/xml/schema/metrics.xml]
[schema: dbscripts/xml/ojs_schema.xml]
[data: dbscripts/xml/indexes.xml]

[code: Installer Installer::addPluginVersions]
[post-install]
ojs2 has produced an error
Message: WARNING: fopen(/scheduledTasks.xml): failed to open stream: Arquivo ou diretório inexistente
In file: /var/www/html/ojs/lib/pkp/classes/file/FileWrapper.inc.php
At line: 71
Stacktrace:
Server info:
OS: Linux
PHP Version: 5.6.40-26+ubuntu18.04.1+deb.sury.org+1
Apache Version: N/A
DB Driver: mysqli

Error parsing scheduled tasks XML file: /scheduledTasks.xml

ojs2: Error parsing scheduled tasks XML file: /scheduledTasks.xml

I’ve tried other versions and the same thing happens.

can someone help?

Hi @delzimar,

This error is caused by the Acron plugin attempting to run before you’ve completed the upgrade. Either disable the Acron plugin before running the upgrade, or turn installed to Off in config.inc.php before running the upgrade script.

Regards,
Alec Smecher
Public Knowledge Project Team