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:

[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]
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/
At line: 71
Server info:
OS: Linux
PHP Version:
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 before running the upgrade script.

Alec Smecher
Public Knowledge Project Team