We have a weird issue. Plugin Page is loading forever and doesn’t stop. we didn’t do anything in this site and now suddenly we see this loading forever issue.
php error : PHP Fatal error: require_once(): Failed opening required ‘/storage/www/ejournals/ojsjoj/plugins/generic/dataverse/classes/draftDatasetFile/DraftDatasetFileDAO.inc.php’ (include_path=‘.:/usr/share/pear:/usr/share/php’) in /storage/www/ejournals/ojsjoj/lib/pkp/includes/functions.inc.php on line 25
When i checked the path i don’t see the folder.
ojsjoj/plugins/generic/dataverse/classes$ ls -lah
total 20K
drwxr-xr-x. 10 apache apache 248 Mar 23 13:01 .
drwxr-xr-x. 11 apache apache 4.0K Mar 23 13:01 ..
-rw-r–r–. 1 apache apache 2.6K Mar 23 13:01 APACitation.inc.php
drwxr-xr-x. 4 apache apache 36 Mar 23 13:01 components
-rw-r–r–. 1 apache apache 2.2K Mar 23 13:01 DataEncryption.inc.php
drwxr-xr-x. 2 apache apache 85 Mar 23 13:01 dataverseConfiguration
-rw-r–r–. 1 apache apache 3.8K Mar 23 13:01 DataverseMetadata.inc.php
drwxr-xr-x. 2 apache apache 69 Mar 23 13:01 dataverseStudy
drwxr-xr-x. 2 apache apache 4.0K Mar 23 13:01 dispatchers
drwxr-xr-x. 2 apache apache 257 Mar 23 13:01 entities
drwxr-xr-x. 2 apache apache 40 Mar 23 13:01 exception
drwxr-xr-x. 2 apache apache 83 Mar 23 13:01 migration
drwxr-xr-x. 2 apache apache 52 Mar 23 13:01 tasks
Can I delete the plugin folder and reinstall it from the Plugin Gallery? If not, what is the best step to resolve this issue? I was also considering copy-pasting the plugin folder from another OJS site; would you recommend that? Also, how could this folder have been deleted when we haven’t touched the site?
There’s definitely something wrong with your plugin, you may try to remove it and install from the plugin gallery. If it still doesn’t work, then you may try to file a bug report at the maintainer repository (GitHub - lepidus/dataversePlugin · GitHub).
When you say remove , do you mean remove the folder from server? since plugin page is in a forever loop? will there be any issue if directly remove from server side?
@jonasraoni can you please confirm - > When you say remove , do you mean remove the folder from server? will there be any issue if i directly remove from server side?
But to also leave a note here in the forum for anyone with similar problems: you can remove the “dataverse” folder directly from the server. Renaming it is not safe, because OJS scans the “generic” folder looking for plugins and may hit the same problem again. Also, removing it only from the database is probably not enough.
After deleting that folder, you should be able to access the Plugins tab again.
Then you can try installing it again from the Plugin Gallery to check whether this was a one-off issue with the previous installation.