Users can upload documents (e.g. pdf, text, doc etc.) while cataloguing with Koha version 3.22.x onwards. Uploaded documents store in the internal directory and the link add in 856$u tag. The main advantage is that no need to store files in external storage places like Google Drive and Dropbox.
Little tweaks are necessary on the Koha system to make available this feature. Follow the steps:
Set upload path
Open the koha-conf.xml file with your favourite editor and check destination directory mentioned.
sudo mousepad /etc/koha/sites/library/koha-conf.xml
Find the following line,
<upload_path>/var/lib/koha/library/uploads/</upload_path>
Restart Apache
sudo /etc/init.d/apache2 restart
Assign OPACBaseURL
Search for OPACBaseURL in Koha > Administration > Global system preferences
e.g. http://mgucat.mgu.ac.in
e.g. http://127.0.1.1
Add the upload.pl plug-in in Bibliographic framework
Goto Administration > MARC Bibliographic Framework > Books, Booklets, Workbooks > MARC Structure
Search for Tag 856$u
Upload documents while cataloguing
Click on the plug-in icon on 856$u field.
Upload file
Choose the file to include in 856$u field.
Click on the Choose button to add the file URL to the field. |
Search in OPAC for the book and see the document link appeared in the details.
Courtesy: Indranil Das Gupta, L2C2 Technologies.
Thanks for the acknowledgement buddy :-)
ReplyDeleteis it applicable in 3.20.05
ReplyDeleteNope! Bug 6874 - Attach files to bibliographic records came into play only with 3.22 release. See the entry under Cataloging in the release notes https://koha-community.org/koha-3-22-released/#koha-features
Delete
ReplyDeleteAttaching files to catalog records but some error :- An error has occurred!
Error 404
This message may have been caused by any of the following reasons:
You made use of an external link to an item that is no longer available
You followed an outdated link e.g. from a search engine or a bookmark
You tried to access a page that needs authentification
An internal link in the client is broken and the page does not exist
Can you paste the actual lines from the error log?
DeleteGood day sir, my school library uses Koha 3.2, I have done all steps you mentioned above but still can't find upload.pl when I try to edit my MARC Structure bibliographic frameworks.
ReplyDeleteKoha 3.2 or 3.22??? The feature got added only in the 3.22 series, so if you are really on 3.2 (which by the way, is ANCIENT) you wont find the feature.
DeleteThere is no error, I just can't find upload.pl when I got to this step ;"Go to Administration -> MARC Bibliographic Frameworks -> Books, Booklets, Workbooks -> MARC Structure. can't seem to paste the screen shot here
ReplyDeleteOK thanks!
ReplyDeleteWonderful!!! Thanks for the clear explanation.
ReplyDeleteThanks Vimal sir.
ReplyDeleteGood day sir,
ReplyDeleteI tried doing the ugrade, when I try to open Koha, I get this error
"DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: Unknown MySQL server host 'Elchi_library' (0) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line."
I have trying to resolve this, but it's not working.
Am thinking of Un-installing and reinstalling but I not sure if the server I download from has 3.22 or above. Please is there anyway I can find out which server has higher versions??
Thanks
i did all steps above but when i try to open the link, i get this massage box
ReplyDeleteyou have chosen to open
name.doc
which is unknown
from: http://127.0.0.1
what should firefox do with
open with
save file
when i open it i get distortion file
dear sir,
ReplyDeletealso when i try again h get this error
Not Found
The requested URL /cgi-bin/koha/opac-retrieve-file.pl was not found on this server.
Apache/2.4.10 (Ubuntu) Server at 127.0.0.1 Port 80
I got the following error message when I try to upload a file to catalogue.
ReplyDeleteFile could not be created. Check permissions. What will I do ?
I got a permission problem which i tried to resolve but with no avail
ReplyDeleteDear Vimal today i have tested it but it works fine without changing the path "/var/lib/koha/library/uploads" . Just we need to enable upload.pl plug-in in Bibliographic framework. Can you please let me know the reason why you have changed to "/usr/share/doc/koha-common". After very long time i have did some work on Koha and do not understand the reason for changing the path. I have tested on Koha 16.0503000.
ReplyDeleteThanking you
Sir,
DeleteYou can assign any folder for this purpose.
Dear Sir,
DeleteI am Using 16.05.05 Koha & Ubuntu 14.04, When i try to upload E Book , I can Browse the book but when i clink on upload again its ask for browse a file , its repeating same . am unable upload e books.
Dear Sir,
DeleteI got problem in uploading e book, after i browse the book i clink on to upload but after clinking upload its again ask for browse file/ book. and am getting msg file could not be created.check permission
How to get whol list of documents in koha
ReplyDeleteKoha > Reports
DeleteSee https://wiki.koha-community.org/wiki/SQL_Reports_Library
Sir,
ReplyDeleteI am getting the following error message when I try to upload a file to catalogue.
File could not be created. Check permissions. What will I do ?
Ubuntu-16.04
Koha - 16.11
Change the permission of upload folder.
DeleteSir, i got this message while iam uploading a pdf file under E-book record
ReplyDelete"PWD databook.pdf: File could not be created. Check permission"