Giter Site home page Giter Site logo

bdcaf / pln-uibk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pkp/pln

0.0 0.0 0.0 573 KB

PKP Preservation Network Plugin - Patches for uibk ojs

Home Page: https://docs.pkp.sfu.ca/pkp-pn/en/

License: GNU General Public License v3.0

PHP 94.30% Smarty 5.70%

pln-uibk's Introduction

PKP Preservation Network Plugin for OJS

OJS compatibility GitHub release GitHub code size in bytes License type Number of downloads Commit activity per year Contributors

About

This plugin provides a means for OJS to preserve content in the PKP Preservation Network (PKP PN). The plugin checks for new and modified content and provided the PN's terms of use are met, will communicate with the PN's staging server to preserve your published content automatically.

If you need support for older OJS releases, see the available branches.

Installation Instructions

We recommend installing this plugin using the Plugin Gallery within OJS. Log in with administrator privileges, navigate to Settings > Website > Plugins, and choose the Plugin Gallery. Find the PN Plugin there and install it.

If for some reason, you need to install it manually, there are two ways:

  • Download the latest release (attention to the OJS version compatibility)
  • Download the code from GitHub (attention to grab the code from the right branch), then run composer install at the main plugin folder.

After downloading, create the folder plugins/generic/pln and place the plugin files in it.

Run the command php lib/pkp/tools/installPluginVersion.php plugins/generic/pln/version.xml at the main OJS folder, this will ensure the plugin is installed/upgraded properly (e.g. new fields might be added to the database).

After installing and enabling the plugin, you need to access its settings:

image

Then read and accept all terms of use, and click on the save button:

image

License

This plugin is licensed under the GNU General Public License v3. See the file LICENSE for the complete terms of this license.

System Requirements

  • OJS 3.4.0 or greater.
  • CURL support for PHP.
  • ZipArchive support for PHP.

Note

The primary difference between this plugin and the existing LOCKSS preservation mechanism present in OJS is the PN requires no registration or involvement with the network - as long as you agree with the network's terms of use, you can preserve your journal's content.

Contact/Support

If you have issues, please use the PKP support forum (https://forum.pkp.sfu.ca/c/questions/5), the issues tracker (https://github.com/pkp/pln/issues) is reserved for triaged issues.

Setting up the deposit server

By default, the plugin deposits to https://pkp-pn.lib.sfu.ca. Journal managers can change the URL on the plugin settings page. The default URL can also be set in the OJS config.inc.php file by adding this configuration:

; Change the default Preservation Network URL
[lockss]
pln_url = https://example.com

You will need to clear the data caches after adding or changing this setting. There is a link to clear the caches at Site Administration > Administration

Build Instructions

(These instructions are only necessary if you are working with the plugin manually. If you are installing the plugin using the Plugin Gallery, they are not necessary.)

  • Clone the repository containing the code.
  • Run OJS's php tools/upgrade.php upgrade
  • Execute composer install from console, being in the cloned pln folder. (This process is going to produce a vendor folder containing the depending library.)
  • Enable Acron plugin and change config.inc.php variable scheduled_tasks = On
  • Enable the PN plugin

Other useful hints / Troubleshooting hints

  • The plugin depends on 2 database tables: pln_deposits and pln_deposit_objects. If those tables are not present in your database, it means the plugin wasn't installed properly, refer to the previous sections for help.

  • Ensure the plugin is creating daily log files at the scheduledTaskLogs folder within the OJS files directory. Files named as PKPPLNDepositorTask-*id*-*datestamp* should be present. If absent, the task is probably not being executed daily or there might be permission issues to create them.

  • The APP\plugins\generic\pln\classes\tasks\Depositor task must be present in the scheduled_tasks table. If it's not, try to reload the scheduled tasks at the Acron plugin (the option Reload Scheduled Tasks at the plugin settings).

  • Every log file should end with an entry like [*date time*] [Notice] Task process stopped.. If absent, it means the process has been halted unexpectedly due to errors, check the server/PHP error log for more information.

  • If an issue fails to be packaged, try to export it through the Native XML plugin at the Tools > Import/Export, which is supposed to display some hints about what went wrong.

  • Whenever something doesn't work as expected, always check the error log for clues. If nothing helps, report your problem in the forum.

Original authors

pln-uibk's People

Contributors

jonasraoni avatar defstat avatar asmecher avatar ckamburov avatar jordilacruz avatar bsvvi avatar jirrka avatar primoz-svetek avatar tigran54 avatar ajnyga avatar kant avatar diegojmacedo avatar neffe avatar bibliothekswelt avatar t-fildishevska avatar teismann avatar alexandrafo avatar marchitelli avatar amirzoian avatar eddoff avatar vormia avatar mpbraendle avatar mirkospiroski avatar ppv1979 avatar saalam avatar drugurkocak avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.