Issue when adding a file to "Upload a Production Ready File" in OMP 3.3.0.21

It takes a lot of time when adding a file to “Upload a Production Ready File”, no matter if it is EPUB, PDF, EXCEL, etc. In OMP 3.3.0.21.

To replicate the issue:

1- At the end of the editorial workflow, under the “Production” tab, in the section “Production Ready Files”, click the “Upload File” button.

2- A new window will open: “Upload a Production Ready File”. In the “Submission Component” field select “Book manuscript” from the dropdown menu and upload the file:

3- In the next tab “2. Review Details”, write the name of the file and click “Continue”:

The current issue, is that it takes from 30 seconds to 3 minutes before it tells you “File Added” in the next tab.

This is what logs show:

If you click “Cancel”, it takes more time. These are the logs:

We encounter the same issue when we publish the file.

To replicate the issue:

1- Aprove “Complete” and “Availability”.
2- Click “publish”:

3- Afterwards a “Publish” window will appear, then click the button “Publish”, and
takes between 30 seconds to 3 minutes for the file to publish:

Logs output:

What application are you using?
OMP 3.3.0-21, PHP 8.3.22, Mariadb 11.8

Thanks in advance.

1 Like

Hi @jessica,

File uploads are slow to complete in OJS 3.3.0-x because the search engine is updated with the file contents at the end of the upload process. In OJS 3.4.0 and later, this has been moved to an asynchronous job, so there will not be the same slowdown evident to users.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher

Thanks for the support, but the issue is about OMP, does the same solution apply to both (OJS and OMP)?

Regards

Hi @jessica,

Sorry, bad habit :slight_smile: Yes, this applies equally to OMP (and OPS).

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher

Haha ok, thanks. :grinning_face_with_smiling_eyes:

1 Like

This topic was automatically closed after 11 days. New replies are no longer allowed.