Manual export of one journal
I had some issues in the latest migration to 3.4.0.8. The journal is consultable but itβs not possible to add a submission, add a plugin, some placeholders are not populated correctly.
Steps I took leading up to the issue
- I tried installing GitHub - lepidus/fullJournalTransfer: OJS plugin for importing/exporting a journal with all its private information (e.g. submitted articles, reviews, editorial decisions, etc.) but as stated above, I get an error on the browser console :
jquery.js?v=3.4.0.8:9940
POST https://domain.com/index.php/myjournal/$$$call$$$/grid/settings/plugins/settings-plugin-grid/save-upload-plugin?function=upload&category=&plugin= 500 (Internal Server Error)
send @ jquery.js?v=3.4.0.8:9940
ajax @ jquery.js?v=3.4.0.8:9521
jQuery.<computed> @ jquery.js?v=3.4.0.8:9677
$.pkp.controllers.form.AjaxFormHandler.submitForm @ AjaxFormHandler.js?v=3.4.0.8:81
(anonymous) @ Handler.js?v=3.4.0.8:304
$.pkp.controllers.form.FormHandler.submitHandler_ @ FormHandler.js?v=3.4.0.8:450
(anonymous) @ Handler.js?v=3.4.0.8:304
d @ jquery.validate.min.js?v=3.4.0.8:4
(anonymous) @ jquery.validate.min.js?v=3.4.0.8:4
dispatch @ jquery.js?v=3.4.0.8:5145
elemData.handle @ jquery.js?v=3.4.0.8:4949
- Checked files and folders ownership
- Restarted nginx and php8.3
What application are you using?
OJS 3.4.0-8
Information sur le serveur
Fixation du nom | Fixation de la valeur |
---|---|
SystΓ¨me dβexploitation | Linux |
Version PHP | 8.3.17 |
Version Apache | nginx/1.22.1 |
Pilote de base de donnΓ©es | mysql |
Version du serveur de bases de donnΓ©es | 10.11.6-MariaDB-0+deb12u1 |
I would like to start from a clean install but we need to keep the journal, issues, articles, users. Whatβs the right way to manually move them from the old install to the new one.
Edit : I also tried installing the plugin directly on plugins folder. And here is an nginx log :
Stack trace:
#0 /var/www/ojs/lib/pkp/includes/functions.php(50): require_once()
#1 /var/www/ojs/plugins/importexport/fullJournalTransfer/FullJournalImportExportPlugin.inc.php(9): import()
#2 /var/www/ojs/plugins/importexport/fullJournalTransfer/index.php(10): require_once('...')
#3 /var/www/ojs/lib/pkp/classes/plugins/PluginRegistry.php(259): include('...')
#4 /var/www/ojs/lib/pkp/classes/plugins/PluginRegistry.php(193): PKP\plugins\PluginRegistry::_deprecatedInstantiatePlugin()
#5 /var/www/ojs/lib/pkp/classes/plugins/PluginRegistry.php(241): PKP\plugins\PluginRegistry::_instantiatePlugin()
#6 /var/www/ojs/lib/pkp/classes/plugins/PluginRegistry.php(113): PKP\plugins\PluginRegistry::_loadFromDisk()
#7 /var/www/ojs/lib/pkp/classes/plugins/PluginRegistry.php(177): PKP\plugins\PluginRegistry::loadCategory()
#" while reading response header from upstream, client: 197.14.235.118, server: domain.com, request: "POST /index.php/myjournal/$$$call$$$/grid/settings/plugins/settings-plugin-grid/save-upload-plugin?function=upload&category=&plugin= HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php8.3-fpm-ojs.sock:", host: "domain.com", referrer: "https://domain.com/index.php/myjournal/management/settings/website"
2025/03/08 19:17:47 [error] 1257949#1257949: *594785 FastCGI sent in stderr: "PHP message: PHP Deprecated: Using php-function "in_array" as a modifier is deprecated and will be removed in a future release. Use Smarty::registerPlugin to explicitly register a custom modifier. in /var/www/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_compile_private_modifier.php on line 112; PHP message: PHP Deprecated: Using php-function "in_array" as a modifier is deprecated and will be removed in a future release. Use Smarty::registerPlugin to explicitly register a custom modifier. in /var/www/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_compile_private_modifier.php on line 112" while reading response header from upstream, client: 197.14.235.118, server: domain.com, request: "GET /index.php/myjournal/$$$call$$$/tab/user/profile-tab/notification-settings?_=1741461448670 HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php8.3-fpm-ojs.sock:", host: "domain.com", referrer: "https://domain.com/index.php/myjournal/user/profile"
2025/03/08 19:18:00 [error] 1257949#1257949: *594785 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to a member function getDisplayName() on null in /var/www/ojs/lib/pkp/classes/i18n/Locale.php:279
Stack trace:
#0 [internal function]: PKP\i18n\Locale->PKP\i18n\{closure}()
#1 /var/www/ojs/lib/pkp/classes/i18n/Locale.php(279): array_map()
#2 /var/www/ojs/lib/pkp/classes/i18n/Locale.php(271): PKP\i18n\Locale->getSupportedLocales()
#3 /var/www/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): PKP\i18n\Locale->getSupportedFormLocales()
#4 /var/www/ojs/lib/pkp/classes/controllers/grid/GridCellProvider.php(68): Illuminate\Support\Facades\Facade::__callStatic()
#5 /var/www/ojs/lib/pkp/classes/controllers/grid/GridHandler.php(1262): PKP\controllers\grid\GridCellProvider->render()
#6 /var/www/ojs/lib/pkp/classes/controllers/grid/GridHandler.php(1163): PKP\controllers\grid\GridHandler->_renderCellInternally()
#7 /var/www/ojs/lib/pkp/classes/controllers/grid/GridHandler.php(1138): PKP\controllers\grid\GridHandler->ren" while reading response header from upstream, client: 197.14.235.118, server: domain.com, request: "GET /index.php/index/$$$call$$$/grid/admin/languages/admin-language-grid/fetch-grid?_=1741461479872 HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php8.3-fpm-ojs.sock:", host: "domain.com", referrer: "https://domain.com/index.php/index/admin/settings"
2025/03/08 19:18:07 [error] 1257949#1257949: *594785 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to a member function getDisplayName() on null in /var/www/ojs/lib/pkp/classes/i18n/Locale.php:279
Stack trace:
#0 [internal function]: PKP\i18n\Locale->PKP\i18n\{closure}()
#1 /var/www/ojs/lib/pkp/classes/i18n/Locale.php(279): array_map()
#2 /var/www/ojs/lib/pkp/classes/i18n/Locale.php(271): PKP\i18n\Locale->getSupportedLocales()
#3 /var/www/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): PKP\i18n\Locale->getSupportedFormLocales()
#4 /var/www/ojs/lib/pkp/classes/controllers/grid/GridCellProvider.php(68): Illuminate\Support\Facades\Facade::__callStatic()
#5 /var/www/ojs/lib/pkp/classes/controllers/grid/GridHandler.php(1262): PKP\controllers\grid\GridCellProvider->render()
#6 /var/www/ojs/lib/pkp/classes/controllers/grid/GridHandler.php(1163): PKP\controllers\grid\GridHandler->_renderCellInternally()
#7 /var/www/ojs/lib/pkp/classes/controllers/grid/GridHandler.php(1138): PKP\controllers\grid\GridHandler->ren" while reading response header from upstream, client: 197.14.235.118, server: domain.com, request: "GET /index.php/index/$$$call$$$/grid/admin/context/context-grid/fetch-grid?_=1741461486744 HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php8.3-fpm-ojs.sock:", host: "domain.com", referrer: "https://domain.com/index.php/index/admin/contexts"
Thanks for the help